Interactive tool for the generation of orthonormal grids using pygridgen and the HoloViz tool suite for use within Jupyter notebooks or deployable with Panel.
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
- Add, move and delete nodes. First node indicated with a special marker (triangle by default)
- Toggle node polarity (beta) with the Tap Tool. Generate Mesh button indicates when mesh generation is possible. Hide button to hide current grid/mesh.
- Easy insertion of new nodes into edges selected with the Tap Tool (which can then be easily moved):
- Pythonic access of boundary as it is drawn and the grid once it is generated:
- Easy adjustment of node size and edge width via the GUI. Easy regeneration with different x- and y-resolutions:
- Easy selection between a predefined set of tile sources in the background:
- Easy use of a custom element (e.g a different tile source) as the background:
- Download boundary as GeoJSON:
- Capture serializable editor state and restore from it (can also be restored from a geopandas boundary DataFrame):
- Set a focus function and update mesh accordingly:
- Highly customizable styling of boundary, nodes and start marker:
- Can be served as a Panel dashboard using the
serveable()
method.