User Tools


Intersection

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

let shape = intersection(sphere({r: 1, center: true}), cube({size: 1.5, center: true}))

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}))