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.
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...
Alexander
Aug 5, 2010
Daniel da Rocha
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
Feb 16, 2011
YL
May 20, 2011