Grasshopper

algorithmic modeling for Rhino

Hi everyone.

Is there an easy way to just modify a list that contains

{0;0;0}

{0;1;0}

to a list that contains

{0;0;0}

{0;0;1} ?

Thanks.

Views: 455

Replies to This Discussion

Here's the file.

Attachments:

You can either use the Trim Tree component or the Path Mapper. Using Trim Tree is the simplest method for modifying your data like this, but the data paths are a different length than the original since it trims the smallest branches from the tree. 

To get exactly what you specified, you'll have to use the Path Mapper component and map the paths from {A;B;C} to {A;C;B}.

Attachments:

Perfect!

No problem!

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