generate_adaptive_slicing_plan
Generate a per-layer slicing plan with variable heights, speeds, and cooling based on detected geometry regions and material constraints for adaptive 3D printing.
Instructions
Generate a per-layer adaptive slicing plan.
Creates a layer-by-layer plan with variable heights, speeds, and
cooling based on detected geometry regions and material constraints.
Args:
regions: List of region dicts (as ``analyze_model_geometry``
returns them): ``region_type`` (one of fine_detail, standard,
bulk, overhang, bridge, top_surface, bottom_surface, thin_wall,
curved_surface, support_contact), ``z_start_mm``, ``z_end_mm``
and ``area_pct``.
material: Material name (PLA, PETG, ABS, etc.).
model_height_mm: Total model height in mm.
model_name: Optional model name for record keeping.
printer: Optional printer identifier.
nozzle_diameter_mm: Nozzle diameter in mm. Leave unset for the
nozzle Kiln has for ``printer`` (or the only printer it knows
of), else 0.4; the reply's ``nozzle`` says which.
mode: Adaptive strategy — "balanced" (default), "quality_first",
"speed_first", or "material_optimized".
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"regions": "<regions>",
"material": "<material>",
"model_height_mm": "<model_height_mm>"
},
"name": "generate_adaptive_slicing_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Adaptive strategy — "balanced" (default), "quality_first", "speed_first", or "material_optimized". Default: "balanced". | |
| printer | No | Optional printer identifier. | |
| regions | Yes | List of region dicts (as ``analyze_model_geometry`` returns them): ``region_type`` (one of fine_detail, standard, bulk, overhang, bridge, top_surface, bottom_surface, thin_wall, curved_surface, support_contact), ``z_start_mm``, ``z_end_mm`` and ``area_pct``. | |
| material | Yes | Material name (PLA, PETG, ABS, etc.). | |
| model_name | No | Optional model name for record keeping. Default: "". | |
| model_height_mm | Yes | Total model height in mm. | |
| nozzle_diameter_mm | No | Nozzle diameter in mm. Leave unset for the nozzle Kiln has for ``printer`` (or the only printer it knows of), else 0.4; the reply's ``nozzle`` says which. |