Export the ballooned drawing / inspection package PDF
export_inspection_pdfCreate inspection PDFs from drawing analyses: ballooned drawings, quality plans, or combined packages with numbered characteristics, limits, and instruments.
Instructions
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 _inspection-package.pdf / _ballooned.pdf / _quality-plan.pdf.
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. | |
| variant | No | default package | |
| pdf_path | No | the original drawing PDF when the server does not know it yet (load_analysis without pdf_path) | |
| overwrite | No | allow replacing an existing file | |
| drawing_id | Yes | from analyze_drawing or load_analysis | |
| output_path | No | target .pdf path, or a directory (default: next to the drawing PDF, else the working directory) |