correct error creating worm gear with shaft

This commit is contained in:
pat 2023-07-18 12:21:36 +12:00
parent 2c29b5009c
commit 183d07635f

View file

@ -1774,7 +1774,7 @@ module worm_gear(
difference() {
vnf_polyhedron(vnf, convexity=teeth/2);
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();