RhinoBrepFace
- class compas_rhino.geometry.RhinoBrepFace(rhino_face=None, builder=None)[source]
Bases:
BrepFace
A wrapper for Rhino.Geometry.BrepFace
- Attributes
native_surface (
Rhino.Geometry.Surface
) – The rhino native underlying geometry of this face.loops (list[
compas_rhino.geometry.RhinoBrepLoop
], read-only) – The list of loops which comprise this face.surface (
compas_rhino.geometry.RhinoNurbsSurface
) – The compas_rhino wrapper of the underlying geometry of this face.boundary (
compas_rhino.geometry.RhinoBrepLoop
, read-only) – The loop which defines the outer boundary of this face.holes (list[
compas_rhino.geometry.RhinoBrepLoop
], read-only) – The list of loops which comprise the holes of this brep, if any.is_plane (float, read-only) – True if the geometry of this face is a plane, False otherwise.
Methods
Construct an object of this type from the provided data.
Inherited Methods
Converts the instance to a string.
Make an independent copy of the data object.
Construct a face from a cone geometry.
Construct a face from a cylinder geometry.
Construct an object from serialized data contained in a JSON file.
Construct an object from serialized data contained in a JSON string.
Construct a face from a plane geometry.
Construct a face from a sphere geometry.
Construct a face from a surfaces geometry.
Construct a face from a torus geometry.
Compute a hash of the data for comparison during version control using the sha256 algorithm.
Convert an object to its native data representation.
Serialize the data representation of an object to a JSON file.
Serialize the data representation of an object to a JSON string.
Validate the object's data against its data schema.
Validate the object's data against its json schema.