Drawing Diff Analyzer
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md and install @engicool/drawing-diff-analyzer.
About this skill
Problem
During design review, 2D engineering drawings and 3D models often disagree on dimensions, outlines, or tolerances, and manual line-by-line checks are slow and error-prone. Drawing Diff Analyzer targets this workflow: it accepts DWG/DXF/PDF drawings plus STL/STEP/IGES models, extracts comparable geometry, and produces a structured diff report so engineers can quickly spot nonconforming or unverified items.
How It Works
- 2D drawing parsing: uses dependencies such as
ezdxf,pdfplumber, andfitzto extract outlines, circles, arcs, linear/angular dimensions, and annotations likeØ10,R10, or10±0.05; it also recognizes geometric tolerances such as position, perpendicularity, and flatness. - 3D model parsing: uses
numpy-stl,trimesh, orcadqueryto extract vertices, edges, faces, and bounding-box dimensions into a comparable feature set. - Diff comparison and reporting: compares dimension deviation, outline deviation, and geometric tolerance notes; supports
--tolerancefor the tolerance threshold, defaulting to0.1mm; outputsdiff_report.jsonanddiff_report.mdfor traceability and review discussion.
Boundaries
The skill defaults to orthographic projection when comparing 3D-derived outlines to 2D geometry, and results depend on drawing quality and coordinate-system integrity. Geometric tolerances are typically recorded and flagged rather than automatically verified from the 3D model alone, so final confirmation still requires manual measurement.
Use Cases
- Review a mechanical part before assembly by comparing blueprint.pdf and model.stl for linear, diameter, and radius dimensions.
- Trace design changes in a mold by comparing a STEP model with an older DWG drawing to flag outline and bounding-box deviations.
- Prepare a precision-part review by setting --tolerance 0.05 and generating a Markdown diff report for sign-off.
- Audit supplier deliverables by parsing a PDF drawing and STL model to check flagged tolerance callouts such as position or perpendicularity.
Best For
- Mechanical design engineers responsible for drawing sign-off who need to spot dimension deltas between 2D callouts and 3D models.
- Process or tooling engineers reviewing molds or structures who need to compare DWG/DXF/PDF files with STL/STEP geometry.
- Quality engineers auditing supplier deliverables who need JSON and Markdown diff reports for traceability and confirmation.
- CAD automation engineers scripting design review who need stable outputs such as features_2d.json, features_3d.json, and diff_report.
Related Skills
Switch AI from a polite executor into a skeptical thinking partner, using assumption checks, pre-mortems, and evidence gates to expose weak ideas early.
Applies research discipline, data lookup, evidence grading, red-team checks, and structured reporting to analyze AI company investment logic.
Uses Qichacha or Tianyancha MCP data and public information to score corporate credit across 12 dimensions and output a Markdown risk report.
Calculates personal injury compensation via CLI and outputs case summary, standards, line items, sources, and risk notes.