Grasshopper

algorithmic modeling for Rhino

Data Tree Question- Work around the Explode Command?

I have a basic definition that I am working on to manipulate closed curves.

Things work fine when I only input one curve at a time, but ultimately I would like to input several curves at the same time without having to use the explode tree command to separate out each of the branches needed.

The solution is probably obvious, but I am missing it.  Any ideas?

Thanks.

Views: 762

Attachments:

Replies to This Discussion

you cannot use flatten when trying to apply it to multiple curves. use the shift paths component instead

Danny,

Thanks for the reply. I will go over it again and try to use shift paths.

In the meantime I reworked the definition to get a simpler approach that seems to work with a collection of closed curves.

Thanks for the help.  I need to learn more about shifting paths.

Attachments:

Danny,

I took out the flatten option on the Offset Curv, and used a Shift paths of -1 to avoid using the PathMapper... but this isn't where I think you were suggesting Shifting Paths.

The problem area with the Explode Tree is still the part I can't seem to work out.

Was your suggestion about using Shift Paths to be used in that area? I haven't been able to flip the data without causing the wrong curves to be connected.

Thanks for any advice.

Attachments:

is this mean?

Attachments:

Hi LLXXZZ,

Thanks for your example. It helped me see another strategy and it did work for multiple curve inputs. 

thanks again.

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