Beyond Toy Scripts: Auditing Silent Failures and Closing the Trial-to-Trial Consistency Gap in VLM-Driven 2D-to-3D Parametric CAD Reconstruction
Translating multi-view 2D engineering drawings into editable 3D boundary-representation (B-Rep) models remains an unsolved bottleneck in mechanical manufacturing. Most vision-language model (VLM) CAD pipelines emit offline Python scripts (such as CadQuery) from synthetic projections and evaluate reconstructed solids with scale-normalized volumetric Intersection-over-Union (IoU) or Chamfer Distance (CD). In shop-floor machining, however, sub-millimeter errors or omitted holes cause assembly interference, scrap parts, and reduced fatigue life, while unconstrained scripting brings high latency, weak verifiability, and full rebuilds whenever a late feature fails. We present dsh-solidworks, a sandboxed Model Context Protocol (MCP) architecture over commercial SolidWorks 2025 built on the open-source SolidPilot compiler. The system restricts the VLM to 12 task-level CAD tools, runs static pre-build geometric checks on a declarative Feature Graph, speeds up cross-process COM face inspection by 97.7x to 150x, replaces inflated tessellation bounding boxes with exact six-direction extremum metrology, and gates delivery through a provenance-tracked dimension_ledger. Across 31 verified drawings and 134 curated high-reasoning unattended runs (drawn from 335 benchmark sessions), our diagnostic audit on National Vocational Skill Exam parts (4b7dc30) shows high single-part solvability (Pass@3 = 100%, 7/7) alongside low 3-of-3 repeatability (Pass^3 = 28.6%, 2/7). In three counterbalanced matched-pair A/B cohorts across five repeated development drawings (28 pairs, 56 runs), tested prompt and strategy edits produced no detectable large pass-rate gain (14/28 vs. 15/28 under pre-H24 scoring, exact McNemar p=1.000, drawing-cluster bootstrap 95% CI [-20.0, +33.3] pp; exact 16/28 vs. 16/28 tie under exact extremum scoring, 95% CI [-21.4, +30.8] pp). After resolving hole-face (H25) and coaxial-cylinder ledger (H26) ambiguities (37f5ac1->601ef29), LEDGER_INVALID errors drop from 33.3% (8/24) to 0.0% (0/20 on 601ef29). On a separate held-out CC-BY-4.0 machined-part blind benchmark, the updated system reaches an 86.7% (26/30) run pass rate (76.7% under uniform ±1% volume tolerance) and 80.0% (8/10) 3-of-3 consistency; because the diagnostic and blind cohorts differ in part sets and tolerances, we report 80.0% as a held-out benchmark result while characterizing the shared-perception ceiling of single-model self-verification. Code and evaluation artifacts are open-sourced at https://github.com/tian-yu200/dsh-solidworks.
Authors
- Jialiang Ying (ORCID: https://orcid.org/0009-0000-8195-0814)
Publication Details
- Journal
- Preprints.org
- Published
- 2026-11-25
- DOI
- https://doi.org/10.20944/preprints202611.2640.v1
- Primary Topic
- Manufacturing Process and Optimization
- Type
- preprint