API

Class CSG2

Wrapper around the Manifold library https://manifoldcad.org/ Use this class to perform fast boolean operations on meshes

Implements

Index
  • Create a new Constructive Solid Geometry from a mesh

    Parameters

    • mesh: Mesh

      defines the mesh to use to create the CSG

    • ignoreWorldMatrix: boolean = false

      defines if the world matrix should be ignored

    Returns CSG2

    a new CSG2 class