Merge pull request #1207 from pwclay/master

correct error creating worm gear with shaft
This commit is contained in:
Revar Desmera 2023-07-19 02:50:48 -07:00 committed by GitHub
commit 64c78f9494
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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