3
3
** Yet Another Parameterised Projectbox generator
4
4
**
5
5
*/
6
- Version= "v2.0.4 (15 -07-2023)" ;
6
+ Version= "v2.0.4 (23 -07-2023)" ;
7
7
/*
8
8
**
9
9
** Copyright (c) 2021, 2022, 2023 Willem Aandewiel
@@ -3154,7 +3154,8 @@ module printSwitchExtender(isRound, capLength, capWidth, capAboveLid, poleDiam,
3154
3154
// --- pole
3155
3155
translate ([0 , 0 , ((extHeight+ buttonCupDepth+ capAboveLid)/- 2 )+ 1 ])
3156
3156
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 );
3158
3159
}
3159
3160
}
3160
3161
else
@@ -3168,7 +3169,8 @@ module printSwitchExtender(isRound, capLength, capWidth, capAboveLid, poleDiam,
3168
3169
// --- pole
3169
3170
translate ([0 , 0 , (extHeight+ buttonCupDepth+ capAboveLid- 0.5 )/- 2 ])
3170
3171
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 );
3172
3174
}
3173
3175
}
3174
3176
@@ -3197,7 +3199,8 @@ module printSwitchPlate(poleDiam, capLength, buttonPlateThickness, yPos)
3197
3199
cylinder (h= buttonPlateThickness, d= poleDiam+ 3 , center= true );
3198
3200
translate ([0 ,0 ,- 0.5 ])
3199
3201
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 );
3201
3204
}
3202
3205
}
3203
3206
0 commit comments