RhinoBrep.trim

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

Trim 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 frame’s normal.

tolerancefloat, optional

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

Returns:
None
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.