PartCAD

Registre officiel Autres

Inspect, render, test and export the parts and assemblies of PartCAD hardware packages

Que pouvez-vous faire avec PartCAD ?

  • Parts from [CadQuery], [build123d], [OpenSCAD], [Chili3D], [SDF], STEP, BREP, STL, 3MF, OBJ, glTF,
  • Assemblies and scenes in Assembly YAML, URDF or a STEP file, with interfaces and mating as objects.
  • Outputs: STEP, BREP, STL, 3MF, OBJ, IGES, glTF, URDF, Gazebo and MuJoCo worlds, 2D projections,
  • Engineering: FEA, modal, thermal and CFD analysis (pc cae), simulation in MuJoCo or Gazebo
  • Supply chain: a Build vs Buy decision per line item, stock-based procurement for made parts, and
  • AI agents: Agent Skills for Claude Code and Cursor, an MCP server (pc mcp), and plain-text
  • Caching in memory, on disk, in memcached and in S3, so a team or a CI fleet renders each model once.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

PYPI package partcad
Claude Code
claude mcp add partcad -e 'PC_PATH=<PC_PATH>' -- uvx partcad==0.8.235 mcp
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "partcad": {
            "command": "uvx",
            "args": [
                "partcad==0.8.235",
                "mcp"
            ],
            "env": {
                "PC_PATH": "<PC_PATH>"
            }
        }
    }
}

Variables d'environnement

  • PC_PATH The PartCAD package to serve: a directory with a partcad.yaml, or the file. The working directory when unset.

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. PartCAD
  2. Install
  3. Try it
  4. What it does
  5. Why
  6. Community

PartCAD

[PartCAD] is the programming language for manufacturable things.

A package is a Git repository with a partcad.yaml that declares parts (CAD scripts or files), assemblies, materials and requirements. PartCAD renders, tests, simulates, analyses and documents them, and produces the bill of materials, the sourcing and the assembly instructions from that same source. Everything is text, so it is versioned, reviewed and generated like software, by people and by AI agents.

Documentation · Website · Demos · Discord

Install

Pick one. Every option ends up with the same pc command line tool and the same packages.

You haveInstall
Nothing yetThe PartCAD IDE: `curl -fsSL https://raw.githubusercontent.com/partcad/partcad/main/install.sh \sh -s -- --ide`, or the Windows and macOS installers on the releases page
Pythonpip install -U partcad
Visual Studio Codecode --install-extension PartCAD.partcad-official (marketplace)
Claude Code/plugin marketplace add partcad/partcad@plugin-dist, then /plugin install pc@partcad, then /pc:setup

The standalone command line tools without Python, the snap, the FreeCAD add-on, the MCP server for other AI agents, and the per-OS notes are all in Installation.

Try it

pc init                      # a package in the current directory, with agent skills for Claude Code and Cursor
pc ide view my_part          # show it in the Digital Thread of the IDE or the extension
pc render my_part            # SVG, PNG, DXF... from any angle
pc test                      # the ports, interfaces, physics and simulations the objects declare
pc instructions my_assembly  # the assembly instruction book, PDF or HTML, with the bill of materials

Or, in Claude Code, /pc:gen a mounting bracket with four M4 holes: the agent writes the CAD script, renders it and checks the result against what was asked.

The tutorial walks through a first package, and examples/ has one directory per feature.

What it does

  • Parts from [CadQuery], [build123d], [OpenSCAD], [Chili3D], [SDF], STEP, BREP, STL, 3MF, OBJ, glTF, [KiCad EDA] PCBs, FreeCAD documents, and any format a plugin package adds ([SolidCraft], Rhino, IGES).
  • Assemblies and scenes in Assembly YAML, URDF or a STEP file, with interfaces and mating as objects.
  • Outputs: STEP, BREP, STL, 3MF, OBJ, IGES, glTF, URDF, Gazebo and MuJoCo worlds, 2D projections, dimensioned drawings, Markdown documentation and PDF or HTML instruction books.
  • Engineering: FEA, modal, thermal and CFD analysis (pc cae), simulation in MuJoCo or Gazebo (pc sim), 2.5D toolpaths (pc cam), and materials and manufacturing methods carried into the bill of materials.
  • Supply chain: a Build vs Buy decision per line item, stock-based procurement for made parts, and automated purchasing from the command line.
  • AI agents: Agent Skills for Claude Code and Cursor, an MCP server (pc mcp), and plain-text --no-ansi output on every command.
  • Caching in memory, on disk, in memcached and in S3, so a team or a CI fleet renders each model once.

The full list of what is supported, and what is still in progress, is in Supported formats and features.

Why

PartCAD is not a drawing tool. It is the layer under the drawing tools: the specification of a manufacturable product, kept in a form that a human, a CI job and an AI model can all read, change and verify. Keeping that specification on-prem, in Git, and portable between CAD tools and manufacturers is the point. See Introduction and Use cases.

Community

Questions and feedback go to Discord; bugs and ideas to GitHub issues. Follow [LinkedIn], [YouTube] and [Twitter/X] for releases. To contribute, start with Contributing.

Licensed under Apache 2.0.

[PartCAD]: https://partcad.org/ [LinkedIn]: https://linkedin.com/company/partcad [YouTube]: https://youtube.com/@PartCAD [Twitter/X]: https://x.com/PartCAD [CadQuery]: https://github.com/CadQuery/cadquery [build123d]: https://github.com/gumyr/build123d [Chili3D]: https://github.com/xiangechen/chili3d [OpenSCAD]: https://openscad.org/ [SDF]: https://github.com/fogleman/sdf [KiCad EDA]: https://www.kicad.org/ [SolidCraft]: https://github.com/bherbruck/solidcraft

Questions fréquentes

Qu'est-ce que PartCAD ?

Inspect, render, test and export the parts and assemblies of PartCAD hardware packages

Comment installer PartCAD ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add partcad -e 'PC_PATH=<PC_PATH>' -- uvx partcad==0.8.235 mcp. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour PartCAD ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

PartCAD est-il open source ?

Oui. Son code est sur GitHub sous licence Apache-2.0.

Qui maintient PartCAD ?

Il est publié par partcad. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.