BRepFace

class compas_occ.brep.BRepFace(face)[source]

Bases: object

Class representing a face in the BRep of a geometric shape.

Parameters

face (TopoDS_Face) – An OCC BRep face.

Attributes
  • vertices (list[BRepVertex], read-only) – List of BRep vertices.

  • edges (list[BRepEdge], read-only) – List of BRep edges.

  • loops (list[BRepLoop], read-only) – List of BRep loops.

  • surface (GeomAdaptor_Surface) – Surface geometry from the adaptor.

Other Attributes
  • face (TopoDS_Face) – The OCC BRep face.

  • adaptor (BRepAdaptor_Surface) – Adaptor for extracting surface geometry from the BRep face.