Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

0 | Gismo
1 | OpenStreetMap
2 | Terrain
3 | More

Use this component to create 3d geometry of structures/building and tree shapes created with Gismo "OSM shapes" component.
Creation of 3d shapes can be done in three ways:
1) If there is a valid value (not equal to "") for the "height" key, then the shape will always be extruded according to this value.
2) If this value is lacking (equal to ""), then the shape can be extruded according to the "building:levels" key value.
3) If both of these two values are lacking (equal to ""), or the very keys are lacking, and there is a valid value ("True") for the "building" key, then the shape will be extruded, according to the supplied domain generated from the randomHeightRange_ input.
If neither of these three ways are fulfilled, then no creation of 3d shapes will be performed.
-
Provided by Gismo 0.0.3

Inputs

NameIDDescriptionType
Shapes_shapesPlug in the shapes from the Gismo OSM shapes "shapes" outputGoo
Keys_keysPlug in the keys from the Gismo OSM shapes "keys" output.Goo
Values_valuesPlug in the values from the Gismo OSM shapes "values" output.Goo
Only Remove IdsonlyRemove_Ids_Use this input to define lists of Open Street Map ids. "OSM ids" component will generate them. These lists can be used to define: 1) only those ids which will be included (isolated) when "OSM 3D" component is ran (use "osm_id_Only" and "osm_way_id_Only" inputs for this). 2) ids which will be removed when "OSM 3D" component is ran (use "osm_id_Remove" and "osm_way_id_Remove" inputs for this). 3) you can combine 1) and 2) and both define the: included and removed ids. - If nothing supplied to this input, then no OSM ids will be isolated nor removed: meaning all of them will be included.Goo
________________Script variable OSM3DGoo
Height Per LevelheightPerLevel_Some supplied "_shapes" may contain "building_l" keys. This can be used to extrude those buildings, by supplying the height value of each level (above ground) in Rhino document units (meters, feets...). - If nothing supplied, the default value of 3 meters (9.84 feets) per level will be used. - In Rhino document units (meters, feets...).Goo
Random Height RangerandomHeightRange_This output can be useful if supplied "_shapes" do not contain valid values for "height" and "building_l" keys. If they still contain the "building" key with value "True", then this can be used to extrude the shapes, by using some random extrude domain. So to randomly extrude "buildings" shapes, just supply the "Construct Domain" to the randomHeightRange_ input. For example, input the "Construct Domain" component by using "20" and "30" as its starting and ending domain values. This will randomly extrude all buildings by 20 to 30 meters height. Of course in case the Rhino document units is: meters. It can be any other unit. - If nothing supplied, no random extrusion of the shapes will be applied. - Domain in Rhino document units (meters, feets...).Goo
Tree TypetreeType_There are three tree geometric types: 0 - round 1 - polygonized 2 - random shaped - If nothing supplied, the default type 2 type (random) will be used. - Integer.Goo
Ground TerraingroundTerrain_The ground terrain surface on which the "threeDeeShapes" will be laid onto. Supply it by using "terrain" output of the Ladybug "Terrain Generator" (type_ = 1) or Gismo "Terrain Generator" (type_ = 2 or type_ = 3) components. - If nothing supplied, the "threeDeeShapes" will always be laid flat onto a horizontal plane, with plane origin being the "origin" input of the "OSM shapes" component.Goo
________________Script variable PythonGoo
Bake ItbakeIt_Set to "True" to bake the extruded _shape geometry into the Rhino scene. The geometry will be grouped. To ungroup it, select it and call the "Ungroup" Rhino command. - If not supplied default value "False" will be used.Goo
Run It_runIt...Goo

Outputs

NameIDDescriptionType
OutreadMe!...String
Three Dee ShapesthreeDeeShapesGenerated 3d shapes from the inputted "_shapes". - Those can be extruded buildings, or trees.Goo
Three Dee KeysthreeDeeKeysA list of keys. This output is the same as "keys" output of "OSM shapes" component.Goo
Three Dee ValuesthreeDeeValuesValues corresponding to each shape in "threeDeeValues" output. - If 3d shape has not been created then that branch will not have any values (it will be empty). Use "Clean Tree" component and set the "E" input to "True" to remove all these empty branches.Goo
HeightheightThe height of each shape from the "threeDeeShapes" output. - In Rhino document units (meters, feets...).Goo

Site design © Robin Rodricks.   Gismo and associated data © 2020 Djordje Spasic.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service