CN114444168A - Method and device for identifying wall column in building drawing, electronic equipment and storage medium - Google Patents

Method and device for identifying wall column in building drawing, electronic equipment and storage medium Download PDF

Info

Publication number
CN114444168A
CN114444168A CN202111617582.4A CN202111617582A CN114444168A CN 114444168 A CN114444168 A CN 114444168A CN 202111617582 A CN202111617582 A CN 202111617582A CN 114444168 A CN114444168 A CN 114444168A
Authority
CN
China
Prior art keywords
layer
wall column
determining
target line
closed polygon
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111617582.4A
Other languages
Chinese (zh)
Inventor
颜昌涛
颜家胜
蔡磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wanyi Technology Co Ltd
Original Assignee
Wanyi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wanyi Technology Co Ltd filed Critical Wanyi Technology Co Ltd
Priority to CN202111617582.4A priority Critical patent/CN114444168A/en
Publication of CN114444168A publication Critical patent/CN114444168A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads

Abstract

The application relates to a method and a device for identifying a wall column in a building drawing, electronic equipment and a storage medium, which are applied to the technical field of building object identification, wherein the method comprises the following steps: obtaining a building drawing to be identified; determining a target line primitive set in any first layer of the building drawing, wherein the first layer is a layer comprising line primitives; determining a closed polygon set in the first layer according to the target line primitive set; and if the characteristic parameters of the closed polygon set meet the first recognition condition in the first layer, determining that the closed polygon in the first layer is the wall column outline. The problems that in the prior art, drawing information cannot be analyzed and processed in time by CAD software depending on manual drawing reading, huge manpower is needed, and meanwhile, working quality cannot be fully guaranteed are solved.

Description

Method and device for identifying wall column in building drawing, electronic equipment and storage medium
Technical Field
The present application relates to the field of building object identification technologies, and in particular, to a method and an apparatus for identifying a wall column in a building drawing, an electronic device, and a storage medium.
Background
In the construction industry, CAD (Computer Aided Design) software is increasingly applied, and after a designer designs scheme details through the CAD software, the constructor can construct according to a CAD drawing, so that great help is provided for the Design work of an engineer, namely the construction of the constructor.
Various designs in the CAD drawings need to completely meet the specifications of the construction industry, and therefore, after the designers complete the CAD drawings, special examiners need to conduct strong examination. However, in the inspection work after the design of the architectural drawings, manual drawing reading is still mostly relied on, and the CAD software cannot analyze and process the drawing information in time, so that huge manpower is required, and the work quality cannot be fully guaranteed.
Disclosure of Invention
The application provides a wall column identification method and device in construction drawings, electronic equipment and a storage medium, and aims to solve the problems that in the prior art, depending on manual drawing reading, CAD software cannot analyze and process drawing information in time, huge manpower is needed, and meanwhile work quality cannot be fully guaranteed.
In a first aspect, an embodiment of the present application provides a method for identifying a wall column in a construction drawing, including:
obtaining a building drawing to be identified;
determining a target line primitive set in any first layer of the building drawing, wherein the first layer is a layer comprising line primitives;
determining a closed polygon set in the first layer according to the target line primitive set;
and if the characteristic parameters of the closed polygon set meet the first recognition condition in the first layer, determining that the closed polygon in the first layer is the wall column outline.
Optionally, the determining the line element set in the first layer of the building drawing includes:
acquiring the layer name of the first layer;
determining a line primitive including the layer name in the primitive information as a target line primitive;
and determining the set of target line primitives as the set of target line primitives.
Optionally, the determining, according to the target line primitive set, a closed polygon set in the first layer includes:
acquiring the starting point coordinates and the end point coordinates of each target line primitive in the target line primitive set;
and determining a closed polygon in the first layer according to the start point coordinate and the end point coordinate to obtain the closed polygon set, wherein one target line primitive coincides with the start point coordinate and the other target line primitive coincides with the end point coordinate for any target line primitive in the closed polygon.
Optionally, determining, according to the target line primitive set, that a closed polygon set in the first layer is before, includes:
calculating the length of each target line primitive segment in the target line primitive set;
if the length of the line segment does not meet the preset wall column length value, determining that the first image layer does not include the wall column;
and if the length of the line segment meets the preset wall column length value, executing the target line primitive set, and determining a closed polygon set in the first layer.
Optionally, the characteristic parameters of the closed polygon set include a first number of closed polygons in the closed polygon set, a second number of the target line primitives in the closed polygon set, and a first area of each closed polygon in the closed polygon set;
the first identification condition in the first image layer includes:
the first number is larger than a first preset value, the ratio of the second number to the third number of the target line primitives in the first layer is larger than or equal to a second preset value, the number of the first areas larger than the first preset area is smaller than the third preset value, and the number of the first areas smaller than the second preset area is smaller than a fourth preset value.
Optionally, the method further includes:
determining a target filling primitive set in any second layer of the building drawing, wherein the second layer comprises filling primitives;
determining a second area of each target fill primitive in the set of target fill primitives;
if the second area meets a second recognition condition in the second layer, determining that the filled graphics primitives in the second layer are wall column filling;
and determining the level of the wall column profile according to the wall column filling and the wall column profile.
Optionally, the determining, according to the wall stud filling and the wall stud profile, a level where the wall stud profile is located includes:
determining the wall columns with the distance between the wall column profiles smaller than a preset coincidence threshold value to be at the same level;
determining the filling proportion of the wall column filling within the preset distance of each wall column profile;
if the filling proportion is smaller than a preset filling threshold value, determining that the wall column profile is a lower-layer wall column;
and if the filling proportion is larger than or equal to a preset filling threshold value, determining that the wall column profile is an upper-layer wall column.
In a second aspect, an embodiment of the present application provides an apparatus for identifying a wall column in a construction drawing, including:
the acquisition module is used for acquiring the building drawing to be identified;
the first determining module is used for determining a target line primitive set in any first layer of the building drawing, wherein the first layer is a layer comprising line primitives;
the second determining module is used for determining a closed polygon set in the first layer according to the target line primitive set;
and the identification module is used for determining that the closed polygon in the first layer is the wall column outline if the characteristic parameters of the closed polygon set meet the first identification condition in the first layer.
In a third aspect, an embodiment of the present application provides an electronic device, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor is configured to execute the program stored in the memory, and implement the method for identifying a wall column in the construction drawing according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the method for identifying a wall stud in a construction drawing according to the first aspect is implemented.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method provided by the embodiment of the application, the building drawing to be identified is obtained; determining a target line primitive set in any first layer of the building drawing, wherein the first layer is a layer comprising line primitives; determining a closed polygon set in the first layer according to the target line primitive set; and if the characteristic parameters of the closed polygon set meet the first recognition condition in the first layer, determining that the closed polygon in the first layer is the wall column outline. Therefore, after the building drawing to be identified is obtained, the closed polygon set in the first layer can be determined according to the line drawing element set in the building drawing, so that the wall column contour in the first layer is determined according to the first identification condition.
Drawings
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.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is an application scene diagram of a wall column identification method in a construction drawing according to an embodiment of the present application;
fig. 2 is a flowchart of a method for identifying a wall column in a construction drawing according to an embodiment of the present application;
fig. 3 is a flowchart of a method for identifying a wall column in a construction drawing according to another embodiment of the present application;
fig. 4 is a structural view of an apparatus for identifying wall studs in construction drawings according to an embodiment of the present application;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
According to the application, the embodiment provides a wall column identification method in the construction drawing. Alternatively, in the embodiment of the present application, the method for identifying a wall column in a construction drawing can be applied to a hardware environment formed by the terminal 101 and the server 102 as shown in fig. 1. As shown in fig. 1, a server 102 is connected to a terminal 101 through a network, and may be used to provide services (such as application services) for the terminal or a client installed on the terminal, and a database may be provided on the server or separately from the server, and may be used to provide data storage services for the server 102, where the network includes but is not limited to: the terminal 101 is not limited to a PC, a mobile phone, a tablet computer, and the like.
The method for identifying the wall column in the construction drawing according to the embodiment of the present application may be executed by the server 102, may also be executed by the terminal 101, and may also be executed by both the server 102 and the terminal 101. The terminal 101 executes the method for identifying a wall column in the construction drawing according to the embodiment of the present application, or may be executed by a client installed thereon.
Taking a terminal to execute the method for identifying a wall column in a building drawing of the embodiment of the present application as an example, fig. 2 is a schematic flow chart of an optional method for identifying a wall column in a building drawing according to the embodiment of the present application, and as shown in fig. 2, the flow of the method may include the following steps:
step 201, obtaining a building drawing to be identified.
In some embodiments, the building drawing to be identified may be uploaded to the terminal after the designer finishes designing and when the building drawing needs to be identified; alternatively, the identification may be acquired from a database when the relevant person identifies the construction drawing. The database stores a plurality of building drawings to be identified, and related personnel can select one of the building drawings to be identified according to the drawing name of the building drawing to be identified.
By way of example, the construction drawing to be identified may be, but is not limited to, a drawing for an airport, train station, bus stop, office building, residential building, hospital, museum, tourist attraction, church, school, park, or the like.
Step 202, determining a target line primitive set in any first layer of the building drawing, wherein the first layer is a layer comprising line primitives.
In some embodiments, in the design of a building drawing, in order to facilitate management and drawing, the design is often performed according to layers, and different types of primitives are set in each layer. Based on the method, after the building drawing to be identified is obtained, the first layers including the line primitives can be determined according to the types of the primitives in the layers, and then the target line primitive set in each first layer is determined.
There are various types of primitives, such as line primitives, fill primitives, and annotation graph sources.
In an optional embodiment, determining the set of line elements in the first layer of the construction drawing comprises:
acquiring the layer name of the first layer; determining a line primitive including the layer name in the primitive information as a target line primitive; and determining the set of target line primitives as the set of target line primitives.
In some embodiments, when a building drawing is designed, layer names are often reset for different layers to distinguish the layers, and when a primitive in each layer is drawn, the layer name of the layer where the primitive is located is carried. Therefore, according to the layer name of the first layer, a line primitive including the layer name can be determined from the primitive information of the building drawing and is used as a target line primitive.
Step 203, determining a closed polygon set in the first layer according to the target line primitive set.
In some embodiments, because the primitives in the first layer include line primitives, when the building drawing is drawn, the wall pillars are often drawn in the form of closed polygons, see fig. 3, for example, the closed polygons may be rectangles, L-shaped figures, or other closed shapes. Therefore, after the target line primitive set in the first layer is determined, the closed polygon in the first layer can be determined according to the target line primitive set in the first layer.
Specifically, determining a closed polygon set in the first layer according to the target line primitive set includes:
acquiring a starting point coordinate and an end point coordinate of each target line primitive in the target line primitive set; and determining a closed polygon in the first layer according to the start point coordinate and the end point coordinate to obtain the closed polygon set, wherein one target line primitive coincides with the start point coordinate and the other target line primitive coincides with the end point coordinate for any target line primitive in the closed polygon.
In some embodiments, because the first layer includes the target line primitive set, in the process of drawing the building drawing, the wall pillar outline is often obtained after the wall pillar outline is drawn as a closed polygon through the line primitives. Therefore, the start point coordinate and the end point coordinate of each target line primitive in the target line primitive set can be determined, and then whether a plurality of line primitives form a closed polygon or not can be judged based on the start point coordinate and the end point coordinate of each target line primitive. Typically, there is one target line primitive coincident with its start point coordinates and another target line primitive coincident with its end point coordinates in any one target line primitive in a closed polygon.
In an optional embodiment, before determining the set of closed polygons in the first layer according to the target line primitive set, the method includes:
calculating the length of each target line primitive segment in the target line primitive set; if the length of the line segment does not meet the preset wall column length value, determining that the first image layer does not include the wall column; and if the length of the line segment meets the preset wall column length value, executing the target line primitive set, and determining a closed polygon set in the first layer.
In some embodiments, since the wall studs play an important role in the building, when the building drawing is designed, the length of the line segment of the line primitive included in the wall stud profile is longer, and therefore, whether the wall studs are included in the first map layer can be determined by determining whether the length of the line segment meets a preset value of the length of the wall studs.
And 204, if the characteristic parameters of the closed polygon set meet the first recognition condition in the first layer, determining that the closed polygon in the first layer is a wall column outline.
In some embodiments, in the construction drawing, not all the closed polygons are closed polygons corresponding to the wall studs, for example, the design of the balcony in the construction drawing also exists in the form of closed polygons, and therefore, it is necessary to filter the set of closed polygons determined in the first layer, and determine that the closed polygons in the first layer whose characteristic parameters satisfy the first identification condition are the wall stud outlines.
Specifically, the characteristic parameters of the closed polygon set include a first number of closed polygons in the closed polygon set, a second number of the target line primitives in the closed polygon set, and a first area of each closed polygon in the closed polygon set;
the first identification condition in the first image layer includes: the first number is larger than a first preset value, the ratio of the second number to the third number of the target line primitives in the first layer is larger than or equal to a second preset value, the number of the first areas larger than the first preset area is smaller than the third preset value, and the number of the first areas smaller than the second preset area is smaller than a fourth preset value.
In an optional embodiment, the method further comprises: determining a target filling primitive set in any second layer of the building drawing, wherein the second layer comprises filling primitives; determining a second area of each target fill primitive in the set of target fill primitives; if the second area meets a second recognition condition in the second layer, determining that the filled graphics primitives in the second layer are wall column filling; and determining the level of the wall column profile according to the wall column filling and the wall column profile.
In some embodiments, the wall studs designed in the construction drawings are often filled with contents (such as filling colors or graphics) in addition to the wall stud outline, so as to distinguish the wall studs from other wall studs and facilitate the user to view the wall studs. And determining the wall column filling in each second layer by determining a target filling primitive set in the second layer based on the filling content which often exists in the form of filling primitives.
Specifically, whether the filling primitives in the second layer are wall column filling or not can be determined by judging whether the second area of each target filling primitive meets the second recognition condition in the second layer or not.
After the second area of each target filling primitive is obtained, a fourth number of the second areas in the second layer may be counted.
Further, the second identification condition in the second image layer includes: the ratio of the number of the target filling primitives with the second areas larger than the second preset area value to the fourth number in the second layer is smaller than a fifth preset value, and the ratio of the number of the target filling primitives with the second areas smaller than the third preset area value to the fourth number is smaller than a sixth preset value. And the third preset area value is smaller than the second preset area value.
And the second layer is a layer comprising filling primitives. Since the filling primitives are filled in the wall stud outline, the first area of the wall stud outline within the preset range of each filling primitive can be used as the second area of the filling primitive.
Further, the determining the level of the wall stud profile according to the wall stud filling and the wall stud profile comprises:
determining the wall columns with the wall column profiles of which the distances between the wall column profiles are smaller than a preset coincidence threshold value to be the same level; determining the filling proportion of the wall column filling within the preset distance of each wall column profile; if the filling proportion is smaller than a preset filling threshold value, determining that the wall column profile is a lower-layer wall column; and if the filling proportion is larger than or equal to a preset filling threshold value, determining that the wall column profile is an upper-layer wall column.
In some embodiments, the building drawing is generally a two-dimensional drawing, and in a building with multiple layers, the filling contents of the lower layer are generally covered by the filling contents of the upper layer, so that the filling contents of the lower layer cannot be completely displayed. Based on the method, the level of the wall column outline can be determined through the distance between the wall column outlines and the filling proportion of wall column filling.
The method for identifying the wall column in the building drawing screens out filling primitives which accord with the wall column filling characteristics from all the filling primitives layer by layer; positioning line segment primitives which accord with the line segment characteristics of the wall column one by one from all the line segment lists, and splicing the line segment primitives into a wall column outline; and distinguishing the upper layer wall column from the lower layer wall column according to the filling primitives and the wall column outline. Generally, the wall columns are divided into two types, namely a standard layer wall column and a transfer layer, the upper wall column and the lower wall column are of the same type, most of the wall columns are applied to buildings integrating commercial houses, and the lower layer wall column is large and the upper layer wall column is small in general. Based on this, the specific identification process includes:
firstly, identifying wall column filling;
1. extracting a layer list from all the filling primitives;
2. circularly processing each layer in the layer list, and screening filling primitives in the current layer according to the layer name attribute of the primitives;
3. counting the number of the graphic elements with the area larger than 4 square meters, calculating the proportion of the number to the total number of the filling graphic elements of the current layer, and if the number is larger than a certain proportion, judging that the filling is not wall column filling;
4. counting the number of the primitive areas smaller than 0.12 square meter, calculating the proportion of the number to the total number of the filling primitives of the current layer, and if the number is larger than a certain proportion, judging that the filling is not wall column filling;
5. if the check is passed, it is determined that the wall stud is filled. The wall studs identified herein are filled for subsequent discrimination of upper and lower wall studs.
Secondly, identifying a wall column outline list;
1. extracting a layer list from all line segment primitives;
2. circularly processing each layer in the layer list, and screening line segment primitives in the current layer according to the layer name attribute of the primitives;
3. calculating the length of the line segment according to the coordinates of the starting point and the end point of the line segment;
4. counting the number of the line segment lengths smaller than 399, calculating the proportion of the number to the total number of the line segment primitives of the current layer, and if the number is larger than a certain proportion, continuing to process the next layer;
5. counting the number a of the line segment lengths larger than 1000 and the number b of the line segment lengths larger than 7000, calculating the ratio of the number b to the number a, and if the ratio is larger than a certain ratio, continuing to process a next layer;
6. splicing a closed polygon and a non-closed multi-segment line according to the end-to-end connection of the coordinates of the segment primitives;
7. judging the number of the closed polygons, and if the number of the closed polygons is less than a certain number, continuing to process the next image layer;
8. calculating the number of line segments participating in forming the closed polygon and the proportion of the total number of the line segments in the current layer, and if the number of the line segments is smaller than a certain proportion, continuing to process the next layer;
9. counting the number of the closed polygons with the area larger than 4 square meters, calculating the proportion of the number to the total number of the closed polygons, and if the number is larger than a certain proportion, judging that the wall column is not filled;
10. counting the number of the closed polygons with the area smaller than 0.12 square meter, calculating the proportion of the number to the total number of the closed polygons, and if the number is larger than a certain proportion, judging that the wall column is not filled;
11. if the above check is passed, it is determined as a wall stud profile.
Thirdly, distinguishing upper and lower layer wall columns (the situation of converting the layer wall columns);
the upper layer wall column and the lower layer wall column are distinguished mainly by filling; when the lower wall stud line and the upper wall stud line are filled, the upper wall stud line is filled in a filling mode SOLID. The detailed process is as follows:
1. for each wall stud polygon, find nearby polygons,
1.1. if there are no other polygons nearby,
1.2 or the nearby polygons completely coincide (less than the set coincidence threshold),
1.3 the polygon is considered to belong to the wall column of the upper layer and the lower layer
2. Then judging the filling near the polygon of the wall column,
2.1, if the filling is not carried out, judging that the lower-layer wall column is a lower-layer wall column;
2.2, if the wall column is filled, and the wall column is completely filled (the ratio is more than the set threshold value), judging that the wall column is an upper-layer wall column,
2.3, if the filling exists and the filling proportion is smaller than the set threshold value, judging that the lower-layer wall column is the lower-layer wall column
The final result divides the wall stud profile list into two wall stud lists: the upper layer of wall column profile and the lower layer of wall column profile.
Based on the same concept, the embodiment of the present application provides an apparatus for identifying a wall column in a building drawing, and the specific implementation of the apparatus may refer to the description of the method embodiment, and repeated details are not repeated, as shown in fig. 4, the apparatus mainly includes:
the obtaining module 401 is configured to obtain a building drawing to be identified;
a first determining module 402, configured to determine a target line primitive set in any first layer of the building drawing, where the first layer is a layer including line primitives;
a second determining module 403, configured to determine a closed polygon set in the first layer according to the target line primitive set;
an identifying module 404, configured to determine that a closed polygon in the first layer is a wall stud outline if the characteristic parameter of the closed polygon set satisfies a first identifying condition in the first layer.
Based on the same concept, an embodiment of the present application further provides an electronic device, as shown in fig. 5, the electronic device mainly includes: a processor 501, a memory 502 and a communication bus 503, wherein the processor 501 and the memory 502 communicate with each other through the communication bus 503. The memory 502 stores a program executable by the processor 501, and the processor 501 executes the program stored in the memory 502, so as to implement the following steps:
obtaining a building drawing to be identified;
determining a target line primitive set in any first layer of the building drawing, wherein the first layer is a layer comprising line primitives;
determining a closed polygon set in the first layer according to the target line primitive set;
and if the characteristic parameters of the closed polygon set meet the first recognition condition in the first layer, determining that the closed polygon in the first layer is the wall column outline.
The communication bus 503 mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 503 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
The Memory 502 may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the aforementioned processor 501.
The Processor 501 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc., and may 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, and discrete hardware components.
In still another embodiment of the present application, there is also provided a computer-readable storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the method for identifying a wall stud in a construction drawing described in the above embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may 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 loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes, etc.), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for identifying a wall column in a construction drawing is characterized by comprising the following steps:
obtaining a building drawing to be identified;
determining a target line primitive set in any first layer of the building drawing, wherein the first layer is a layer comprising line primitives;
determining a closed polygon set in the first layer according to the target line primitive set;
and if the characteristic parameters of the closed polygon set meet the first recognition condition in the first layer, determining that the closed polygon in the first layer is the wall column outline.
2. The method for identifying the wall column in the building drawing according to claim 1, wherein the determining the line drawing element set in the first drawing layer of the building drawing comprises:
acquiring the layer name of the first layer;
determining a line primitive including the layer name in the primitive information as a target line primitive;
and determining the set of target line primitives as the set of target line primitives.
3. The method for identifying the wall column in the building drawing according to claim 1, wherein the determining the set of closed polygons in the first layer according to the set of target line primitives includes:
acquiring the starting point coordinates and the end point coordinates of each target line primitive in the target line primitive set;
and determining a closed polygon in the first layer according to the start point coordinate and the end point coordinate to obtain the closed polygon set, wherein one target line primitive coincides with the start point coordinate and the other target line primitive coincides with the end point coordinate for any target line primitive in the closed polygon.
4. The method for identifying the wall column in the building drawing according to claim 1, wherein before determining the set of closed polygons in the first layer according to the set of target line primitives, the method comprises:
calculating the length of each target line primitive segment in the target line primitive set;
if the length of the line segment does not meet the preset wall column length value, determining that the first image layer does not include the wall column;
and if the length of the line segment meets the preset wall column length value, executing the target line primitive set, and determining a closed polygon set in the first layer.
5. The identification method of the wall post in the construction drawing according to any one of claims 1 to 4, wherein the characteristic parameters of the closed polygon set include a first number of closed polygons in the closed polygon set, a second number of the target line primitives in the closed polygon set, and a first area of each closed polygon in the closed polygon set;
the first identification condition in the first image layer includes:
the first number is larger than a first preset value, the ratio of the second number to the third number of the target line primitives in the first layer is larger than or equal to a second preset value, the number of the first areas larger than the first preset area is smaller than the third preset value, and the number of the first areas smaller than the second preset area is smaller than a fourth preset value.
6. The method for identifying a wall stud in a construction drawing according to claim 1, further comprising:
determining a target filling primitive set in any second layer of the building drawing, wherein the second layer comprises filling primitives;
determining a second area of each target fill primitive in the set of target fill primitives;
if the second area meets a second recognition condition in the second layer, determining that the filled graphics primitives in the second layer are wall column filling;
and determining the level of the wall column profile according to the wall column filling and the wall column profile.
7. The method for identifying the wall column in the construction drawing according to claim 6, wherein the determining the level of the wall column outline according to the wall column filling and the wall column outline comprises:
determining the wall columns with the wall column profiles of which the distances between the wall column profiles are smaller than a preset coincidence threshold value to be the same level;
determining the filling proportion of the wall column filling within the preset distance of each wall column profile;
if the filling proportion is smaller than a preset filling threshold value, determining that the wall column profile is a lower-layer wall column;
and if the filling proportion is greater than or equal to a preset filling threshold value, determining that the wall column profile is an upper-layer wall column.
8. The utility model provides an identification means of wall post in building drawing which characterized in that includes:
the acquisition module is used for acquiring the building drawing to be identified;
the first determining module is used for determining a target line primitive set in any first layer of the building drawing, wherein the first layer is a layer comprising line primitives;
the second determining module is used for determining a closed polygon set in the first layer according to the target line primitive set;
and the identification module is used for determining that the closed polygon in the first layer is the wall column outline if the characteristic parameters of the closed polygon set meet the first identification condition in the first layer.
9. An electronic device, comprising: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor is used for executing the program stored in the memory to realize the identification method of the wall column in the construction drawing according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method for identifying a wall stud in a construction drawing according to any one of claims 1 to 7.
CN202111617582.4A 2021-12-27 2021-12-27 Method and device for identifying wall column in building drawing, electronic equipment and storage medium Pending CN114444168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111617582.4A CN114444168A (en) 2021-12-27 2021-12-27 Method and device for identifying wall column in building drawing, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111617582.4A CN114444168A (en) 2021-12-27 2021-12-27 Method and device for identifying wall column in building drawing, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114444168A true CN114444168A (en) 2022-05-06

Family

ID=81366161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111617582.4A Pending CN114444168A (en) 2021-12-27 2021-12-27 Method and device for identifying wall column in building drawing, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114444168A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115797962A (en) * 2023-01-13 2023-03-14 深圳市大乐装建筑科技有限公司 Wall column identification method and device based on assembly type building AI design
CN117473633A (en) * 2023-12-26 2024-01-30 合肥坤颐建筑科技合伙企业(有限合伙) Shaft network generation method, device, equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115797962A (en) * 2023-01-13 2023-03-14 深圳市大乐装建筑科技有限公司 Wall column identification method and device based on assembly type building AI design
CN117473633A (en) * 2023-12-26 2024-01-30 合肥坤颐建筑科技合伙企业(有限合伙) Shaft network generation method, device, equipment and storage medium
CN117473633B (en) * 2023-12-26 2024-04-02 合肥坤颐建筑科技合伙企业(有限合伙) Shaft network generation method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN114444168A (en) Method and device for identifying wall column in building drawing, electronic equipment and storage medium
CN111782583B (en) Intelligent drawing examining method and related device
CN112233240B (en) Three-dimensional vector data slicing method and device of three-dimensional vector map and electronic equipment
CN111783562B (en) Intelligent drawing examining method and related device
US10115165B2 (en) Management of tax information based on topographical information
CN115830010B (en) Method and device for detecting crossing distance of transmission wires and computer equipment
WO2022147202A1 (en) System and method to process and display information related to real estate by developing and presenting a photogrammetric reality mesh
US20160085831A1 (en) Method and apparatus for map classification and restructuring
CN114359590A (en) NFT image work infringement detection method and device and computer storage medium
CN114282288A (en) Axle network identification method, device, equipment and storage medium
US20130231897A1 (en) Systems and methods for efficient analysis of topographical models
CN113935078A (en) Method, device and equipment for establishing parking space model and storage medium
Yin et al. An automated layer classification method for converting CAD drawings to 3D BIM models
CN114550187A (en) Method and device for identifying doors and windows in drawing, electronic equipment and storage medium
CN111649749A (en) Navigation method based on BIM (building information modeling), electronic equipment and related product
CN117172212A (en) Catalog extraction method and device in drawing, electronic equipment and storage medium
CN113063427A (en) Indoor high-precision map production method, device, equipment and storage medium
CN114283415A (en) Parking space identification method and device, electronic equipment and storage medium
CN112801620B (en) Engineering information processing method, device, equipment and storage medium
CN114048539A (en) CAD file analysis and rule judgment method and related device
CN112948928B (en) Headroom calculating method and related device based on building information model
CN115544620A (en) Method, device and equipment for analyzing door and window tables in drawing and storage medium
CN110826120A (en) Processing method of house structure image and related device
CN112926127B (en) Garage parameter determination method, electronic equipment and related products
CN114445845A (en) Method and device for identifying components in drawing, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination