mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 14:18:13 +01:00
refactor
This commit is contained in:
parent
b08afa8798
commit
420738c25b
@ -37,8 +37,7 @@ function shape_arc(radius, angle, width, width_mode = "LINE_CROSS") =
|
|||||||
// inner arc path
|
// inner arc path
|
||||||
if(m <= n) each [
|
if(m <= n) each [
|
||||||
for(i = m; i <= n; i = i + 1)
|
for(i = m; i <= n; i = i + 1)
|
||||||
let(idx = n + m - i)
|
__ra_to_xy(r_inner, a_step * (n + m - i))
|
||||||
__ra_to_xy(r_inner, a_step * idx)
|
|
||||||
|
|
||||||
],
|
],
|
||||||
__ra_to_xy(__edge_r_begin(r_inner, a0, a_step, m), a0)
|
__ra_to_xy(__edge_r_begin(r_inner, a0, a_step, m), a0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user