
AI for CAD Tools
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
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.
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.
Capture. Scan the part, or measure the 2 to 3 dimensions that control fit: bore, length and hole spacing.
Convert. Turn the mesh into a solid. Use Prismatic conversion for machined parts built from planes and cylinders, and Organic conversion for freeform shapes.
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.
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.
Segments around the bore: n = ceil(pi / arccos(1 - d / r)) = ceil(pi / arccos(0.999)) = ceil(70.24) = 71.
Each segment is a strip along the 15 mm length, cut into 2 triangles: 71 x 2 = 142 triangles.
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.
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.
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.
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.
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
Convert Mesh, Fusion help, Autodesk, accessed 2026-11-02
MeshConvertMethodTypes Enumerator, Fusion API Reference, Autodesk, accessed 2026-11-02
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


