Function: cutShapeWithPlane()
function cutShapeWithPlane(
shapeInput,
inputPlane?,
offset?,
keep?): TopoDS_Solid | TopoDS_Compound | null;
Defined in: packages/replicad/src/shapeFunctions/operations.ts:222
Cuts a shape with the half-space defined by an oriented plane.
keep identifies the side that remains. Positive is the direction of the
plane normal. The offset translates the plane along that normal.
Parameters
shapeInput
inputPlane?
Plane | PlaneName
offset?
number = 0
keep?
PlaneSide = "positive"
Returns
TopoDS_Solid | TopoDS_Compound | null