mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-14 10:44:48 +02:00
refactor
This commit is contained in:
@@ -71,6 +71,6 @@ function _lines(t, codes, angle, leng, next_t2, turtle_p) =
|
|||||||
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))
|
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]
|
[p1, p2]
|
||||||
];
|
];
|
Reference in New Issue
Block a user