Grasshopper

algorithmic modeling for Rhino

I've hit a frustrating wall.

I have three curves, all in different planes. Normally, in Rhino, I'd just pull a quick 'Surface > Edge Curves' to create a surface from these... and it's functionality that I'm not finding within Grasshopper. Of course I can easily 'Bake' the three lines into Rhino and work from there, but I'd really rather not loose the parametric/editable nature of the geometry. If anyone has a moment for my problem, please take a look.

-Three object/component curves "var_Crv" are to the far right of the Canvas.
-I can't find a function to create a surface from these.
-If you can, big thanks to you!

It's probably something very simple. But I'm new to this. :(

Views: 481

Attachments:

Replies to This Discussion

There is no edge curves component but you can use the vb.net component for this. Create a vb.net component and feed the list of curves (2, 3 or 4 curves only) to the 'x' input. If you have them in separate components merge them together. Right click on the 'x' input and enable 'list'. Double click on the component and copy the following code:

Dim nc As New List(Of OnNurbsCurve)
For i As Integer = 0 To x.count - 1
nc.Add(x(i).NurbsCurve)
Next
a = RhUtil.RhinoCreateEdgeSrf(nc.ToArray)
Vicente's vb.net component works perfectly. I have slightly modify your definition by adding Flatten Tree components so it works flawlessly. See the attachment.

Attachments:
Fantastic, works like a dream.
Thanks to both of you for the help...

buuu, it doesn't work!!

maybe because of the gh 9.0006?

any idea on how to fix it?

thank you.

There is now a native "edge surface" component, the script is no longer necessary.

vey nice! I didn't notice.

thank you.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service