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.0 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.0

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.0
File Size Uploaded Provenance Actions
cadrev-0.4.0.tar.gz 121.7 kB Without provenance Details for cadrev-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 254.4 kB

Release files / cadrev-0.4.0.tar.gz

Download URL cadrev-0.4.0.tar.gz
Size 121.7 kB
Tags Source
SHA-256 checksum
How to use checksums
51c0816cbd6e8345e89bbecfc358a204b3a865aabf552ee67543df1e5a56a0ac
BLAKE2b-256 checksum
How to use checksums
c58befb19cc1b9a951967569e5d69c0809762048360440aad38398f506c120ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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.0-py3-none-any.whl

Download URL cadrev-0.4.0-py3-none-any.whl
Size 132.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de3400ddf7ff07f16ce309f6a502708d53341f80bbaba228865c1c4557aa3d03
BLAKE2b-256 checksum
How to use checksums
bef936cad087368f4cfb0a884120ae6fcefaa1f4ed0305c7b07bf6f909e40db8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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.0

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