An In-Progress Slicer for FDM 3D printing written in Rust with a focus on customization and modularity. This is the core application for the GUI see here.
Rust, LGPL. Copyright 2021 Lucas Ince/mrhatman
Questions? Please use the github discussion page.
Want to contribute? Open a PR. See contributing document for more information.
Gladius Slicer is currently in an alpha state and very little is stable so assume any new release will cause breaking bugs. If you need something stable, please open an issue or discussion, so we can plan out the interface.
This project is a command line application. That GUI project can be found here.
USAGE:
gladius_slicer.exe [FLAGS] [OPTIONS] <INPUT>...
FLAGS:
-m Use the Message System ( useful for interprocess communication)
-v Sets the level of verbosity
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-o <OUTPUT> Sets the output file to use
-s <SETTINGS> Sets the settings file to use
-j <THREAD_COUNT> Sets the number of threads to use in the thread pool (defaults to number of CPUs)
ARGS:
<INPUT>... Sets the input file to use
"{\"Auto\":\"test_3D_models\\3DBenchy.stl\"}" : Automatically Centers 3DBenchy file in center of the build area"{\"AutoTranslate\":[\"test_3D_models\\3DBenchy.stl\",-10,0]}" : Automatically centers 3DBenchy file in center of the build area offset -10 mm off center in the x dimension."{\"AutoTranslate\":[\"test_3D_models\\3DBenchy.stl\",0,-80]} " "{\"AutoTranslate\":[\"test_3D_models\\3DBenchy.stl\",0,80]} ": print 2 3DBenchy's "{\"Raw\":[\"test_3D_models\\3DBenchy.stl\",[[1.0,0.0,0.0,124.0],[0.0,1.0,0.0,105.0],[0.0,0.0,1.0,0.0],[0.0,0.0,0.0,1.0]] }":3DBenchy with given transform matrixSettings files are hJSON, a human readable json that supports comments. Examples can be found in the settings folder.
Generated GCode has been used for multiple prints (Benchy, xyz calibration cube,marvin) with a Prusa Mk3 and gives similar results to other slicers.
This project uses Cargo as the build engine so the dependencies can be found in Cargo.toml file. All dependencies should be compatible with LGPL license.
$ claude mcp add GladiusSlicer \
-- python -m otcore.mcp_server <graph>