Grasshopper

algorithmic modeling for Rhino

trying to do this tute http://designreform.net/2009/07/rhino-grasshopper-parametric-truss/

and when I get to the part where he parses out the list of the 4 points (around 2:40), mine errors if I set the item number past 1.  i tried a list length to see what was going on, and it says the list is only two items long. however, when i hover over the list output on the sdivide component, it gives me four numbers.  if i select the list item component set to array item 0, it highlights two points.  what gives?  is there some way to change how grasshopper sends data out, or this some thing with the new version of grasshopper? 

pic of the prob attached. 

Views: 393

Attachments:

Replies to This Discussion

please help. i'm going to rip all my hair out.
ok, so i downloaded the ghx file from the tutorial above and substituted his surface divide component for mine, and it works, although it says the component is obsolete, so this leads me to believe something has changed with how arrays are handled in GH?
You will need to use the path mapper to collapse the last branch into the next to combine all the points on the surface rather than columns of points. {A;B;C}(i) --> {A;B}
I tried this, but putting your mapping into the mapper results in no data collected by the item collector. can you explain at all how this works? am I correct that how data sets are handled has changed in GH?
aha. Thanks. So arrays did change. Curious.
you can use "flatten" component (or right click the wired input, and check flatten). basically, it will purge the tree structure into one list.
that doesn't work at all. it makes the errors go away, but it doesn't work at all. I get unpredictable results (e.g. if i flatten the same input twice, it will say it received two different amounts of data), and it doesn't draw the components in the Rhino window correctly whatsoever. it also changes the data type, i.e. the wires change from dotted to solid, and i need them to be dotted.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service