mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-21 05:52:16 +02:00
fixed begin > end if [begin:end] problem
This commit is contained in:
@@ -34,7 +34,7 @@ module pie(radius, angle) {
|
|||||||
|
|
||||||
points = concat(
|
points = concat(
|
||||||
[[0, 0], __ra_to_xy(edge_r_begin(angles[0]), angles[0])],
|
[[0, 0], __ra_to_xy(edge_r_begin(angles[0]), angles[0])],
|
||||||
[for(i = [m:n]) __ra_to_xy(radius, a_step * i)],
|
m > n ? [] : [for(i = [m:n]) __ra_to_xy(radius, a_step * i)],
|
||||||
[__ra_to_xy(edge_r_end(angles[1]), angles[1])]
|
[__ra_to_xy(edge_r_end(angles[1]), angles[1])]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user