mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-13 18:24:28 +02:00
add px_union
This commit is contained in:
8
src/experimental/px_union.scad
Normal file
8
src/experimental/px_union.scad
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
use <util/sort.scad>;
|
||||||
|
use <util/dedup.scad>;
|
||||||
|
|
||||||
|
function px_union(points1, points2) =
|
||||||
|
dedup(
|
||||||
|
sort(concat(points1, points2), by = "vt"),
|
||||||
|
sorted = true
|
||||||
|
);
|
Reference in New Issue
Block a user