mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-21 03:49:38 +00:00
Code formatting standardization in shapes2d.scad
This commit is contained in:
parent
c0478728d2
commit
9f0d4f9465
1 changed files with 8 additions and 9 deletions
|
@ -892,7 +892,6 @@ function _turtle_command(command, parm, parm2, state, index) =
|
||||||
start_angle = posmod(atan2(state[step].y, state[step].x),360),
|
start_angle = posmod(atan2(state[step].y, state[step].x),360),
|
||||||
end_angle = posmod(parm2,360),
|
end_angle = posmod(parm2,360),
|
||||||
delta_angle = -start_angle + (lrsign * end_angle < lrsign*start_angle ? end_angle+lrsign*360 : end_angle),
|
delta_angle = -start_angle + (lrsign * end_angle < lrsign*start_angle ? end_angle+lrsign*360 : end_angle),
|
||||||
fda= echo(angles = start_angle, end_angle,delta_angle, lrsign),
|
|
||||||
arcpath = delta_angle == 0 || radius==0 ? [] : arc(
|
arcpath = delta_angle == 0 || radius==0 ? [] : arc(
|
||||||
steps,
|
steps,
|
||||||
points = [
|
points = [
|
||||||
|
|
Loading…
Reference in a new issue