1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-19 04:51:26 +02:00
This commit is contained in:
Justin Lin
2020-06-01 17:28:19 +08:00
parent aef9ce70a7
commit 94f6d5ff1a
3 changed files with 41 additions and 3 deletions

28
docs/lib2x-vx_union.md Normal file
View File

@@ -0,0 +1,28 @@
# vx_union
Creates a union of two lists of points.
**Since:** 2.4
## Parameters
- `points1` : A list of points.
- `points2` : A list of points.
## Examples
use <voxel/vx_cylinder.scad>;
use <voxel/vx_sphere.scad>;
use <voxel/vx_union.scad>;
voxels = vx_union(
vx_cylinder([10, 15], 10),
vx_sphere(10)
);
for(pt = voxels) {
translate(pt)
cube(1, center = true);
}
![vx_union](images/lib2x-vx_union-1.JPG)