AI for CAD Tools

AI Reverse Engineering: Turn a Part Scan into Editable CAD

AI Reverse Engineering: Turn a Part Scan into Editable CAD

AI Reverse Engineering: Turn a Part Scan into Editable CAD

AI reverse engineering of a mechanical part: find it first, convert the scan to editable CAD, then check it. Includes a worked mesh-face example.

·

⏱

7 min read

Dr. Maor Farid

Co-Founder & CEO · Leo AI

Co-Founder & CEO · Leo AI

Mechanical Engineer & AI Researcher · Former Postdoc & Fulbright Fellow, MIT · Forbes 30 Under 30

Mechanical Engineer & AI Researcher · Former Postdoc & Fulbright Fellow, MIT · Forbes 30 Under 30

Maor Farid is the Co-Founder and CEO of Leo AI, the first AI platform purpose-built for mechanical engineers. He holds a PhD in Mechanical Engineering and completed postdoctoral research at MIT as a Fulbright fellow. A Forbes 30 Under 30 honoree and former AI researcher and Mechanical Engineer in an elite military intelligence, Maor leads Leo AI's mission to transform how engineering teams design better products faster.

BOTTOM LINE

To turn a part scan into editable CAD, use a prismatic or organic mesh conversion. Faceted conversion returns 142 faces for a single 20 mm bore. Search for an existing model first, and check the rebuilt part against the real one before release. Leo covers the search and photo-to-CAD steps.

AI reverse engineering of a mechanical part is three separate jobs. You identify the part, convert its scan to CAD, and check the result against the physical part. AI speeds up the first two. The third stays with an engineer and a measuring tool.

If you hold a worn bracket with no drawing and have an STL scan of it, you need a solid with editable features. A mesh gives you no dimensions to change and no features to suppress.

A scan gives you triangles, not features

A scanner or photogrammetry app outputs a mesh, a surface made of flat triangles. CAD edits a solid stored as a boundary representation (B-rep): faces, edges and vertices. Autodesk puts the bridge between the two this way: "Use the Convert Mesh tool to convert a mesh body to a solid or surface body in Fusion."

The method you pick decides what you get back. Fusion offers three, and the API reference lists the same three:

  • Faceted: "Converts individual faces on the mesh body to individual faces on the new solid or surface body." You get one new face per mesh face.

  • Prismatic: "Merges groups of faces in prismatic features into singular faces on the new solid or surface body." Planes and cylinders come back as single faces.

  • Organic: "Converts the mesh body to an organically shaped solid or surface body." The API reference adds: "Only accessible if the product design extension is active."

Holes in the scan add a second limit. "If the mesh body is not watertight, it converts to a surface body." A part with scan shadows under an overhang gives you a surface, not a solid you can mass-check or send to a mill.

IN PRACTICE

The geometry search has been invaluable, helping me find standard parts instead of designing new ones, saving a huge amount of time and effort. The search system is smart and CAD-aware.

- eytan s., R&D Engineer

Reverse engineering a part takes four steps, and AI helps with two

Work the steps in this order. Skipping the first one is how teams end up with a second file for a part they already own.

  1. Search first. Look in your vault and in vendor catalogs by description and by shape before you model. Geometric search covers the shape side, and finding a CAD file with no part number covers the same job with the part in your hand.

  2. Capture. Scan the part, or measure the 2 to 3 dimensions that control fit: bore, length and hole spacing.

  3. Convert. Turn the mesh into a solid. Use Prismatic conversion for machined parts built from planes and cylinders, and Organic conversion for freeform shapes.

  4. Verify. Compare the rebuilt model to the scan or the part, and record the deviation.

AI changes steps 1 and 3: it finds the existing model, or it builds editable CAD from a photo or drawing. Steps 2 and 4 need a scanner, calipers or a CMM. The cost of skipping step 1 is laid out in how to stop engineers redesigning parts that already exist.

Worked example: one 20 mm bore becomes 142 faces or 1

Take one cylindrical bore, 20 mm in diameter and 15 mm long. A mesh replaces the arc with flat chords. The chord deviation, the gap between the true arc and a chord, sets how many triangles the bore needs.

  1. Inputs: radius r = 10 mm. Chord deviation limit d = 0.01 mm, chosen for this example as one tenth of a 0.1 mm tolerance.

  2. Segments around the bore: n = ceil(pi / arccos(1 - d / r)) = ceil(pi / arccos(0.999)) = ceil(70.24) = 71.

  3. Each segment is a strip along the 15 mm length, cut into 2 triangles: 71 x 2 = 142 triangles.

  4. Faceted conversion returns 142 faces for this one bore. Prismatic conversion merges the group into 1 cylindrical face.

To change this bore to 22 mm, a faceted model asks you to move 142 faces. A prismatic model asks you to select 1 cylindrical face. The tolerance sets the cost:

Chord deviation d (mm)

Segments n

Triangles (2n)

0.05

32

64

0.01

71

142

0.005

100

200

Real scan meshes are irregular. Treat these counts as the minimum for a regular tessellation, not a prediction for your scanner.

Check an AI-built model against the physical part in a week

Run these checks on 5 parts whose CAD you already have, so you know the right answer. The pass criteria are team choices, not standards.

  1. Hit rate. Give the tool a photo and a one-line description of each part. Pass: the right vault part ranks in the first 5 results for 4 of the 5 parts.

  2. Controlling dimensions. Measure the bore, length and hole spacing on the rebuilt model and on the part with calipers. Pass: every dimension falls inside the drawing tolerance.

  3. Deviation. Run a deviation analysis of the solid against the scan. Pass: the maximum deviation is at most one quarter of the tightest tolerance, so 0.025 mm for a tolerance of 0.1 mm.

  4. Editability. Change the bore diameter by 2 mm. Pass: the model rebuilds without errors and only the bore's own faces move.

Safety-critical parts need a licensed engineer's sign-off on the drawing, whatever the deviation report says.

Leo finds the part you already own or builds an editable one

Leo covers steps 1 and 3 from a photo, a description or a drawing. Per its FAQ, it generates parts from text, images and drawings, and rebuilds them in your CAD with an editable feature tree.

For a worn bracket, upload the photo and add the bore diameter as a scale reference. Leo looks through your own library and PLM before it touches vendor catalogs. If a match exists, you reuse that model and skip a new file and part number.

If nothing matches, Leo builds the part in your CAD from the photo and your dimensions. It reads Windchill, Teamcenter, SolidWorks PDM and Vault data, and indexes the latest file versions without check-in or check-out.

One limit: a photo alone has no scale, so Leo needs a defining dimension or scale reference. You still run the four checks above before release. Data handling is on the security page.

FAQ

AI covers two of the four steps: finding the part if a model already exists, and rebuilding a photo or drawing as editable CAD. Capturing the geometry and verifying the result still need a scanner, calipers or a CMM.

No single tool covers search, scan conversion and verification, so match the tool to the step. For scan conversion, check which methods your CAD offers: Fusion lists Faceted, Prismatic and Organic, and Organic needs the Design Extension.

Yes, when you supply a defining dimension or a scale reference, because a photo alone has no scale. Leo's FAQ says it works from photos and hand sketches under that condition.

Faceted conversion makes one face per mesh face, and a mesh approximates every curve with small flat triangles. A 20 mm bore at 0.01 mm chord deviation needs at least 142 triangles. Prismatic conversion merges those groups back into single faces.

Accuracy depends on the scale reference you supply, so there is no fixed figure. Measure the controlling dimensions on the rebuilt model against the part, and accept the model only inside the drawing tolerance.

Leo searches your internal library and PLM first, then a catalog of vendor parts. If nothing matches, it rebuilds the part from a photo, drawing or text in your CAD with an editable feature tree. A photo needs a dimension or scale reference.

  1. Convert Mesh, Fusion help, Autodesk, accessed 2026-11-02

  2. MeshConvertMethodTypes Enumerator, Fusion API Reference, Autodesk, accessed 2026-11-02

  3. Leo AI FAQ, Leo AI, accessed 2026-11-02

Try Leo on a part with no drawing

Send a photo or scan and see what Leo finds or builds.

Give an applications engineer one part you need to rebuild. See whether Leo finds an existing model in your vault or builds an editable one in your CAD.

#1 New AI Software Globally - G2 2026

Enterprise-grade security

Trusted by world-class engineering teams

Recommended

Leo AI logo

Subscribe to our engineering newsletter

Be the first to know about Leo's newest capabilities and get practical tips to boost your engineering.

Need help? Join the Leo AI Community

Connect with other engineers, get answers from our team, and request features.

Gartner logo
G2 badges: Top 25 AI Products, 2026; Users Love Us; Top 25 Rookies of the Year, 2026
CB Insights logo
#1 New Software

Globally

All Industries

#12 AI Tool

Worldwide

G2 2026

Contact us

50 Milk Street

Boston, MA 02109

United States

Leo AI on LinkedIn
Leo AI on YouTube
Leo AI on Reddit
Leo AI logo

Subscribe to our newsletter

Be the first to know about Leo's newest capabilities and get practical tips to boost your engineering.

Need help? Join the Community

Connect with other engineers, get answers from our team, and request features.

Gartner logo
G2 badges: Top 25 AI Products, 2026; Users Love Us; Top 25 Rookies of the Year, 2026
CB Insights logo
#1 New Software

Globally

All Industries

#12 AI Tool

Worldwide

G2 2026

Contact us

50 Milk Street

Boston, MA 02109

United States

Leo AI on LinkedIn
Leo AI on YouTube
Leo AI on Reddit
Leo AI logo

Subscribe to our engineering newsletter

Be the first to know about Leo's newest capabilities and get practical tips to boost your engineering.

Need help? Join the Leo AI Community

Connect with other engineers, get answers from our team, and request features.

Gartner logo
G2 badges: Top 25 AI Products, 2026; Users Love Us; Top 25 Rookies of the Year, 2026
CB Insights logo
#1 New Software

Globally

All Industries

#12 AI Tool

Worldwide

G2 2026

Contact us

50 Milk Street

Boston, MA 02109

United States

Leo AI on LinkedIn
Leo AI on YouTube
Leo AI on Reddit
Leo AI logo

Subscribe to our engineering newsletter

Be the first to know about Leo's newest capabilities and get practical tips to boost your engineering.

Need help? Join the Leo AI Community

Connect with other engineers, get answers from our team, and request features.

Gartner logo
G2 badges: Top 25 AI Products, 2026; Users Love Us; Top 25 Rookies of the Year, 2026
CB Insights logo
#1 New Software

Globally

All Industries

#12 AI Tool

Worldwide

G2 2026

Contact us

50 Milk Street

Boston, MA 02109

United States

Leo AI on LinkedIn
Leo AI on YouTube
Leo AI on Reddit

© 2026 Leo AI, Inc.