OCCBrepFace
- class compas_occ.brep.OCCBrepFace(occ_face)
- Bases: - BrepFace- Class representing a face in the BRep of a geometric shape. - Parameters:
- occ_faceTopoDS.TopoDS_Face
- An OCC BRep face. 
 
- occ_face
- Attributes:
- verticeslist[BrepVertex], read-only
- List of BRep vertices. 
- edgeslist[BrepEdge], read-only
- List of BRep edges. 
- loopslist[BrepLoop], read-only
- List of BRep loops. 
- surfaceGeomAdaptor_Surface
- Surface geometry from the adaptor. 
 
- verticeslist[
 - Methods - Add an inner loop to the face. - Add an inner loop to the face. - Try to fix the face. - Construct a face from a cone. - Construct a face from a cylinder. - Construct a face from a plane. - Construct a BRep face from a polygon. - Construct a face from a sphere. - Construct a face from a surface. - Construct a face from a torus. - Check if this face is equal to another face. - Check if this face is the same as another face. - Verify that the face is valid. - Convert the face surface geometry to a cone. - Convert the face surface geometry to a cylinder. - Convert the face surface geometry to a torus. - Convert the face surface geometry to a plane. - Convert the face to a polygon without underlying geometry. - Convert the face surface geometry to a sphere. - Convert the face surface geometry to a torus. - Try to convert the underlying geometry to a Nurbs surface. - Inherited Methods - Converts the instance to a string. - Returns a list of the faces adjacent to this face. - Returns a Brep representation of this face. - Make an independent copy of the data object. - Returns the frame at the given uv parameters. - Construct an object of this type from a JSON file. - Construct an object of this type from a JSON string. - Compute a hash of the data for comparison during version control using the sha256 algorithm. - Convert an object to its native data representation and save it to a JSON file. - Convert an object to its native data representation and save it to a JSON string. - Validate the data against the object's data schema.