Skip to main content

cad-reverse-engineer

Turn a paper, patent or datasheet into parametric CAD, with every dimension traced to where it came from.

Give your coding agent the documents a device was published in. It rebuilds the object, checks the geometry against what they state, and shows you every dimension it had to propose. You get:

  • CAD you can change. Every dimension is a named parameter in params.yaml, rebuilt into a STEP file for each part and the assembly.
  • A drawing of each part. Three views and an isometric one, with checked dimensions at their as-built values.
  • A mechanism that moves. When the model has joints, it exports to the MuJoCo simulator as a kinematic model, with its gear ratios and lead screws.
  • A report you can audit. Each dimension is traced to a quote, a figure or a released file, or marked as proposed, with the questions that would settle what is open.
  • A plan to make it. How each part is made, what to buy and how it goes together.

Use it

Give your agent the documents and ask:

Reverse-engineer the gripper in this paper
  1. noob reads the documents. It shows what they state and what they leave open, has you confirm what it read off the figures, and asks four things: metric or US, the material, whether to keep the design as shown or only its function, and whether to build only what the documents settle.
  2. build-model builds and checks the CAD, proposing what the documents leave open unless you chose to build only what they settle.
  3. ask-machinist reviews the design you accept as the person who has to make it, then writes the plan.

noob and build-model each end by naming the line to run next. Start a fresh session and run it: the project's files carry everything across.

Install

The skills run the cadrev CLI, which needs uv.

Claude Code:

/plugin marketplace add Vini-41/cad-reverse-engineer
/plugin install cad-reverse-engineer@cad-reverse-engineer

Codex:

codex plugin marketplace add Vini-41/cad-reverse-engineer
codex plugin add cad-reverse-engineer@cad-reverse-engineer

The CLI downloads its dependencies, so allow network access in ~/.codex/config.toml:

[sandbox_workspace_write]
network_access = true

Any agent that reads skills:

npx skills add Vini-41/cad-reverse-engineer --skill '*'

To run the CLI yourself:

uvx --python '>=3.12,<3.15' cadrev==0.4.1 check my-project

Built for Fable 5.2, and benchmarked across Anthropic's, OpenAI's and Google's frontier models. See four worked examples. MIT license.

Metadata

Release files for cadrev 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cadrev 0.4.1
File Size Uploaded Provenance Actions
cadrev-0.4.1.tar.gz 125.5 kB Without provenance Details for cadrev-0.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cadrev 0.4.1
File Interpreter ABI Platform Actions
cadrev-0.4.1-py3-none-any.whl Python 3 none any Details for cadrev-0.4.1-py3-none-any.whl

Total release size: 261.9 kB

Release files / cadrev-0.4.1.tar.gz

Download URL cadrev-0.4.1.tar.gz
Size 125.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b62160fd0413c0e4ef2bdd42c8715a2bf1e6a32753154b06d615d14b84a8cf96
BLAKE2b-256 checksum
How to use checksums
e66c6f1094ebb7a9f6a14dceb466fe76eac0d702d4e096d3f12d85859dbdbff0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / cadrev-0.4.1-py3-none-any.whl

Download URL cadrev-0.4.1-py3-none-any.whl
Size 136.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6508557af5d981aecb50b8b49860d53458c7aff53f164c3ff905fe0196fcfe1d
BLAKE2b-256 checksum
How to use checksums
055f7d0d4c87ca669272e056c2940f24e76149c9d4677e7921c0e69701826fba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for cadrev 0.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page