1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-01 12:30:33 +02:00
This commit is contained in:
Justin Lin
2020-06-05 09:19:43 +08:00
parent 98a652bbf2
commit 4d721db8f8
6 changed files with 41 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@@ -0,0 +1,28 @@
# vx_difference
It' slow, in case you want to create a difference of two lists of points directly.
**Since:** 2.4
## Parameters
- `points1` : A list of points.
- `points2` : A list of points.
## Examples
use <voxel/vx_difference.scad>;
use <voxel/vx_cylinder.scad>;
use <voxel/vx_sphere.scad>;
voxels = vx_difference(
vx_cylinder(6, 3, filled = true),
vx_sphere(3, filled = true)
);
for(pt = voxels) {
translate(pt)
cube(1, center = true);
}
![vx_difference](images/lib2x-vx_difference-1.JPG)

View File

@@ -1,6 +1,6 @@
# vx_intersection
Creates an intersection of two lists of points.
It' slow, in case you want to create an intersection of two lists of points directly.
**Since:** 2.4

View File

@@ -1,6 +1,6 @@
# vx_union
Creates a union of two lists of points.
It' slow, in case you want to create a union of two lists of points directly.
**Since:** 2.4