3D grid 'rasterizer', for generating discretized simulation grids.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jan Petykiewicz 8cca6f3236 add py.typed to package_data 3 months ago
gridlock add py.typed 3 months ago
.gitignore gitignore build artifacts 2 years ago
LICENSE.md add license 5 years ago
MANIFEST.in add MANIFEST.in 2 years ago
README.md Update README with pypi link 2 years ago
setup.py add py.typed to package_data 3 months ago


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



  • 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