3D grid 'rasterizer', for generating discretized simulation grids.
Go to file
Jan Petykiewicz e97bd482a9 initialize to 1.0 instead of (1.0,)*3
matches docs, and works better in cases where there are more/fewer grids
2019-09-30 23:37:25 -07:00
gridlock initialize to 1.0 instead of (1.0,)*3 2019-09-30 23:37:25 -07:00
.gitignore gitignore build artifacts 2019-09-30 23:24:08 -07:00
LICENSE.md add license 2016-04-13 03:52:08 -07:00
MANIFEST.in add MANIFEST.in 2019-04-07 16:59:41 -07:00
README.md Update README with pypi link 2019-04-07 18:06:15 -07:00
setup.py add classifiers 2019-04-07 17:16:40 -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).

Installation

Requirements:

  • python 3 (written and tested with 3.5)
  • numpy
  • float_raster
  • matplotlib (optional, used for visualization functions)
  • mpl_toolkits.mplot3d (optional, used for isosurface visualization)
  • skimage (optional, used for isosurface visualization)

Install with pip:

pip3 install gridlock

Alternatively, install via git

pip3 install git+https://mpxd.net/code/jan/float_raster.git@release
pip3 install git+https://mpxd.net/code/jan/gridlock.git@release