User Tools


This is an old revision of the document!


Union

Several shapes can be combined (merged) into a single shape. The result is the logical union of the shapes. The combining of smaller obects together allows easier transformations, etc.

union(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}).union(cube({size: 1.5, center:true}));  // using CSG objects' built in methods