2020-03-15 23:15:18 -07:00
|
|
|
# adze
|
2018-04-19 20:15:01 -07:00
|
|
|
|
|
|
|
|
**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
|
2020-03-15 23:15:18 -07:00
|
|
|
-
|
2018-04-19 20:15:01 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
|
|
**Dependencies:**
|
2020-03-15 23:15:18 -07:00
|
|
|
* python 3.6 or newer
|
2018-04-19 20:15:01 -07:00
|
|
|
* numpy
|
2020-03-15 23:15:18 -07:00
|
|
|
* pytest (optional, testing)
|
|
|
|
|
* pytest-benchmark (optional, benchmarking)
|
2018-04-19 20:15:01 -07:00
|
|
|
|
|
|
|
|
Install with pip from PyPi (preferred):
|
|
|
|
|
```bash
|
2020-03-15 23:15:18 -07:00
|
|
|
pip3 install adze
|
2018-04-19 20:15:01 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Install directly from git repository:
|
|
|
|
|
```bash
|
2020-03-15 23:15:18 -07:00
|
|
|
pip3 install git+https://mpxd.net/code/jan/adze.git@release
|
2018-04-19 20:15:01 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
Most functions and classes are documented inline.
|
|
|
|
|
|
|
|
|
|
To read the inline help,
|
|
|
|
|
```python3
|
|
|
|
|
import adze
|
|
|
|
|
help(adze)
|
|
|
|
|
help(adze.split)
|
|
|
|
|
```
|