8000 GitHub - linjiejim/turnery: Open-source parametric CAD your coding agent builds over MCP: a feature tree you can read, check and change, measured by an OpenCascade kernel. Plus a free, hands-on CAD course in English and Chinese. · GitHub
[go: up one dir, main page]

Skip to content
linjiejimPublic

About

Open-source parametric CAD your coding agent builds over MCP: a feature tree you can read, check and change, measured by an OpenCascade kernel. Plus a free, hands-on CAD course in English and Chinese.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

183 Commits

Folders and files

Turnery

Turnery

Your agent builds. The kernel checks. You steer.

English · 简体中文 · Download for macOS · Try it in the browser · The course

Open-source parametric CAD for Claude Code, Codex and any other MCP agent. Ask for a part in a sentence: the agent builds it feature by feature on an OpenCascade kernel while you watch in a 3D window. What comes back is not a mesh or a script but a feature tree you can read, change and check. Alongside it, a free course on how parts are modeled, in English and Chinese.

Every number in the request lands on the part, then in a check the kernel measures

What makes it different

  • A feature tree, not a mesh. One JSON file of named parameters and ordered features, each saying why it exists. Change the wall from 2 to 3 mm and everything that refers to it follows. It diffs, it goes in git.
  • The kernel measures, the agent doesn't guess. Every number you give becomes a check (outer size, wall thickness, holes, clearances) that OpenCascade measures again after every change.
  • Point instead of explaining. Click a face and write "make this opening 1 mm wider". The agent's next call gets that exact face.

With the walls changed to 3 mm, the check “2 mm walls” turns red

Get started

  1. Download the macOS app: arm64 for Apple silicon, x64 for Intel. It is signed and notarized, and keeps itself up to date.

  2. Connect your agent. In Claude Code:

    /plugin marketplace add linjiejim/turnery
    /plugin install turnery@turnery
    

    In Codex: codex plugin marketplace add linjiejim/turnery, then codex plugin add turnery@turnery. Any other MCP client: Connect an agent in the window shows the command.

  3. Say what to build, starting with "use turnery to…". For example: Build a sensor enclosure, 80×50×28, 2 mm walls, a base and a lid held by four M3 screws, a USB-C opening in the front. Check the dimensions when you are done. The full request and what it built: examples/sensor-enclosure.

With Claude Code or Codex connected, Turnery calls no model and needs no API key. No agent? The window's chat runs the same tools with a model and key you choose.

The course

turnery.linjiejim.com teaches how parametric modeling thinks, not where to click in one program: 57 interactive 3D lessons, 24 cards, 12 teardowns of real parts and a command atlas across 8 CAD packages. Each lesson plays like a narrated film you can pause; push a parameter too far and you see how the part breaks, and why. Free, in the browser, nothing to install.

A lesson: the draft angle pushed too far, the extrude fails and says why

Where it stands

Moving fast. It handles parts and multi-part assemblies with shared parameters, standard fasteners, threads, STEP import, drawings and a timeline that replays the model. Not yet: Windows and Linux builds, a sketch constraint solver, motion in assemblies.

More: how it works and why · what is in the course · every tool

Contributing

Lessons, teardown models, translations, fixes and ideas are all welcome, from anywhere. Pick a good first issue, ask in Discussions, and read CONTRIBUTING.md to have it running in ten minutes. Corrections to course content need a source.

License

Code: MIT (LICENSE). Course text and documentation: CC BY 4.0 (LICENSE-content). Third-party components: THIRD_PARTY.md.

About

Open-source parametric CAD your coding agent builds over MCP: a feature tree you can read, check and change, measured by an OpenCascade kernel. Plus a free, hands-on CAD course in English and Chinese.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0