Rhino patch in Grasshopper

Hi,

just took a look in the sdk looking for the Rhino command "patch".

And this is what I found:

Public Function RhinoCreateEdgeSrf(ByRef curves As array) As OnBrep

Since I haven't started to learn how to write VB-code yet, I just wonder if someone could tell me if RhinoCreateEdgeSrf does the same as "patch" - that is, creates a surface from the selected edges.
Load Previous Replies
  • up

    Alexander

    anyone help?the "bake" and "select" method drive me crazy....
    2
    • up

      Daniel da Rocha

      How would you go to add other options for the -Patch command?

      I wanted to add a parameter StartingSurface for the patch, but I can't manage to make it work... something with data types not being the correct ones...

      app.RunScript("_-patch PointSpacing=1 Stiffness=.1 AdjustTangency=Yes AtumaticTrim=Yes StartingSurface=" & startingSrf & " uSpans=" & uSpans & " vSpans=" & vSpans & " _Enter")

      I pass the starting srf as an input... as OnSurface...

      Any insights??
      Thanks
      Daniel
      • up

        YL

        Great work, thank you very much.