Swpilotcli read drawing

From arthurle3210/SwpilotCLI · View interactive version

Swpilotcli read drawing is an AI agent skill from the GitHub repository arthurle3210/SwpilotCLI. Engineering drawing / hand-sketch interpretation protocol. MUST be executed before any feature modeling whenever the user provides an engineering drawing or hand-drawn sketch image. Enforces multi-view cross-reference and isometric priority to prevent geometric misinterpretation.

How to use this skill

Skill file

swpilotcli-read-drawing

Structured protocol for interpreting engineering drawings and hand-drawn sketches before generating any SolidWorks modeling code.

Trigger Condition

Execute this protocol automatically whenever the user provides:

Do NOT skip this protocol and jump directly to code generation.


Step 1:Identify Views Present

List all views found in the image:


Step 2:Isometric View Takes Priority

If an isometric (or pictorial) view is present:

Rationale: Isometric views directly show 3D form and prevent misreading orthographic projections.


Step 3:Hidden Line (虛線) Cross-Reference

For every hidden line (dashed line) in any view:

Format:

正視圖虛線 A → 對應 [俯視圖 / 側視圖] 的 [特徵描述]

Do NOT infer a feature from a single view's hidden lines alone.


Step 3b:Annotation & Geometry Interpretation Rules

Apply these rules before assigning any dimension to a feature:

□N / ⌀N = the feature itself, not its inner cavity

Do not assume hollow from hidden lines alone

Chain dimensions must be cross-referenced with isometric before assignment

Position must be verified across all three orthographic views

Visual flush = geometric alignment, no dimension needed

Isometric view is sufficient for reading position


Step 4:Output Feature List

After completing Steps 1–3, output a structured feature list.

| # | Feature | Dimensions | Position | View Evidence |

|---|---------|------------|----------|---------------|

| 1 | Base plate | 40×40×10mm | Origin | Front+Top+Iso |

| 2 | Column | 20×20×73mm | X:10-30, Z:-20~-40 | Front+Side+Iso |

| … | … | … | … | … |

Rules:


Step 5:Wait for Confirmation

After outputting the feature list:

  1. Ask the user to confirm: 「以上理解正確嗎?」
  2. Do NOT generate any C# modeling code until the user confirms
  3. If user corrects any item, update the feature list and re-confirm

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.