generate_adaptive_slicing_plan
Generates a per-layer adaptive slicing plan that varies layer heights, speeds, and cooling based on geometry regions and material constraints.
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 from ``analyze_model_geometry``.
Each dict needs ``region_type``, ``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.
mode: Adaptive strategy — "balanced" (default), "quality_first",
"speed_first", or "material_optimized".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | balanced | |
| printer | No | ||
| regions | Yes | ||
| material | Yes | ||
| model_name | No | ||
| model_height_mm | Yes | ||
| nozzle_diameter_mm | No |