meta data for this page
  •  

This is an old revision of the document!


Intersect

 Union

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