Crates.io | stlto3mf |
lib.rs | stlto3mf |
version | 0.1.0 |
source | src |
created_at | 2024-07-16 11:58:33.511145 |
updated_at | 2024-07-16 11:58:33.511145 |
description | Converts one or more STL files into a single 3MF file. |
homepage | https://github.com/mpapierski/stlto3mf |
repository | |
max_upload_size | |
id | 1304986 |
size | 21,791 |
stlto3mf
is a command line tool written in Rust that merges multiple STL files representing a single object into a single 3MF file. This is especially useful for multi-material 3D printing, saving time and effort when dealing with slicer programs.
To build from source, you need to have Rust installed. Clone the repository and build the project:
git clone https://github.com/yourusername/stlto3mf.git
cd stlto3mf
cargo run
# or
cargo install --path '.'
The executable will be available in the target/release directory (or in your $PATH)
stlto3mf [OPTIONS] --output <OUTPUT> [STL_FILES]...
[STL_FILES]...
List of STL files to merge.
--output <OUTPUT>
Name of a group of STLs in the final .3MF file.
--name <NAME>
Output filename for the 3MF file.
-h, --help
Print help information.
-V, --version
Print version information.
Merge multiple STL files into a single 3MF file with a specified output name:
stlto3mf --output final_object --name output.3mf part1.stl part2.stl part3.stl
This command will merge part1.stl, part2.stl, and part3.stl into a single output.3mf file, grouping them under final_object.
To print the help information:
stlto3mf --help
To print the version information:
stlto3mf --version
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes. License
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or support, please open an issue on the GitHub repository or contact michal@papierski.net.