Fixed hex standoff diameter

This commit is contained in:
Tomek Szczęsny
2022-04-13 16:57:56 +02:00
parent cafdc06a37
commit 788462e63b

View File

@@ -391,10 +391,10 @@ module standoff(stand_off){
difference (){
union () {
if(style == 0 && reverse == 0) {
rotate([0,0,30]) cylinder(d=radius,h=height,$fn=6);
rotate([0,0,30]) cylinder(d=radius*2/sqrt(3),h=height,$fn=6);
}
if(style == 0 && reverse == 1) {
translate([0,0,-height]) rotate([0,0,30]) cylinder(d=radius,h=height,$fn=6);
translate([0,0,-height]) rotate([0,0,30]) cylinder(d=radius*2/sqrt(3),h=height,$fn=6);
}
if(style == 1 && reverse == 0) {
cylinder(d=radius,h=height,$fn=90);