Automated verification methods and algorithms for engineering drawings compliance in the LibreCAD environment
Keywords
- computer-aided design
- CAD
- LibreCAD
- drawing verification
- engineering standards compliance
- DXF format
- design standardization
- graphic primitives
- validation algorithms
Abstract
The article addresses the scientific and practical problem of increasing the efficiency of standard compliance control (drawing verification) for engineering documentation through the automation of verification processes. The issues of identifying drawing inconsistencies with standard requirements (ISO/national standards) within open-source CAD environments are analyzed. A method for formalizing compliance rules based on the structural analysis of vector primitives and attribute tables in the DXF format is proposed. A step-by-step graphic element validation algorithm is developed, covering layer assignment checks, line type and weight compliance, accuracy of dimension styles, text annotation integrity, and drawing scale consistency. The proposed algorithmic framework is implemented as a diagnostic verification module for the open-source LibreCAD software. Experimental evaluation confirmed a significant reduction in drawing verification time and minimized the human error factor during technical documentation preparation.
References
International Organization for Standardization. (2020). Technical product documentation (TPD) — General principles of representation — Part 1: Introduction and fundamental requirements (ISO Standard No. 128-1:2020). https://www.iso.org/standard/71510.html
International Organization for Standardization. (2018). Technical product documentation (TPD) — Presentation of dimensions and tolerances — Part 1: General principles (ISO Standard No. 129-1:2018). https://www.iso.org/standard/66682.html
State Consumer Standard of Ukraine. (2007). Technical product documentation — Practice for drawings — Sizes and layout of drawing sheets (DSTU ISO 5457:2006). Derzhspozhyvstandart of Ukraine.
Autodesk. (2023). AutoCAD 2024 DXF Reference. Autodesk Knowledge Network. https://help.autodesk.com/view/OARX/2024/ENU/?guid=GUID-235B22E0-A567-4CF6-92D3-38A2306018A3
LibreCAD Community. (2023). LibreCAD 2.2.0 user manual and documentation. LibreCAD Documentation Project. https://librecad.readthedocs.io/
Riesterer, R. (2022). libdxfrw: A C++ library to read and write DXF files [Source code]. GitHub. https://github.com/LibreCAD/libdxfrw
Summerfield, M. (2010). Advanced Qt programming: Creating great software with C++ and Qt 4. Addison-Wesley Professional.
Lee, K. (1999). Principles of CAD/CAM/CAE systems. Addison-Wesley Longman Publishing Co.
Piegl, L., & Tiller, W. (1997). The NURBS book (2nd ed.). Springer-Verlag. https://doi.org/10.1007/978-3-642-59223-2
Foley, J. D., van Dam, A., Feiner, S. K., & Hughes, J. F. (2013). Computer graphics: Principles and practice (3rd ed.). Addison-Wesley.
Shah, J. J., & Mäntylä, M. (1995). Parametric and feature-based CAD/CAM: Concepts, techniques, and applications. John Wiley & Sons.
Stroud, I., & Nagy, P. C. (2011). Solid modelling and CAD/CAM: Introduction and overview. Springer London. https://doi.org/10.1007/978-0-85729-259-9