adze/adze
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2022-08-18 23:47:26 -07:00
..
test type fixes and ignores 2021-02-13 16:48:53 -08:00
__init__.py move to hatch-based build 2022-08-18 23:47:26 -07:00
boundary.py type fixes and ignores 2021-02-13 16:48:53 -08:00
LICENSE.md move to hatch-based build 2022-08-18 23:47:26 -07:00
moments.py type fixes and ignores 2021-02-13 16:48:53 -08:00
README.md move to hatch-based build 2022-08-18 23:47:26 -07:00
shapes.py type fixes and ignores 2021-02-13 16:48:53 -08:00
split.py Rename split() to _split() and make new split() function with known return type 2021-02-13 16:48:28 -08:00
test_results.txt Use pytest for tests 2020-03-15 22:18:02 -07:00
transform.py type fixes and ignores 2021-02-13 16:48:53 -08:00
util.py type fixes and ignores 2021-02-13 16:48:53 -08:00
voxel.py type fixes and ignores 2021-02-13 16:48:53 -08:00

adze

adze is a Python package for accurate polyhedron clipping and anti-aliased voxelization.

Homepage: https://mpxd.net/code/jan/adze

Capabilities: - Clipping or splitting arbitrary polyhedra - by a plane or a collection of planes (i.e. a convex polyhedron) - Voxelizing arbitrary polyhedra -

Installation

Dependencies:

  • python 3.6 or newer
  • numpy
  • pytest (optional, testing)
  • pytest-benchmark (optional, benchmarking)

Install with pip from PyPi (preferred):

pip3 install adze

Install directly from git repository:

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

Documentation

Most functions and classes are documented inline.

To read the inline help,

import adze
help(adze)
help(adze.split)