Merge pull request #1 from tomek-szczesny/hex_standoff_fix

Fixed hex standoff diameter
This commit is contained in:
hominoid
2022-04-13 11:52:57 -04:00
committed by GitHub

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);