algorithmic modeling for Rhino
I have a polysurface created and it is composed of lost of triangulated surfaces. I'm trying to look for the MergeAllFaces options inside rhinoscript.
Does anyone have any ideas?
Hi Miguel, I don't know how can you do it in rhinoscript but there are two methods in rhinoCommon that are probably do what you need:
How do we use the "Rhino.Geometry.Brep.MergeCoplanarFaces"?
I have tried to use "coercebrep" to get the geometry from id's , but then how do I associate the geometry back to the object id?
Hi Ejnar, see the attached. You can just pass your Brep directly as a Brep (right-click input parameter -> Type hint -> Brep). This allows you to call the method directly without having to deal with GUIDs, casting etc.