mcneel / rhino3dm

Libraries based on OpenNURBS with a RhinoCommon style
MIT License
573 stars 135 forks source link

Cannot build a valid NurbsSurface in js #588

Closed fraguada closed 3 months ago

fraguada commented 4 months ago

reported: https://discourse.mcneel.com/t/help-needed-with-creating-a-nurbs-surface-using-rhino3dm-js/175776

method: NurbsSurface.create()

After running this method, the u and v knots lists are null. Trying to get or set knots does nothing. Knot count reports -2.

In python, after running NurbsSurface.Create(), the knot lists have a correct count, and one can assign knots to them

fraguada commented 3 months ago

false alarm. NurbsSurface.Create() works fine in js.