Split Shape


splitFace()

Splits a face using wires.

Syntax

cadlib.splitFace(options);

Parameters

Name Type Description
options Object See below for options
let options = {
    face, //Face to split
    wires  //Array of wires used to split the face
}

Returns

returnedObject

returnedObject = {
    shape, //original shape
    modified, // array of original modified faces
    generated, //array of newly generated faces
}