@@ -100,13 +100,13 @@ module bumper( boardType = UNO, mountingHoles = false ) {
100100 }
101101
102102 // TODO : Boards are usually not flat on the downside, and pins
103- // currently colide with the structure (resulting in a ~1mm gap)
104- translate ([0 , 0 , bumperBaseHeight]) {
105- components(boardType = boardType, component = HEADER_M, offset = 0 );
106- }
107- translate ([0 , 0 , bumperBaseHeight]) {
108- components(boardType = boardType, component = HEADER_F, offset = 0 );
109- }
103+ // currently colide with the structure (resulting in a gap)
104+ // translate([0, 0, bumperBaseHeight]) {
105+ // components(boardType = boardType, component = HEADER_M, offset = 0);
106+ // }
107+ // translate([0, 0, bumperBaseHeight]) {
108+ // components(boardType = boardType, component = HEADER_F, offset = 0);
109+ // }
110110 // Cooling opening?
111111 translate ([4 ,(dimensions[1 ] - dimensions[1 ] * 0.4 )/2 ,- 1 ])
112112 cube ([dimensions[0 ] - 8 ,dimensions[1 ] * 0.4 ,bumperBaseHeight + 2 ]);
@@ -252,9 +252,10 @@ module boundingBox(boardType = UNO, offset = 0, height = 0, cornerRadius = 0, in
252252// Creates standoffs for different boards
253253TAPHOLE = 0 ;
254254PIN = 1 ;
255+ NOTCH = 2 ; // Recommended for small radius (< 1.5mm) on FDM printers.
255256
256- module standoffs(
257- boardType = UNO,
257+ module standoffs(
258+ boardType = UNO,
258259 height = 10 ,
259260 mountType = TAPHOLE
260261 ) {
@@ -275,7 +276,14 @@ module standoffs(
275276 translate ([0 , 0 , height - 1 ])
276277 pintack( h= pcbHeight + 3 , r = holeRadius, lh= 3 , lt= 1 , bh= 1 , br= topRadius );
277278 }
278- }
279+ if ( mountType == NOTCH ) {
280+ $ fn = 16 ;
281+ translate ([0 , 0 , height]) {
282+ cylinder (r= holeRadius * 0.9 , h= pcbHeight+ 0.1 );
283+ translate ([0 , 0 , pcbHeight+ 0.1 ]) cylinder (r1 = holeRadius + 0.15 , r2 = holeRadius * 0.7 , h= 0.8 );
284+ }
285+ }
286+ }
279287}
280288
281289// This is used for placing the mounting holes and for making standoffs
0 commit comments