mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 22:28:16 +01:00
return origin when r is too small
This commit is contained in:
parent
36d24a2726
commit
f9b1d7b822
@ -4,7 +4,7 @@ function __pie_for_rounding(r, begin_a, end_a, frags) =
|
||||
step_a = sector_angle / frags,
|
||||
is_integer = frags % 1 == 0
|
||||
)
|
||||
concat([
|
||||
r < 0.00005 ? [[0, 0]] : concat([
|
||||
for(ang = [begin_a:step_a:end_a])
|
||||
[
|
||||
r * cos(ang),
|
||||
|
Loading…
x
Reference in New Issue
Block a user