Skip to main content

This is a 3D printing STL-to-GCode slicer, written in Python, based on the Clipper geometry library. It will let you take STL files and generate a GCode path file that you can send to your RepRap 3D printer to print the object.

Installation

Install using PyPi (NOT IMPLEMENTED YET):

unzip mandoline-py.zip
cd mandoline-py
pip3 install .

Installing from sources:

python3 setup.py build install

Usage

To just validate a model, checking it for manifold errors, just run mandoline with the name of the file:

mandoline testcube.stl

Any error messages will be printed to STDERR, and the return code will be non-zero if errors were found.

To slice a file into GCode, you need to specify the file to write to with the -o OUTFILE arguments:

mandoline -o testcube.gcode testcube.stl

If you want to force it to skip validation, then add the -n argument:

mandoline -o testcube.gcode -n testcube.stl

To display all slicing config options, use the –show-configs argument:

mandoline --show-configs

To get descriptions about all slicing config options, use the –help-configs argument:

mandoline --help-configs

You can set slicing options on the command-line with -S NAME=VALUE args:

mandoline -S layer_height=0.3 -S skirt_loops=3

You can write changed options to the persistent slicing configs file using the -w argument:

mandoline -S layer_height=0.3 -S brim_loops=3 -w

You can query the value of a slicing config option with the -q OPTNAME argument:

mandoline -q layer_height -q brim_loops

You can view the sliced output in a GUI window if you add the -g argument. In this window, up and down arrow keys will move through the slice layers, and the ‘q’ key will quit and close the window. The keys 1 - 4 or - and = will zoom the image.

Metadata

Release files for mandoline-dhee 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mandoline-dhee 0.1
File Size Uploaded
mandoline_dhee-0.1.tar.gz 34.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mandoline-dhee 0.1
File Interpreter ABI Platform
mandoline_dhee-0.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 71.1 kB

Release files / mandoline_dhee-0.1.tar.gz

Download URL mandoline_dhee-0.1.tar.gz
Size 34.9 kB
Tags Source
SHA-256 checksum
How to use checksums
70caedd2a6673b10f1d334947665a2351c31ff194178bd9d62f539322a77f506
BLAKE2b-256 checksum
How to use checksums
eafcaa0563e9f4bd5b17a52f36a8600c47699f1d3908fe08d766ef433c51f988
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.0

Release files / mandoline_dhee-0.1-py2.py3-none-any.whl

Download URL mandoline_dhee-0.1-py2.py3-none-any.whl
Size 36.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
479042380ba550ec2c4428e4a2c5ea512e6907bde9da36d0f76e983dbdd8654f
BLAKE2b-256 checksum
How to use checksums
a8f2830b8dab8ccdbc60ab85ef7714986989c5e3c2e7a1265ec6dca8132ce77e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.0

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page