Isohypsen Plugin For Rhino3d

Isohypsen Plug For Rhino3d

Table of Contents

The Plugin

What the plugin does

The plugin is designed to assist with data preparation for “classical” landscape models. Thereby creating a specific workflow to minimize repetitive tasks. 

What the plugin doesn’t do

The plugin doesn’t take any design decisions for you, nor does it help you find the proper level of abstraction for your model. Keep in mind that cadastre data is especially troublesome and needs to be redrawn because of it’s poor quality. As of today, there is no magical “improve” bad drawings button, that takes away the redrawing step that will safe you a ton and frustration in the digital workshop.

The Rhino Commands

isohypsen_layers

Cleans the layer structure of the GEOBAU Format for better orientation.

isohypsen_boundary

Trims all selected lines to a given boundary/model perimeter. 

isohypsen_init

Creates the topographic model by projecting surfaces to the contour lines. At the same time the contour lines get smoothed and a point reduction happens that improve the data for digital fabrication.

isohypsen_layout

Creates a 2D-layout with labels ready to be exported for laser cutting, the cutting plotter or milling. Each contour layer has trimmed cadastre data to minimize production time and a guide line of the top layer that can be used for assembly.

Workflow

Step by Step 

  1. Make sure to download both .dxf files of your map section. Click here to find out more. 
  2. Open a new rhino file > “Small objects in meters”
  3. Import both .dxf files. Set model units and layout units to Meters.
  4. Type “SelAll” in the command bar and zoom to your selection by klicking Zoom > “Zoom Selected” in top view to see your drawings.
  5. Type “Isohypsen_layers” in the command bar and confirm with ENTER to clean layers. 
  6. Type the following in the command bar to remove all blocks. Confirm Every Step with ENTER:
    • SelBlockInstance
    • Explode
    • Join
  7. Type “SelDup” in the command bar and delete the duplicates.
  8. Use the rectangle tool to draw the boundary.
  9. Type “Isohypsen_boundary” in the command bar and follow the instructions to trim the selected boundary area. There are two steps to complete the task:
    • select curves to split: Type “All” in the command bar and confirm with ENTER.
    • select boundary: select your previously drawn boundary.
  10. Select all Drawings, type “Move” in the command bar and follow the instructions to move your drawings to the 0, 0, 0 coordinates.
  11. The imported cadastre_data must be redrawn now to optimize laser cutting. Use Polylines and NURBS curves for better results.
  12. Use Units to  reset the units from meter to millimeter and check that your scaling is right. If you need to adjust your scaling use Distance to check the actual length and Scale to set the new scale
  13. Once done, move the terrain curves below the cadastre drawing sets.
  14. Generate the contour surfaces and simplify the contour lines by typing “Isohypsen_init” in the command bar and following the instructions. There are four steps to complete the task:
    • select contour lines. Press enter when done: “Höhelinien” > “Select Objects”, press ENTER
    • select boundary: klick the previously drawn boundary 
    • reduce point count to 0.5: press ENTER
    • select objects to trim, select pressing Shift to extend: follow the video below from 04.47 if unclear.
  15. You can now cut out the outline of your buildings out of the iso surface. Therefore type „Trim“ in to the comman bar. There are two steps to complete the task:
    • select cutting objects: select the outline of the building you want cut out of the iso surfaces. Press ENTER to confirm your selection.
    • select object to trim, select pressing shift to extend: select the outlines of the surfaces you want to cut. Press ENTER to confirm.
  16. Type „isohypsen_layout“ in the command bar and follow the given instructions to generate the cutting data.
  17. Create a new layer and draw a rectangle with the size of your stock to arrange/nest the cutting data
  18. Use Print to export a vector PDF for the laser cutter or save the rhino-file to import it into the zünd template

Installation And Download

The plugin is designed to work with Rhino7 on Windows. It can be installed on a Mac with a bit of extra work (see below).
 
Win
To install the plugin on your computer simply download isohypsen.rhi to your computer and double-click the installer while Rhino3d is closed. Open Rhino3d after the installation is complete and the commands of the plugin should be available when you type “isohypsen_…” in the command line. 
 
Mac
Please download the files for the plugin from our github repository and follow the official installation instructions on the rhino developer site: https://developer.rhino3d.com/guides/rhinopython/creating-rhino-commands-using-python/#mac
 

Note: Sometimes, using this system, Rhino requires that Python be loaded before it can see the new command for the first time in a session – running EditPythonScript, or any other python script should allow the command to work.

Github

If you want to contribute to our plugin with your own ideas or you know how to improve the code, feel free to help us maintain and improve the plugin.

Acknowledgement

This is a shout out to all the kind help that we received while investigating this topic. 

The basic idea for the workflow comes from an explanation of a similar plugin that is being used in the education of architectural model builders in Switzerland and was kindly explained to us by Noa Hirschi from https://modellag.ch/

Further explanations on the  aesthetics and design considerations as well as much needed insight into the different data sets were provided to us by Pascal Gnädinger from https://diemodellbauer.ch/

Federico Bertagna from the Chair of Structural Design at ETH Zurich was kind enough to develop the first a fist draft of the plugin with Grasshopper

GIS Data For Landscape Models​

GIS Data For Landscape Models

Table of Contents

GIS Browser, Canton Of Zurich

www.maps.zh.ch

The GIS browser is an important tool for getting information about a specific site. The data that you can get, ranges from simple contour lines to noise pollution data. It is definitely worth spending some time to investigate the different maps and options of the tool, in order to find the ones that might be of use to your project.

For landscape and terrain models we focus on two sets of data that are of special interest to us. The first one contains the terrain information, contour lines, and is called: Isohypsen DTM – 2017/2018 and the second one contains all the cadastre data (e.g. streets, houses, bridges and so on…) and in the case of the Canton of Zurich is called: Amtliche Vermessung – Datenmodell Kanton Zürich (DM01AVZH24). Both data sets can be downloaded as .dxf-files for further processing in any CAD software. 

Note

The data that we get from the website is a great starting point, but is unfortunately far from being useful for anything else than printing. If you want to use our laser cutters or cutting plotters to make a landscape model, you will soon discover that both .dxf-files are full of problematic line definitions. In order to minimize this source of great frustration we created our own Isohypsen-plugin for Rhino3D that helps you with creating cleaner data for your models.

See this post for more information on the plugin and file preparation!

Geobau (DM01AVZH24) Layer Definitions

It is worth to studying the layer definitions of the cadastre data in order to get the layers that are useful to your project and discard unnecessary geometry that makes your files heavy and hard to handle. Information about the layers and the exact content can be found here: GEOBAU2 Format

GIS Browser Step By Step

  1. Use zoom and pan to get close to your desired plot
  2. Select the appropriate scale (1) for your model (e.g. 1:1000, 1:500)
  3. Press the download button (2)
  4. Follow the instructions in the “Datenbezug”-tab (3) to select your perimeter (4), specify your email address and to choose the download options
  5. Under “Format festlegen, Produkt bestellen” select “Alle Produkte”
  6. Search for Product “Isohypsen DTM – 2017/2018” and download as .dxf-file (5)
  7. Search for Product “Amtliche Vermessung – Datenmodell Kanton Zürich (DM01AVZH24)” and download as .dxf file (5)
 
If you are planning to build a Landsacpe model, proceed by klicking here to use the Isohypsen Plugin For Rhino3d.
 
Need more help? Check out the official maps.zh.ch help for detailed instructions and further options: https://maps.zh.ch/help/index.htm or https://www.zh.ch/de/planen-bauen/geoinformation/geodaten/geodatenshop/kostenlose-geodaten-beziehen.html

Further Data Portals

Terrain2STL

terrain2stl

GIS Browser

Screenshot 2021-06-29 163826

Stadtmodell Zürich

Screenshot 2021-06-29 162640

swissSurface3D

SwissSurface3D

OpenStreetMap

Openstreetmap