RhinoBrep.trimmed

RhinoBrep.trimmed(plane, tolerance=None)[source]

Returns a trimmed copy of this brep by the given trimming plane.

Parameters:
planecompas.geometry.Frame or compas.geometry.Plane

The frame or plane to use when trimming. The discarded bit is in the direction of the plane’s normal.

tolerancefloat, optional

The precision to use for the trimming operation. Defaults to TOL.absolute.

Returns:
RhinoBrep
Raises:
BrepTrimmingError

If the trimming operation ended with no result.

Notes

Trimming operation may result in multiple results (breps). When trimming, only one is used. The used bit is the one on the opposite side of the cutting plane’s normal.