What is it in this particular NURBS that it cannot be converted?
What should be the correct approach?
If I use Rhino’s command ConvertToBezier I’m getting two curves.
which language is that? python command did not work. maybe if you post the curve before it was converted to have a look but generally i think converttobezier always splits up a curve into simple portions of 3 cps. @davidcockey may know more
The ConvertToBezier command uses the ON_NurbsCurve::ConvertSpanToBezier and ON_NurbsSurface::ConvertSpanToBezier functions. The source code to these function is available in the openNURBS repo on GitHub if needed.
As neither RhinoCommon nor Rhino3dm expose this, I’ve logged issues.
I’m not sure. @fraguada will need to take a look when he gets a chance. @stevebaer is this as simple as releasing updated rhino3dm based on current openNURBS?
We would need to add new python bindings and update rhino3dm. I’m working on trying to get a new build of rhino3dm put together, but have been running into issues lately stemming from the Visual Studio compiler crashing. I don’t know when we will have an updated rhino3dm at this point
We found a work around to the crash with Visual Studio and are now back on track with building rhino3dm. @fraguada is in the process of getting all of the libraries updated to be based on Rhino 8 source and will be adding features to rhino3dm after that.