3D grid 'rasterizer', for generating discretized simulation grids.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
Přejít na soubor
Jan Petykiewicz 73d07bbfe0 disaambiguate some variables for typing purposes před 2 roky
gridlock disaambiguate some variables for typing purposes před 2 roky
.gitignore gitignore mypy_cache před 3 roky
LICENSE.md add license před 8 roky
README.md doc updates před 3 roky
pyproject.toml move to hatch-based builds před 2 roky

README.md

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