Build the quality control plan
build_quality_planBuild a print-ready quality control plan from an analysed drawing: numbered characteristics, acceptance limits, measuring instruments and inspection classes, offline and deterministic.
Instructions
Turn an analysed drawing into the quality control plan the documents will print: one row per characteristic with its balloon number (numeric, padded or type-prefixed; printed drawing numbers kept by default), acceptance limits computed from nominal ± tolerance (dimensional tolerances only — fits, threads, GD&T and surface finishes are judged with gauges), the default measuring instrument per type, the inspection class/rate, and the section order. Deterministic and offline: adjust the plan options and call again until the plan is right, then pass the same options to the export tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | Plan settings — shared by build_quality_plan and both export tools; pass the same object to every call so the documents match the reviewed plan. Everything is optional; defaults reproduce the web app's initial plan. | |
| drawing_id | Yes | from analyze_drawing or load_analysis |