Grasshopper

algorithmic modeling for Rhino

Hi there,

Just a quick question which I believe can be solved with the path mapper.

How do I do this:

Take all items from {0:0:0:0} and replace anything in {0:0:0:0:0}, {0:0:0:0:1}, {0:0:0:0:2}, {0:0:0:0:3}...

Take all items from {0:0:1:0} and replace anything in {0:0:0:1:0},{0:0:0:1:1}, {0:0:0:1:2}, {0:0:0:1:3}...

And so on....

As illustrated below

The aim being to measure all the vectors from each branch against each other (left panel) whilst ending up with each one on it's own.

Thanks!

Note: these two lists are the same, only one is grafted.

Views: 934

Replies to This Discussion

You could be interested in "Cross Reference" component.

What do you mean with "replace anything in"... replace with what?

If you post your data, it would be easier to help you.

Help us help you.

I'll try re-word this, I need to take all the data from {0:0:0:0} (left panel) and move & replace it to the according sub-branches {0:0:0:0:0}, {0:0:0:0:1}, {0:0:0:0:2}, {0:0:0:0:3}... (right panel)

I've tried cross reference but it's giving undesirable results.

To explain the overall picture: I've got x number of vectors leaving a node, and I'm trying to measure the angle between all of these. This whilst keeping each vector in a separate branch. 

It only seems to work when isolating one node.

Attachments:

This??
EDIT* I think not, I do not understand what you want to do xD

Thanks for the input but it's not quite what I'm after.

If you've got time check the file above I've explained my problem more clearly.

Ps: You'll need sandbox

Charles,

You don't need this any more (although very easy to do it with code) > your C# "truss" maker asked is waiting for you.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service