File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
src/compas_occ/geometry/curves Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ class OCCNurbsCurve(NurbsCurve):
9595
9696 def __init__ (self , name = None ):
9797 super (OCCNurbsCurve , self ).__init__ (name = name )
98- self ._occ_curve = None
98+ self .occ_curve = None
9999
100100 def __eq__ (self , other : 'OCCNurbsCurve' ):
101101 return self .occ_curve .IsEqual (other .occ_curve )
@@ -397,11 +397,6 @@ def to_polyline(self):
397397 # OCC
398398 # ==============================================================================
399399
400- @property
401- def occ_curve (self ):
402- """Geom_BSplineCurve - The underlying OCC curve."""
403- return self ._occ_curve
404-
405400 @property
406401 def occ_shape (self ):
407402 """TopoDS_Shape - The underlying OCC curve embedded in an edge and converted to a shape."""
Original file line number Diff line number Diff line change @@ -110,9 +110,6 @@ class OCCNurbsCurve(NurbsCurve):
110110 # OCC
111111 # ==============================================================================
112112
113- @property
114- def occ_curve (self ) -> Geom_BSplineCurve : ...
115-
116113 @property
117114 def occ_shape (self ) -> TopoDS_Shape : ...
118115
You can’t perform that action at this time.
0 commit comments