2016-03-15 20:07:07 -07:00
|
|
|
# Gridlock README
|
|
|
|
|
|
|
|
Gridlock is a Python module for drawing on coupled grids.
|
|
|
|
|
|
|
|
Gridlock is used primarily for 'painting' shapes in 3D on multiple grids which represent the
|
|
|
|
same spatial region, but are offset from each other. It does straightforward natural <-> grid unit
|
|
|
|
conversion and can handle non-uniform rectangular grids (the entire grid is generated based on
|
|
|
|
the coordinates of the boundary points along each axis).
|
|
|
|
|
2019-04-07 18:06:10 -07:00
|
|
|
- [Source repository](https://mpxd.net/code/jan/gridlock)
|
|
|
|
- [PyPi](https://pypi.org/project/gridlock)
|
|
|
|
|
|
|
|
|
2016-03-15 20:07:07 -07:00
|
|
|
## Installation
|
|
|
|
|
|
|
|
Requirements:
|
|
|
|
* python 3 (written and tested with 3.5)
|
|
|
|
* numpy
|
2018-01-15 22:55:34 -08:00
|
|
|
* [float_raster](https://mpxd.net/code/jan/float_raster)
|
2016-03-15 20:07:07 -07:00
|
|
|
* matplotlib (optional, used for visualization functions)
|
|
|
|
* mpl_toolkits.mplot3d (optional, used for isosurface visualization)
|
|
|
|
* skimage (optional, used for isosurface visualization)
|
|
|
|
|
|
|
|
|
2019-04-07 18:06:10 -07:00
|
|
|
Install with pip:
|
|
|
|
```bash
|
|
|
|
pip3 install gridlock
|
|
|
|
```
|
|
|
|
|
|
|
|
Alternatively, install via git
|
2016-03-29 13:55:41 -07:00
|
|
|
```bash
|
2019-04-07 18:06:10 -07:00
|
|
|
pip3 install git+https://mpxd.net/code/jan/float_raster.git@release
|
|
|
|
pip3 install git+https://mpxd.net/code/jan/gridlock.git@release
|
2018-01-15 22:55:34 -08:00
|
|
|
```
|