awv-informatik/classcad-ai/skill

Claude Code and agent skill by awv-informatik/classcad-ai

Trust tier 3
  • community
Source check pending

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/skill

SKILL.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:

js
api.<version>.<domain>.<method>(param)

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.

ReferenceTopic
recipes/constrained-sketching.md2D sketching primer: planes, profiles, constraints, regions, sketch-to-feature flow
expressions.mdExpression syntax: constants, math functions, inter-expression references, @expr.
part/expression-workflow.mdExpression lifecycle within a part: bindings, updates, rename/delete/unlink behavior
assembly/generic.mdTemplates 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.

DomainNamespaceReferenceDescription
**1. Common**api.v1.common.*common.mdSession management, load/save, settings, appearance, user data
**2. Part**api.v1.part.*part.mdFeature-based part modeling (primitives, booleans, patterns, sketches)
**3. Assembly**api.v1.assembly.*assembly.mdAssembly building: templates, instances, constraints, patterns
**4. Sketch**api.v1.sketch.*sketch.md2D constrained sketches on work planes
**5. Curve**api.v1.curve.*curve.md2D/3D curve creation in shape containers
**6. Solid**api.v1.solid.*solid.mdDirect solid modeling within entity injection features
**7. Drawing2D**api.v1.drawing2d.*drawing2d.md2D 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 NameSummarySource
1clearDeletes all objects in the current drawingapi
2evaluateExpressionEvaluates an expressionapi
3getDatabaseSettingsReturns the current general settings from the databaseapi
4getFacetingParametersReturns the faceting parameters used to tessellate surfaces and curvesapi
5setAppearanceSets the appearance on the target (color, transparency, faceting)api
6setDatabaseSettingsSets the current and initial general settings on the databaseapi
7setFacetingParametersSets the faceting parameters of current drawingapi
8transformObjectWithMatrixTransforms an object with the given 4x4 matrixapi
9setObjectCoordSystemSets the coordinate system on an objectapi
10setObjectNameSets the name on an objectapi
11getClassFileVersionReturns the class file versionapi
12getAppVersionReturns the app versionapi
13setUserDataSets custom user data by key and value on given objectapi
14getUserDataReturns the value from the user data map at given keyapi
15removeUserDataRemoves the user data entry identified by given keyapi
16clearUserDataClears all entries from user data of given objectapi
17getUserDataKeysReturns all the keys of user data map of given objectapi
18batchRuns the given API calls in a sequenceapi
19requestVisualisationRequests the visualisation of entities/cad entities from the serverapi
20loadReads drawing from ClassCAD- or SolidFile (OFB, STP, IWP, STL)api
21saveStores the current model (OFB, SCG, STP, IWP, STL, DXF)api
22recalcRecalculates and updates the whole drawing with all its objectsapi

<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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/awv-informatik/classcad-ai/skill/badge)](https://verified-skill.com/skills/awv-informatik/classcad-ai/skill)

Something wrong with this skill or its page? Tell us.