mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-05 22:37:35 +02:00
refactor
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user