swdraw_build_drawing
Build a SolidWorks drawing from a YAML spec, including views, dimensions, GD&T, title block, and PDF/PNG export, with self-checks for failed steps.
Instructions
Build the ACTIVE SolidWorks drawing from a spec: scale, clear, layout, sections, details, self-checked
dimensions, GD&T, leader notes, notes block, title block, fonts, PDF/PNG export. Does not save.
spec_path must be absolute. steps runs a subset (e.g. ["clear", "dimensions", "gdt", "export"]).
Look at result.check and the PNG afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | ||
| strict | No | ||
| spec_path | Yes | ||
| title_block | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |