This is Engineering Paper, and here’s a fresh batch of design and simulation software news.
In past editions of Engineering Paper I’ve referenced CADFit, a mesh-to-CAD tool in the vein of Backflip AI and Autodesk Fusion’s AutoTimeline. I’ve been meaning to provide more details on the project, led by Ghadi Nehme, a PhD student at MIT, and with the entire internet on the verge of collapse, I should probably stop dragging my heels.
Unlike the above examples of mesh-to-CAD tools, CADFit is an open-source project that can be freely used for non-commercial work. The initial research was funded by Altair, now part of Siemens, and Nehme and Siemens have filed for a patent for the CADFit method. Nehme’s paper describes that method as a “hybrid optimization-based CAD reconstruction framework that recovers complex, editable CAD construction sequences from meshes by incrementally fitting and validating parametric operations using geometric feedback.”
Nehme explained it to me in less academic terms on a recent call.
“[CADFit] basically starts with the mesh and then extracts some key sketches, similar to how engineers would extract them,” Nehme said (CADFit uses a simple machine learning model to recognize which sketches are meaningful; while not necessary for the method, it speeds it up by a factor of three, according to Nehme). CADFit then turns those sketches into solids and consolidates them with unions and cuts. It compares the result to the initial mesh, and then reiterates to fill in any gaps.
This video, narrated by Nehme, shows off the process:
“Currently, the operations that CADFit supports are extrusions, revolutions, fillets, and chamfers, and then also union and cut and all the sketch operations,” Nehme said. “But if a shape is very complex, like loft-based or also sweep-based shapes… the math will struggle.” Nehme added that he’s working on a new version of CADFit that will better be able to handle complex shapes.
The CAD models that CADFit creates are described in CadQuery, an open-source Python library. Nehme has developed his own viewer, Studio CAD, for “human friendly editing of the shapes.” There are currently no plugins for common CAD software, but Nehme is working on one for Siemens NX.
“The future iteration of this work will potentially be able to be really robust on a very huge set of shapes,” Nehme told me. “But this one is already pushing the boundary by a huge amount… This method is able to really extract the key components of the geometry much better than what’s been seen before.”
In a guest article for Engineering.com, Luminary CEO Pete Schlampp explains the difference between physical AI and physics AI, and explores the latter’s vast potential, in AI that understands physics.
Got news, tips, comments, or complaints? Reach me at malba@arrowfly.com.