Grasshopper

algorithmic modeling for Rhino

How to add a manual data list to Populate Geometry

Hi all, I am a n00b to Grasshopper and the insertion of my own data points has me stumped. How do I insert a manual list into Populate Geometry?

I have a table of data to play with, and I want to see what shape I can get from deforming a sphere using some or all of the data. I have a set of 9 rows and 4 columns.

So far all I am trying to do is map column 1 as the deformed points.

 

Col 1

3.76
6.94
3.67
5.13
5.76
6.5
8.45
1.7
2.45

So far I've tried Number, Points List, Point, Value... and I am clearly lost somehow.

Thanks in advance!

Views: 1884

Attachments:

Replies to This Discussion

Be sure to right-click the 'Panel' components containing your data and set 'Multiline Data'.  Or read directly from a .csv file.  The 'C' input to 'Split' is set to a comma (",").

There are many ways to handle .csv data, including plugins, but I like to keep things simple.

Attachments:

P.S.  To get column 1 (actually column 0) as a list, do the following - the 'i' input to 'Item (List Item)' is the column number, zero-based.  Note that its output is 'Flattened'.

Attachments:

Oh, and more specific to your question, you use the data to construct points (obviously?).  If columns 1, 2 and 3 are X, Y and Z coordinates, do this:

Attachments:

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