1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-10 16:54:23 +02:00
This commit is contained in:
Justin Lin
2022-05-08 17:00:09 +08:00
parent eecfa85018
commit f0652c39f7

View File

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