meta data for this page
  •  

This is an old revision of the document!


Shape Operations

Boolean Operations

The 'booleans' are accessed through the modeling API using the following:

const { union, intersect, subtract } = require('@jscad/modeling').booleans
Operation Notes
const newshape = intersect(oldshape0, oldshape1) API
const newshape = subtract(oldshape0, oldshape1) API
const newshape = union(oldshape0, oldshape1) API

Hull Operations

The 'hulls' are accessed through the modeling API using the following:

const { union, intersect, subtract } = require('@jscad/modeling').hulls
Operation Notes
const newshape = chainHull(oldshape0, oldshape1) API
const newshape = hull(oldshape0, oldshape1) API