コード例 #1
0
    def outer_wire(face):
        """
        Get outer wire of face.

        :param OCCT.TopoDS.TopoDS_Face face: The face.

        :return: Outer wire.
        :rtype: OCCT.TopoDS.TopoDS_Wire
        """
        return BRepTools.OuterWire_(face)
コード例 #2
0
ファイル: entities.py プロジェクト: trelau/AFEM
 def outer_wire(self):
     """
     :return: The outer wire of the face.
     :rtype: afem.topology.entities.Wire
     """
     return Wire(BRepTools.OuterWire_(self.object))