mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-21 05:52:16 +02:00
update all
This commit is contained in:
@@ -1361,6 +1361,7 @@ function bijection_offset(pts, d, epsilon = 0.0001) =
|
|||||||
last_p = __line_intersection(offset_es[leng_minus_one], offset_es[0], epsilon)
|
last_p = __line_intersection(offset_es[leng_minus_one], offset_es[0], epsilon)
|
||||||
)
|
)
|
||||||
concat(
|
concat(
|
||||||
|
last_p != [] && last_p == last_p ? [last_p] : [],
|
||||||
[
|
[
|
||||||
for(i = 0; i < leng_minus_one; i = i + 1)
|
for(i = 0; i < leng_minus_one; i = i + 1)
|
||||||
let(
|
let(
|
||||||
@@ -1370,8 +1371,7 @@ function bijection_offset(pts, d, epsilon = 0.0001) =
|
|||||||
)
|
)
|
||||||
// p == p to avoid [nan, nan], because [nan, nan] != [nan, nan]
|
// p == p to avoid [nan, nan], because [nan, nan] != [nan, nan]
|
||||||
if(p != [] && p == p) p
|
if(p != [] && p == p) p
|
||||||
],
|
]
|
||||||
last_p != [] && last_p == last_p ? [last_p] : []
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user