mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-06 04:09:47 +00:00
Merge pull request #1207 from pwclay/master
correct error creating worm gear with shaft
This commit is contained in:
commit
64c78f9494
1 changed files with 1 additions and 1 deletions
|
@ -1784,7 +1784,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, l=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