Grasshopper

algorithmic modeling for Rhino

hi all,

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!!!

Views: 1225

Replies to This Discussion

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. 

THANKS!!!!!!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service