A research tool turns 3D meshes back into editable CAD

Ghadi Nehme starts with a shape that has no memory. A mesh is a 3D object stored as a surface of flat facets, with no record of the operations that produced it, so an engineer who receives one cannot simply open it and change a dimension. CADFit, the open-source project he leads as a PhD student at MIT, tries to recover that history automatically, and it does so by working the way a designer would.
The method first extracts key sketches from the mesh. It turns each sketch into a solid, then combines the solids with unions and cuts. The result is compared with the original mesh, and the process repeats to fill any gaps. Nehme says the sketch-recognition step can use a simple machine learning model to flag which sketches are meaningful. That model is not required, but it speeds the method up by a factor of three, according to Nehme.
The reach is limited, and Nehme is direct about it. CADFit supports extrusions, revolutions, fillets, chamfers, unions, cuts and the sketch operations. Shapes built with lofts or sweeps are harder: "if a shape is very complex, like loft-based or also sweep-based shapes… the math will struggle," he said. He is working on a new version to handle them, and he describes the current method as one that "extracts the key components of the geometry much better than what's been seen before", a claim he makes himself and that no independent comparison in the sources confirms.
For now, the people who gain are those who can use the tool without a commercial licence: students, researchers and engineers working on non-commercial projects. The output can be read in CadQuery, and Studio CAD gives users a viewer for editing it. Nehme is also building a plugin for Siemens NX, the commercial CAD software, but no plugin for common CAD packages exists yet, and no date has been given for either the plugin or the next version.
Sources — read the originals(Paris time)
Read next
Comments
Loading the thread…
Sign in to leave a comment. Sign in