A storage method for data docking between AI automatic drawing and Revit 3D modeling
By connecting CAD analysis services and deep learning technology, combined with JSON format storage, the problem of AI automatic drawing and Revit three-dimensional modeling data interaction is solved, automatic drawing recognition and storage of components are realized, and the efficiency and accuracy of construction drawings are promoted. .
Patent Information
- Application Number
- CN202111586784.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-23
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-12-23
AI Technical Summary
The existing technology lacks a standard data storage method to realize data interaction between AI automatic drawing and Revit 3D modeling. Especially in terms of component recognition and adding new components, it is impossible to complete the drawing of 3D modeling.
Obtain graphic elements by connecting to CAD analysis services, use image processing and deep learning to classify components, and store parameters and attributes in JSON format files to ensure that Revit software can automatically read and perform 3D modeling.
It realizes the data interaction between AI automatic drawing and Revit three-dimensional modeling, can complete the automatic drawing and storage of components, promotes subsequent modeling, and improves the efficiency and accuracy of construction drawings.
Smart Images

Figure CN114511669B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of building construction, and in particular to a method for storing data for docking AI automatic drawing with Revit three-dimensional modeling. Background Art
[0002] CAD construction drawings are drawings that use AutoCAD software to show the overall layout of the project, the building's exterior shape, interior layout, structural structure, interior and exterior decoration, material methods, equipment, and construction. CAD construction drawings are complete, accurate, and specific. They are the basis for engineering construction, preparation of construction drawing budgets, and construction organization design, and are also important technical documents for technical management.
[0003] With the rise of artificial intelligence, a large number of projects that require human participation can be replaced by artificial intelligence, among which CAD electrical construction drawings are a time-consuming and labor-intensive repetitive task. In order to issue CAD electrical construction plans that meet national standards faster and more efficiently, electrical / water supply and drainage / HVAC can now be automatically drawn.
[0004] The Revit family of software is built for Building Information Modeling (BIM), which helps building designers design, build, and maintain better quality and more energy-efficient buildings. Autodesk Revit and Autodesk Revit Structure include many building materials, such as steel, cast-in-place concrete, precast concrete, brick, and wood. Given that the building you design requires the use of a variety of building materials, Revit supports the creation of structural models using the required materials. It is mainly used for the presentation of 3D models.
[0005] In the construction drawing of electrical equipment, there is currently no data interaction mode for AI drawing components and Revit 3D modeling. It mainly solves two types of component interactions:
[0006] The first type is aimed at the results of component recognition, such as walls / risers and other components recognized from the CAD base map. However, there is no standard data storage method in artificial intelligence Revit 3D modeling, and artificial intelligence Revit 3D modeling cannot complete the drawing of some components;
[0007] The second type is to add new components to the drawings after the artificial intelligence draws them, such as manifolds and floor heating coils in the heating plan. There is no standard data storage method in the artificial intelligence Revit 3D modeling, and the 3D modeling cannot be completed either. Summary of the invention
[0008] In response to the above problems, the present invention provides a method for storing data for docking AI automatic drawing with Revit three-dimensional modeling.
[0009] To solve the above technical problems, the present invention is implemented by the following technical solutions: The present invention provides a method for storing data for docking AI automatic drawing with Revit 3D modeling, the method comprising the following steps:
[0010] S1. Connect to the CAD parsing service to obtain wall lines, doors, windows and other graphic elements on the CAD architectural plan drawings;
[0011] S2, scaling the CAD drawing frame to a picture with a fixed scale, recording the scaling scale, recording the primitives obtained in step S1 and drawing them on the picture at the same scale, and using image processing methods to obtain the outline of each closed space;
[0012] S3, recording the graphics elements obtained in step S1 and drawing them on the picture in the same proportion, and classifying all the components using a deep learning method;
[0013] S4. Complete the drawing of the professional floor plan of the equipment through traditional algorithms, artificial intelligence and national regulations;
[0014] S5. In the process of instantiating components, all the parameters and properties of the components need to be stored in a format that can be automatically read by Revit;
[0015] S6. The docking data format is specified to be in JSON format;
[0016] S7. According to different component types, all components are divided into five types, and the data formats required by Revit for different frame types are specified;
[0017] S8. Revit software automatically performs three-dimensional modeling by reading JSON file data that stores data according to the above different data types.
[0018] Preferably, the graphic elements in step S1 specifically include basic graphics such as points, lines, arcs, etc. when drawing CAD drawings.
[0019] Preferably, in step S1, the building outline is usually a specific closed space surrounded by walls, doors, windows, columns, etc.
[0020] Preferably, in step S3, all components are classified to include components such as doors, windows, stairs, and elevators.
[0021] Preferably, the five types in step S7 specifically include:
[0022] a. Component type;
[0023] b. Coil type;
[0024] c. Wall type;
[0025] d. Door and window types;
[0026] e. Floor type.
[0027] It can be seen from the above description of the present invention that, compared with the prior art, the present invention has the following advantages:
[0028] The present invention discloses a storage method for data connection between AI automatic drawing and Revit 3D modeling, which opens up data interaction between automatic drawing recognition, automatic drawing and Revit 3D modeling in the architectural profession, and can complete the data required for Revit 3D modeling while completing DWG drawings drawn by artificial intelligence, thereby promoting subsequent modeling. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a flow chart of the steps of the present invention;
[0030] Figure 2 It is a schematic diagram of the heating plane of the present invention;
[0031] Figure 3 It is a schematic diagram of the three-dimensional model of the present invention. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0033] like Figure 1-3 As shown, the present invention provides a method for storing data for docking AI automatic drawing and Revit three-dimensional modeling, the method comprising the following steps:
[0034] S1. Connect to the CAD parsing service to obtain wall lines, doors, windows and other graphic elements on the CAD architectural plan drawings;
[0035] S2, scaling the CAD drawing frame to a picture with a fixed scale, recording the scaling scale, recording the primitives obtained in step S1 and drawing them on the picture at the same scale, and using image processing methods to obtain the outline of each closed space;
[0036] S3, recording the graphics elements obtained in step S1 and drawing them on the picture in the same proportion, and classifying all the components using a deep learning method;
[0037] S4. Use traditional algorithms, artificial intelligence and national regulations to complete the drawing of professional equipment plans, such as Figure 2As shown, the present invention takes the heating plan as an example: the arrow points to the manifold, and the return line is the floor heating coil, but it is currently only drawn on the DWG drawing by artificial intelligence, and no data is provided to Revit for modeling;
[0038] S5. In the process of instantiating components, all the parameters and properties of the components need to be stored in a format that can be automatically read by Revit;
[0039] S6. The docking data format is specified to be in JSON format. JSON (JavaScript Object Notation) is a lightweight data exchange format. It is based on a subset of JavaScript. JSON uses a text format that is completely independent of the language, but also uses conventions similar to the C language family (including C, C++, C#, Java, JavaScript, Perl, Python, etc.). These features make JSON an ideal data exchange language. It is easy for humans to read and write, and it is also easy for machines to parse and generate;
[0040] S7. According to different component types, all components are divided into five types, and the data formats required by Revit for different frame types are specified;
[0041] S8. Revit software automatically performs 3D modeling by reading the JSON file data stored in the above different data types. The completed 3D model is as follows: Figure 3 shown.
[0042] The graphic elements in step S1 specifically include basic graphics such as points, lines, and arcs when drawing CAD drawings;
[0043] In step S1, the building outline is usually a specific closed space surrounded by walls, doors, windows, pillars, etc.
[0044] Among them, in step S3, all components are classified to include components such as doors, windows, stairs, and elevators;
[0045] The five types in step S7 specifically include:
[0046] a. Component type: width, height, center point and rotation angle of the component, i.e., special attributes (number of inlets and outlets of the manifold);
[0047] b. Coil type: Straight line: start and end point coordinates, chamfer: start and end points, end points, center point and rotation angle;
[0048] c. Wall type: center line, wall thickness;
[0049] d. Door and window type: component width, height, and center point;
[0050] e. Floor type: building outline (point set).
[0051] The present invention provides a storage method for data docking between AI automatic drawing and Revit 3D modeling, which opens up data interaction between automatic drawing recognition, automatic drawing and Revit 3D modeling in the architectural profession, and can complete the data required for Revit 3D modeling while completing DWG drawings drawn by artificial intelligence, thereby promoting subsequent modeling.
[0052] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for storing data for docking AI automatic drawing with Revit 3D modeling, characterized in that: The method comprises the following steps: S1. Connect to the CAD parsing service to obtain the wall lines, doors, and windows on the CAD architectural plan drawings; S2, scaling the CAD drawing frame to a picture with a fixed scale, recording the scaling scale, recording the primitives obtained in step S1 and drawing them on the picture at the same scale, and obtaining the outline of each closed space by image processing method; S3, recording the graphics elements obtained in step S1 and drawing them on the picture in the same proportion, and classifying all the components using a deep learning method; S4. Complete the drawing of the professional floor plan of the equipment through traditional algorithms, artificial intelligence and national regulations; S5. In the process of instantiating components, all the parameters and properties of the components need to be stored in a format that can be automatically read by Revit; S6. The docking data format is specified to be JSON format; S7. According to different component types, all components are divided into five types, and the data formats required by Revit for different frame types are specified; S8. Revit software automatically performs three-dimensional modeling by reading JSON file data that stores data according to the above different data types.
2. According to claim 1, a method for storing data for docking AI automatic drawing and Revit 3D modeling, characterized in that: The graphic elements in step S1 specifically include basic graphics such as points, lines, and arcs when drawing CAD drawings.
3. According to claim 1, a method for storing data for docking AI automatic drawing and Revit 3D modeling, characterized in that: In step S2, the building outline is surrounded by walls, doors, windows, and pillars to form a specific closed space.
4. According to claim 1, a method for storing data for docking AI automatic drawing and Revit 3D modeling, characterized in that: In step S3, all components are classified to include door, window, staircase and car components.
5. According to claim 1, a method for storing data for docking AI automatic drawing and Revit 3D modeling, characterized in that: The five types in step S7 specifically include: a. Component type; b. Coil type; c. Wall type; d. Door and window types; e. Floor type.
