Metadata-Version: 2.1
Name: ElegooMarsUtility
Version: 0.2
Summary: Utility to post process sliced models for Elegoo Mars
Home-page: https://github.com/yaqwsx/ElegooMarsUtility
Author: Jan Mrázek
Author-email: email@honzamrazek.cz
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: click
Requires-Dist: numpy
Requires-Dist: pyphotonfile (>=0.2)
Requires-Dist: scikit-image
Requires-Dist: Pillow (==6.2.0)

# Elegoo Mars Utility

Simple tool to post-process CBDDLP files from ChiTuBox.

## Installation

First, you have to install bleeding edge version of the pyphotonfile library as
it has not been published yet in the repository:

```
pip install git+https://github.com/fookatchu/pyphotonfile@master
```

Then you can install the utility by pip

```
pip install ElegooMarsUtility
```

## Usage

The tool has several commands to transform your sliced images. The list of the
commands follows:

## xycompensate

This command can compensate for exposure bleeding and the elephant foot of the
first layers by slightly shrinking the footprint of the layers. The bleeding
leads to slightly larger components (and smaller holes).

Arguments:
- `-c`, `--compensation` - the amount of compensation for regular layers. The
  unit is a single pixel. You have to find the correct amount empirically by
  printing a test object and measuring it
- `-f`, `--firstCompensation` - the amount of compensation for the first layers.
  Argument is the same as in the previous case.
- `-o`, `--output` - filename for the resulting file
- `--debugShow` - shows side by side each compensated layer

