Compare commits

..

1 commit

Author SHA1 Message Date
adrianVmariano
1b8f71e780
Merge b02f86d1be into 0f09d1fac9 2024-12-14 12:04:11 -05:00

View file

@ -1013,7 +1013,7 @@ module spur_gear(
: assert(false,"atype must be one of \"root\", \"tip\" or \"pitch\"");
circum = 2 * PI * pr;
twist = 360*thickness*tan(helical)/circum;
slices = default(slices, ceil(abs(twist)/360*segs(pr)+1));
slices = default(slices, ceil(twist/360*segs(pr)+1));
default_tag("remove", internal) {
attachable(anchor,spin,orient, r=anchor_rad, l=thickness) {
zrot(gear_spin)