build123d

Automate parametric CAD part and assembly creation with build123d in Python.

2|Updated Jun 21, 2019
One-click install
npx skills add https://github.com/helmecke/dotfiles --skill build123d
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build123d
Source: https://github.com/helmecke/dotfiles/tree/main/dot_config/opencode/skill/build123d
Command: npx skills add https://github.com/helmecke/dotfiles --skill build123d

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

build123d enables Python-driven parametric CAD workflows by providing Algebra and Builder modes, selectors, and patterning to create and modify 3D parts programmatically.

Core Features & Use Cases

  • Algebra Mode fundamentals and explicit object manipulation for simple models
  • Builder Mode for complex assemblies, hierarchical patterns, and location contexts
  • Selectors, filtering, and grouping to query and refine geometry
  • Import/export utilities to integrate with CAD formats and pipelines
  • Reusable parametric objects and custom components for automation

Quick Start

Install build123d, then start with a simple Box example in Algebra mode to observe the workflow.

Frequently Asked Questions about build123d

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

FAQPage Schema
How do I create parametric CAD parts in Python?

Parametric CAD parts in Python are created using build123d, which offers Algebra and Builder modes to programmatically design and modify 3D geometry. It enables engineers to build parametrically driven parts, assemblies, and patterns within automated Python workflows.

What is the difference between Algebra mode and Builder mode for 3D modeling?

Algebra mode handles explicit object manipulation for simple models, while Builder mode manages complex assemblies, hierarchical patterns, and location contexts like GridLocations and PolarLocations. Both approaches are supported to build parametric CAD parts in Python.

How do I use selectors to query and refine geometry in build123d?

Selectors in build123d filter and group geometry to query and refine 3D parts during parametric CAD creation. They enable precise geometry operations by targeting specific faces, edges, or vertices within your Python model.

Can I export parametric 3D models to STEP or STL formats?

Yes, parametric 3D models created with build123d can be exported to STEP and STL formats. The build123d ecosystem includes import and export utilities to integrate your Python-driven CAD models with standard CAD pipelines.

What is the best way to automate assemblies with parametric patterns in Python?

The best way to automate parametric assemblies in Python is using build123d Builder mode with GridLocations or PolarLocations. This approach handles hierarchical patterns and location contexts to generate complex, reusable parametric components programmatically.