Skip to main content

# 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.

Metadata

Release files for hologridgen 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hologridgen 1.0.2
File Size Uploaded
hologridgen-1.0.2.tar.gz 7.2 kB Details

Release files / hologridgen-1.0.2.tar.gz

Download URL hologridgen-1.0.2.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
025476a0dc827da21b5df4a329dc0375c736a7e98b0628eb7faf1401e8890934
BLAKE2b-256 checksum
How to use checksums
5b78747540721d6bdfa321c1045f6e7fb2b661d0edff7d634289302bbbe325fd
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page