TL;DR
MiCADangelo is a novel framework that mimics the human design process to convert "dumb" 3D scans into "smart," editable CAD models. By analyzing 2D cross-sections and—for the first time—automatically inferring geometric constraints like tangency and parallelism, it produces parametric models that are significantly more accurate and production-ready than previous state-of-the-art methods.
The Challenge of CAD Reverse Engineering
In modern manufacturing, engineers often need to "reverse engineer" a physical object by scanning it into a 3D mesh. However, a mesh is just a collection of triangles; it lacks the underlying "recipe" (the parametric curves and operations) required for editing in CAD software.
Existing AI approaches generally fall into two camps:
- Bottom-up methods: These fit primitives to local geometry but often fail to create a cohesive, editable global structure.
- Top-down methods: These predict a sequence of CAD operations but often miss fine-grained details because they look at the object as a whole.
Crucially, neither approach handles sketch constraints (e.g., "these two lines must stay parallel"). Without these constraints, a single small edit to a reconstructed model can cause the entire geometry to "break" or distort unnaturally.
How MiCADangelo Works
MiCADangelo (a play on CAD and the artist Michelangelo) follows a multi-stage pipeline inspired by how human designers manually reverse-engineer parts:
- Sketch Plane Detection: The system slices the input 3D mesh along the X, Y, and Z axes. A ResNet34 encoder combined with a Transformer identifies which of these cross-sections are "key slices" representing the start of a design feature.
- Constrained Sketch Parameterization: For each key slice, the model extracts closed loops and converts them into raster images. A transformer encoder-decoder then predicts both the 2D primitives (lines, arcs, circles) and the geometric constraints (coincident, concentric, tangent, etc.) that define the sketch.
- Differentiable Extrusion Optimization: To turn these 2D sketches back into 3D, the system uses a differentiable optimization process. It samples "anchor points" along the sketch boundaries and adjusts the extrusion lengths via gradient descent until the resulting 3D shape perfectly fits the original scan's local geometry.
Key Insights
- The "Human-in-the-Loop" Intuition: By forcing the AI to look at 2D cross-sections rather than the raw 3D point cloud, the model captures much finer details. Humans find it easier to draw a 2D profile and extrude it; MiCADangelo proves that this inductive bias works for AI, too.
- Constraints are the "Soul" of CAD: Predicting constraints isn't just a "nice-to-have" feature—it's essential for the model to behave correctly during edits. By learning these relationships, the model ensures that the reconstructed geometry remains structurally sound when a user modifies a dimension.
- Rasterization as a Feature: Converting vector loops into raster images before processing allows the model to leverage powerful image-based convolutional encoders, helping it understand complex topologies that are hard to parse in raw vector or point cloud formats.
Datasets and Results
The authors trained and evaluated MiCADangelo across several benchmarks, including DeepCAD, Fusion360, SketchGraphs (for constraint prediction), and CC3D (for real-world noisy scans).
MiCADangelo sets a new benchmark for CAD reconstruction:
- Accuracy: On the DeepCAD dataset, it achieved a median Chamfer Distance (CD) of 0.20, significantly outperforming the previous state-of-the-art (CAD-SIGNet at 0.28).
- Complexity: It excels at complex models. For objects with four or more loops, MiCADangelo improved the Intersection over Union (IoU) from 49.2% to 68.3%.
- Robustness: When tested on noisy, real-world scans from the CC3D dataset, it produced much cleaner and more accurate geometry than previous methods, which often struggled with scan artifacts.
- Editability: Qualitative results show that when a user "drags" a point on a MiCADangelo-generated model, the constraints (like tangency) are preserved, whereas other methods result in broken or distorted shapes.
Limitations and Future Work
While a major step forward, the authors acknowledge a few limitations. The current model primarily supports "Extrude" operations, missing other common CAD tools like Revolves, Sweeps, and Lofts. Additionally, the system is limited to basic primitives (lines, arcs, circles) and cannot yet reconstruct complex B-spline curves found in organic designs. Finally, the slicing strategy works best for models where features are aligned with the primary X, Y, and Z axes. Future work will likely focus on expanding the library of supported CAD operations and primitives to handle even more complex engineering parts.
Summary updated