1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-01 04:20:27 +02:00

only forward makes a line

This commit is contained in:
Justin Lin
2022-05-08 17:51:26 +08:00
parent 0b7bce54c3
commit f3b7a8f101

View File

@@ -70,7 +70,6 @@ function _lines(t, codes, angle, leng, next_t2, turtle_p) =
i = i + 1,
t2 = next_t2(t1, codes[i], angle, leng)
)
let(p1 = turtle_p(t1), p2 = turtle_p(t2))
if(p1 != p2 && search(codes[i], "F+-") != [])
[p1, p2]
if(codes[i] == "F")
[turtle_p(t1), turtle_p(t2)]
];