User Tools


This is an old revision of the document!


Intersection

Several objects can be combined (overlapped) into a single shape. This result is the logical intersection of the shapes.

intersection(sphere({r: 1, center:true}),cube({size: 1.5, center:true})); // openscad like

The CSG library functions can also be used. NOTE: Deprecated in the V2 API

sphere({r: 1, center:true}).intersect(cube({size: 1.5, center:true}));   // using CSG objects' built in methods