Grasshopper

algorithmic modeling for Rhino

Hi guys,

 

I am working with a script using the curve evaluator, to get a ring around a sort of fibrous structure. It seems to work fine with a single t value in the evaluator,but then i created an attractor point to create the ring at different heights at different locations. If you look at the file, you will see that it mostly works fine but there is a randomisation on one of the paths. I don't know if i managed to explain my problem very clearly but i'd really really appreciate some help here:)

 

Thanks,

 

Lara

section%20trial.3dm

weaving%20trials-to%20section.gh

Views: 664

Replies to This Discussion

Hi Lara,

I'm sorry but that file is too big for me to even start looking into it. Someone else might of course, but you'll need to narrow it down to just the bit that's giving you problems.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Hi David,

 

You are right, sorry for the big messy file. Here is what i managed to narrow it down to. I hope it is a bit clearer. I have zoomed into the problematic spot and put a note there..If you get another chance to look at it..

Attachments:

Is this the result you are after?

If so then the glitch was a data Matching issue.

Your were trying to get 7 Branches of Data to match with 140 Branches of Curves. GH couldn't work out what was required and so defaulted to the Longest List matching where it would match the first 6 branches together and then the 7th branch would be matched with the remaining 134 of the curves.

By using the Shift Paths Component set to -1 you are putting all of the curves for the first "Cage" onto one branch and similar for the others. Therefore the Data on branch {0} is matched with all the curves on Branch {0} and {1} to {1} etc etc.

EDIT: this can be done in the Path Mapper with the notation {A;B} --> {A}

Hi Danny,

That's exactly what i was trying to do, now it works. Thank you so much for the explanation.

 

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