33** Yet Another Parameterised Projectbox generator
44**
55*/
6- Version= "v2.0.4 (15 -07-2023)" ;
6+ Version= "v2.0.4 (23 -07-2023)" ;
77/*
88**
99** Copyright (c) 2021, 2022, 2023 Willem Aandewiel
@@ -3154,7 +3154,8 @@ module printSwitchExtender(isRound, capLength, capWidth, capAboveLid, poleDiam,
31543154 // --- pole
31553155 translate ([0 , 0 , ((extHeight+ buttonCupDepth+ capAboveLid)/- 2 )+ 1 ])
31563156 color ("orange" )
3157- cylinder (d= poleDiam, h= extHeight, center= true );
3157+ // -tst-cylinder(d=poleDiam, h=extHeight, center=true);
3158+ cylinder (d= (poleDiam- (buttonSlack/2 )), h= extHeight, center= true );
31583159 }
31593160 }
31603161 else
@@ -3168,7 +3169,8 @@ module printSwitchExtender(isRound, capLength, capWidth, capAboveLid, poleDiam,
31683169 // --- pole
31693170 translate ([0 , 0 , (extHeight+ buttonCupDepth+ capAboveLid- 0.5 )/- 2 ])
31703171 color ("purple" )
3171- cylinder (d= poleDiam, h= extHeight, center= true );
3172+ // -tst-cylinder(d=poleDiam, h=extHeight, center=true);
3173+ cylinder (d= (poleDiam+ (buttonSlack/2 )), h= extHeight, center= true );
31723174 }
31733175 }
31743176
@@ -3197,7 +3199,8 @@ module printSwitchPlate(poleDiam, capLength, buttonPlateThickness, yPos)
31973199 cylinder (h= buttonPlateThickness, d= poleDiam+ 3 , center= true );
31983200 translate ([0 ,0 ,- 0.5 ])
31993201 color ("blue" )
3200- cylinder (h= buttonPlateThickness, d= poleDiam+ 0.2 , center= true );
3202+ // -tst-cylinder(h=buttonPlateThickness, d=poleDiam+0.1+(buttonSlack/2), center=true);
3203+ cylinder (h= buttonPlateThickness, d= poleDiam+ 0.1 - (buttonSlack/2 ), center= true );
32013204 }
32023205 }
32033206
0 commit comments