Install and update manual

Note

Are you running into problems when downloading or updating the software? Please consult the ‘problem solving’ section and if the error and/or solution is not mentioned, please contact our support office (servicedesk@nelen-schuurmans.nl)

Installing the 3Di Modeller Interface

To be able to build, edit and run schematisations you need to install the Modeller Interface. You can install the modeller interface simply with the download link below.

last update: 28 April 2023

The newest Modeller Interface also includes the newest versions of the 3Di plugins. If you would like, you could also upgrade the 3Di plugins from within the Modeller Interface manually. Follow the instructions of this movie to do so: How to upgrade 3Di plugins in the Modeller Interface.

Setting up the 3Di Models and Simulations Plugin

When you start the 3Di Models & Simulations plugin for the first time, you are required to set a Personal API Key that will be used to log in. The QGIS Password Manager stores this Personal API Key securely (encrypted).

Note

If you have never used the QGIS Password Manager before, you will be asked to set a master password for the QGIS Password Manager. Fill in a password and make sure you remember it. Check the box ‘Store/update the master password in your Password Manager’ so that you do not have to fill in the master password every time you start up QGIS.

  1. Open your Modeller Interface and click on the 3Di Models and Simulations icon (modelsSimulations). You should now see the Models and Simulations plugin panel.

  2. Click ‘Browse’ and set a local working directory.

  3. Click ‘Obtain…’ to obtain your Personal API Key. You will be redirected to the management page where you can create a new Personal API Key.

  4. Create a new Personal API Key by pressing the ‘+NEW ITEM’ button in the upper right corner.

  5. Add a name for the new Personal API Key. Click on ‘Submit’ to the right.

  6. You now have your own Personal API Key. Copy it (Copy_button).

  7. Return to the Modeller Interface.

  8. Click ‘Set…’ and paste your Personal API Key. Then press ‘Save’.

  9. You are now logged in and your name should appear after User. You can now easily log out by clicking on the cross.

  10. And log in by clicking on the arrow.

You can now use all online functionalities of the 3Di Models & Simulations plugin. When logging in is required, the Personal API Key will be read from the QGIS Password manager and be used for logging in.

Updating the 3Di Schematisation Editor

To update to a newer version of the Schematisation Editor:

  1. Make sure that in Plugins > Manage and Install Plugins > Settings, the ‘Show also experimental plugins’ box is checked

  2. Go to Installed plugins, click on 3Di Schematisation Editor and then ‘Upgrade plugin

Advanced: separate installation of QGIS and appropriate plugins

You can also install QGIS separately with the appropriate plugins. We only recommend this if you have specific reasons for this.

  • Install the Long Term Release (LTR) of QGIS, and install the 3Di toolbox and “3Di Models and Simulations” as QGIS plugins

Plugin Installation

  • QGIS Standalone Installer Version 3.22 (Long term release). Get QGIS .

    After the installation of QGIS, set the interface language and locale to American English. This makes it easier to understand the instructions in this documentation. Some locales do not support scientific notations of numbers, these are required for very small numbers (e.g. 1e-09).

    • Go to Settings > Options > General

    • Tick the box ‘Override System Locale’

    • For User Interface Translation, choose ‘American English’

    • For Locale, choose ‘English UnitedStates (en_US)’

    • Restart QGIS

  • QGiS 3Di plug-in specially designed for 3Di

    • 3Di Toolbox

    • 3Di Models and Simulations

    • 3Di Schematisation Editor - EXPERIMENTAL

The plugins work for:

  • QGIS 3.22.x (LTR after March 2021)

  • 64-bit version of QGIS (see below for more details)

  • On Linux/OSX: install the following system dependencies: python3-h5py python3-scipy python3-pyqt5.qtwebsockets

  • 3Di v2 results

To install the 3Di-Toolbox plugin follow the steps below:

  1. Open QGIS and via the menu bar go to ‘Plugins > Manage And Install Plugins’.

  2. Go to ‘Settings’.

  3. Add a plugin repository

  4. Fill in a name and copy the URL: https://plugins.3di.live/plugins.xml into the URL box.

  5. Go to ‘All’ and choose ‘3Di toolbox’ from the list

  6. Install the plugin.

QGIS Plugin Manager
Add Lizard repo Plugin
Install 3Di Toolbox

To install the 3Di Models and Simulations plugin follow the steps below:

  1. Open QGIS and via the menu bar go to ‘Plugins > Manage And Install Plugins’.

  2. Go to ‘Settings’.

  3. Add a plugin repository

  4. Fill in a name and copy the URL: https://plugins.lizard.net/plugins.xml into the URL box.

  5. Go to ‘All’ and choose ‘“3Di Models and Simulations”’ from the list

  6. Install the plugin.

  7. To active the panel of the”3Di Models and Simulations”, choose plugins –> “3Di Models and Simulations” –> “3Di Models and Simulations”. Now the panel will be available.

To install the Schematisation Editor plugin, follow the steps below:

  1. Making sure that in the Plugins > Manage and Install Plugins > Settings the ‘Show also experimental plugins’ box is checked;

  2. Searching ‘3Di Schematisation Editor’ in the Plugin Management Screen, and pressing the Install Plugin button.

  3. Make sure that ‘Enable macros’ is set to ‘Always’ in Settings > Options > General > Project files.

Plugin settings

To set the Base API URL:

  1. Open QGIS and via the menu bar go to ‘Plugins > “3Di Models and Simulations” > Settings’

  2. Fill in a Base API URL. The Base API URL is in most cases https://api.3di.live. If you want to connect to our second calculation center in Taiwan, the base API URL is https://api.3di.tw/

Information for system administrators

General information

All applications make use of https traffic over port 443 with public signed SSL/TLS certificates. If certificate errors show, please check any security software. One way of testing this is by visiting https://api.3di.live/ in a browser and check the certificate. If it is issued by R3, this is the certificate configured by us. Any other name will point towards the security software in use.

3Di Modeller Interface

This is a pre-configured version of QGIS (www.qgis.org), with some options switched off, different stylesheets, and some pre-installed plugins. Two of these plugins (3Di Toolbox and “3Di Models and Simulations”) are maintained by Nelen & Schuurmans. QGIS itself and the other pre-installed plugins are not made / maintained by Nelen & Schuurmans.

Install instructions for the 3Di Modeller Interface can be found in Install and update manual.

Because the 3Di Modeller Interface is a customized QGIS, we refer to the QGIS documentation when you run into any issues that are not specifically related to the plugins ‘3Di Toolbox’ or ‘“3Di Models and Simulations”’:

URLs accessed by 3Di Modeller Interface

Make sure the 3Di Modeller Interface is allowed to communicate with following URLs:

Database

Database overview

The database overview shows the complete overview of tables that 3Di uses in the spatialite database. You can download the complete overview of tables that 3Di uses in the spatialite database here. Also, this flowchart may help you while editing your model. The following links show you the database schema’s for sewerage and surface water.

Empty database

If you like to set up a new model it may be helpful to start from an empty database. Download an empty spatialite database here.

Please be aware not to add any columns to existing tables in the spatialite as they may interfere with future migrations.