awv-informatik/classcad-ai/skill
Claude Code and agent skill by awv-informatik/classcad-ai
- community
Checking that the SKILL.md file is still in the repository.
Structured API reference for the ClassCAD headless parametric CAD engine (v1 JSON/WebSocket API). Use when writing or debugging ClassCAD API calls — modeling parts, sketches, solids, curves, assemblies, expressions, or 2D drawings — to look up exact method signatures, verified gotchas, and working examples across all 264 APIs in 7 domains.
Install
npx vskill@latest install awv-informatik/classcad-ai/skillSKILL.md
ClassCAD API Skill
Source: https://classcad.ch/docs/ · API version: v1
Overview
ClassCAD is a headless, programmable CAD engine for building native, web-based, cloud-based, and automated CAD applications. It is not an end-user application — it is designed to be embedded into products, services, and workflows.
Client applications interact with ClassCAD exclusively through public APIs and API wrappers. All API calls follow the pattern:
Common
Cross-cutting references that apply across every domain. Read these first when starting any task — they describe the shared protocol and modeling primitives the per-domain APIs build on.
| Reference | Topic | |
|---|---|---|
| recipes/constrained-sketching.md | 2D sketching primer: planes, profiles, constraints, regions, sketch-to-feature flow | |
| expressions.md | Expression syntax: constants, math functions, inter-expression references, @expr. | |
| part/expression-workflow.md | Expression lifecycle within a part: bindings, updates, rename/delete/unlink behavior | |
| assembly/generic.md | Templates vs. instances, instance placement in the tree, when the constraint solver runs; constraints mount instances by their work csys (assembly/fastened.md) |
The data contract — what api.tree() and api.graphic() return and how to select geometry from it: DATA (distilled, read it before any tree/graphic scripting), STRUCTURE (the model tree in depth) and GRAPHICS (the graphic payload). Tools serve them under the same names (docs(["DATA"])).
Plans — what the signed-in account's plan enables (commercial use, exports, where a web app may run, access tokens): PLANS; the MCP's account tool reports the live answer.
Domain Index
The v1 API (current version) is organized into 7 domains. Click a domain name to jump to its API listing below. The "Reference" column links to the full API documentation for that domain.
| Domain | Namespace | Reference | Description | |
|---|---|---|---|---|
| **1. Common** | api.v1.common.* | common.md | Session management, load/save, settings, appearance, user data | |
| **2. Part** | api.v1.part.* | part.md | Feature-based part modeling (primitives, booleans, patterns, sketches) | |
| **3. Assembly** | api.v1.assembly.* | assembly.md | Assembly building: templates, instances, constraints, patterns | |
| **4. Sketch** | api.v1.sketch.* | sketch.md | 2D constrained sketches on work planes | |
| **5. Curve** | api.v1.curve.* | curve.md | 2D/3D curve creation in shape containers | |
| **6. Solid** | api.v1.solid.* | solid.md | Direct solid modeling within entity injection features | |
| **7. Drawing2D** | api.v1.drawing2d.* | drawing2d.md | 2D views, dimensions, DXF/SVG export |
<a name="common"></a>
1. Common — 22 APIs
General-purpose utilities: file I/O, database settings, appearance, transformations, user data, batching, and recalculation.
| # | API Name | Summary | Source | |
|---|---|---|---|---|
| 1 | clear | Deletes all objects in the current drawing | api | |
| 2 | evaluateExpression | Evaluates an expression | api | |
| 3 | getDatabaseSettings | Returns the current general settings from the database | api | |
| 4 | getFacetingParameters | Returns the faceting parameters used to tessellate surfaces and curves | api | |
| 5 | setAppearance | Sets the appearance on the target (color, transparency, faceting) | api | |
| 6 | setDatabaseSettings | Sets the current and initial general settings on the database | api | |
| 7 | setFacetingParameters | Sets the faceting parameters of current drawing | api | |
| 8 | transformObjectWithMatrix | Transforms an object with the given 4x4 matrix | api | |
| 9 | setObjectCoordSystem | Sets the coordinate system on an object | api | |
| 10 | setObjectName | Sets the name on an object | api | |
| 11 | getClassFileVersion | Returns the class file version | api | |
| 12 | getAppVersion | Returns the app version | api | |
| 13 | setUserData | Sets custom user data by key and value on given object | api | |
| 14 | getUserData | Returns the value from the user data map at given key | api | |
| 15 | removeUserData | Removes the user data entry identified by given key | api | |
| 16 | clearUserData | Clears all entries from user data of given object | api | |
| 17 | getUserDataKeys | Returns all the keys of user data map of given object | api | |
| 18 | batch | Runs the given API calls in a sequence | api | |
| 19 | requestVisualisation | Requests the visualisation of entities/cad entities from the server | api | |
| 20 | load | Reads drawing from ClassCAD- or SolidFile (OFB, STP, IWP, STL) | api | |
| 21 | save | Stores the current model (OFB, SCG, STP, IWP, STL, DXF) | api | |
| 22 | recalc | Recalculates and updates the whole drawing with all its objects | api |
<a name="part"></a>
2. Part — 76 APIs
Part modeling: feature creation/update (box, cone, cylinder, sphere, extrusion, revolve, twist, slice, boolean, chamfer, fillet, mirror, patterns), work geometry, expressions, sketches, entity injection, and feature operations.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/skill/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/awv-informatik/classcad-ai/skill)