mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-06 14:56:47 +02:00
only forward makes a line
This commit is contained in:
@@ -70,7 +70,6 @@ function _lines(t, codes, angle, leng, next_t2, turtle_p) =
|
|||||||
i = i + 1,
|
i = i + 1,
|
||||||
t2 = next_t2(t1, codes[i], angle, leng)
|
t2 = next_t2(t1, codes[i], angle, leng)
|
||||||
)
|
)
|
||||||
let(p1 = turtle_p(t1), p2 = turtle_p(t2))
|
if(codes[i] == "F")
|
||||||
if(p1 != p2 && search(codes[i], "F+-") != [])
|
[turtle_p(t1), turtle_p(t2)]
|
||||||
[p1, p2]
|
|
||||||
];
|
];
|
Reference in New Issue
Block a user