validate_assembly
Run clearance checks and joint validations on a 3D assembly to verify correctness and printability. Optionally apply printer-calibrated adjustments for screw holes.
Instructions
Validate an assembly for correctness and printability.
Runs clearance checks and joint validations on the assembly,
returning the validated assembly state with results populated.
Args:
assembly_json: JSON string of the current assembly state.
printer_id: Optional printer identifier (e.g.
``"bambu_a1"``). When supplied AND kiln-pro is
installed, each joint that drives a screw into a
printed part gains a ``screw_hole`` block with the
compensated hole diameter, thread engagement,
install-torque ceiling, and lead-in chamfer
(Bambu-calibrated on Bambu X1/P1/A1 + PLA/PETG; a
generic starting point otherwise). Omit it to keep
the historic behaviour.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| printer_id | No | ||
| assembly_json | Yes |