Quality Control Plan Generator
v0.1.2Quality control plans from drawing PDFs: auto-extracted tolerances, balloons, Excel + PDF reports.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
analyze_drawing Analyse a drawing PDF (Imnoo drawing analysis)
Upload a technical-drawing PDF to Imnoo's drawing analysis and return every inspection characteristic it detects — dimensional tolerances (⌀50 ±0.05, 12 +0.2/-0.1), ISO fit classes (H7 drills, g6 shafts), threads and fine threads, geometric tolerances (GD&T frames) and surface finishes (Ra/Rz) — each with a feature id, value, PDF page, position and the balloon number printed on the drawing when there is one, plus the title block (drawing/article number, material, general tolerance). Analysis takes roughly 20–120 s; the call waits up to timeout_seconds and otherwise returns status "pro…
| Parameter | Type | Description |
|---|---|---|
drawing_id | string | instead of pdf_path: the drawing_id of an earlier upload that returned status "processing" — keeps waiting for it without a new upload |
pdf_path | string | path to the drawing PDF to analyse (vector or scanned, ≤ 30 MB) |
save_analysis_to | string | write the analysis JSON to this path (re-open it later with load_analysis, no upload needed) |
timeout_seconds | integer | how long to wait for the analysis before returning "processing" (default 180) |
load_analysis Open a saved drawing analysis (offline)
Open a drawing analysis JSON saved earlier (analyze_drawing with save_analysis_to, or the Imnoo FileStore analysis document) and register it as a drawing for the plan and export tools. Fully offline — no upload, no daily credit. Pass pdf_path as well so the drawing exports can draw on the original PDF and write next to it.
| Parameter | Type | Description |
|---|---|---|
analysis_path * | string | path to the analysis JSON |
drawing_id | string | id to register the drawing under (default: the analysis id, else the file name) |
pdf_path | string | path to the matching drawing PDF (needed for the ballooned/package PDF exports) |
build_quality_plan Build the quality control plan
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.
| Parameter | Type | Description |
|---|---|---|
drawing_id * | string | from analyze_drawing or load_analysis |
plan | object | 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 ap… |
export_quality_plan_excel Export the Excel measurement and inspection report
Write the quality plan as the "Measurement and inspection report" workbook (.xlsx): headline with the inspection class, header block (article name, ET-No., batch number, inspection rate), the visual-inspection checklist (a–e), the dimensional-conformity table (Insp. dim. no. · nominal dimension or thread size · tolerance range · measuring instrument · actual dimension · deviation · date · inspector), change-tracking footnotes and the special-release/signature block — cell for cell the report the Imnoo calculator produces. Default location: next to the drawing PDF as <drawing number>…
| Parameter | Type | Description |
|---|---|---|
drawing_id * | string | from analyze_drawing or load_analysis |
output_path | string | target .xlsx path, or a directory (default: next to the drawing PDF, else the working directory) |
overwrite | boolean | allow replacing an existing file |
plan | object | 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 ap… |
export_inspection_pdf Export the ballooned drawing / inspection package PDF
Write the inspection PDF. variant "package" (default): the original drawing pages with translucent boxes on every selected characteristic, numbered balloons and optional leader arrows, followed by the printed plan (general-information form, feature table with colored number chips, instrument and sample fill-in lines, acceptance criteria and result checkboxes, final approval). "ballooned": the marked-up drawing pages only. "plan": the plan document only (no drawing pages, no PDF needed). The source PDF is never modified. Default location: next to the drawing PDF as <drawing number>_inspection-p…
| Parameter | Type | Description |
|---|---|---|
drawing_id * | string | from analyze_drawing or load_analysis |
output_path | string | target .pdf path, or a directory (default: next to the drawing PDF, else the working directory) |
overwrite | boolean | allow replacing an existing file |
pdf_path | string | the original drawing PDF when the server does not know it yet (load_analysis without pdf_path) |
plan | object | 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 ap… |
variant | string | default package |