OpenSCAD Boolean Operations example
Compare OpenSCAD union, difference, and intersection operations in one model.
The same cube-and-sphere module is combined three ways so the effect of each constructive solid geometry operation is easy to see.
Click Run to render your model.