Grasshopper

algorithmic modeling for Rhino

Hi guys, I m the very beginner so I 've got the second problem:

I'm trying to scale a list of 9 lines by list of 9 scale factors using scale component but in the result I'm getting 81 lines instead of 9 lines scaled one by one scale factor. I need fist line scaled by first scale factor, second by second and e.c.

I'm wondering does it work this way or there are some alternative ways of handle this or maybe there are some options in this component?

Views: 995

Replies to This Discussion

It should work as you suspected. You may be getting 81 lines instead of 9 either because you've set the component as "cross-reference" or you've got one of the lists divided into different paths.
i hope you are using the ...0019 version.
maybe you need to split the list in differents branchs: try with the graft tree component in the lines and in the scale factor, then try with the scale component (input the two graft tree).
maybe the problem is that you already have one list separated in different branchs, so you need to match the tree structure path.
Go to view -> activate draw fancy wires and see if you have segmented lines (list splits in different paths).
Perhaps you don't need this, so try with the flatten tree component.
Thank you for your help!

Yeah, the problem was with the list that had branches, so the flatten tree component solved this.
Hi
I'm a beginner like you, but maybe you can try this.
http://www.fileden.com/files/2008/10/17/2146538/9_lines.zip
I'm sure there is a simplest way, but this is my way.
Let me know.

Paolo

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