Grasshopper

algorithmic modeling for Rhino

Hello, 

 

I was wondering if someone could tell me how to divide in groups information from a point list in order to obtain curves. (I am new grasshopper user).

 

The file imported has "x" lines with "y" points. I was trying to do a definition that could select the points from each line to draw a curve, but the only thing I could do was this very stupid definition, but it was my best try!

 

Thank you. 

J Correia

Views: 640

Attachments:

Replies to This Discussion

Hello Joao,

 

you managed to create all the points from the csv-file. All you need is use data-trees. I don't have so much experience in them, but here's one possible solution. Someone else might give you a more elegant way of doing it.

Attachments:

I have a solution for you, but its very heavily biased towards the advanced user end. It makes use of grafting, path mapper and some User Objects which I've created to complement the Tree Tools available.

The PathGen component that you see with the pathogen icon creates a string of paths that when used in conjunction with the Replace Branches component will put the values into a tree structure of 40 curves, 13 points, 3 components. Then you use the Path Mapper to put the three components together to easily make a point and then use the path mapper again to put all the points of a curve together to easily make an InterpCrv

The other User Object on there is the Mask Maker component that I use to aid writing the Path Mapper Masks 

forgot to attach definition.

 

Attachments:

WOW! That's exactly what I need! 

Thank you very much! 

 

Really appreciated! 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service