developing-kcl

Write, modify, and debug KCL code for parametric 3D CAD modeling.

6|Updated Jul 4, 2025
One-click install
npx skills add https://github.com/pedropaulovc/harmonic-analyzer --skill developing-kcl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: developing-kcl
Source: https://github.com/pedropaulovc/harmonic-analyzer/tree/main/cad/.claude/skills/developing-kcl
Command: npx skills add https://github.com/pedropaulovc/harmonic-analyzer --skill developing-kcl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation and management of parametric 3D CAD models using KCL (KittyCAD Language). It eliminates the manual, repetitive aspects of CAD design, ensures code quality, and helps you build robust, adaptable models efficiently.

Core Features & Use Cases

  • Code-First CAD Modeling: Generate and modify complex 3D geometry using a programmatic approach, enabling precise control and automation.
  • Parametric Design: Easily create models that can be adjusted with parameters, making design iterations and variations simple and fast.
  • Automated Workflow Tools: Leverage zoo CLI for linting, formatting, and exporting KCL models to formats like STL, ensuring high-quality, production-ready outputs.
  • Use Case: Design a parametric mounting plate where you can easily change dimensions, hole patterns, and features by simply updating input variables, then automatically export the updated design to an STL file for 3D printing.

Quick Start

Design a parametric mounting plate with four corner holes, 80mm wide, 80mm high, and 5mm thick, using KCL.

Frequently Asked Questions about developing-kcl

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

FAQPage Schema
How do I write parametric 3D CAD models with code instead of a graphical interface?

Parametric 3D CAD with code uses KCL, a language that lets you define geometry through variables and expressions. KCL enables precise control over dimensions, hole patterns, and features—change a parameter once and your entire model updates automatically, avoiding repetitive manual redesign.

What is KCL and how does it work for 3D modeling?

KCL (KittyCAD Language) is a code-first approach to CAD that uses immutable variables, pipeline operators, and unit-aware values to generate parametric 3D geometry. Write logic in .kcl files, and KCL compiles your code into precise 3D models ready for export or iteration.

Can I automate exporting my KCL models to STL or other formats?

Yes. The zoo CLI tool lints, formats, and exports KCL models directly to STL and other formats, automating your entire workflow from code to production-ready output without manual steps.

How do I set up hole patterns and reliable geometry tagging in parametric CAD?

KCL enforces standardized file structure, tagging conventions, and integrated workflows that handle hole patterns and geometry relationships reliably. Use the pipeline operator to chain operations and maintain consistent, reproducible designs across iterations.

Do I need special tools to lint and validate KCL code before exporting?

The zoo CLI is the integrated tool for linting and validation in KCL workflows. It catches errors early, ensures code quality, and prepares your models for export in a single step.

Is code-first CAD suitable for rapid design iteration and parametric variations?

Yes. Code-first CAD in KCL excels at rapid iteration—adjust input variables to generate design variations instantly without rebuilding geometry manually, making it ideal for parametric mounting plates, customizable components, and design exploration.