Automatic comparison method for two-dimensional design drawing and three-dimensional design model
Through automatic comparison and labeling technology, identifying and marking the changed parts of the design drawings and models, the problems of inefficient and insufficient accuracy of manual comparison in the existing technology are solved, work efficiency and accuracy are improved, and team collaboration is promoted.
Patent Information
- Application Number
- CN202411254148.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-11-26
AI Technical Summary
In the prior art, the comparison of versions of design drawings and models relies on manual operations, which are inefficient and prone to errors, and cannot effectively identify and label changes.
The automatic comparison method is adopted to load and parse two-dimensional design drawings and three-dimensional design model files, and use the graph recognition algorithm and the difference analysis engine to identify and mark the change parts, providing visual annotation and change summary.
Significantly improves comparison efficiency and accuracy, optimizes the design review process, and promotes team collaboration and information sharing.
Smart Images

Figure CN119027969A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of three-dimensional design technology, and in particular to an automatic comparison method between a two-dimensional design drawing and a three-dimensional design model. Background Art
[0002] In the field of engineering design, version updates of design drawings and models are a common workflow. Designers need to compare different versions of drawings and models to identify changes and updates and ensure the correctness and consistency of the design. However, in the prior art, existing comparison methods usually rely on manual operations, which are inefficient and prone to errors. Summary of the invention
[0003] In order to solve the above-mentioned problems, the present invention provides an automatic comparison method for two-dimensional design drawings and three-dimensional design models. The method can automatically compare two-dimensional design drawings and three-dimensional design models of different dates and versions, mark the differences, and remind the designer.
[0004] In a first aspect, the present invention provides an automatic comparison method for two-dimensional design drawings, which adopts the following technical solution: An automatic comparison method for two-dimensional design drawings, comprising: Load 2D drawing files and perform text analysis on the drawings; Perform element recognition on the parsed text based on the graphic recognition algorithm; Compare and analyze drawing elements in different versions based on the difference analysis engine; Mark the drawing analysis results.
[0005] Furthermore, the loading of two-dimensional drawings and text parsing of the drawings includes automatically retrieving and loading two-dimensional design drawing files within a specified date range through an integrated version control system, and parsing the drawing files into editable graphic elements using a CAD file parser.
[0006] Furthermore, the element recognition of the parsed text based on the graphic recognition algorithm includes recognizing multiple elements in the text, including lines, arcs, text and annotations, through the graphic recognition algorithm, and extracting attribute information from the recognized multiple elements.
[0007] Furthermore, comparing and analyzing drawing elements in different versions based on a difference analysis engine includes using the difference analysis engine to compare drawing elements and attribute information in different versions, identifying changed parts and recording them.
[0008] Furthermore, the drawing analysis results are annotated, including visually annotating the identified changed parts on the drawing, highlighting them with lines of different colors, and displaying a summary of the changes in a pop-up window to remind designers.
[0009] In a second aspect, a method for automatically comparing three-dimensional design models includes: Load the 3D model file and parse the model file; Perform component identification on the parsed file based on the developed component identification algorithm; Compare and analyze model components under different versions based on the difference analysis engine; Annotate the model analysis results.
[0010] Furthermore, the loading of the 3D model file and file parsing of the model includes automatically retrieving and loading the 3D design model file within a specified date range through an integrated version control system, and parsing the model file into editable components and properties through a BIM file parser.
[0011] Furthermore, the component recognition of the parsed file is performed based on the developed component recognition algorithm, including using the component recognition algorithm to recognize different components in the parsed model file, including walls, doors, windows and pipes, and extracting attribute information of the identified multiple components.
[0012] Furthermore, comparing and analyzing model components under different versions based on the difference analysis engine includes using the difference analysis engine to compare model components and attribute information under different versions, identifying parts that need to be changed and recording them.
[0013] Furthermore, the model analysis results are annotated, including visually annotating the identified changed parts on the model, highlighting them through different color overlays, and displaying a summary of the changes in a pop-up window to remind designers.
[0014] In summary, the present invention has the following beneficial technical effects: Improve comparison efficiency: The automated comparison process significantly reduces manual operation time and improves work efficiency.
[0015] Enhanced accuracy: Intelligent identification and difference analysis reduce omissions and errors caused by human factors and improve the accuracy of comparison.
[0016] Optimized design review: Automatically marked changes enable designers to quickly identify and review changes, improving the efficiency and quality of the review.
[0017] Promote team collaboration: Automatic comparison and annotation functions help team members share information and work together, improving the efficiency of team collaboration. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a schematic diagram of an automatic comparison method of a two-dimensional design drawing and a three-dimensional design model according to Example 1 of the present invention. DETAILED DESCRIPTION
[0019] The present invention is further described in detail below in conjunction with the accompanying drawings.
[0020] Example 1 Reference Figure 1 , an automatic comparison method of a two-dimensional design drawing of this embodiment includes: Load 2D drawing files and perform text analysis on the drawings; Perform element recognition on the parsed text based on the graphic recognition algorithm; Compare and analyze drawing elements in different versions based on the difference analysis engine; Mark the drawing analysis results.
[0021] The loading of two-dimensional drawings and text parsing of the drawings include automatically retrieving and loading two-dimensional design drawing files within a specified date range through an integrated version control system, and parsing the drawing files into editable graphic elements using a CAD file parser.
[0022] Among them, the core function of the version control system is to instantly store the drawings submitted by designers at different times, distinguish the drawing versions according to time, and allow designers to view the previous version drawings at any time.
[0023] The CAD file parser opens the two versions of drawings that the designer selects to be compared in the same CAD interface, places the opened windows in a tiled manner on the left and right, and displays them in the same area of the drawing files, using the file with the older version as a reference, and displays the different contents of the two drawing files in different colors.
[0024] The element recognition of the parsed text is performed based on the graphic recognition algorithm, which uses the CAD program to open and read the drawing file, and performs attribute statistics on all the graphics elements in the opened drawing file, including text, line type and equipment graphics elements.
[0025] The element recognition of the parsed text based on the graphic recognition algorithm includes identifying multiple elements in the text, including lines, arcs, text and annotations, through the graphic recognition algorithm, and extracting attribute information from the identified multiple elements. Among them, the drawing file is read using the CAD program and attribute statistics are performed. First, the drawing file is opened and read using the CAD program. Then, attribute statistics are performed on all the primitives in the opened drawing file. These primitives include text, line type and equipment primitives. By counting the attributes of these primitives, the content and structure of the drawing can be better understood; multiple elements are identified and attribute information is extracted through the graphic recognition algorithm. The graphic recognition algorithm is used to identify multiple elements in the text, such as lines, arcs, text and annotations; and attribute information is extracted from the identified multiple elements. The attribute information may include position, size, style, etc. By extracting these attribute information, a basis can be provided for subsequent difference analysis and annotation processing.
[0026] The comparing and analyzing drawing elements under different versions based on the difference analysis engine includes using the difference analysis engine to compare drawing elements and attribute information under different versions, identifying the changed parts and recording them.
[0027] The difference analysis engine is a drawing content comparison and statistics operation. It compares all the graphic elements in the two drawing files that the designer needs to compare, and counts the newly added and deleted graphic elements. The old version of the drawing is used as a reference. If the new version has one more graphic element than the old version, it is a newly added graphic element. If the old version has it but the new version does not, then the graphic element is a deleted graphic element. Based on this principle, the comparison results are displayed through a window for the designer to view.
[0028] The marking process for the drawing analysis results includes visually marking the identified changed parts on the drawing, highlighting them with lines of different colors, and displaying a summary of the changes in a pop-up window to remind designers.
[0029] As a further embodiment, 1. Automatic comparison of 2D design drawings 1.1 Loading drawings Version Control: Automatically retrieve and load 2D design drawing files within a specified date range through the integrated version control system.
[0030] File parsing: Use a professional CAD file parser to parse the drawing file into editable graphic elements.
[0031] 1.2 Element Identification Graphics recognition: Develop graphics recognition algorithms to automatically identify various elements in drawings, such as lines, arcs, text, annotations, etc.
[0032] Attribute extraction: Extract attribute information of identified elements, such as position, size, style, etc.
[0033] 1.3 Comparative Analysis Difference Detection: Use the difference analysis engine to compare the elements and their attributes in different versions of drawings and identify the changed parts.
[0034] Change log: Records all identified changes, including new, deleted, and modified elements.
[0035] 1.4 Annotation Processing Visual marking: Visually mark the identified changes on the drawing, such as using lines of different colors or background highlights.
[0036] Annotation style: Provides a variety of annotation styles for users to choose from to meet different review needs.
[0037] 1.5 Reminders for Designers Interface prompt: On the user interface, a summary of changes is displayed in a pop-up window or sidebar, and a link to quickly jump to the changed location is provided.
[0038] Message notification: Send change notifications to designers via the instant messaging system.
[0039] 2. Automatic comparison of 3D design models 2.1 Loading the model Version Control: Automatically retrieve and load 3D design model files within a specified date range through the integrated version control system.
[0040] File parsing: Use a professional BIM file parser to parse the model file into editable components and properties.
[0041] 2.2 Component Identification Component recognition: Develop component recognition algorithms to automatically identify various components in the model, such as walls, doors, windows, pipes, etc.
[0042] Attribute extraction: Extract attribute information of identified components, such as material, size, position, etc.
[0043] 2.3 Comparative Analysis Difference detection: Use the difference analysis engine to compare components and their properties in different versions of the model and identify the changed parts.
[0044] Change log: Records all identified changes, including new, deleted, and modified components.
[0045] 2.4 Annotation Processing Visual annotation: Visually annotate the identified changes on the model, such as using different color highlights or semi-transparent overlays.
[0046] Annotation style: Provide a variety of annotation styles for users to choose from to meet different review needs.
[0047] 2.5 Reminders for Designers Interface prompt: On the user interface, a summary of changes is displayed in a pop-up window or sidebar, and a link to quickly jump to the changed location is provided.
[0048] Message notification: Send change notifications to designers via the instant messaging system.
[0049] Example 2. This embodiment provides an automatic comparison method for a three-dimensional design model, including: Load the 3D model file and parse the model file; Perform component identification on the parsed file based on the developed component identification algorithm; Compare and analyze model components under different versions based on the difference analysis engine; Annotate the model analysis results.
[0050] The loading of the 3D model file and the file parsing of the model include automatically retrieving and loading the 3D design model file within a specified date range through an integrated version control system, and parsing the model file into editable components and properties through a BIM file parser.
[0051] The version control system instantly stores the three-dimensional model files submitted by designers at different times, and differentiates the versions of all model files according to the storage time submitted by the designers, and allows designers to view previous version models at any time.
[0052] The BIM file parser will open the two versions of the model that the designer needs to compare in the same BIM interface, and place the opened windows in a tiled manner on the left and right. The file with the older version is used as a reference to perform statistics on the graphic content of the two model files, mainly involving the equipment and civil engineering material properties in the model files and the property extraction statistics of various families. This property is not limited to length, width, height, elevation, diameter, color and material.
[0053] The component recognition of the parsed file based on the developed component recognition algorithm includes using the component recognition algorithm to recognize different components in the parsed model file, including walls, doors, windows and pipes, and extracting attribute information of the identified multiple components.
[0054] The recognition algorithm uses BIM to open the model file that needs to be compared, and calls the material statistics function of the BIM software to identify and count the materials of the model, including the families under different system classifications within the model, and classifies and counts all elements according to their attributes. This material statistics function can customize the attribute options that designers need to count by setting options, thereby improving statistical efficiency.
[0055] The method of comparing and analyzing model components under different versions based on a difference analysis engine includes using the difference analysis engine to compare model components and attribute information under different versions, identifying parts that need to be changed and recording them.
[0056] The difference analysis engine is a comparative statistical operation of the model element attributes. It compares all element contents in the two model files that the designer needs to compare, and counts the newly added elements and deleted elements. The old version of the model is used as a reference. If the new version has one more element than the old version, it is a newly added element. If the old version has it but the new version does not, then the element is a deleted element. Based on this principle, the comparison results are displayed through a window for the designer to view. Compared with the difference analysis of two-dimensional drawings, the three-dimensional model equipment family can be counted and compared separately. According to the level of detail of the equipment attributes, the difference comparison analysis of equipment parameters, models, quantities, basic sizes, etc. can be performed.
[0057] The labeling of the model analysis results includes visually labeling the identified changed parts on the model, highlighting them through different color overlays, and displaying a summary of the changes in a pop-up window to remind designers.
[0058] The above are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for automatically comparing two-dimensional design drawings, characterized in that: include: Load 2D drawing files and perform text analysis on the drawings; Perform element recognition on the parsed text based on the graphic recognition algorithm; Compare and analyze drawing elements in different versions based on the difference analysis engine; Mark the drawing analysis results.
2. The automatic comparison method of two-dimensional design drawings according to claim 1, characterized in that: The loading of two-dimensional drawings and text parsing of the drawings include automatically retrieving and loading two-dimensional design drawing files within a specified date range through an integrated version control system, and parsing the drawing files into editable graphic elements using a CAD file parser.
3. The automatic comparison method of two-dimensional design drawings according to claim 2 is characterized in that: The element recognition of the parsed text based on the graphic recognition algorithm includes recognizing multiple elements in the text, including lines, arcs, text and annotations, through the graphic recognition algorithm, and extracting attribute information of the recognized multiple elements.
4. The automatic comparison method of two-dimensional design drawings according to claim 3 is characterized in that: The comparing and analyzing drawing elements under different versions based on the difference analysis engine includes using the difference analysis engine to compare drawing elements and attribute information under different versions, identifying the changed parts and recording them.
5. The automatic comparison method of two-dimensional design drawings according to claim 4 is characterized in that: The marking process for the drawing analysis results includes visually marking the identified changed parts on the drawing, highlighting them with lines of different colors, and displaying a summary of the changes in a pop-up window to remind designers.
6. A method for automatically comparing three-dimensional design models, characterized in that: include: Load the 3D model file and parse the model file; Perform component identification on the parsed file based on the developed component identification algorithm; Compare and analyze model components under different versions based on the difference analysis engine; Annotate the model analysis results.
7. The automatic comparison method of a three-dimensional design model according to claim 6, characterized in that: The loading of the 3D model file and the file parsing of the model include automatically retrieving and loading the 3D design model file within a specified date range through an integrated version control system, and parsing the model file into editable components and properties through a BIM file parser.
8. The automatic comparison method of a three-dimensional design model according to claim 7, characterized in that: The component recognition of the parsed file based on the developed component recognition algorithm includes using the component recognition algorithm to recognize different components in the parsed model file, including walls, doors, windows and pipes, and extracting attribute information of the identified multiple components.
9. The automatic comparison method of a three-dimensional design model according to claim 8, characterized in that: The method of comparing and analyzing model components under different versions based on a difference analysis engine includes using the difference analysis engine to compare model components and attribute information under different versions, identifying parts that need to be changed and recording them.
10. The automatic comparison method of a three-dimensional design model according to claim 9, characterized in that: The labeling of the model analysis results includes visually labeling the identified changed parts on the model, highlighting them through different color overlays, and displaying a summary of the changes in a pop-up window to remind designers.
Citation Information
Patent Citations
Model or drawing online difference comparison method, device and system
CN109670222A
Method and apparatus for determining and presenting differences between 3D models
WO2013106802A1
Cited By
BIM-based two-dimensional data and three-dimensional model verification matching method and system
CN120524719A
A BIM-based two-dimensional data and three-dimensional model verification and matching method and system
CN120524719B
