Grasshopper

algorithmic modeling for Rhino

Hi David, I cant find a way to achieve this:

What I can do now is :

but it didnot work .

P.s.  I  have some wish for 
ImageSampler component :I drag an empty ImagerSampler into the canvas ,then I drag a picture on it,the picture would be filled into it rather a new componnet is created .And if I drag a picture on a full ImageSampler ,the old picture would be replaced rather than new component generated .

Views: 1108

Replies to This Discussion

Hi Alpha,

merging two trees (or feeding them into a single parameter) definitely combines the branches. If you merge two trees with similar paths, then the items in both branches will be merged into a single branch. However the order of branches inside a tree is defined by the sorting algorithm, it's not customizable. So if you want to insert a branch into a tree like this:

{0} {1} {2} {3} {4}
   ↑        ↑
  {A}      {B}


then {A} needs to be something like {0;1} and {B} needs to be {2;1} (or {2;2}, or {2;7} or {2;4;2;3}).

Perhaps you could benefit from a way to change the numbering on all the branches so that you can re-order it as you wish?

--
David Rutten
david@mcneel.com
Seattle, WA


ps. The image sampler should work that way. In fact it does on my Grasshopper build so I either already fixed this or something else is going on. Let's wait until 0.8.0002 is released.
Hi David,

It's great to know the good news about ImageSampler !

Thanks for the advice .In fact, I know there is many ways to achieve goals using or not using Insert component . I were just implying I wish List Insert component would work in this way . And never mind ,this is not a problem .

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service