Skip to main content

Function: weldShellsAndFaces()

function weldShellsAndFaces(facesOrShells, ignoreType?): Shell;

Defined in: packages/replicad/src/shapeHelpers.ts:570

Welds faces and shells into a single shell.

Parameters​

facesOrShells​

(Face | Shell)[]

An array of faces and shells to be welded.

ignoreType?​

boolean = false

If true, the function will not check if the result is a shell.

Returns​

Shell

A shell that contains all the faces and shells.