SlicerTools
slicertools is a Python library designed for 3D model slicing and conversion tasks, particularly focused on preparing models for 3D printing. It provides utilities for handling 3D model files, interfacing with slicing engines like CuraEngine, and managing various slicing parameters.
Installation
You can install slicertools using pip:
pip install slicertools
Usage
Convert 3D Models
Convert a 3D model file to another format:
from slicertools.utils import convert_3d
converted_file = convert_3d('path/to/your/3dmodel.stl')
print(f'Converted file: {converted_file}')
Slice a Model
Slice a 3D model using pre-defined quality settings:
from dataclasses import asdict
from slicertools.enums import QualitySlice
from slicertools.materials import PETG
from slicertools.slicers import CuraSlicer
slicer = CuraSlicer(material=PETG())
result = slicer.slice('path/to/your/model.stl', **asdict(QualitySlice.STANDARD))
print(f'Slice result:\n{result}')
Features
- 3D Model Conversion: Convert between various 3D model file formats.
- Model Slicing: Interface with CuraEngine to slice 3D models for 3D printing.
- Quality Presets: Pre-defined quality settings for efficient slicing.
Dependencies
- trimesh[easy]
- CuraEngine
Metadata
Release files for slicertools 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| slicertools-0.1.2.tar.gz | 7.5 MB | Without provenance | Details for slicertools-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| slicertools-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for slicertools-0.1.2-py3-none-any.whl |
Total release size: 15.1 MB
Release files / slicertools-0.1.2.tar.gz
| Download URL | slicertools-0.1.2.tar.gz |
|---|---|
| Size | 7.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
943e66e7dd8b7b7d89868eea4fe2ec532a3f7c371e23cd6d399a086762b4ef61
|
|
BLAKE2b-256 checksum How to use checksums |
78b7d187f3dadd21204fc841c33b7a4682a10d9197208f0b42c9302a35b70cee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Release files / slicertools-0.1.2-py3-none-any.whl
| Download URL | slicertools-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c0f574f6f51c4a0931d58e63bbc0fffa42ff94ceda024ef1836b0085dcb1dff
|
|
BLAKE2b-256 checksum How to use checksums |
b4e5cf1621929787def345950f51e247a2840c8abe34fff8a84861f0a28bdb45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Security for slicertools 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.