CADMAGEDDON 将机械零件网格重建为可编辑 CAD 程序
CADMAGEDDON 使用 Qwen3.8-27B agent 将机械零件网格重建为包含草图、拉伸、孔和切割操作的可编辑 CAD 程序。项目支持 CadQuery 和 FreeCAD 后端,并在多个 CAD 数据集上比较渲染重建结果。代码可在 Linux 和 macOS、Python 3.11 环境运行,本地推理的 FP8 配置需要约 30 GB 模型权重和 48 GB GPU。
CADMAGEDDON展示了从机械零件网格恢复草图、拉伸、孔和切割操作的流程,并提示制造替换件前核对重建尺寸。
You have a mesh of a mechanical part. What you actually need is a CAD model where you can change the hole diameter, move a cutout, or thicken a wall.
CADMAGEDDON turns that mesh into an editable CAD program. It tries to recover the operations that make up the part: sketches, extrusions, holes, and cuts. You can inspect the program and change a dimension without moving a cloud of vertices by hand.
🛠️ A Qwen3.8-27B agent drives the reconstruction. It can fit planes and circles, take cross-sections, build a candidate part, and measure the mismatch against the original mesh. That feedback lets it decide whether to adjust the geometry or try another operation. The repo supports CadQuery and FreeCAD backends.
The authors compare rendered reconstructions across several CAD datasets. Their side-by-side examples are worth zooming in on, especially where a part has holes or features on multiple faces. If you plan to manufacture a replacement, check the recovered dimensions against the original first.
The code runs on Linux and macOS with Python 3.11. For local inference, the README describes an FP8 setup with roughly 30 GB of model weights on a 48 GB GPU.
Code: github.com/kulibinai/cadmaged…
#CAD #3DModeling #ReverseEngineering #OpenSource
来源:CuteGuy☣️ · x.com