mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-16 13:50:05 +01:00
516 B
516 B
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);
}