.|
| |
|'| ._____
___ | | |. |' .---"|
_ .-' '-. | | .--'| || | _| |
.-'| _.| | || '-__ | | | || |
|' | |. | || | | | | || |
____| '-' ' "" '-' '-.' '` |_________________________
jgs~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
███ ███ ███████ ██████ █████ ██████ ██████ ██ ██ ███████
████ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████ ██ █████ ██ ███ ███████ █████ ██████ ██ ██ ██ ██ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ██ ███████ ██████ ██ ██ ██ ██████ ███████ ██ ███████
MEGA-POLIS is a Data-Driven Urban Design Toolkit. This is an addon for Blender that extends Sverchok addon.
This add-on is part of an ongoing research, and it still very experimental and under HEAVILY development.
While the documentation is not ready, you can check the thesis chapter that describes the tool development here
Also, you can check this demonstration:
At the moment, this add-on includes the following nodes for Sverchok:
- Read GIS (shapefile, geopackage, geojson)
- Read CSV Files
- Read DEM (GeoTIFF)
- Read LAS (.las)
- OSM Downloader
- Load Street Network
- Download Street Imagery
- Download Data URL
- Request Data API
- Get Pandas Feature
- Pandas Dataframe
- Pandas Series
- Get Sample Dataframe
- Split String
- DEM Terrain Attributes
- Network Analyses
- Shortest Path
- Whitebox GIS Tool (Whitebox Tools Connection)
- Isovists
- Dataframe Utils
- Object Detection (YoloV5)
- Detectron (Instance and Panoptic Segmentation based on Detectron2)
- Correlation
- Correlation With
- Get Feature At
- Get Feature Index
- Linear Model Selection
- Model Fit
- Model Predict
- Faces from Vertices
- CSV to Dataframe
- Lat-Lon to Points
- Pandas Filter
- Pandas Map Feature
- Sequential Colormap
- Transpose Dataframe
- Get File Path
- File to Geo Dataframe
- File to GeoJSON
- Seaborn Plot
- WebVR Connector (A-Frame)
- Dashboard Creation
- Dashboard Bokeh Figure
- Dashboard Bokeh Plot Chart
- Dashboard Bokeh Plot Line
- Dashboard Dataframe
- Dashboard Load Map
- Dashboard Map
- Dashboard Markdown
- Dashboard Mesh
- Dashboard Plotly Figure
- Dashboard Plotly Scatter
- Dashboard Server
- Dataframe Visualisation
- Python Server
Documentation still under development.
- Download and Install Sverchok
- Download MEGA-POLIS zip archive from GitHub
- In Blender, go to User Preferences > Add-ons > install from file > choose zip-archive > activate flag beside MEGA-POLIS.
- Check the add-on options to install all dependencies*.
- Save preferences, if you want to enable the add-on permanently.
The Mapillary depency requires that you install an older version of numpy compared to Sverchok. You can install the older version, then update numpy after install Mapillary
pip install numpy --upgrade
The dependency Visilibity requires Swig
Debian
sudo apt install swig
Arch Linux
sudo pacman -S swig
Windows
You can get the binary from the website or here
The RichDEM dependecy requires GDAL, MPI, and Boost.
Debian
sudo apt install openmpi-bin libgdal-dev libopenmpi-dev libboost-iostreams-dev
Arch Linux
sudo pacman -S boost gdal openmpi
For Windows, check the binaries and compilation process at Boost, GDAL, Open-MPI
The Detectron2 dependecy has no official support for Windows. However, there are some attemps to compile it using Visual C++. You can check the discussion here.
To make sure that all dependencies will be recognised by Blender-Sverchok you can run Blender with the flag
blender --python-use-system-env
LICENSE: GPL-3.