process_and_print_stl
Extend an STL base, slice it, and start printing; the job is refused before upload if expected bed or nozzle temperatures mismatch.
Instructions
Process an STL file (extend base), slice it, and start printing through the same checked print gate as upload_gcode/print_3mf. Expected temperatures are enforced: a mismatch refuses before upload.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Hostname or IP address of the printer (default: value from env) | |
| port | No | Port of the printer API (default: value from env) | |
| type | No | Type of printer management system (default: value from env) | |
| api_key | No | API key for authentication (default: value from env) | |
| bed_temp | No | Expected highest bed target in the sliced G-code (S and R forms). Printing stops before upload if it differs. | |
| bed_type | No | Bed/plate type installed on the printer (default: textured_plate). | |
| material | No | Declared filament material when the sliced G-code has no filament_type metadata. Must not contradict the file. | |
| stl_path | Yes | Path to the STL file to process | |
| bambu_model | No | Bambu Lab printer model. Required for Bambu print operations. | |
| nozzle_type | No | Installed Bambu nozzle material used when slicing (default: BAMBU_NOZZLE_TYPE, else the preset's stock nozzle). The print gate compares it with the printer's report. | |
| slicer_path | No | Path to the slicer executable (default: value from env). Per-call overrides require MCP_ALLOW_EXECUTABLE_ARG=1. | |
| slicer_type | No | Type of slicer to use. Use orcaslicer-bambulab for FULU OrcaSlicer-bambulab. | |
| extruder_temp | No | Expected highest nozzle target in the sliced G-code (S and R forms, every tool). Printing stops before upload if it differs. | |
| slicer_profile | No | Profile to use for slicing (default: value from env). OrcaSlicer also accepts machine/process profiles separated with ';', optionally followed by '|filament.json'. | |
| nozzle_diameter | No | Nozzle diameter in mm (default: 0.4). | |
| extension_inches | Yes | Amount to extend the base in inches | |
| filament_profile | No | OrcaSlicer filament profile path loaded with --load-filaments (default: FILAMENT_PROFILE/SLICER_FILAMENT_PROFILE env). |