Print a 3D model
Agents can author 3D-printable models and attach the finished part to a ticket, then hand it to your Bambu printer.
- Ask for the part as code. The agent writes OpenSCAD (
.scad, rendered withopenscad -o model.stl model.scad) or build123d or CadQuery (Python;uv add build123d; exports STL, STEP or 3MF). OpenSCAD ships ready to use; build123d is an opt-in install. - Check it in the viewer. A finished model attached with
add_artifact(.stl,.3mf,.step,.obj,.glbor.gltf,.ply) renders inline as an interactive viewer (online-3d-viewer), loaded only when you open it. - Send it to the printer. Each 3D artifact gets buttons that launch the desktop app,
since the board runs locally:
- Open in Bambu Studio opens a raw model in the slicer, where you set orientation
and supports and print. Point it at another slicer (OrcaSlicer, for example) with the
slicer_appsetting. - Send to printer hands a sliced
*.gcode.3mfto Bambu Connect, the official send-to-printer bridge, throughbambu-connect://import-file.
- Open in Bambu Studio opens a raw model in the slicer, where you set orientation
and supports and print. Point it at another slicer (OrcaSlicer, for example) with the
Turn both buttons off with the slicer_open_enabled setting. Slicing to .gcode.3mf
stays a human step in Bambu Studio: the agent does not choose orientation and supports or
drive the printer.