This study showcases the utilisation of OpenCV for extracting features from photos of 2D engineering drawings. These features are then employed to reconstruct 3D CAD models in SCAD format and generate 3D point cloud data similar to LIDAR scans. Many historical mechanical, aerospace, and civil engineering designs exist only as drawings, lacking software-generated CAD or BIM models. While 2D to 3D conversion itself is not novel, the novelty of this work is in the usage of simple photos rather than scans or electronic documentation of 2D drawings. The method can also use scanned drawing data. While the approach is effective for simple shapes, it currently does not address hidden lines in CAD drawings. The Python Jupyter notebook codes developed for this purpose are accessible through GitHub.
翻译:本研究展示了利用OpenCV从二维工程图纸照片中提取特征的方法。这些特征随后被用于重建SCAD格式的三维CAD模型,并生成类似于激光雷达扫描的三维点云数据。众多历史机械、航空航天及土木工程设计仅以图纸形式存在,缺乏软件生成的CAD或BIM模型。尽管二维到三维转换本身并非创新,本项工作的新颖之处在于使用普通照片而非扫描件或二维图纸的电子文档。该方法亦可利用扫描图纸数据。虽然该方法对简单形状有效,但目前未能处理CAD图纸中的隐藏线。本研究开发的Python Jupyter Notebook代码已通过GitHub公开获取。