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 Distribution
File details
Details for the file hologridgen-1.0.2.tar.gz
.
File metadata
- Download URL: hologridgen-1.0.2.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 025476a0dc827da21b5df4a329dc0375c736a7e98b0628eb7faf1401e8890934 |
|
MD5 | bab70970b7f8d15d907dd9e907aed6db |
|
BLAKE2b-256 | 5b78747540721d6bdfa321c1045f6e7fb2b661d0edff7d634289302bbbe325fd |