RhinoBrep.trimmed
- RhinoBrep.trimmed(plane, tolerance=None)[source]
Returns a trimmed copy of this brep by the given trimming plane.
- Parameters:
- plane
compas.geometry.Frame
orcompas.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.
- plane
- Returns:
- 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.