mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-01 04:20:27 +02:00
refactor: merge pts2 cond
This commit is contained in:
@@ -19,9 +19,10 @@ function _fast_fibonacci(nth) =
|
||||
_fast_fibonacci_2_elems(nth)[0];
|
||||
|
||||
function _remove_same_pts(pts1, pts2) =
|
||||
pts1[len(pts1) - 1] == pts2[0] ?
|
||||
concat(pts1, [for(i = 1; i < len(pts2); i = i + 1) pts2[i]]) :
|
||||
concat(pts1, pts2);
|
||||
concat(
|
||||
pts1,
|
||||
pts1[len(pts1) - 1] == pts2[0] ? [for(i = [1:len(pts2) - 1]) pts2[i]] : pts2
|
||||
);
|
||||
|
||||
function _golden_spiral_from_ls_or_eql_to(from, to, point_distance, rt_dir) =
|
||||
let(
|
||||
|
Reference in New Issue
Block a user