No project description provided
Project description
# hologridgen
Interactive tool for the generation of orthonormal grids using [pygridgen](https://github.com/pygridgen/pygridgen) and the [HoloViz](holoviz.org) tool suite for use within [Jupyter notebooks](https://jupyter.org/) or deployable with [Panel](panel.pyviz.org).
## Installation
Until hologridgen is made available on conda-forge you can install it as follows in a Python 3.7 conda environment:
` conda install -c jlstevens -c conda-forge hologridgen `
If you need a new, blank Python 3.7 conda environment, you can create it and activate it using:
` conda create -n hologridgen python=3.7 conda activate hologridgen `
## Core features
Add, move and delete nodes. First node indicated with a special marker (triangle by default)
<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/add-mode-delete.gif”></img>
Toggle node polarity (beta) with the Tap Tool. Generate Mesh button indicates when mesh generation is possible. Hide button to hide current grid/mesh.
<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/polarity-toggle.gif”></img>
Easy insertion of new nodes into edges selected with the Tap Tool (which can then be easily moved):
<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/edge_insertion.gif”></img>
Pythonic access of boundary as it is drawn and the grid once it is generated:
<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/pythonic-access.gif”></img>
Easy adjustment of node size and edge width via the GUI. Easy regeneration with different x- and y-resolutions:
<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/node-edge-size.gif”></img>
Easy selection between a predefined set of tile sources in the background:
<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/tilesources.gif”></img>
Easy use of a custom element (e.g a different tile source) as the background:
<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/custom_background.gif”></img>
Download boundary as GeoJSON:
<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/geojson_download.gif”></img>
Capture serializable editor state and restore from it (can also be restored from a geopandas boundary DataFrame):
<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/save_restore_state.gif”></img>
Set a focus function and update mesh accordingly:
<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/focus_edit.gif”></img>
Highly customizable styling of boundary, nodes and start marker:
<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/customizable_style.gif”></img>
Can be served as a Panel dashboard using the serveable() method.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for hologridgen-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6f30e65d7f0e703dab3f7a98d0acc77df77c41808ba5633517c6ea07bd4345a |
|
MD5 | d8a398a1b56696d85a489b8f67787906 |
|
BLAKE2b-256 | 9db19548c9526c8a6deb1cdd42f27773dbc0b4a498ffec8dfc1420d05507996b |