ToNurbs grasshopper-component

Am I missing something or is there no equivalent to the “toNurbs”-command in grasshopper?

(ideally with all the options of the rhino command)

We don’t have direct “toNurbs” component but we can use lots of ways for converting mesh to Nurbs .
A simple example , if I have a quad mesh surface , I would go with something like this :

Also LunchBox has this component called Mesh To Nurbs which you can use it :

Anyway I’ve seen good ways on this forum so you can surf more for results

It has been added to GH2, and fyi.

thanks for the information, special thanks to kiteboardshaper for the c#-component!

RH-61955 is fixed in Rhino 8 Service Release 30

This is great.

But what’s the reason this new component is called ToBrep and not ToNURBS?

Well, the component does create a Brep.

— Dale

Will the rhino command be renamed?

I don’t think it makes sense to have two different names for the same operation.

Then there’s also meshtonurb without s

It seems Rhinocommon has methods called ToNurbsCurve and ToNurbsSurface and all kinds of ToBrep

And in Grasshopper 2, the component to convert is called ‘SubD To Nurbs’

No, as the command works on more than SuDs.

– Dale

I still don’t understand why it’s called SubD To Brep in GH1 and SubD To Nurbs in GH2…

Shouldn’t these two components have the same name? Or am I ignoring something?

Had you mentioned this initially, we could have saved some back and fourth.

@AndyPayne - can you help with this?

Maybe I’m ignoring something?

But no matter what I think a lot of users will be confused it’s not SubD to NURBS

Yes it is confusing… and naming things is one of the more difficult things for me (at least). I wrote the new GH1 component called SubD to Brep… and yes, I did note that this was a different name from the GH2 component which basically does the same thing. I’ll try to explain my logic.
In GH1, we use the term Brep a lot. It’s used in many components and I think the terminology is generally well understood among the GH1 users. What we don’t use much of is Nurbs to refer to a Brep. So, I felt it was better to use SubD to Brep in GH1 since this would make the most sense for most users.
Now, GH2 is a bit of a different beast. David has made the decision not to use Brep much in any of the components. Instead, there is a general term called “Surface” which can stand-in for Surfaces, Breps, SubDs, and in some instances Meshes. David uses the word NURBS (both curves and surfaces) much more often in GH2 interface. There are very few instances of the word Brep in the interface. I’m not entirely sure when David wrote the SubD to Nurbs component in GH2, but I’m sure it made sense given the general terminology he has been using for that interface.
I’m open to suggestions on naming things. It’s a hard task. This new component was added to Rhino 8 (even though it was only added recently) which means it will be more difficult to change the name since that component has lived out in the wild for a bit now. Definitely not impossible to do, but it would require some consideration. Anyway, I hope this helps explain my logic.

Thanks for the reply and I understand it’s a hard task with many things to consider.

Looking at just Grasshopper, the current naming makes sense.