Difference Usage Example difference() { // <primitive1> // <primitive2> } // subtracts all following objects from the firstdifference() { cube(20); cube(10);}
Union Usage Example union() { // <primitive1> // <primitive2>} union() { cube(20); translate([-5,0,0]) cube(10);}
Intersection Usage Example intersection() { // <primitive1> // <primitive2> } // only keeps points that overlapintersection() { cube(20); sphere(3);}