Masonry wall modeling method, device, equipment and storage medium
By analyzing and filling gaps in CAD wall lines and modeling components, the method creates a complete masonry wall model with integrated doors and windows, addressing discontinuities in CAD drawings.
Patent Information
- Application Number
- CN202111361873.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-17
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2041-11-17
AI Technical Summary
CAD drawings with doors and windows result in discontinuous wall lines, leading to gaps in the built wall model and the inability to establish door and window models directly in Revit building information modeling.
A method to analyze wall and component positions, fill gaps between wall lines using first and second position information, and model components within the wall model to create a complete masonry wall model.
The method produces a complete wall model with integrated components, eliminating gaps and ensuring accurate representation of masonry walls with doors and windows.
Smart Images

Figure CN114297741B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of modeling technology, and in particular to a masonry wall modeling method, device, equipment and storage medium. Background Art
[0002] In CAD (Computer Aided Design) drawings, there are doors and windows on some walls, which makes the wall lines we extract from the CAD drawings discontinuous. If we do not process these discontinuous wall lines and directly build the wall model, the built wall model will have large gaps. In Revit (software that implements building information modeling technology), it is impossible to build doors or windows directly in the gaps in the wall model. Summary of the invention
[0003] The present application provides a masonry wall modeling method, device, equipment and storage medium, which are used to solve the problem that the wall lines of the walls containing doors and windows in the architectural drawings are discontinuous, resulting in gaps in the established wall model and the inability to establish door and window models at the gaps.
[0004] In a first aspect, an embodiment of the present application provides a masonry wall modeling method, comprising:
[0005] Analyze the first position information of each wall line from the architectural drawings;
[0006] Parsing second position information and size information of each component embedded in the wall from the architectural drawing, wherein the component embedded in the wall includes at least one of a door and a window;
[0007] According to the first position information and the second position information, the vacant parts between the wall lines on both sides that are connected to the component embedded in the wall are filled to obtain third position information of the filled wall lines;
[0008] Establishing a wall model according to the third position information;
[0009] The component embedded in the wall is modeled in the wall model according to the second position information and the size information to obtain a masonry wall model, wherein the masonry wall model includes the wall model and a model of the component embedded in the wall.
[0010] Optionally, parsing the first position information of each wall line from the architectural drawing includes:
[0011] From the architectural drawing, based on the layer information, identifying the first layer where the wall line is located;
[0012] The first location information is parsed from the first layer.
[0013] Optionally, parsing the second position information and size information of each component embedded in the wall from the architectural drawing includes:
[0014] From the architectural drawing, based on the layer information, identifying the second layer where the component embedded in the wall is located;
[0015] The second position information and the size information are parsed from the second layer.
[0016] Optionally, the step of filling the gap between the wall lines on both sides of the wall lines that are connected to the component nested in the wall according to the first position information and the second position information to obtain the third position information of the filled wall lines includes:
[0017] According to the first position information and the second position information, identifying the wall lines on both sides of the component that is connected to the component nested in the wall as the wall lines of the masonry wall;
[0018] The gaps between the wall lines of the masonry wall are filled to obtain the third position information.
[0019] Optionally, the identifying, according to the first position information and the second position information, the wall lines on both sides that are connected to the component nested in the wall as wall lines of the masonry wall includes:
[0020] According to the first position information and the second position information, determining whether the contour line of the component nested in the wall intersects with the wall line;
[0021] If the contour line of the component embedded in the wall intersects with the wall line, the wall line is used as the wall line of the masonry wall.
[0022] Optionally, the filling of the gaps between the wall lines of the masonry wall to obtain the third position information includes:
[0023] Connecting the wall lines of the masonry wall to obtain the completed wall line;
[0024] The third position information of the completed rear wall line is obtained.
[0025] Optionally, modeling the component nested in the wall in the wall model according to the second position information and the size information to obtain a masonry wall model includes:
[0026] Modeling the component nested in the wall in the wall model according to the second position information and the size information to obtain a model of the component nested in the wall;
[0027] From the wall model, removing the wall portion at the location where the model of the component embedded in the wall is located;
[0028] The wall model after removing the wall part and the model of the component embedded in the wall are combined as the masonry wall model.
[0029] In a second aspect, an embodiment of the present application provides a masonry wall modeling device, comprising:
[0030] A first parsing module, used to parse the first position information of each wall line from the architectural drawing;
[0031] A second parsing module is used to parse the second position information and size information of each component embedded in the wall from the architectural drawing, wherein the component embedded in the wall includes at least one of a door and a window;
[0032] A filling module, configured to fill in the gaps between the wall lines on both sides of the wall that are connected to the component embedded in the wall according to the first position information and the second position information, and obtain third position information of the filled wall lines;
[0033] A first processing module, used for establishing a wall model according to the third position information;
[0034] The second processing module is used to model the component embedded in the wall in the wall model according to the second position information and the size information to obtain a masonry wall model, wherein the masonry wall model includes the wall model and the component model embedded in the wall.
[0035] Optionally, the first parsing module includes a first identification submodule and a first parsing submodule;
[0036] The first identification submodule is used to identify the first layer where the wall line is located from the architectural drawing based on the layer information;
[0037] The first parsing submodule is used to parse the first location information from the first layer.
[0038] Optionally, the second parsing module includes a second identification submodule and a second parsing submodule;
[0039] The second identification submodule is used to identify the second layer where the component embedded in the wall is located from the architectural drawing based on the layer information;
[0040] The second parsing submodule is used to parse the second position information and the size information from the second layer.
[0041] Optionally, the completion module includes a third identification submodule and a completion submodule;
[0042] The third identification submodule is used to identify the wall lines on both sides of the component that is connected to the component embedded in the wall as the wall lines of the masonry wall according to the first position information and the second position information;
[0043] The filling submodule is used to fill the gaps between the wall lines of the masonry wall to obtain the third position information.
[0044] Optionally, the third identification submodule includes a judgment unit and a processing unit;
[0045] The judging unit is configured to judge whether the contour line of the component embedded in the wall intersects with the wall line according to the first position information and the second position information;
[0046] The processing unit is configured to use the wall line as the wall line of the masonry wall if the contour line of the component embedded in the wall intersects with the wall line.
[0047] Optionally, the completion submodule includes a first acquisition unit and a second acquisition unit;
[0048] The first acquisition unit is used to connect the wall lines of the masonry wall to obtain the filled wall line;
[0049] The second acquisition unit is used to acquire the third position information of the padded rear wall line.
[0050] Optionally, the second processing module includes a modeling submodule, a removal submodule and a processing submodule;
[0051] The modeling submodule is used to model the component embedded in the wall in the wall model according to the second position information and the size information, so as to obtain a model of the component embedded in the wall;
[0052] The removal submodule is used to remove the wall part at the location where the model of the component embedded in the wall is located from the wall model;
[0053] The processing submodule is used to use the combination of the wall model after removing the wall part and the model of the component embedded in the wall as the masonry wall model.
[0054] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a memory, and a communication bus, wherein the processor and the memory communicate with each other via the communication bus;
[0055] The memory is used to store computer programs;
[0056] The processor is used to execute the program stored in the memory to implement the masonry wall modeling method described in the first aspect.
[0057] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the masonry wall modeling method described in the first aspect.
[0058] The above-mentioned technical scheme provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application parses the first position information of each wall line from the architectural drawings, and parses the second position information and size information of each component nested in the wall from the architectural drawings, wherein the component nested in the wall includes at least one of a door and a window, and according to the first position information and the second position information, fills in the vacant parts between the wall lines on both sides that are connected to the component nested in the wall, and obtains the third position information of the filled wall lines, and establishes a wall model according to the third position information, and models the components nested in the wall in the wall model according to the second position information and the size information, and obtains a masonry wall model, wherein the masonry wall model includes the wall model and the model of the component nested in the wall.
[0059] Compared with the prior art, in which the wall lines of the walls containing doors and windows in the architectural drawings are discontinuous, resulting in gaps in the established wall model, and the door and window models cannot be established at the gaps, the present application fills the gaps between the wall lines on both sides that are connected to the components embedded in the wall through the first position information of the wall lines and the second position information of the components embedded in the wall, establishes the wall model according to the third position information of the filled wall lines, and then models the components embedded in the wall in the wall model through the second position information and size information of the components embedded in the wall, thereby obtaining In order to obtain a masonry wall model, a wall model with the rear wall line filled in is first established. The wall model with the rear wall line filled in has no missing parts and is a complete wall model. Then, in the wall model with the rear wall line filled in, the components nested in the wall are modeled to obtain a masonry wall model. The established masonry wall model is consistent with the actual masonry wall, rather than a model with missing parts in the wall model and no components nested in the wall on the wall model. This solves the problem that the wall lines of the walls containing doors and windows in the architectural drawings are discontinuous, resulting in missing parts in the established wall model and the inability to establish door and window models at the missing positions. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0061] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0062] Figure 1 A schematic diagram of a wall line and components embedded in a wall in a building drawing in the prior art;
[0063] Figure 2 A schematic diagram of a method flow for modeling a masonry wall in an embodiment of the present application;
[0064] Figure 3 This is a flow chart of a method for obtaining third position information of a supplementary rear wall line in a specific embodiment of the present application;
[0065] Figure 4 This is a schematic diagram of completing the rear wall line in a specific embodiment of the present application;
[0066] Figure 5 This is a schematic diagram of the structure of a masonry wall modeling device in an embodiment of the present application;
[0067] Figure 6 Schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0068] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0069] The inventors analyzed the wall lines in the architectural drawings and the components embedded in the wall in the prior art and found that: Figure 1 As shown in the figure, it is a top view of the wall and door in the architectural drawing. The rectangular box represents the wall, the thick solid line represents the door, and the edge of the rectangular box represents the wall line. The outline of the door in the architectural drawing divides a wall into two discontinuous wall lines, namely Figure 1 If the discontinuous wall lines are not processed and the wall model is directly established, there will be a vacant part in the area where the door is located in the wall model, which is equivalent to establishing two separate walls, while in reality it should be one wall, and the door model cannot be directly established in the vacant part.
[0070] In an embodiment of the present application, a masonry wall modeling method is provided, which can be applied to a server, and of course, can also be applied to other electronic devices, such as terminals (mobile phones, tablet computers, etc.). In an embodiment of the present application, the method is applied to a server as an example for description.
[0071] In the present application embodiment, Figure 2 As shown in the figure, the method flow of masonry wall modeling mainly includes:
[0072] Step 201, parse the first position information of each wall line from the architectural drawing.
[0073] The architectural drawings may be drawings in various formats, for example, computer-aided design (CAD) drawings with a file extension of .dwg or .sat, image drawings with a file extension of .jpg or .tif, portable document format (PDF) drawings with a file extension of .pdf, etc. The protection scope of the present application is not limited to the specific format of the architectural drawings. In the embodiments of the present application, the architectural drawings are CAD drawings as an example for illustration.
[0074] The first position information of the wall line may be the two-dimensional coordinate value of each point in the wall line in the architectural drawing, or the two-dimensional coordinate value of a key point in the wall line, for example, the two-dimensional coordinate values of the two end points of each wall line.
[0075] In a specific embodiment, parsing the first position information of each wall line from the architectural drawing includes: identifying the first layer where the wall line is located based on the layer information in the architectural drawing; and parsing the first position information from the first layer.
[0076] Layer information may include the identification of each layer in the architectural drawing, and may also include information such as line color and line type of each layer.
[0077] Each wall line is in the first layer.
[0078] Step 202: parse the second position information and size information of each component embedded in the wall from the architectural drawing, wherein the component embedded in the wall includes at least one of a door and a window.
[0079] The second position information of the component nested in the wall may be the two-dimensional coordinate value of each point in the outline of the component nested in the wall in the architectural drawing, or the two-dimensional coordinate value of the key point in the outline of the component nested in the wall, for example, the two-dimensional coordinate value of the two endpoints of each outline.
[0080] The size information of the component embedded in the wall may include information such as the length, width, thickness, etc. of the component embedded in the wall.
[0081] In a specific embodiment, the second position information and size information of each component nested in the wall are parsed from the architectural drawings, including: from the architectural drawings, based on the layer information, identifying the second layer where the component nested in the wall is located; and parsing the second position information and size information from the second layer.
[0082] Layer information may include the identification of each layer in the architectural drawing, and may also include information such as line color and line type of each layer.
[0083] Each component nested in the wall is in the second layer.
[0084] Step 203, based on the first position information and the second position information, fill in the gaps between the wall lines on both sides that are connected to the components embedded in the wall, and obtain third position information of the filled wall lines.
[0085] In a specific embodiment, Figure 3 As shown, according to the first position information and the second position information, the vacant part between the wall lines on both sides that are connected to the components embedded in the wall is filled to obtain the third position information of the filled wall line, including:
[0086] Step 301: According to the first position information and the second position information, the wall lines on both sides of the components that are connected to the components nested in the wall are identified as the wall lines of the masonry wall.
[0087] In a specific embodiment, based on the first position information and the second position information, the wall lines on both sides of the components nested in the wall that are connected are identified as the wall lines of the masonry wall, including: based on the first position information and the second position information, determining whether the outline line of the components nested in the wall and the wall line intersect; if the outline line of the components nested in the wall and the wall line intersect, then using the wall line as the wall line of the masonry wall.
[0088] Judging whether the contour line of the component nested in the wall intersects with the wall line according to the first position information and the second position information may be judging whether the contour line of the component nested in the wall and the wall line have overlapping endpoints.
[0089] Step 302, fill in the gaps between the wall lines of the masonry wall to obtain third position information.
[0090] In a specific embodiment, filling the gaps between the wall lines of the masonry wall to obtain the third position information includes: connecting the wall lines of the masonry wall to obtain a filled rear wall line; and obtaining the third position information of the filled rear wall line.
[0091] The third position information of the back wall line can be the two-dimensional coordinate value of each point in the back wall line in the architectural drawing, or the two-dimensional coordinate value of the key point in the back wall line, for example, the two-dimensional coordinate value of each endpoint of the back wall line.
[0092] In a specific embodiment, Figure 4 The figure shows a schematic diagram of completing the rear wall line. Figure 4 In the figure, the rectangular box represents the wall, the thick solid line represents the door, the edge of the rectangular box represents the wall line, the dotted line represents the filled wall line, and the edge of the rectangular box plus the dotted line represents the filled wall line.
[0093] Step 204: Create a wall model based on the third position information.
[0094] Step 205 , modeling the component embedded in the wall in the wall model according to the second position information and the size information to obtain a masonry wall model, wherein the masonry wall model includes the wall model and the model of the component embedded in the wall.
[0095] In a specific embodiment, a component nested in the wall is modeled in a wall model according to the second position information and size information to obtain a masonry wall model, including: according to the second position information and size information, a component nested in the wall is modeled in the wall model to obtain a model of the component nested in the wall; from the wall model, a wall portion at a location where the model of the component nested in the wall is located; and a combination of the wall model after the wall portion is removed and the model of the component nested in the wall is used as a masonry wall model.
[0096] In summary, the method provided by the embodiment of the present application parses the first position information of each wall line from the architectural drawings, and parses the second position information and size information of each component nested in the wall from the architectural drawings, wherein the components nested in the wall include at least one of a door and a window, and according to the first position information and the second position information, fills in the gaps between the wall lines on both sides that are connected to the components nested in the wall to obtain the third position information of the filled wall lines, establishes a wall model according to the third position information, and models the components nested in the wall in the wall model according to the second position information and size information to obtain a masonry wall model, wherein the masonry wall model includes a wall model and a model of the components nested in the wall.
[0097] Compared with the prior art, in which the wall lines of the walls containing doors and windows in the architectural drawings are discontinuous, resulting in gaps in the established wall model, and the door and window models cannot be established at the gaps, the present application fills the gaps between the wall lines on both sides that are connected to the components embedded in the wall through the first position information of the wall lines and the second position information of the components embedded in the wall, establishes the wall model according to the third position information of the filled wall lines, and then models the components embedded in the wall in the wall model through the second position information and size information of the components embedded in the wall, thereby obtaining In order to obtain a masonry wall model, a wall model with the rear wall line filled in is first established. The wall model with the rear wall line filled in has no missing parts and is a complete wall model. Then, in the wall model with the rear wall line filled in, the components nested in the wall are modeled to obtain a masonry wall model. The established masonry wall model is consistent with the actual masonry wall, rather than a model with missing parts in the wall model and no components nested in the wall on the wall model. This solves the problem that the wall lines of the walls containing doors and windows in the architectural drawings are discontinuous, resulting in missing parts in the established wall model and the inability to establish door and window models at the missing positions.
[0098] Based on the same concept, a masonry wall modeling device is provided in the embodiment of the present application. The specific implementation of the device can be found in the description of the method embodiment part, and the repeated parts will not be repeated. Figure 5 As shown, the device mainly includes:
[0099] A first parsing module 501 is used to parse the first position information of each wall line from the architectural drawing;
[0100] A second parsing module 502 is used to parse the second position information and size information of each component embedded in the wall from the architectural drawing, wherein the component embedded in the wall includes at least one of a door and a window;
[0101] A filling module 503 is used to fill the gap between the wall lines on both sides of the component that is connected to the component embedded in the wall according to the first position information and the second position information, so as to obtain third position information of the filled wall line;
[0102] A first processing module 504 is used to establish a wall model according to the third position information;
[0103] The second processing module 505 is used to model the component embedded in the wall in the wall model according to the second position information and the size information to obtain a masonry wall model, wherein the masonry wall model includes the wall model and the component model embedded in the wall.
[0104] Optionally, the first parsing module includes a first identification submodule and a first parsing submodule;
[0105] The first identification submodule is used to identify the first layer where the wall line is located from the architectural drawing based on the layer information;
[0106] The first parsing submodule is used to parse the first location information from the first layer.
[0107] Optionally, the second parsing module includes a second identification submodule and a second parsing submodule;
[0108] The second identification submodule is used to identify the second layer where the component embedded in the wall is located from the architectural drawing based on the layer information;
[0109] The second parsing submodule is used to parse the second position information and the size information from the second layer.
[0110] Optionally, the completion module includes a third identification submodule and a completion submodule;
[0111] The third identification submodule is used to identify the wall lines on both sides of the component that is connected to the component embedded in the wall as the wall lines of the masonry wall according to the first position information and the second position information;
[0112] The filling submodule is used to fill the gaps between the wall lines of the masonry wall to obtain the third position information.
[0113] Optionally, the third identification submodule includes a judgment unit and a processing unit;
[0114] The judging unit is configured to judge whether the contour line of the component embedded in the wall intersects with the wall line according to the first position information and the second position information;
[0115] The processing unit is configured to use the wall line as the wall line of the masonry wall if the contour line of the component embedded in the wall intersects with the wall line.
[0116] Optionally, the completion submodule includes a first acquisition unit and a second acquisition unit;
[0117] The first acquisition unit is used to connect the wall lines of the masonry wall to obtain the filled wall line;
[0118] The second acquisition unit is used to acquire the third position information of the padded rear wall line.
[0119] Optionally, the second processing module includes a modeling submodule, a removal submodule and a processing submodule;
[0120] The modeling submodule is used to model the component embedded in the wall in the wall model according to the second position information and the size information, so as to obtain a model of the component embedded in the wall;
[0121] The removal submodule is used to remove the wall part at the location where the model of the component embedded in the wall is located from the wall model;
[0122] The processing submodule is used to use the combination of the wall model after removing the wall part and the model of the component embedded in the wall as the masonry wall model.
[0123] Based on the same concept, an electronic device is also provided in the embodiment of the present application, such as Figure 6 As shown, the electronic device mainly includes: a processor 601, a memory 602 and a communication bus 603, wherein the processor 601 and the memory 602 communicate with each other through the communication bus 603. The memory 602 stores a program executable by the processor 601, and the processor 601 executes the program stored in the memory 602 to implement the following steps:
[0124] The first position information of each wall line is parsed from the architectural drawings; the second position information and size information of each component nested in the wall are parsed from the architectural drawings, wherein the component nested in the wall includes at least one of a door and a window; according to the first position information and the second position information, the vacant parts between the wall lines on both sides that are connected to the component nested in the wall are filled to obtain the third position information of the filled wall lines; according to the third position information, a wall model is established; according to the second position information and the size information, the component nested in the wall is modeled in the wall model to obtain a masonry wall model, wherein the masonry wall model includes a wall model and a model of the component nested in the wall.
[0125] The communication bus 603 mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 603 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0126] The memory 602 may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the processor 601.
[0127] The above-mentioned processor 601 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., and can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0128] In another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed on a computer, the computer executes the masonry wall modeling method described in the above embodiment.
[0129] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instruction is transmitted from a website site, a computer, a server or a data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integration. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape, etc.), an optical medium (such as a DVD) or a semiconductor medium (such as a solid-state hard disk), etc.
[0130] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0131] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A masonry wall modeling method, It is characterized in that include: Analyze the first position information of each wall line from the architectural drawings; Parsing second position information and size information of each component embedded in the wall from the architectural drawing, wherein the component embedded in the wall includes at least one of a door and a window, the second position information includes two-dimensional coordinate values of two end points in the outline of the component embedded in the wall, and the size information includes length, width and thickness information of the component embedded in the wall; According to the first position information and the second position information, the vacant parts between the wall lines on both sides that are connected to the component embedded in the wall are filled to obtain third position information of the filled wall lines; Establishing a wall model according to the third position information; Modeling the component embedded in the wall in the wall model according to the second position information and the size information to obtain a masonry wall model, wherein the masonry wall model includes the wall model and a model of the component embedded in the wall; The method of filling the gap between the wall lines on both sides of the wall lines connected to the component embedded in the wall according to the first position information and the second position information to obtain the third position information of the filled wall lines includes: According to the first position information and the second position information, identifying the wall lines on both sides of the component that is connected to the component nested in the wall as the wall lines of the masonry wall; Filling the gaps between the wall lines of the masonry wall to obtain the third position information; The step of identifying the wall lines on both sides of the component that is connected to the component nested in the wall as the wall lines of the masonry wall according to the first position information and the second position information includes: According to the first position information and the second position information, determining whether the contour line of the component nested in the wall intersects with the wall line; If the contour line of the component embedded in the wall intersects with the wall line, the wall line is used as the wall line of the masonry wall.
2. The masonry wall modeling method according to claim 1, It is characterized in that The step of parsing the first position information of each wall line from the architectural drawing includes: From the architectural drawing, based on the layer information, identifying the first layer where the wall line is located; The first location information is parsed from the first layer.
3. The masonry wall modeling method according to claim 1, It is characterized in that The step of parsing the second position information and size information of each component embedded in the wall from the architectural drawing includes: From the architectural drawing, based on the layer information, identifying the second layer where the component embedded in the wall is located; The second position information and the size information are parsed from the second layer.
4. The masonry wall modeling method according to claim 1, It is characterized in that The step of filling the gaps between the wall lines of the masonry wall to obtain the third position information includes: Connecting the wall lines of the masonry wall to obtain the completed wall line; The third position information of the completed rear wall line is obtained.
5. The masonry wall modeling method according to claim 1, It is characterized in that The step of modeling the component embedded in the wall in the wall model according to the second position information and the size information to obtain a masonry wall model includes: Modeling the component nested in the wall in the wall model according to the second position information and the size information to obtain a model of the component nested in the wall; From the wall model, removing the wall portion at the location where the model of the component embedded in the wall is located; The wall model after removing the wall part and the model of the component embedded in the wall are combined as the masonry wall model.
6. A masonry wall modeling device, It is characterized in that include: A first parsing module, used to parse the first position information of each wall line from the architectural drawing; a second parsing module, configured to parse the second position information and size information of each component embedded in the wall from the architectural drawing, wherein the component embedded in the wall includes at least one of a door and a window, the second position information includes two-dimensional coordinate values of two end points in the contour line of the component embedded in the wall, and the size information includes length, width and thickness information of the component embedded in the wall; A filling module, configured to fill in the gaps between the wall lines on both sides of the wall that are connected to the component embedded in the wall according to the first position information and the second position information, and obtain third position information of the filled wall lines; A first processing module, used for establishing a wall model according to the third position information; A second processing module is used to model the component embedded in the wall in the wall model according to the second position information and the size information to obtain a masonry wall model, wherein the masonry wall model includes the wall model and the component model embedded in the wall; The method of filling the gap between the wall lines on both sides of the wall lines connected to the component embedded in the wall according to the first position information and the second position information to obtain the third position information of the filled wall lines includes: According to the first position information and the second position information, identifying the wall lines on both sides of the component that is connected to the component nested in the wall as the wall lines of the masonry wall; Filling the gaps between the wall lines of the masonry wall to obtain the third position information; The step of identifying the wall lines on both sides of the component that is connected to the component nested in the wall as the wall lines of the masonry wall according to the first position information and the second position information includes: According to the first position information and the second position information, determining whether the contour line of the component nested in the wall intersects with the wall line; If the contour line of the component embedded in the wall intersects with the wall line, the wall line is used as the wall line of the masonry wall.
7. An electronic device, It is characterized in that include: A processor, a memory and a communication bus, wherein the processor and the memory communicate with each other via the communication bus; The memory is used to store computer programs; The processor is used to execute the program stored in the memory to implement the masonry wall modeling method according to any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the masonry wall modeling method according to any one of claims 1 to 5 is implemented.
