Set up defaults
setup_defaultsReads or saves your default printer, build plate, and filament to config.json. Call it on first use or when your printer or usual filament changes.
Instructions
Read or save the user's default printer, build plate and filament (stored in config.json). Without arguments: returns the current values and the available choices. With arguments: validates them and saves only those given. Call it on first use (connector_info.setup_needed) or when the user changes printer, plate or usual filament.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| machine | No | Exact machine preset, e.g. "Bambu Lab A1 0.4 nozzle"; its standard process follows. | |
| bed_type | No | Usual build plate, e.g. "Textured PEI Plate". | |
| filament | No | Usual filament: a preset or a material name such as "PLA Matte", adapted to the printer. |