Adding the possibility to pass slicing parameters through CLI or config file for automated slicing
Is there an existing issue for this feature request?
- [x] I have searched the existing issues
Is your feature request related to a problem?
Hello,
I'm writing a tool to automate slicing of big assemblies (like RC models) based on AI and automatic documentation reading. I'll publish it on open source as soon as I'm able to automate slicing. Is it possible to get an API to get existing profiles (I'll used them as a starting point) for printers and filaments, and a second API to slice with specific parameters passed through a convenient way (not saved in a profile) ?
Cheers,
Amaury.
Which printers will be beneficial to this feature?
All
Describe the solution you'd like
I'd like to be able to pass slicing parameters from an external software through a JSON file, XML file or anything else ...
Describe alternatives you've considered
No response
Additional context
No response
Thanks — the building blocks are actually there: the CLI supports --load-settings (process/machine JSON), --load-filaments (filament JSON), --outputdir and --slice, so headless slicing works today. Passing parameters in from external software is therefore possible — but as JSON files whose paths you pass, not as individual key/value flags on the command line. The separate thing you asked for — an API to list existing printer/filament profiles — doesn't exist. To use your current profiles as a starting point, you can read the JSON under resources/profiles/, or export a preset from the GUI first. Logged the request for a friendlier input path and profile query; no timeline yet. See also Feature Requests on the forum (template, votes and comments): https://forum.snapmaker.com/c/feature-request/102