File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
src/compas_rhino/geometry/curves Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1- from .curve import RhinoCurve # noqa: F401
1+ from .curve import RhinoCurve
22from .nurbs import RhinoNurbsCurve
33
4- from compas .geometry import Curve
5- from compas .geometry import NurbsCurve
64from compas .plugins import plugin
75
86
97@plugin (category = "factories" , requires = ["Rhino" ])
108def new_curve (cls , * args , ** kwargs ):
11- curve = super ( Curve , cls ) .__new__ (cls )
9+ curve = object .__new__ (RhinoCurve )
1210 curve .__init__ (* args , ** kwargs )
1311 return curve
1412
1513
1614@plugin (category = "factories" , requires = ["Rhino" ])
1715def new_nurbscurve (cls , * args , ** kwargs ):
18- curve = super ( NurbsCurve , cls ) .__new__ (cls )
16+ curve = object .__new__ (RhinoNurbsCurve )
1917 curve .__init__ (* args , ** kwargs )
2018 return curve
2119
You can’t perform that action at this time.
0 commit comments