Grasshopper

algorithmic modeling for Rhino

Basically, I have two surfaces (see Rhino file below) I want to connect each point on the inner surface to four points on the outer surface. My end goal is to extrude a truss system from the resulting curves.

I've drawn in some lines in the rhino model to illustrate what I'm trying to achieve

Views: 4008

Attachments:

Replies to This Discussion

The Three main Components to use here are: Distance, Sort List and Sub List.
1) Measure the distance between each point in first list and every point in 2nd list. (Hint: graft the first list)
2) Sort results and synchronously sort the 2nd list.
3) Create a sub list of the first four items.
4) Connect each of the points in first list (again graft) to the sublist

Sorry, I guess I should have mentioned I'm new to Grasshopper.

How do I graft?
There is a separate component in the Sets>Tree section or you can use the right click context menu and select it from there. (the context is only available in v0.8)
I'm running version 6 build 59 so I don't have the context menu option.

As a component where do I wire the graft too?
Where he has a little upward facing arrow, you would have the Graft component.
So, between the flattened first list of points to A in the distance component, and then another between that same list to input A of the line component.
Ok, I thought so. But I'm only getting feedback from one point. My Subset list for the bottom plane is only reading 4 points. See the image...

That's really odd. Where you have the output from the distance to the sort component you should have a dashed wire representing multiple items on multiple branches but instead you have a flattened wire. I've re-done this in v0.6.0059 so you can down load the ghx file and have a look.

Attachments:
Ah thanks, that is beautiful!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service