generate_and_print
Generate a 3D model from a text prompt, then validate, slice, and upload it to your printer for preview. Start printing separately.
Instructions
Full pipeline: generate a model, validate, slice, and upload (preview).
**EXPERIMENTAL:** This generates a 3D model, validates it, slices it,
and uploads it to the printer — but does NOT start printing. 3D
printers are delicate hardware and AI-generated models are not
guaranteed to be safe or printable. You MUST call ``start_print``
separately after reviewing the preview results.
When possible, prefer downloading proven models from marketplaces
(Thingiverse, MyMiniFactory) instead of generating new ones.
Args:
prompt: Text description of the 3D model to generate.
provider: Generation provider (``"meshy"`` or ``"openscad"``).
style: Optional style hint for cloud providers.
printer_name: Target printer. Omit for the default printer.
profile: Slicer profile path.
printer_id: Optional printer model ID for bundled profile
auto-selection (e.g. ``"prusa_mini"``).
timeout: Max seconds to wait for generation (default 600).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | ||
| prompt | Yes | ||
| profile | No | ||
| timeout | No | ||
| provider | No | meshy | |
| printer_id | No | ||
| printer_name | No |