Grasshopper

algorithmic modeling for Rhino

I am building a parametric truss with variable flange lengths.  To get these lengths, I am using a curve to intersect lines in the vertical direction.  the goal is to have the distance of the points away from the axis react with the rest of the script to change the length.  However I have been unsuccessful in pulling out the information because it does not give me the points in a list format (0,1,2,3,4,5, etc), instead just as 0,0,0,0,0 as you can see below.

 

Any suggestions on how to extract one number per data set? (the 7.427, 9.799,11.658)

 

Views: 263

Replies to This Discussion

you can use 'flatten' component to get all data as list.

 

and you can use 'decompose' component to pull out each number in point

Thanks, that worked perfectly
if you right click in the INPUT parametrer of the next component (or any in the future) there is an option to flatten and graph whatever the input list is. U can also use the rightclick options to reparametrize the input.

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