mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-04 03:09:45 +00:00
correct error creating worm gear with shaft
This commit is contained in:
parent
2c29b5009c
commit
183d07635f
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue