Add cylinder circumscribing
This commit is contained in:
parent
e5e35c30a7
commit
fbc86297a0
|
@ -1,3 +1,4 @@
|
||||||
|
PBass_Scale_mm = 865; // Actually 34inch = 864.6mm
|
||||||
Fender_Scale_mm = 648; // Actually 25.5inch = 647.7mm
|
Fender_Scale_mm = 648; // Actually 25.5inch = 647.7mm
|
||||||
Classical_Normal_Scale_mm = 650; // about 25.59inch
|
Classical_Normal_Scale_mm = 650; // about 25.59inch
|
||||||
Classical_Short_Scale_mm = 635; // = 25inch
|
Classical_Short_Scale_mm = 635; // = 25inch
|
||||||
|
@ -63,6 +64,12 @@ module screw_hole_lobe(ID, OD, lobes=3, fn=90) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module cylinder_outer(d, h, fn) {
|
||||||
|
// Regular circle inscribes, this circumscribes
|
||||||
|
fudge = 1/cos(180/fn);
|
||||||
|
cylinder(d=d*fudge, h=h, $fn=fn);
|
||||||
|
}
|
||||||
|
|
||||||
module cylinder_beak(d, h, beak=0.75) {
|
module cylinder_beak(d, h, beak=0.75) {
|
||||||
// A cylinder with a beak to take seams. This helps improve tolerances as seams often expand a little bit and ruin the fit.
|
// A cylinder with a beak to take seams. This helps improve tolerances as seams often expand a little bit and ruin the fit.
|
||||||
cylinder(d=d, h=h);
|
cylinder(d=d, h=h);
|
||||||
|
|
Loading…
Reference in New Issue