mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-15 17:09:40 +00:00
Compare commits
No commits in common. "a95916b39e9f6990dab1f0f524e9f1afa64ca9ee" and "0f09d1fac976099f824e4fce705362ebe240b161" have entirely different histories.
a95916b39e
...
0f09d1fac9
1 changed files with 1 additions and 1 deletions
|
@ -1013,7 +1013,7 @@ module spur_gear(
|
||||||
: assert(false,"atype must be one of \"root\", \"tip\" or \"pitch\"");
|
: assert(false,"atype must be one of \"root\", \"tip\" or \"pitch\"");
|
||||||
circum = 2 * PI * pr;
|
circum = 2 * PI * pr;
|
||||||
twist = 360*thickness*tan(helical)/circum;
|
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) {
|
default_tag("remove", internal) {
|
||||||
attachable(anchor,spin,orient, r=anchor_rad, l=thickness) {
|
attachable(anchor,spin,orient, r=anchor_rad, l=thickness) {
|
||||||
zrot(gear_spin)
|
zrot(gear_spin)
|
||||||
|
|
Loading…
Reference in a new issue