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.
Tags:
Comment
Thank you.
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:
Very nice Benjamin.
What ArcGIS formats are supported?
For least cost path calculations you'll either need curves/lines or a mesh. A mesh is easiest.
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?
@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:
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by
You need to be a member of Grasshopper to add comments!