mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-07-31 09:20:22 +02:00
correct error creating worm gear with shaft
This commit is contained in:
@@ -1774,7 +1774,7 @@ module worm_gear(
|
|||||||
difference() {
|
difference() {
|
||||||
vnf_polyhedron(vnf, convexity=teeth/2);
|
vnf_polyhedron(vnf, convexity=teeth/2);
|
||||||
if (shaft_diam > 0) {
|
if (shaft_diam > 0) {
|
||||||
cylinder(d=shaft_diam, h=worm_diam, center=true);
|
cylinder(h=2*thickness+1, r=shaft_diam/2, center=true, $fn=max(12,segs(shaft_diam/2)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
children();
|
children();
|
||||||
|
Reference in New Issue
Block a user