Grasshopper

algorithmic modeling for Rhino

how to read csv file of point coordinates using python component

I have a csv file with each row the x,y,z coordinates of a point.

May I ask how to use the Python component to read the csv file and create the points accordingly?

Thank you!

Views: 3206

Replies to This Discussion

Hi Grasshope, there is a native GH component that can do this: ImportCoordinates (in Params > Input tab).

Here's a simple way. Files attached.

Attachments:

Thank you very much, Pieter and Stephen!

I learn a lot from your advice!

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service