You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/compas/geometry/surfaces/nurbs.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -182,7 +182,7 @@ def __from_data__(cls, data):
182
182
183
183
def__new__(cls, *args, **kwargs):
184
184
ifclsisNurbsSurface:
185
-
raiseTypeError("Instantiating the base NURBS Surface class directly is not allowed.")
185
+
raiseTypeError("Making an instance of `NurbsSurface` using `NurbsSurface()` is not allowed. Please use one of the factory methods instead (`NurbsSurface.from_...`)")
0 commit comments