Is there any way to define by default that SubDs convert to nurbs with packed option?
It is clear that Nurbs conversion is inevitable each time you do a boolean operation, but instead of creating the result in packed way it gives individual surfaces. By now the only solution I found is to convert all the SubDs first and then do the booleans.
The same happens with Grasshopper, I created an interesting definition with some elements in NURBS and others in subd. The definition has some solid union and differences but the baked result is not usable more than for a preview if it’s not packed.
To set the PackedSurfaces and ExtraordinaryVertex options when converting SubD ToNURBS in GH, you can use the Rhinocommon interface. Example in Python:
import Rhino.Geometry as rg
a = subD.ToBrep(rg.SubDToBrepOptions(packFaces, rg.SubDToBrepOptions.ExtraordinaryVertexProcessOption(vertexProcess)))
The definition has some solid union and differences but the baked result is not usable more than for a preview if it’s not packed.
@laborda What are you trying to do with the surface afterwards? For any SubD with more than a couple of faces and extraordinary points there are going to be way too many CVs to edit manually in GH anyway, whether the surface is packed or not.
Thanks for the interest Pierre, what I’m doing is trying to integrate GH gradually into my workflow.
At this moment I’m creating a silicone mold that has some parts created with SubD and some others in Nurbs. What I’m doing is placing everything in please in rhino, and want to have all the elements in GH for the final subtractions or solid unions. The baked result should be a good Nurbs model ready to be exported to Solidworks, where I do all the final fillets and other mechanical features.
The main benefit of GH here is to have live booleans, and the chance to move, edit or replace each individual part and see the final result as a preview quickly, and once it looks right I can bake it.
Now I’m trying to create an offset of this form using TriRemesh, offset and Quadremesh, with a bit of smoothing, but this is something for another post…