Skip to main content

Checks validity of a threedi-model

Project description

# Threedi-modelchecker

Threedi-modelchecker is a tool to verify the correctness of a 3Di model. The goal is to provide a tool for model builders to quickly check if his/her model is correct and can run a 3Di simulation. It provides detailed information about any potential errors in the model.

Threedi-modelchecks works with both spatialite and postgis databases. However, the database should always have the latest 3Di migration: https://docs.3di.lizard.net/en/stable/d_before_you_begin.html#database-overview

Installation:

$ pip install threedi-modelchecker

Threedi-modelchecker is also integrated into the ThreediToolbox Qgis plugin: https://github.com/nens/ThreeDiToolbox

# Development

A docker image has been created for easy development. It contains an postgis server with an empty 3Di database to allow for easy testing.

Build the image:

# docker-compose build

Run the tests:

$ docker-compose run modelchecker pytest

Changelog of threedi-modelchecker

0.1 (2019-06-04)

  • Initial project structure.

  • Added ORM for a threedi-model in sqlalchemy.

  • Added several types of checks.

  • Manually configured many checks.

  • Added check factories, which generate many checks based on the ORM.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

threedi-modelchecker-0.1.tar.gz (18.1 kB view hashes)

Uploaded Source

Built Distribution

threedi_modelchecker-0.1-py2-none-any.whl (22.1 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page