A modeling method, system, terminal and medium based on drawing recognition

By identifying and classifying the pixels in the drawings, the positioning points and elevations of the floor plan are automatically determined, which solves the problems of low efficiency and high error rate of three-dimensional model construction in the existing technology, and realizes intelligent three-dimensional model construction and full-story conversion.

CN113627264BActive Publication Date: 2025-08-12BEIJING YJK BUILDING SOFTWARE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110791970.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-13
Publication Date
2025-08-12
Estimated Expiration
2041-07-13

AI Technical Summary

Technical Problem

In the prior art, the three-dimensional model construction method based on drawings is low efficiency and has a high error rate, and mainly relies on manual reading of drawings and manual calculation of engineering data.

Method used

By identifying the pixels in the drawing, classifying them into multiple categories of drawing groups, and using the axis and axis name drawing groups to determine the positioning point and elevation of the plan, automatically assemble the three-dimensional model to reduce manual intervention.

Benefits of technology

The intelligent construction of three-dimensional model is realized, efficiency is improved and error rate is reduced, and the entire building is converted through unified operation of models on each floor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113627264B_ABST
    Figure CN113627264B_ABST
Patent Text Reader

Abstract

This application proposes a modeling method, system, terminal, and medium based on drawing recognition. The method includes: identifying drawings to obtain elements of the drawing's floor plan; classifying the elements to obtain multiple drawing groups corresponding to each floor plan; dividing the drawings to obtain each floor plan in the drawing; and determining the location of the anchor points of each floor plan based on the axis drawing group and the axis name drawing group; determining the elevation of each floor plan, and determining the assembly insertion point of each floor plan in a three-dimensional model based on the floor plan name corresponding to each floor plan and the elevation of each floor plan; and assembling the single-layer models generated by the identification of each floor plan based on the multiple drawing groups, the anchor point locations, and the assembly insertion points to establish a three-dimensional model of the entire building. The method provided by this application is highly efficient, has a low error rate, and is low cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer information processing technology, and particularly to a modeling method, system, terminal and medium based on drawing recognition. Background Art

[0002] Currently, in stages such as design, cost, and construction, it is usually necessary to construct a 3D model based on drawings. However, in related technologies, mainly relying on manual reading of drawings to manually calculate engineering data, and then constructing a 3D model based on the calculated engineering data, the labor cost is high, the efficiency is poor, and the error rate is high. Summary of the Invention

[0003] This application provides a modeling method, system, terminal and medium based on drawing recognition to at least solve the technical problems of poor efficiency and high error rate in the modeling method in related technologies.

[0004] A first aspect embodiment of this application proposes a modeling method based on drawing recognition, including:

[0005] Recognize the drawing to obtain the graphic elements of the plan view of the drawing, where the drawing includes at least one plan view;

[0006] Classify the graphic elements according to the layer name corresponding to the graphic elements or the graphic attributes of the graphic elements to obtain multiple types of graphic groups corresponding to each plan view, and the multiple types of graphic groups at least include a plan view name graphic group, an axis graphic group, an axis name graphic group, and various component graphic groups;

[0007] Divide the drawing according to the plan view name graphic group, axis graphic group, and axis name graphic group to obtain each plan view in the drawing; and determine the positioning point positions of each plan view according to the axis graphic group and axis name graphic group;

[0008] Determine the elevation of each plan view, and determine the assembly insertion point of each plan view in the 3D model according to the plan view name corresponding to each plan view and the elevation of each plan view;

[0009] Assemble each plan view according to the multiple types of graphic groups, positioning point positions, and the assembly insertion points to establish a 3D model;

[0010] Wherein, the graphic elements include at least one of the following: plan view name graphic elements, axis graphic elements, axis name graphic elements, various component graphic elements, and annotation information graphic elements;

[0011] The recognizing the drawing to obtain the graphic elements of the plan view of the drawing includes:

[0012] Recognize the peripheral text of the plan view, and recognize the text segment with the word "Figure" as the plan view name graphic element corresponding to the plan view;

[0013] Identifying lines in the plan view, and identifying lines whose two endpoints are both located on the periphery of the plan view as axis pixels of the plan view;

[0014] Identifying digital annotations in the plan view, and identifying digital annotations located within a first preset distance from an axis endpoint as axis name pixels in the plan view;

[0015] Identifying the relative positions of the lines, text labels, and extension directions of the lines in the plan view to identify various component elements of the plan view;

[0016] Digital markings are identified within a second preset distance on both sides of the longitudinal center line and / or the transverse center line of each type of component to identify the marking information pixels of the various types of components in the plan view.

[0017] The second embodiment of the present application provides a modeling system based on drawing recognition, which is applicable to the modeling method based on drawing recognition described in the first aspect, including:

[0018] an identification unit, configured to identify the drawing to obtain pixels of a plan view of the drawing, wherein the drawing includes at least one plan view;

[0019] a classification unit for classifying the pixels according to the layer names corresponding to the pixels or the graphic attributes of the pixels to obtain a multi-category drawing group corresponding to each plan view, wherein the multi-category drawing group includes at least a plan view name drawing group, an axis drawing group, an axis name drawing group, and various component drawing groups;

[0020] a processing unit configured to divide the drawing into the plan view group, the axis view group, and the axis view group to obtain the plan views in the drawing; and determine the location of the positioning point of each plan view according to the axis view group and the axis view group;

[0021] A determination unit, configured to determine an assembly insertion point of each plan in the three-dimensional model according to the determined elevation of each plan, the plan name corresponding to each plan, and the elevation of each plan;

[0022] An assembling unit is used to assemble the single-layer models identified by the various plan views according to the multiple types of drawing groups, the positions of the positioning points and the assembly insertion points to establish a three-dimensional model.

[0023] The third aspect of the present application proposes a modeling terminal based on drawing recognition, including: a transceiver; a memory; a processor, which is connected to the transceiver and the memory respectively, and is configured to control the wireless signal reception and transmission of the transceiver by executing computer-executable instructions on the memory, and can implement the method described in the first aspect above.

[0024] The fourth embodiment of the present application proposes a computer storage medium, wherein the computer storage medium stores computer-executable instructions; after the computer-executable instructions are executed by a processor, they can implement the method described in the first aspect above.

[0025] The technical solutions provided by the embodiments of this application bring at least the following beneficial effects:

[0026] In summary, the modeling method, system, terminal and medium based on drawing recognition provided by the embodiment of the present application can identify the elements of the plan view of the drawing, and classify the elements to obtain multiple types of drawing groups. The drawings are divided according to the plan name drawing group, axis drawing group and axis name drawing group to obtain the various plan views in the drawing, and the positioning point position of each plan view is determined, and the elevation of each plan view is also determined. And, according to the plan view name corresponding to each plan view and the elevation of each plan view, the assembly insertion point of each plan view in the three-dimensional model is determined; finally, the single-layer model identified by each plan view is assembled according to the multiple types of drawing groups, the positioning point position and the assembly insertion point to establish a three-dimensional model. In the method provided by the present application, when establishing a three-dimensional model, there is no need for manual drawing recognition or manual reading, which makes the conversion and recognition modeling work intelligent, improves work efficiency and reduces error rate. Moreover, in the present application, when constructing a three-dimensional model, the model of each layer is uniformly operated to automatically complete the conversion of the entire building, rather than operating layer by layer, thereby further improving work efficiency.

[0027] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0029] Figure 1 A schematic flow chart of a modeling method based on drawing recognition according to one embodiment of the present application;

[0030] Figure 2 A schematic diagram of the structure of a drawing provided for one embodiment of the present application;

[0031] Figure 3 A diagram showing the correspondence between layer names, pixel contents, and pixel groups corresponding to pixels in a planar diagram provided by one embodiment of the present application;

[0032] Figure 4 An embodiment of the present application provides a method for Figure 2A schematic structural diagram of a plan view obtained based on the structure shown;

[0033] Figure 5 A schematic diagram of the structure of a floor table provided in one embodiment of the present application. DETAILED DESCRIPTION

[0034] The following describes in detail embodiments of the present application, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0035] The following describes the modeling method, system, terminal and medium based on drawing recognition according to an embodiment of the present application with reference to the accompanying drawings.

[0036] Example 1

[0037] Figure 1 The figure is a flow chart of a modeling method based on drawing recognition according to an embodiment of the present application. Figure 1 As shown, the method may include:

[0038] Step 101: Identify a drawing to obtain pixels of a plan view of the drawing, wherein the drawing includes at least one plan view.

[0039] The drawings in this embodiment may be DWG drawings, which can be used in an AutoCAD application. The method of the embodiment of the present application can be implemented by a modeling system based on drawing recognition (such as an AutoCAD application).

[0040] Furthermore, the floor plan of a drawing may also include a variety of elements, which are the specific contents of the floor plan. For example, if the floor plan is an architectural or structural floor plan, the elements of the floor plan may include: axis lines, axis names, columns, walls, beams, and plate openings. If the floor plan is a floor plan for electromechanical equipment, the elements of the floor plan may include: switches, sockets, junction boxes, conduits, and cable trays. If the floor plan is a floor plan for electromechanical equipment, the elements of the floor plan may include: switches, sockets, junction boxes, conduits, and cable trays.

[0041] Each pixel in a floor plan has a corresponding layer name, which can be considered a classification of the pixel. Furthermore, the layer names of pixels in different floor plans may vary. Furthermore, pixels also have graphic attributes, which can specifically include parameters corresponding to the pixel's base point, parameters corresponding to the pixel's object, and blocks.

[0042] Among them, in the present application, the graphic elements may include at least one of the following: graphic elements of the floor plan name, axis graphic elements, axis name graphic elements, various component graphic elements, and annotation information graphic elements.

[0043] In addition, the graphic elements for identifying the drawing to obtain the floor plan of the drawing in this step may include:

[0044] Identify the peripheral text of the floor plan, and identify the text segment with the word "diagram" as the graphic element of the floor plan name corresponding to the floor plan. For example, Figure 2 is a schematic structural diagram of a drawing provided by an embodiment of the present application. As Figure 2 shown, the drawing includes two floor plans, namely Floor Figure 1 and Floor Figure 2 . The field "First Standard Floor (Flat Method Construction Drawing of Beam and Slab in the Second Basement)" with the word "diagram" in the periphery of Floor Figure 1 can be determined as the floor plan name of Floor Figure 1 .

[0045] Identify the lines in the floor plan, identify the lines with both ends located on the periphery of the floor plan as the axis graphic elements of the floor plan, and identify the digital annotations within the first preset distance from the axis endpoints as the axis name graphic elements of the floor plan. It should be noted that, as Figure 2 shown, in the present application, the axes of each floor plan span across the floor plan, and the axis name of each axis is located at the axis endpoint. Thus, the "lines with both ends located on the periphery of the floor plan" can be determined and identified as axes, and the digital annotations near the axis endpoints can be identified as the axis name graphic elements of the floor plan.

[0046] Identify the mutual positions, text annotations, and extension directions of each line in the floor plan to identify various component graphic elements of the floor plan, and identify the annotation information graphic elements of various components of the floor plan based on the digital annotations within the second preset distance on both sides of the longitudinal center line and / or transverse center line of various components, and / or the parameter tables corresponding to various components.

[0047] The following details the specific methods for identifying component graphic elements and annotation information graphic elements:

[0048] Among them, the various component graphic elements may at least include wall graphic elements, infilled wall graphic elements, beam graphic elements, column graphic elements, door graphic elements, window graphic elements, staircase graphic elements, and floor slab opening graphic elements.

[0049] Furthermore, when identifying various component elements, we combine the modeling characteristics of each type of component and apply unique identification rules to each type of component. The following describes the specific identification methods using columns, walls, beams, and doors and windows as examples.

[0050] Specifically, the method for identifying column elements in a plan view may include: identifying closed polygons in the plan view to identify column components, and determining the shape of the column component (such as a cylinder, a rectangular column or an irregular column) based on the shape of the closed polygon, and generating a column cross-section based on the size, and arranging the column cross-section on the axis node closest to the closed polygon.

[0051] The method for identifying wall elements in a plan view may include: identifying parallel wall lines in the plan view, determining a wall component when a distance between a pair of parallel wall lines is between a minimum wall thickness and a maximum wall thickness, determining the distance between the pair of parallel wall lines as the wall thickness, and determining the planar position of the wall component in the plan view based on the starting and ending positions of the wall lines. Furthermore, when an axis parallel to the wall line exists around the wall component and the distance between the parallel wall line and the axis is less than a preset first maximum eccentricity distance, the wall component is arranged on the axis; and when an axis parallel to the wall line does not exist around the wall component, an axis is generated at the center of the wall component.

[0052] The method for identifying beam elements in a plan view may include: identifying parallel beam lines in the plan view, determining that a beam component is identified when a distance between a pair of parallel beam lines is between a minimum beam width and a maximum beam width, determining the distance between the pair of parallel beam lines as the beam width, and determining the planar position of the beam in the plan view based on the starting and ending positions of the beam lines. Furthermore, when an axis parallel to the beam line exists around the beam component and the distance between the beam line and the axis is less than a preset second maximum eccentricity distance, the beam component is arranged on the axis; and when an axis parallel to the beam line does not exist around the beam component, an axis is generated at the center of the beam component.

[0053] The method for identifying door and window elements in a plan view may include identifying door and window openings or parallel door and window line segments on the plane of a wall component to identify the door and window components, and determining the positions of the doors and windows in the plan view based on the positions of the door and window openings or parallel door and window line segments on the plane of the wall component. The heights of the doors and windows and the height of the windowsills may be determined by parameter settings or by analyzing the elevation drawing in combination with a door and window table.

[0054] Furthermore, when identifying annotation information elements, the drawing expression rules in the National Building Standard Design Atlas 16G101 "Drawing Rules and Structural Details for Overall Representation of Concrete Structure Construction Drawings" can be used to analyze and identify the various components of the structural profession, such as beams, columns, floor slabs, and shear walls in the flat construction drawings to obtain the annotation information of each component. The following is an example of identifying the cross-sectional dimensions of beams.

[0055] Specifically, in this application, the associated beam segments (such as continuous beams and beam spans) can be automatically identified and found based on the cross-sectional annotation information content and position in the DWG drawing, and the cross-sectional annotation dimension information of the associated beam segments can be determined and analyzed to obtain the dimension information of the beam components (such as beam height and beam width).

[0056] Among them, the method of parsing the cross-sectional dimension information of the associated beam segment to obtain the dimension information of the beam component can be specifically as follows: the cross-sectional dimension information corresponding to the beam component generally includes characters, such as *, x or X, wherein the value before the character is the beam width, and the value after the character is the beam height. For example, the cross-sectional dimension information can be 300*700, 300x700, KL1(3)300x700, or KL1(400x800), thereby identifying the beam height and beam width of the beam component by identifying the cross-sectional dimension information.

[0057] For example, assuming that the cross-section dimension information is 300*700, by identifying the cross-section dimension information 300*700, it can be determined that the beam width is 300 and the beam height is 700.

[0058] In addition, it should be noted that in addition to being identified and determined based on the cross-sectional dimension information, the beam width in this application can also be identified based on the distance between parallel beam lines. Moreover, when there is a difference between the beam width identified by the distance between parallel beam lines and the beam width identified by the cross-sectional dimension information, a proofreading prompt message can also be output to prompt the user to perform proofreading.

[0059] It should also be noted that in addition to being able to identify floor plans in drawings, this application can also identify professional tables, elevations, and cross-sectional drawings in drawings.

[0060] Step 102: Classify the pixels according to the layer names corresponding to the pixels or the graphic attributes of the pixels to obtain multiple types of image groups corresponding to each plane image.

[0061] In this embodiment, the elements of the same category in the plan view can be classified according to the graphic attributes of the elements or the layer names corresponding to the elements to obtain multiple types of drawing groups. The multiple types of drawing groups can include at least a plan view name drawing group, an axis drawing group, an axis name drawing group, and various component drawing groups. The plan view name drawing group can be a drawing group corresponding to the plan view name of the plan view, the axis can be a drawing group corresponding to the axis in the plan view, the axis name can be a drawing group corresponding to the axis name in the plan view, and the various component drawing groups can be groups of drawings consisting of various types of component elements.

[0062] Furthermore, in an embodiment of the present application, a method for classifying pixels belonging to the same category in a plan view according to the layer names corresponding to the pixels may include: classifying the pixels according to the layer names corresponding to the pixels and the content of the pixels.

[0063] For example, Figure 3 This is a diagram showing the relationship between the layer names, pixel contents, and pixel groups corresponding to pixels in a planar diagram provided by one embodiment of the present application. Figure 3 As shown, assuming that the plan view is an architectural plan view, when the layer name corresponding to the pixel is C-AXIC-NUM and the content of the pixel is a number mark (such as ①, ② or ③), it can be determined that the pixel is an axis name, and the pixel is thus classified into the axis name drawing group.

[0064] Step 103: Divide the drawings according to the plan drawing name group, axis drawing group and axis name drawing group to obtain the various plan drawings in the drawings; and determine the location of the positioning points of each plan drawing according to the axis drawing group and the axis name drawing group.

[0065] In this step, the method of dividing the drawings according to the plan view name group, the axis view group, and the axis name view group to obtain the plan views in the drawings may include:

[0066] The plan name and axis endpoints corresponding to the plan are determined as the boundary of the plan, and the plan is divided according to the boundary of the plan; or, the plan name and axis name corresponding to the plan are determined as the boundary of the plan, and the plan is divided according to the boundary of the plan.

[0067] Specifically, Figure 4 An embodiment of the present application provides a method for Figure 2 The schematic diagram of the structure of the plan view obtained based on the structure shown is as follows Figure 4 As shown, the plane in the embodiment of the present application Figure 1 The axis in the figure will cross (for example, horizontally or vertically) the plane, and the length of the axis is greater than the plane. Figure 1 The length in the direction of the axis. For example, across the plane Figure 1 The length of the axis A is greater than the plane Figure 1 Length in the horizontal direction, across the plane Figure 1 The length of the axis 5 is greater than the plane Figure 1 The length in the longitudinal direction. It can be seen that the endpoints of the axis are all located outside the plane, and it should be noted that the axis names are all located at the endpoints of the axis, so the endpoints and axis names of the axis are all located outside the plane. Figure 1 The outside of the plane can be defined Figure 1 the border.

[0068] In addition, the plan view name in the embodiment of the present application is also located on the periphery of the plan view, and can also define the boundary of the plan view. Therefore, the boundary of the plan view can be defined according to the plan view name, axis endpoints, and axis names, and the plan view can be divided according to the boundary of the plan view.

[0069] Reference Figure 4 It can be seen that according to the plane Figure 1 The plane name and axis endpoint in the Figure 1 The boundary of the plane Figure 1 Similarly, according to the plane Figure 2 The plane name and axis endpoint in the Figure 2 The boundary of the plane Figure 2 .

[0070] Furthermore, in an embodiment of the present application, a method for determining the location of the anchor point of each plan view according to the axis view group and the axis name view group may include:

[0071] Two intersecting axes are selected from the axes of the plan view, and the intersection of the two axes is located in the plan view, and the intersection of the two axes is determined as the positioning point position.

[0072] For example, reference Figure 4 As shown, the intersection of axis C and axis 1 can be selected as the plane Figure 1 The location of the anchor point.

[0073] It should also be noted that the axis distribution and axis names corresponding to different plan views in the embodiment of the present application are the same. For example, the axis distribution and axis names corresponding to each plan view can be Figure 4 mid plane Figure 1 Axis distribution and axis names.

[0074] Furthermore, in this step, when determining the location of the anchor point for each plan view, the axis names of the two axes selected for different plan views can be made the same. That is, for each plan view, the intersection of axis C and axis 1 is determined as the anchor point location for that plan view. Thus, when single-layer models identified by different plan views are assembled to construct a 3D model, by ensuring that the anchor points of each plan view overlap vertically, each plan view can be aligned vertically, thereby improving the accuracy of the 3D model construction.

[0075] Step 104: Determine the elevation of each plan view, and determine the assembly insertion point of each plan view in the three-dimensional model based on the plan view name corresponding to each plan view and the elevation of each plan view.

[0076] In this step, the method of determining the assembly insertion point of each plan in the three-dimensional model according to the plan name corresponding to each plan and the elevation of each plan may include:

[0077] Step 1041: Determine the layer number of the plan view in the physical structure corresponding to the three-dimensional model and the standard layer sequence number corresponding to the plan view according to the plan view name corresponding to the plan view.

[0078] It should be noted that, in the embodiment of the present application, the name of the plan view may specifically include: the layer number of the plan view in the physical structure corresponding to the three-dimensional model, and the standard layer serial number corresponding to the plan view.

[0079] For example, if the plan is a building plan, the plan name corresponding to the plan may specifically be: the floor described in the building corresponding to the plan in the three-dimensional model, and the standard floor number corresponding to the floor.

[0080] Assume that the names of the plan drawings can be: 1st standard floor (beam and slab flat method construction drawing of the second underground floor), 2nd standard floor (beam and slab flat method construction drawing of the first underground floor), 3rd standard floor (beam flat method construction drawing of the first floor), 4th standard floor (beam flat method construction drawing of the second floor), 5th standard floor (beam flat method construction drawing of the third floor), 6th standard floor (beam flat method construction drawing of the fourth floor), 7th standard floor (beam flat method construction drawing of the fifth floor), 8th standard floor (beam flat method construction drawing of the sixth to eleventh floors), 9th standard floor (beam flat method construction drawing of the twelfth to sixteenth floors), 10th standard floor (beam flat method construction drawing of the seventeenth floor), 11th standard floor (beam flat method construction drawing of the eighteenth to twentieth floors), and 12th standard floor (beam flat method construction drawing of the roof).

[0081] It should be noted that, when the plan drawing corresponding to a certain plan is named the 1st standard floor (beam and slab flat construction drawing for the second underground floor), then based on the plan drawing name, it can be determined that the floor on which the plan drawing is located in the building corresponding to the 3D model is the second underground floor, and the standard floor sequence number corresponding to the plan drawing is 1. Also, when the plan drawing corresponding to a certain plan is named the 9th standard floor (beam and slab flat construction drawing for the 12th to 16th floors), then it means that the floor on which the plan drawing is located in the building corresponding to the 3D model is the 12th to 16th floors, and the standard floor sequence number is 9, that is, the structural plan drawings of the 12th to 16th floors in the building corresponding to the 3D model are all this plan drawing.

[0082] Step 1042: Sort the plan views in the drawing according to the layer number of the plan views in the physical structure corresponding to the three-dimensional model and the standard layer serial number corresponding to the plan views, so as to determine the first-layer plan view located on the first layer of the three-dimensional model, the second-layer plan view located on the second layer of the three-dimensional model, the third-layer plan view located on the third layer of the three-dimensional model... and the nth-layer plan view located on the nth layer of the three-dimensional model; wherein n is a positive integer.

[0083] For example, in this step, it is assumed that the drawing includes twelve plan views, wherein the plan view names of the twelve plan views are: 1st standard floor (beam and slab flat method construction drawing of the second underground floor), 2nd standard floor (beam and slab flat method construction drawing of the first underground floor), 3rd standard floor (beam flat method construction drawing of the first floor), 4th standard floor (beam flat method construction drawing of the second floor), 5th standard floor (beam flat method construction drawing of the third floor), 6th standard floor (beam flat method construction drawing of the fourth floor), 7th standard floor (beam flat method construction drawing of the fifth floor), 8th standard floor (beam flat method construction drawing of the sixth to eleventh floors), 9th standard floor (beam flat method construction drawing of the twelfth to sixteenth floors), 10th standard floor (beam flat method construction drawing of the seventeenth floor), 11th standard floor (beam flat method construction drawing of the eighteenth to twentieth floors), and 12th standard floor (beam flat method construction drawing of the roof).

[0084] According to the plan names of the twelve plans, the plan named "1st standard floor (underground second floor beam and slab flat construction drawing)" can be determined as the first floor plan located on the first floor of the three-dimensional model, the plan named "2nd standard floor (underground first floor beam and slab flat construction drawing)" can be determined as the second floor plan located on the second floor of the three-dimensional model, the plan named "3rd standard floor (first floor beam flat construction drawing)" can be determined as the third floor plan located on the third floor of the three-dimensional model,... the plan named "8th standard floor (sixth to eleventh floor beam flat construction drawing)" can be respectively determined as the eighth floor plan, ninth floor plan, tenth floor plan, eleventh floor plan, twelfth floor plan, and thirteenth floor plan located on the eighth to thirteenth floors of the three-dimensional model,... and so on, until the plan named "12th standard floor (roof beam flat construction drawing)" is determined as the twenty-third floor plan located on the twentieth of the three-dimensional model (that is, the top floor plan located on the three-dimensional model).

[0085] Step 1043: Determine the assembly insertion point of the first floor plan in the three-dimensional model based on the elevation corresponding to the first floor plan, determine the assembly insertion point of the second floor plan in the three-dimensional model based on the elevation corresponding to the second floor plan, and so on, to determine the assembly insertion point corresponding to each plan.

[0086] It should be noted that the elevation refers to the height of the base of each floor corresponding to each plan view relative to the ground. Furthermore, the elevation of each plan view can be recorded in a floor table or elevation table, which can be located outside the plan view. The elevation of each plan view can be determined by identifying the number in the elevation column corresponding to the floor number of each plan view in the physical structure corresponding to the 3D model in the floor table or elevation table.

[0087] For example, the Figure 5 A schematic diagram of a floor table structure provided in one embodiment of the present application is shown as follows: Figure 5 As shown, the elevation of the first floor plan (i.e., the beam and slab plan for the second underground floor) is -8.8 meters (m), and the floor height is 3.5 meters. Therefore, the elevation of the second floor plan (i.e., the beam and slab plan for the first underground floor) is -8.8 + 3.5 = -5.3 meters, and the floor height is 5.25 meters. Therefore, by identifying the floor table, the elevation corresponding to each floor plan can be determined.

[0088] Afterwards, the elevation corresponding to each floor plan is determined as the assembly insertion point of that floor plan in the 3D model. That is, the elevation corresponding to the first floor plan is determined as the assembly insertion point of the first floor plan, the elevation corresponding to the second floor plan is determined as the assembly insertion point of the second floor plan, and so on, determining the assembly insertion point corresponding to each floor plan.

[0089] Step 105: Assemble the single-layer models identified by the various plan views according to the multiple drawing groups, the locations of the positioning points, and the assembly insertion points to establish a three-dimensional model.

[0090] It should be noted that, in addition to the above-mentioned plan view name drawing group, axis drawing group and axis name drawing group, the drawing group in the embodiment of the present application also includes: various component drawing groups and annotation information drawing groups.

[0091] Among them, the component drawing group specifically includes wall drawing group, infill wall drawing group, beam drawing group, column drawing group, door drawing group, window drawing group, stair drawing group, and floor opening drawing group, etc.

[0092] Furthermore, the annotation information drawing group may be a drawing group corresponding to the annotation information of the components in the component drawing group. Specifically, the annotation information drawing group may include: a wall plan drawing group, a beam annotation drawing group, a column annotation drawing group, a door annotation drawing group, and a window annotation drawing group.

[0093] Furthermore, in this step, the single-layer models generated by the plane map recognition are assembled by identifying multiple types of map groups, positioning point positions, and assembly insertion points to jointly build a three-dimensional model. The specific method includes:

[0094] Step 1051: insert each plan view into the corresponding assembly insertion point, and make the positioning point positions in each plan view overlap in the vertical direction to form a three-dimensional model framework.

[0095] Step 1052: Determine the three-dimensional model components and the three-dimensional model data according to the component drawing group and the annotation information drawing group corresponding to each plan view.

[0096] It should be noted that the component annotation information in the embodiments of the present application can provide dimensional information for the component that cannot be reflected in the component drawing group of the drawing. For example, if the component is a beam component, the dimensional information that can be reflected in the plan view of the beam component is only the length and width dimensions, and the height dimension of the beam component cannot be reflected. Therefore, the height dimension of the beam component needs to be annotated, and the height dimension of the beam component is the annotation information of the beam component.

[0097] Furthermore, in this step, the components in the drawings and the component drawing groups corresponding to the plan drawings can be identified and analyzed to determine the 3D model components. Furthermore, the dimension information of the components in the plan drawings and the annotation information of the components in the annotation information drawing group can be identified and analyzed to determine the 3D model data, which can be the dimension information corresponding to each component in the plan drawings.

[0098] For example, if the drawing is an architectural drawing, the door and window components in the drawing can be identified, and the size information of each door and window component in the drawing (such as length, height, and thickness) can be identified to determine the corresponding three-dimensional model data of the door and window in the three-dimensional model.

[0099] Furthermore, for structural engineering drawings of beams, columns, floor slabs, and shear walls, this step can identify and analyze the drawings based on the drawing rules of the National Building Standard Design Drawings. Furthermore, during the rebar identification phase, it can automatically identify centralized annotations, in-situ annotations, in-situ drawing methods, and tabular drawing methods within the flat method to obtain the corresponding 3D model data for the rebar structure.

[0100] In addition, when analyzing the plan view, the height-to-thickness ratio of the vertical component can be automatically determined based on the planar dimensions. When the height-to-thickness ratio of the wall limb is no greater than a preset threshold (for example, 4), the component is confirmed to be a column component. This ensures that the column component can be accurately identified even in the wall layer.

[0101] Furthermore, in an embodiment of the present application, after the three-dimensional model data is determined, the three-dimensional model data can be stored in a SQLite database, where the SQLite is a software library that can specifically implement a self-sufficient, serverless, zero-configuration, transactional SQL database engine.

[0102] Step 1053: construct a three-dimensional model based on the three-dimensional model framework, three-dimensional model components and three-dimensional model data.

[0103] Specifically, the three-dimensional model can be constructed by assembling the components into the plane drawings in the three-dimensional model framework according to the three-dimensional model data and the three-dimensional model components to obtain the single-layer models corresponding to the plane drawings.

[0104] In addition, it should be noted that when converting a plan or structural plan into structural three-dimensional model data, the annotation information will be automatically parsed to correct and improve the data of each component drawing group, thereby ensuring the accuracy of the three-dimensional model establishment.

[0105] It can be seen from the above steps 1051-1053 that when constructing a three-dimensional model, the method of the present application performs synchronous and unified processing on each layer of the model, which greatly improves work efficiency.

[0106] In addition, it should be noted that the modeling method based on drawing recognition provided in the embodiment of the present application can be specifically used for building model conversion, structural model conversion, electromechanical equipment model conversion, or aluminum template model conversion.

[0107] In summary, in the modeling method based on drawing recognition provided by the embodiment of the present application, the elements of the plan view of the drawing can be identified, and the elements are classified to obtain multiple types of drawing groups. The drawings are divided according to the plan name drawing group, axis drawing group and axis name drawing group to obtain the various plan views in the drawing, and the location of the positioning point of each plan view is determined, and the elevation of each plan view is also determined. And, according to the plan view name corresponding to each plan view and the elevation of each plan view, the assembly insertion point of each plan view in the three-dimensional model is determined; finally, the single-layer models generated by the identification of each plan view are assembled according to the multiple types of drawing groups, the location of the positioning point and the assembly insertion point to establish a three-dimensional model of the entire building. In the method provided by the present application, when establishing a three-dimensional model, there is no need for manual drawing recognition or manual reading, which makes the conversion and recognition modeling work intelligent, improves work efficiency and reduces error rate. Moreover, in the present application, when constructing a three-dimensional model, the model of each layer is uniformly operated to automatically complete the conversion of the entire building, rather than operating layer by layer, thereby further improving work efficiency.

[0108] Example 2

[0109] This application also provides a modeling system based on drawing recognition, which is suitable for Figure 1 The modeling method based on drawing recognition shown includes:

[0110] an identification unit, configured to identify the drawing to obtain pixels of a plan view of the drawing, wherein the drawing includes at least one plan view;

[0111] a classification unit for classifying the pixels according to the layer names corresponding to the pixels or the graphic attributes of the pixels to obtain a multi-category drawing group corresponding to each plan view, wherein the multi-category drawing group includes at least a plan view name drawing group, an axis drawing group, an axis name drawing group, and various component drawing groups;

[0112] a processing unit configured to divide the drawing into the plan view group, the axis view group, and the axis view group to obtain the plan views in the drawing; and determine the location of the positioning point of each plan view according to the axis view group and the axis view group;

[0113] A determination unit, configured to determine an assembly insertion point of each plan in the three-dimensional model according to the determined elevation of each plan, the plan name corresponding to each plan, and the elevation of each plan;

[0114] An assembling unit, configured to assemble the single-layer models generated by identifying the various plan views according to the multiple drawing groups, the locations of the positioning points, and the assembly insertion points to establish a three-dimensional model of the entire building;

[0115] Among them, the graphic elements include at least one of the following: graphic element of floor plan name, axis graphic element, axis name graphic element, various component graphic elements, and annotation information graphic element;

[0116] The recognition unit is further configured to:

[0117] Recognize the peripheral text of the floor plan, and recognize the text segment with the word "Figure" as the graphic element of the floor plan name corresponding to the floor plan;

[0118] Recognize the lines in the floor plan, and recognize the lines whose two endpoints are both located on the periphery of the floor plan as the axis graphic elements of the floor plan;

[0119] Recognize the numerical annotations in the floor plan, and recognize the numerical annotations within the first preset distance from the axis endpoints as the axis name graphic elements of the floor plan;

[0120] Recognize the mutual positions, text annotations, and extension directions of each line in the floor plan to identify various component graphic elements of the floor plan;

[0121] Based on the numerical annotations within the second preset distance on both sides of the longitudinal center line and / or transverse center line of various components, and / or the parameter tables corresponding to various components, identify the annotation information graphic elements of various components of the floor plan.

[0122] Optionally, the component graphic elements at least include: wall graphic element, infilled wall graphic element, beam graphic element, column graphic element, door graphic element, window graphic element, staircase graphic element, and floor slab opening graphic element.

[0123] Optionally, the recognition unit is further configured to: recognize the column graphic element of the floor plan, including: recognizing the closed polygons in the floor plan to identify column components, and generating a column section based on the shape and size of the closed polygon, and arranging the column section at the axis node closest to the closed polygon;

[0124] Recognize the wall graphic element of the floor plan, including: recognizing the parallel wall lines in the floor plan, when the distance between a pair of parallel wall lines is between the minimum wall thickness and the maximum wall thickness, determine that the wall component is recognized, determine the distance between the pair of parallel wall lines as the wall thickness, and determine the planar position of the wall component in the floor plan based on the starting position and ending position of the wall line; and when there is an axis parallel to the wall line of the wall component around the wall component, and the distance between the parallel wall line and the axis is less than the preset first maximum eccentricity distance, arrange the wall component on the axis; when there is no axis parallel to the wall line of the wall component around the wall component, generate an axis at the center of the wall component;

[0125] Identifying beam elements of the plan view includes: identifying parallel beam lines in the plan view, determining that a beam component is identified when a distance between a pair of parallel beam lines is between a minimum beam width and a maximum beam width, determining the distance between the pair of parallel beam lines as the beam width, and determining the planar position of the beam in the plan view based on the starting position and the end position of the beam lines; and, when an axis parallel to the beam line of the beam component exists around the beam component and the distance between the parallel beam line and the axis is less than a preset second maximum eccentric distance, arranging the beam component on the axis; and when an axis parallel to the beam line of the beam component does not exist around the beam component, generating an axis at the center of the beam component;

[0126] Identifying door pixels and window pixels in the plan view includes: identifying door and window openings or identifying parallel door and window line segments on the plane of the wall component to identify the door and window components, and determining the positions of the doors and windows in the plan view based on the positions of the door and window openings or the parallel door and window line segments on the plane of the wall component.

[0127] Optionally, the identification unit is further configured to:

[0128] When a vertical component is identified, determining a height-to-thickness ratio of the vertical component according to a planar dimension of the vertical component;

[0129] Determining whether the vertical member is a column member is based on the height-to-thickness ratio of the vertical member; wherein, when the height-to-thickness ratio of the cross-section of the vertical member is not greater than a preset threshold, the member is confirmed to be a column member.

[0130] Optionally, the axis of the plan view spans the plan view, and the length of the axis is greater than the length of the plan view in the direction in which the axis extends;

[0131] Furthermore, the axis name is located at the end point of the axis, and the plan name is located on the periphery of the plan.

[0132] Optionally, the processing unit is further configured to:

[0133] Determine the plane name and axis endpoints corresponding to the plane as the boundary of the plane, and divide the plane according to the boundary of the plane;

[0134] or,

[0135] The plan name and axis name corresponding to the plan are determined as the boundary of the plan, and the plan is divided according to the boundary of the plan.

[0136] Optionally, the processing unit is further configured to:

[0137] Two intersecting axes are selected from the axes of the plan view, and the intersection of the two axes is located in the plan view, and the intersection of the two axes is determined as the positioning point position.

[0138] Optionally, the axis distribution and axis names are the same for each plan; and

[0139] The axis names of the two corresponding axes between different plan views are the same.

[0140] Optionally, the plan view name includes the layer number of the plan view in the physical structure corresponding to the three-dimensional model, and the standard layer sequence number corresponding to the plan view.

[0141] Optionally, the drawings also include a floor table or a vertical section elevation table corresponding to each plan view;

[0142] The determining unit is further configured to:

[0143] Determining the layer number of each plan view in the physical structure corresponding to the three-dimensional model according to the plan view name corresponding to the plan view;

[0144] Identify the number in the elevation column corresponding to the floor number of each plan view in the physical structure corresponding to the three-dimensional model in the floor table or vertical section elevation table corresponding to each plan view to determine the elevation of each plan view.

[0145] Optionally, the determining unit is further configured to:

[0146] Determine, according to the plan name corresponding to the plan, the layer number of the plan in the physical structure corresponding to the three-dimensional model, and the standard layer sequence number corresponding to the plan;

[0147] Sorting the plan views in the drawing according to the number of layers of the plan views in the physical structure corresponding to the three-dimensional model and the standard layer serial numbers corresponding to the plan views, so as to determine a first-layer plan view located at the first layer of the three-dimensional model, a second-layer plan view located at the second layer of the three-dimensional model, a third-layer plan view located at the third layer of the three-dimensional model, and an nth-layer plan view located at the nth layer of the three-dimensional model; wherein n is a positive integer;

[0148] According to the elevation corresponding to the first floor plan, the assembly insertion point of the first floor plan in the three-dimensional model is determined; according to the elevation corresponding to the second floor plan, the assembly insertion point of the second floor plan in the three-dimensional model is determined; and so on, the assembly insertion point corresponding to each plan is determined.

[0149] Optionally, the constructed drawing group includes at least: a wall drawing group, a filled wall drawing group, a beam drawing group, a column drawing group, a door drawing group, a window drawing group, a staircase drawing group, and a floor opening drawing group.

[0150] Optionally, the group of graphs also includes a group of annotated information graphs.

[0151] Optionally, the assembling unit is further used to:

[0152] Insert each plan view into the corresponding assembly insertion point, and make the positioning points in each plan view overlap in the vertical direction to form a three-dimensional model framework;

[0153] Determine the three-dimensional model components and three-dimensional model data according to the component drawing group and the annotation information drawing group corresponding to each plan view;

[0154] A three-dimensional model is constructed according to the three-dimensional model framework, the three-dimensional model components and the three-dimensional model data.

[0155] The embodiment of the present application also provides a modeling terminal based on drawing recognition, comprising: a transceiver; a memory; a processor, connected to the transceiver and the memory respectively, configured to control the wireless signal transmission and reception of the transceiver by executing computer executable instructions on the memory, and capable of realizing Figure 1 The method shown.

[0156] The embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions; after the computer executable instructions are executed by the processor, they can realize Figure 1 The method shown.

[0157] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine different embodiments or examples described in this specification and features of different embodiments or examples without contradiction.

[0158] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present application belong.

[0159] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A modeling method based on drawing recognition, characterized in that: The method includes: Identifying the drawing to obtain the graphic elements of the plan view of the drawing, where the drawing includes at least one plan view; Classifying the graphic elements according to the layer names corresponding to the graphic elements or the graphic attributes of the graphic elements to obtain multiple types of graphic groups corresponding to each plan view, and the multiple types of graphic groups at least include a plan view name graphic group, an axis graphic group, an axis name graphic group, various component graphic groups, and a dimensioning information graphic group; Dividing the drawing according to the plan view name graphic group, the axis graphic group, and the axis name graphic group to obtain each plan view in the drawing; and selecting two intersecting axes from the axes of the plan view, where the intersection point of the two axes is located in the plan view, and determining the positioning point position of each plan view at the intersection point of the two axes; where the axis distribution and axis names of each plan view are the same, and the axis names of the two corresponding axes between different plan views are the same; Determining the elevation of each plan view, and determining the assembly insertion point of the single-layer model generated by identifying each plan view in the three-dimensional model according to the plan view name corresponding to each plan view and the elevation of each plan view; Inserting each plan view into the corresponding assembly insertion point, and making the positioning point positions in each plan view overlap in the vertical direction to form a three-dimensional model framework; determining the three-dimensional model components and the three-dimensional model data according to the component graphic group and the dimensioning information graphic group corresponding to each plan view; constructing a whole-building three-dimensional model according to the three-dimensional model framework, the three-dimensional model components, and the three-dimensional model data; Wherein, after converting the plan view or the structural plan view into the three-dimensional model data, automatically parsing the dimensioning information to correct the data of each component graphic group, and after determining the three-dimensional model data, storing the three-dimensional model data in the SQLite database, and the graphic elements include at least one of the following: plan view name graphic elements, axis graphic elements, axis name graphic elements, various component graphic elements, dimensioning information graphic elements; The identifying the drawing to obtain the graphic elements of the plan view of the drawing includes: Identifying the peripheral text of the plan view, and identifying the text segment with the word "drawing" as the plan view name graphic element corresponding to the plan view; Identifying the lines in the plan view, and identifying the lines with both ends of the line located on the periphery of the plan view as the axis graphic elements of the plan view; Identifying the digital dimensioning in the plan view, and identifying the digital dimensioning within a first preset distance from the axis endpoint as the axis name graphic element of the plan view; Identifying the mutual positions of the various lines, the text dimensioning, and the extension directions of the various lines in the plan view to identify the various component graphic elements of the plan view; Identifying the dimensioning information graphic elements of the various components of the plan view based on the digital dimensioning within a second preset distance on both sides of the longitudinal center line and / or the transverse center line of the various components, and / or the parameter tables corresponding to the various components.

2. The method according to claim 1, wherein The component graphic elements at least include: wall graphic elements, infill wall graphic elements, beam graphic elements, column graphic elements, door graphic elements, window graphic elements, stair graphic elements, and floor slab hole graphic elements.

3. The method according to claim 2, wherein Identifying column elements of the plan view, including: identifying a closed polygon in the plan view to identify a column member, and generating a column cross section based on the shape and size of the closed polygon, and arranging the column cross section on an axis node closest to the closed polygon; Identifying wall elements of the plan view includes: identifying parallel wall lines in the plan view, determining that a wall component is identified when a distance between a pair of parallel wall lines is between a minimum wall thickness and a maximum wall thickness, determining the distance between the pair of parallel wall lines as the wall thickness, and determining a planar position of the wall component in the plan view based on a starting position and an end position of the wall lines; and, when an axis parallel to the wall line of the wall component exists around the wall component and the distance between the parallel wall line and the axis is less than a preset first maximum eccentric distance, arranging the wall component on the axis; and when an axis parallel to the wall line of the wall component does not exist around the wall component, generating an axis at the center of the wall component; Identifying beam elements of the plan view includes: identifying parallel beam lines in the plan view, determining that a beam component is identified when a distance between a pair of parallel beam lines is between a minimum beam width and a maximum beam width, determining the distance between the pair of parallel beam lines as the beam width, and determining the planar position of the beam in the plan view based on the starting position and the end position of the beam lines; and, when an axis parallel to the beam line of the beam component exists around the beam component and the distance between the parallel beam line and the axis is less than a preset second maximum eccentric distance, arranging the beam component on the axis; and when an axis parallel to the beam line of the beam component does not exist around the beam component, generating an axis at the center of the beam component; Identifying door pixels and window pixels in the plan view includes: identifying door and window openings or identifying parallel door and window line segments on the plane of the wall component to identify the door and window components, and determining the positions of the doors and windows in the plan view based on the positions of the door and window openings or the parallel door and window line segments on the plane of the wall component.

4. The method according to claim 3, wherein Identifying the columnar pixels of the planar graph further includes: When a vertical component is identified, determining a height-to-thickness ratio of the vertical component according to a planar dimension of the vertical component; Determining whether the vertical member is a column member is based on the height-to-thickness ratio of the vertical member; wherein, when the height-to-thickness ratio of the cross-section of the vertical member is not greater than a preset threshold, the member is confirmed to be a column member.

5. The method according to claim 1, wherein The axis of the plan view spans the plan view, and the length of the axis is greater than the length of the plan view in the direction in which the axis extends; Furthermore, the axis name is located at the end point of the axis, and the plan name is located on the periphery of the plan.

6. The method according to claim 5, wherein The drawing is divided according to the plan view name group, the axis view group and the axis name view group to obtain each plan view in the drawing, including: Determine the plane name and axis endpoints corresponding to the plane as the boundary of the plane, and divide the plane according to the boundary of the plane; or, The plan name and axis name corresponding to the plan are determined as the boundary of the plan, and the plan is divided according to the boundary of the plan.

7. The method according to claim 1, wherein The plan view name includes the layer number of the plan view in the physical structure corresponding to the three-dimensional model, and the standard layer serial number corresponding to the plan view.

8. The method according to claim 7, wherein The drawings also include a floor table or a vertical section elevation table corresponding to each plan view; Determining the elevation of each plan view includes: Determining the layer number of each plan view in the physical structure corresponding to the three-dimensional model according to the plan view name corresponding to the plan view; Identify the number in the elevation column corresponding to the floor number of each plan view in the physical structure corresponding to the three-dimensional model in the floor table or vertical section elevation table corresponding to each plan view to determine the elevation of each plan view.

9. The method according to claim 8, wherein The step of determining the assembly insertion point of each plan in the three-dimensional model according to the plan name corresponding to each plan and the elevation of each plan includes: Determine, according to the plan name corresponding to the plan, the layer number of the plan in the physical structure corresponding to the three-dimensional model, and the standard layer sequence number corresponding to the plan; Sorting the plan views in the drawing according to the number of layers of the plan views in the physical structure corresponding to the three-dimensional model and the standard layer serial numbers corresponding to the plan views, so as to determine a first-layer plan view located at the first layer of the three-dimensional model, a second-layer plan view located at the second layer of the three-dimensional model, a third-layer plan view located at the third layer of the three-dimensional model, and an nth-layer plan view located at the nth layer of the three-dimensional model; wherein n is a positive integer; According to the elevation corresponding to the first floor plan, the assembly insertion point of the first floor plan in the three-dimensional model is determined; according to the elevation corresponding to the second floor plan, the assembly insertion point of the second floor plan in the three-dimensional model is determined; and so on, the assembly insertion point corresponding to each plan is determined.

10. The method according to claim 1, wherein The component drawing group includes at least: a wall drawing group, a filled wall drawing group, a beam drawing group, a column drawing group, a door drawing group, a window drawing group, a staircase drawing group, and a floor opening drawing group.

11. A modeling system based on drawing recognition, used to execute the modeling method based on drawing recognition according to any one of claims 1 to 10, characterized in that: include: an identification unit, configured to identify the drawing to obtain pixels of a plan view of the drawing, wherein the drawing includes at least one plan view; a classification unit for classifying the pixels according to the layer names corresponding to the pixels or the graphic attributes of the pixels to obtain a multi-category drawing group corresponding to each plan view, wherein the multi-category drawing group includes at least a plan view name drawing group, an axis drawing group, an axis name drawing group, various component drawing groups, and a annotation information drawing group; a processing unit configured to divide the drawing according to the plan name group, the axis group, and the axis name group to obtain each plan in the drawing; and select two intersecting axes from the axes of the plan, wherein the intersection of the two axes is located in the plan, and determine the location of the positioning point of each plan using the intersection of the two axes; wherein the axis distribution and axis name of each plan are the same, and the axis names of the two axes corresponding to different plan views are the same; A determination unit, configured to determine the assembly insertion point of each floor plan in the three-dimensional model according to the determined elevation of each floor plan, the floor plan name corresponding to each floor plan, and the elevation of each floor plan; An assembly unit, configured to insert each floor plan into the corresponding assembly insertion point, and make the positioning points in each floor plan overlap in the vertical direction to form a three-dimensional model framework; determine the three-dimensional model components and three-dimensional model data according to the component drawing group and the annotation information drawing group corresponding to each floor plan; construct a full-building three-dimensional model according to the three-dimensional model framework, the three-dimensional model components, and the three-dimensional model data; Wherein, after converting the floor plan or the structural floor plan into the three-dimensional model data, the annotation information is automatically parsed to correct the data of each component drawing group. After determining the three-dimensional model data, the three-dimensional model data is stored in the SQLite database. The graphic elements include at least one of the following: floor plan name graphic element, axis graphic element, axis name graphic element, various component graphic elements, annotation information graphic element; The recognition unit is further configured to: Recognize the peripheral text of the floor plan, and recognize the text segment with the word "Figure" as the floor plan name graphic element corresponding to the floor plan; Recognize the lines in the floor plan, and recognize the lines with both ends of the line located on the periphery of the floor plan as the axis graphic elements of the floor plan; Recognize the digital annotations in the floor plan, and recognize the digital annotations within a first preset distance from the axis endpoints as the axis name graphic elements of the floor plan; Recognize the mutual positions, text annotations, and extension directions of each line in the floor plan to recognize various component graphic elements of the floor plan; Recognize digital annotations within a second preset distance on both sides of the longitudinal center line and / or the transverse center line of various components to recognize the annotation information graphic elements of various components of the floor plan.

12. A modeling terminal based on drawing recognition, comprising: A transceiver; A memory; A processor, respectively connected to the transceiver and the memory, configured to control the wireless signal transceiver of the transceiver by executing the computer-executable instructions on the memory, and capable of implementing the method according to any one of claims 1 to 10.

13. A computer storage medium, wherein: The computer storage medium stores computer-executable instructions; after being executed by the processor, the computer-executable instructions are capable of implementing the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Vertical graph identification method for converting architectural drawing into three-dimensional BIM model

    CN109993827A