Grasshopper

algorithmic modeling for Rhino

We now have a python script component for importing ESRI shapefiles directly into Grasshopper. Here I am importing a 'multipatch' shapefile that describes terrain near Los Angeles.

Views: 421

Comment

You need to be a member of Grasshopper to add comments!

Comment by djordje on March 21, 2013 at 5:55pm

Thank you.

Comment by Benjamin Golder on March 21, 2013 at 5:50pm

Hi djordje, the software can read ESRI shapefiles (.shp extension), which is a very common vector format for spatial data. Though I have not tested it with a large variety of files, it should be able to read any shapefile geometry type apart from two types of multipatch shape types. Basically it supports points, polylines, polygons, and ESRI's mesh-like format called multipatch.

More details on the data format are explained here:

http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf

Comment by djordje on March 21, 2013 at 11:42am

Very nice Benjamin.
What ArcGIS formats are supported?

Comment by Benjamin Golder on March 8, 2013 at 5:20am

For least cost path calculations you'll either need curves/lines or a mesh. A mesh is easiest.

Comment by Benjamin Golder on March 6, 2013 at 2:22am

Hi Tingran,

Did you attach a boolean toggle to switch it on?

Can you post screenshots of how you set it up in Grasshopper (showing the inputs and outputs) and a screenshot of the open code editing window?

Have you tried adjusting the type hints for the inputs?

Comment by Benjamin Golder on July 16, 2011 at 7:03pm

@Laurenz: it works, but I'm looking for ways to simplify it and wrap it up into a nicer package.

If you want to start using it, you can download/view/copy the code from github:

https://github.com/localcode/finches

Comment by Laurenz Charles on July 16, 2011 at 5:58am
Right on! Is this ready to go? Or do you have some tweaking to do still?

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service