Grasshopper

algorithmic modeling for Rhino

Hello,

I'm having a hard time trying to generate large scale city model from WMS files in Qgis to RH and GH.

My Qgis tools allowed me to create dwg/pdf files with a set of polygons and a filled color in scales of grey showing the height of the each building. I've been able to import this dwg in rhino but the polygons are imported as hatches and i'd like to get those hatches and their respective colors into GH to script a simple extrusion from greyscale definition.

Is there a way to get those hatches and their own colors into GH?

The screenshots bellow are showing an example of the dwg file i want to get into GH and the model i already did with an other method (scripting the boundaries with some numbers as Guid, but this is taking way too long to match numbers and polygons)

Thank You for your advices ! 

Dam

 

Views: 3167

Attachments:

Replies to This Discussion

you can bake hatches with colors using the human plugin - use "Create Attributes" to create attributes objects with specified display colors, and then "Create Hatches" to create hatches with those attributes in Rhino. This will work nicely for 2d graphics but probably not suited to 3d views like you have in your first image. 

Human has components to read hatches and their colors.

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