Swpilotcli sketch exit

From arthurle3210/SwpilotCLI · View interactive version

Swpilotcli sketch exit is an AI agent skill from the GitHub repository arthurle3210/SwpilotCLI. Exit the active SolidWorks sketch and report its constraint status (Fully Defined / Under-Constrained / Over-Constrained). Call this after swpilotcli-sketch-draw to commit geometry and check if the sketch is fully constrained.

How to use this skill

Skill file

swpilotcli-sketch-exit

Commit and exit the active sketch, then report constraint status.

Prerequisites

What this Skill does

  1. Calls EditRebuild3() — commits sketch and exits editing mode
  2. Calls GetConstrainedStatus() — reads solver result
  3. Reports: Fully Defined / Under-Constrained / Over-Constrained

Quick start

dotnet run --project ./sup_tools/swpilotcli-sketch-exit/scripts/SketchExit/SketchExit.csproj

Expected output:

Sketch status: Fully Defined

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.