Grasshopper

algorithmic modeling for Rhino

i would like to create new paths in a list based on another list's values

http://img402.imageshack.us/img402/369/rsz2crop.png

i want the "values" list to work as a branch path. meaning my resulting list should be:

{0} (0.0, 2.0) (1.0, 2.0)

{1} (0.0, 1.0) (1.0, 1.0) (2.0, 2.0)

{2} (0.0, 0.0) (1.0, 0.0) (2.0, 0.0) (2.0, 1.0)

i know how to do this with boolean true/false but that's only gonna make my operation a bit heavier. is there a way to create paths using those values directly?

Views: 5335

Replies to This Discussion

Use the replace branches component...you'll need to first graft your points, then use the param viewer component to extract their paths.  Then feed your grafted points, extracted paths, and new desired paths in.

works like a charm!

what if i'm trying to do the same thing to the resulting list?

Attachments:

This was the exact solution I was looking for.
It works like a charm, but I'm trying to wrap my head around why this works.

Guess I need to look into the working of the param viewer component.

Thank you for posting!

you can also use assign paths or "graft by data" from Human http://www.grasshopper3d.com/group/human

lovely addition... why is the download link not working?

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service