Function: splitShape()
function splitShape(
shapeInput,
inputPlane?,
offset?,
tolerance?): PlaneSplitResult<TopoDS_Solid | TopoDS_Compound>;
Defined in: packages/replicad/src/shapeFunctions/operations.ts:127
Splits a shape with an oriented plane and groups pieces by side.
offset translates the splitting plane along its normal. A side is null
when empty, the piece itself when it contains one piece, and a compound when
it contains multiple disconnected pieces.
Parameters
shapeInput
inputPlane?
Plane | PlaneName
offset?
number = 0
tolerance?
number = 1e-7
Returns
PlaneSplitResult<TopoDS_Solid | TopoDS_Compound>