generative modeling for Rhino
this might be a simple thing but somehow i'm stuck.
to generate a surface with a hole from multiple curves the grasshopper component "Planar Srf" does the job. now i need to do it within a C# script but i cant find the equivalent in rhino common? can someone help?
NurbsSurface.CreateNetworkSurface Method seems to be what i need but its not available in my version of GH (Rhino4)
how would i go about it in Rhino4?
thanks in advance!!!
There's a little semantic discrepancy here that's probably throwing you off. What Grasshopper calls a "trimmed surface" is actually a single-face Brep as far as RhinoCommon is concerned. CreateNetworkSurface is equivalent to to the NetworkSrf command - the function you're looking for is Brep.CreatePlanarBreps(IEnumerable(Curve)).
Pass it a List of Curve and it should give you the proper trimmed surface result.