File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ def is_other(self) -> bool:
273273
274274 @property
275275 def is_valid (self ) -> bool :
276- return BRepAlgo .brepalgo_IsValid (self .occ_edge )
276+ return BRepAlgo .brepalgo . IsValid (self .occ_edge )
277277
278278 @property
279279 def vertices (self ) -> List [OCCBrepVertex ]:
@@ -287,16 +287,16 @@ def vertices(self) -> List[OCCBrepVertex]:
287287
288288 @property
289289 def first_vertex (self ) -> OCCBrepVertex :
290- return OCCBrepVertex (TopExp .topexp_FirstVertex (self .occ_edge ))
290+ return OCCBrepVertex (TopExp .topexp . FirstVertex (self .occ_edge ))
291291
292292 @property
293293 def last_vertex (self ) -> OCCBrepVertex :
294- return OCCBrepVertex (TopExp .topexp_LastVertex (self .occ_edge ))
294+ return OCCBrepVertex (TopExp .topexp . LastVertex (self .occ_edge ))
295295
296296 @property
297297 def length (self ) -> float :
298298 props = GProp .GProp_GProps ()
299- BRepGProp .brepgprop_LinearProperties (self .occ_edge , props )
299+ BRepGProp .brepgprop . LinearProperties (self .occ_edge , props )
300300 return props .Mass ()
301301
302302 @property
Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ def loops(self) -> List[OCCBrepLoop]:
278278
279279 @property
280280 def outerloop (self ) -> OCCBrepLoop :
281- wire = BRepTools .breptools_OuterWire (self .occ_face )
281+ wire = BRepTools .breptools . OuterWire (self .occ_face )
282282 return OCCBrepLoop (wire )
283283
284284 @property
@@ -697,7 +697,7 @@ def is_valid(self) -> bool:
697697 bool
698698
699699 """
700- return BRepAlgo .brepalgo_IsValid (self .occ_face )
700+ return BRepAlgo .brepalgo . IsValid (self .occ_face )
701701
702702 def fix (self ) -> None :
703703 """
You can’t perform that action at this time.
0 commit comments