mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-15 08:59:40 +00:00
Compare commits
1 commit
3dd78290c0
...
117574c6b3
Author | SHA1 | Date | |
---|---|---|---|
|
117574c6b3 |
1 changed files with 3 additions and 2 deletions
|
@ -3353,7 +3353,8 @@ function _gear_tooth_profile(
|
|||
xy = _involute(brad,i),
|
||||
pol = xy_to_polar(xy)
|
||||
)
|
||||
if (pol.x <= arad * 1.1) [pol.x, 90-pol.y]
|
||||
if (pol.x <= arad * 1.1)
|
||||
[pol.x, 90-pol.y]
|
||||
],
|
||||
|
||||
// Generate reverse lookup table for involute radii, by angle
|
||||
|
@ -3441,7 +3442,7 @@ function _gear_tooth_profile(
|
|||
if (!internal && round_r<=0) isect_pt,
|
||||
each tooth_half_raw,
|
||||
if (internal && round_r>0) each arc(n=8, r=round_r, corner=rcorner),
|
||||
if (internal && round_r<=0) isect_pt,
|
||||
if (internal && round_r<=0) isect,
|
||||
]),
|
||||
|
||||
// Strip "jaggies" if found.
|
||||
|
|
Loading…
Reference in a new issue