kernelcad

Author and modify kernelCAD models programmatically via TypeScript scripting.

13|2|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/w1ne/kernelCAD-web --skill kernelcad
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kernelcad
Source: https://github.com/w1ne/kernelCAD-web/tree/main/src/skill
Command: npx skills add https://github.com/w1ne/kernelCAD-web --skill kernelcad

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

kernelCAD model authoring and modification can be automated and scripted, enabling AI agents to generate and adjust geometry without manual CAD operations.

Core Features & Use Cases

  • TypeScript-based API for primitives, transforms, booleans, and edge features (fillet/chamfer/shell).
  • Parameterized geometry with units, bounds, and exports to STEP/STL.
  • Deterministic execution via kernelCAD CLI and OpenCASCADE WASM kernel; supports exporting and visual debugging.

Quick Start

Create a .kcad.ts script that returns a Shape and run the kernelcad export command to generate STL or STEP outputs.

Frequently Asked Questions about kernelcad

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I script CAD geometry programmatically in TypeScript?

To script CAD geometry in TypeScript, write a .kcad.ts file that returns a Shape object using chainable methods for primitives and transforms. Running the export command processes the script through the OpenCASCADE WASM kernel to generate geometry.

Can I export parameterized CAD models to STEP or STL format?

Yes, you can export parameterized CAD models to STEP or STL formats using deterministic export commands. The kernelCAD CLI processes your scripted geometry with defined units and bounds to produce the final output files.

Does this TypeScript CAD scripting approach support edge features like fillet and chamfer?

Yes, this TypeScript CAD scripting approach supports edge features including fillet, chamfer, and shell operations. These modifications are accessible through chainable shape methods in the API for automated edge refinement.

What is the best way to automate 3D model creation without manual CAD operations?

Automating 3D model creation without manual CAD operations is best achieved by authoring TypeScript scripts that apply primitives, transforms, and booleans. The OpenCASCADE WASM kernel then deterministically executes these scripts to build the geometry.

Do I need the OpenCASCADE WASM kernel to run kernelCAD scripts?

Yes, the OpenCASCADE WASM kernel is required as it provides the deterministic execution environment for processing scripted primitives and transforms. The kernelCAD CLI relies on this engine to evaluate scripts and export the resulting geometry.