Bambu Studio users can automate 3D model processing through command-line inputs, bypassing the software’s graphical interface for repetitive tasks.
This hidden functionality allows for scripting, consistent profile management, and project exports without opening a window. The slicer can also be embedded into custom software, such as tools for AI agents.
The command-line interface, which 3druck.com reported has been documented in the project wiki since December 2022 with its latest update on March 31, 2026, enables users to integrate the slicer into custom software or AI-driven workflows, according to 3Druck. By utilizing scripts, operators can align models and apply fixed profiles across multiple files simultaneously.
To initiate a process, users execute commands following the structure “bambu-studio [options] [file]”. The software accepts 3MF and STL formats, with the “–help” command providing a full overview of available options and “–info” offering specific model details. For monitoring, the “–debug” flag allows users to set a logging level between 0 and 5, 3druck.com noted.
For pre-configured 3MF projects, a single command can process all print plates. As an example, the command “./bambu-studio –slice 0 –debug 2 –export-3mf output.3mf moon.3mf” slices every plate and saves the result as a new file. The digit following “–slice” selects the specific plate, where 0 represents the entire project. The target directory is set with “–outputdir”.
When working with STL files, which lack internal settings, users must manually define profiles and parameters. Commands such as “–orient” and “–arrange” handle model positioning, while “–load-settings” and “–load-filaments” import necessary configuration files.
Specific values, such as the bed type with “–curr-bed-type”, can also be set directly in the command, overriding loaded profiles or 3MF data. The “–scale” option with a factor changes the model size. In the documentation example, “filament1.json;;filament3.json” replaces the first and third filament profiles while the second remains unchanged.
While the command line manages file preparation and data export, it does not control the 3D printer itself. Users must still initiate the physical print process through the desktop software or directly on the device.