Swpilotcli feature extrude cut

From arthurle3210/SwpilotCLI · View interactive version

Swpilotcli feature extrude cut is an AI agent skill from the GitHub repository arthurle3210/SwpilotCLI. Cut-extrude the active sketch through the solid to remove material. Supports a fixed depth in mm or through-all. Must be called while a sketch is active in editing mode. Use after sketch-on-face + sketch-draw to create holes, pockets, or slots.

How to use this skill

Skill file

swpilotcli-feature-extrude-cut

Cut-extrude the currently active sketch to create a Cut-Extrude feature (removes material).

Prerequisites

Usage

dotnet run --project ./sup_tools/swpilotcli-feature-extrude-cut/scripts/ExtrudeCut/ExtrudeCut.csproj -- <depth_mm | through_all>

Arguments

| Arg | Description |

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

| depth_mm | Cut depth in millimetres (e.g. 5) |

| through_all | Cut through the entire solid |

Examples

# Cut 5mm deep pocket
dotnet run ... -- 5

# Through-all hole
dotnet run ... -- through_all

How it works

  1. Reads depth from command-line argument
  2. Calls FeatureCut3 (Blind or ThroughAll, single direction)
  3. Traverses feature tree to find the newly created cut feature
  4. Calls EditRebuild3 and GraphicsRedraw2

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.