mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-09 08:16:50 +02:00
fixed end angle problem
This commit is contained in:
@@ -44,9 +44,9 @@ function shape_arc(radius, angle, width, width_mode = "LINE_CROSS") =
|
|||||||
for(i = [m:n])
|
for(i = [m:n])
|
||||||
__ra_to_xy(r_outer, a_step * i)
|
__ra_to_xy(r_outer, a_step * i)
|
||||||
],
|
],
|
||||||
[__ra_to_xy(_edge_r_end(r_outer, angles[1], a_step, n), angles[1])],
|
angles[1] == a_step * n ? [] : [__ra_to_xy(_edge_r_end(r_outer, angles[1], a_step, n), angles[1])],
|
||||||
// inner arc path
|
// inner arc path
|
||||||
[__ra_to_xy(_edge_r_end(r_inner, angles[1], a_step, n), angles[1])],
|
angles[1] == a_step * n ? [] : [__ra_to_xy(_edge_r_end(r_inner, angles[1], a_step, n), angles[1])],
|
||||||
m >= n ? [] : [
|
m >= n ? [] : [
|
||||||
for(i = [m:n])
|
for(i = [m:n])
|
||||||
let(idx = (n + (m - i)))
|
let(idx = (n + (m - i)))
|
||||||
|
Reference in New Issue
Block a user