Description:

Trims a brep with an oriented cutter. The parts of the brep that lie inside (opposite the normal) of the cutter are retained while the parts to the outside (in the direction of the normal) are discarded. If the Cutter is closed, then a connected component of the Brep that does not intersect the cutter is kept if and only if it is contained in the inside of cutter. That is the region bounded by cutter opposite from the normal of cutter, If cutter is not closed all these components are kept.

Syntax:
public Brep[] Trim(
Brep cutter,
double intersectionTolerance
)
Parameters:
  • cutter
  • Type: Brep
  • A cutting brep.
  • intersectionTolerance
  • Type: double
  • A tolerance value with which to compute intersections.
Returns:
Type: Brep[]
This Brep is not modified, the trim results are returned in an array.
Available since:
5.0

Description:

Trims a Brep with an oriented cutter. The parts of Brep that lie inside (opposite the normal) of the cutter are retained while the parts to the outside ( in the direction of the normal ) are discarded. A connected component of Brep that does not intersect the cutter is kept if and only if it is contained in the inside of Cutter. That is the region bounded by cutter opposite from the normal of cutter, or in the case of a Plane cutter the half space opposite from the plane normal.

Syntax:
public Brep[] Trim(
Plane cutter,
double intersectionTolerance
)
Parameters:
  • cutter
  • Type: Plane
  • A cutting plane.
  • intersectionTolerance
  • Type: double
  • A tolerance value with which to compute intersections.
Returns:
Type: Brep[]
This Brep is not modified, the trim results are returned in an array.
Available since:
5.0

Trim method

Class:  Rhino.Geometry.Brep

Nothing found