cad-code-generation

Generate CadQuery Python code from natural language prompts for 3D modeling.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/shdaifat/cadquery-cad-vscode --skill cad-code-generation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cad-code-generation
Source: https://github.com/shdaifat/cadquery-cad-vscode/tree/main/scripts/skills/cad-code-generation
Command: npx skills add https://github.com/shdaifat/cadquery-cad-vscode --skill cad-code-generation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill bridges the gap between natural language descriptions and functional CadQuery code, enabling users to create 3D models without extensive programming knowledge.

Core Features & Use Cases

  • Natural Language to Code: Translate plain English descriptions into parametric CadQuery Python code.
  • AI-Assisted Design: Leverage AI to generate code for creating parts, assemblies, and applying modifications like fillets and holes.
  • Use Case: Describe a mounting bracket with specific dimensions and holes, and have the AI generate the CadQuery code to create it, allowing for quick iteration and modification.

Quick Start

Use the cad-code-generation skill to create a mounting bracket 50x30x3mm with 4 M3 holes.

Frequently Asked Questions about cad-code-generation

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

FAQPage Schema
How do I generate CadQuery code from natural language for 3D modeling?

You can generate CadQuery code by providing plain English descriptions of parts and assemblies. This AI-assisted process translates natural language prompts directly into parametric Python code for 3D modeling, enabling quick iteration without extensive programming knowledge.

Can I create parametric parts and assemblies in VS Code using natural language?

Yes, you can create parametric parts and assemblies in VS Code using natural language. The generated CadQuery Python code facilitates parametric design, allowing you to easily describe and modify geometric features like dimensions and holes.

What 3D modeling operations does natural language to CadQuery code generation support?

Natural language to CadQuery code generation supports standard 3D modeling operations. You can describe parts and assemblies, and apply modifications like adding holes and fillets, to generate functional Python code for your models.

Do I need extensive Python programming knowledge to use AI for CadQuery code generation?

No, you do not need extensive Python programming knowledge to use AI for CadQuery code generation. This approach bridges the gap between natural language descriptions and functional code, enabling users to create 3D models without deep programming expertise.

How do I add fillets and holes to a 3D model using CadQuery code generation?

You can add fillets and holes to a 3D model by describing these modifications in plain English. The AI generates the corresponding CadQuery Python code to apply these specific operations to your parametric parts and assemblies.

Can I export 3D models created from natural language to various formats using CadQuery?

Yes, you can export 3D models to various formats using the generated CadQuery Python code. The code generation process supports exporting models, allowing you to save and use your AI-assisted designs in different file formats.