BrepFace
- class rhino3dm.BrepFace
- OrientationIsReversed
bool: True if face orientation is opposite of natural surface orientation.
- UnderlyingSurface()
Gets the untrimmed surface that is the base of this face.
- Returns:
A surface, or None on error.
- Return type:
- CreateExtrusion(pathCurve, cap)
Extrude a face in a Brep.
- Parameters:
pathCurve (rhino3dm.Curve) – The path to extrude along. Note, the direction of the extrusion will follow the direction of the curve.
cap (bool) – If true, the extrusion is capped with a translation of the face being extruded
- Returns:
A Brep on success or None on failure.
- Return type:
- DuplicateFace(duplicateMeshes)
Duplicate a face from the brep to create new single face brep.
- Parameters:
duplicateMeshes (bool) – If true, shading meshes will be copied as well.
- Returns:
A new single-face brep synonymous with the current Face.
- Return type:
- DuplicateSurface()
Gets a copy to the untrimmed surface that this face is based on.
- Returns:
A copy of this face’s underlying surface.
- Return type:
- GetMesh(meshType)
Obtains a reference to a specified type of mesh for this brep face.
- Parameters:
meshType (MeshType) – The mesh type.
- Returns:
A mesh.
- Return type:
- SetMesh(mesh, meshType)
Sets a reference to a specified type of mesh for this brep face.
- Parameters:
meshType (MeshType) – The mesh type.
mesh (rhino3dm.Mesh) – The new mesh.
- Returns:
True if the operation succeeded; otherwise false.
- Return type:
bool