Example of adding a SubD via RC


#1

Hi @piac, @dalelear,

Is it possible to provide a short RC example of creating of SubD and display it in NURBS form in RC?
So far I have those lines, just wondering what is missing.
Dim icropt As SubD.InteriorCreaseOption = SubD.InteriorCreaseOption.AtMeshCrease
Dim mysub As SubD = Subd.CreateFromMesh(m, icropt)
mysub.SetSubDType(Subd.SubDType.QuadCatmullClark)
How to select SubD to be displayed in NURBS form?

Thanks,
Dmitriy


(Giulio Piacentino) #2

At this moment you cannot get the SubD Nurbs patches via RhinoCommon.
When the first .NET wrapping pass was performed, this functionality wasn’t ready, yet.

I’ve added it to the wish list.
https://mcneel.myjetbrains.com/youtrack/issue/RH-40118

mesh-subd.gh (5 KB)

Giulio

Giulio Piacentino
for Robert McNeel & Associates
giulio@mcneel.com


#3

Thanks, Giulio!

I know that SubD is not a priority for now but I would like to keep exploring this subject.
Therefore, when do you think NURBS functionality can be added to RC?

Thanks,
Dmitriy


(Giulio Piacentino) #5

Sorry, I have no available time plan. When this will be available, I will make sure to let you know.

Thanks!

Giulio

Giulio Piacentino
for Robert McNeel & Associates
giulio@mcneel.com