Grasshopper

algorithmic modeling for Rhino

in grasshopper/rhino what is the best way to create a double array of points. is it

 

On3dPoint[][] or ArrayOn3dPoint[], maybe something else.

 

also if i do either of the above the C# comp. will fail when setting either as an out. do all arrays have to be flat when returned. or perhaps i have to take one of the above options and convert it into a path structure at the end.  any insight into a best practive for double array OnPoint3d would be great.

thanks

Views: 377

Replies to This Discussion

Hi Robert,

Grasshopper Script components only understand linear arrays. If you want to create a point data structure that is more intricate than that, you'll have to create a Grasshopper.DataTree(Of T)

--
David Rutten
david@mcneel.com
Poprad, Slovakia
thanks david. that sounds like a good way to go inside of grasshopper, is this also the best way to go if i am creating a component in visual studio.

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