CN114241509A - Space segmentation method, system, storage medium and equipment based on construction drawing - Google Patents

Space segmentation method, system, storage medium and equipment based on construction drawing Download PDF

Info

Publication number
CN114241509A
CN114241509A CN202210168833.3A CN202210168833A CN114241509A CN 114241509 A CN114241509 A CN 114241509A CN 202210168833 A CN202210168833 A CN 202210168833A CN 114241509 A CN114241509 A CN 114241509A
Authority
CN
China
Prior art keywords
processed
primitives
primitive
construction drawing
target
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.)
Granted
Application number
CN202210168833.3A
Other languages
Chinese (zh)
Other versions
CN114241509B (en
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.)
Jiangxi Shaoke Intelligent Construction Technology Co ltd
Original Assignee
Jiangxi Shaoke Intelligent Construction 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 Jiangxi Shaoke Intelligent Construction Technology Co ltd filed Critical Jiangxi Shaoke Intelligent Construction Technology Co ltd
Priority to CN202210168833.3A priority Critical patent/CN114241509B/en
Publication of CN114241509A publication Critical patent/CN114241509A/en
Application granted granted Critical
Publication of CN114241509B publication Critical patent/CN114241509B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a space segmentation method, a system, a storage medium and equipment based on a construction drawing, wherein the method comprises the following steps: analyzing the target construction drawing and acquiring construction drawing information of the target construction drawing, wherein the construction drawing information comprises all layers and information of primitives in the layers; screening out wall layers from all the layers and generating basic contour lines corresponding to the wall primitives according to the information of the wall primitives in the wall layers; screening a target layer from all layers and acquiring information of primitives to be processed in the target layer; classifying and sorting the primitives to be processed in the target layer to obtain different types of primitives to be processed; and performing civil wiring treatment on the primitive to be processed according to the type of the primitive to be processed and the information of the primitive to be processed, and performing functional space segmentation on the construction drawing by combining all basic contour lines and the construction drawing information so as to obtain the functional attributes of each closed space and assist workers to quickly judge the design compliance of the space area.

Description

Space segmentation method, system, storage medium and equipment based on construction drawing
Technical Field
The invention relates to the field of construction drawing space segmentation, in particular to a construction drawing-based space segmentation method, a construction drawing-based space segmentation system, a storage medium and a device.
Background
In the construction industry, designers generally construct construction drawings using CAD software, and in order to determine the compliance of the design of each spatial region in a construction drawing, it is generally necessary to determine the compliance of the function of each spatial region in a construction drawing.
At present, the functional compliance of each spatial region in the construction drawing is usually analyzed and judged in a mode of manually checking the construction drawing, but because the spatial structure in the construction drawing is complex, each independent space is inconvenient to distinguish depending on the manual work, the situation of wrong review drawing is easy to occur, and the review time is easy to be overlong. Therefore, it is necessary to use a space division method based on a construction drawing to automatically divide each functional space region of the construction drawing so as to assist the designer to make a correct judgment on the compliance of each space region design.
Disclosure of Invention
The invention aims to provide a space segmentation method, a system, a storage medium and equipment based on a construction drawing, so as to solve the problems that the current construction drawing is complex in space structure, and independent spaces are inconvenient to distinguish depending on manpower, so that a drawing examination error is easy to occur, and the examination time is easy to be overlong.
The invention provides a space segmentation method based on a construction drawing, which comprises the following steps:
analyzing a target construction drawing and acquiring construction drawing information of the target construction drawing, wherein the construction drawing information comprises all layers and information of primitives in the layers;
screening out wall layers from all the layers and generating basic contour lines corresponding to the wall primitives according to the information of the wall primitives in the wall layers;
screening a target layer from all the layers and acquiring information of primitives to be processed in the target layer;
classifying and sorting the primitives to be processed in the target layer to obtain different types of primitives to be processed;
and carrying out civil wiring treatment on the primitive to be processed according to the type of the primitive to be processed and the information of the primitive to be processed, and carrying out functional space division on the construction drawing by combining all the basic contour lines and the construction drawing information to obtain each functional space.
The space segmentation method based on the construction drawing provided by the invention has the following beneficial effects:
analyzing a target construction drawing and acquiring construction drawing information of the target construction drawing, wherein the construction drawing information comprises all layers and information of primitives in the layers; screening wall layers from all the layers and generating base contour lines corresponding to the wall primitives according to the information of the wall primitives in the wall layers, namely converting the wall body into the base contour lines, so that each function space can be divided based on the partition function of the wall body, and each function space can be identified without depending on an identification wall body; screening a target layer from all the layers and acquiring information of primitives to be processed in the target layer, wherein the primitives to be processed cannot directly reflect the actual state of an entity, so that subsequent civil wiring processing needs to be performed on the primitives to be processed so as to perform linearization on the primitives to be processed according to the actual state, the types of the primitives to be processed are different, and the civil wiring processing processes are different, so that the primitives to be processed in the target layer need to be classified and sorted firstly to obtain different types of primitives to be processed, then the primitives to be processed are subjected to civil wiring processing according to the types of the primitives to be processed and the information of the primitives to be processed, and finally, functional space division is performed on a construction drawing by combining all the basic contour lines and the construction drawing information so as to obtain functional spaces, and further obtain functional attributes of each closed space, so as to assist the staff to quickly judge the compliance of the space region design.
In addition, the space division method based on the construction drawing provided by the invention can also have the following additional technical characteristics:
further, the target layer includes a door layer and a window layer, the primitives to be processed include door primitives and window primitives, and the step of classifying and sorting the primitives to be processed in the target layer to obtain different types of primitives to be processed includes:
and classifying and sorting the primitives to be processed in the target layer according to the line type to obtain different types of primitives to be processed, wherein the types of the primitives to be processed comprise linear primitives and arc-line primitives.
Further, the information of the primitive to be processed includes position information of the primitive to be processed, and the step of performing the civil engineering streamline processing on the primitive to be processed according to the type of the primitive to be processed and the information of the primitive to be processed includes:
constructing the minimum external moment of all the primitives in the target layer and finding the minimum external moment of the primitives to be processed according to the position information of the primitives to be processed;
judging whether the minimum external moment of the primitive to be processed contains an arc line or not;
if the minimum external moment of the primitive to be processed contains an arc line, determining that the primitive to be processed is an arc line type primitive, expanding the minimum external moment of the primitive to be processed to be intersected with a first preset basic contour line, setting the expanded minimum external moment as a first target external moment, and setting the first preset basic contour line as basic contour lines connected to two sides of the primitive to be processed;
and respectively connecting two end points of the circular arc of the primitive to be processed with the circle center to generate a circular arc segment, extending the circular arc segment parallel to the first preset basic contour line to two sides until the circular arc segment is intersected with the first target external moment, and taking the middle part intercepted by the first target external moment as a target segmentation segment of the primitive to be processed.
Further, after the step of determining whether the minimum external moment of the primitive to be processed includes an arc, the method further includes:
if the minimum external moment of the primitive to be processed does not contain an arc line, determining that the primitive to be processed is a linear primitive, and performing grid division on the target construction drawing;
collecting all wall lines in a preset grid area range of the primitive to be processed, acquiring a line segment pair which is parallel to the primitive to be processed and has a distance exceeding a preset threshold value, and connecting and extending midpoints of the line segment pair to obtain a target segmentation line segment of the primitive to be processed.
Further, the target layer further includes an elevator car layer, the primitives to be processed further includes elevator car door primitives, and the steps of screening out the target layer from all the layers and acquiring information of the primitives to be processed in the target layer further include:
expanding the minimum external moment of the primitive to be processed to be intersected with a second preset basic contour line, setting the expanded minimum external moment as a second target external moment, wherein the second preset basic contour line is a basic contour line connected to two sides of the primitive to be processed;
and connecting the intersection point of the second target external moment and the second preset basic contour line to obtain a target segmentation line segment of the primitive to be processed.
Further, the construction drawing information includes positions of functional attribute words, and the step of performing functional space segmentation on the construction drawing by combining all the basic contour lines and the construction drawing information to obtain each functional space includes:
combining the target segmentation line segments of the primitive to be processed with the basic contour line to form a plurality of closed spaces;
and attributing each functional attribute word to each closed space according to the position of the functional attribute word so as to obtain each functional space.
The invention also provides a space segmentation system based on the construction drawing, which comprises the following components:
an analysis module: the construction drawing analysis system is used for analyzing a target construction drawing and acquiring construction drawing information of the target construction drawing, wherein the construction drawing information comprises all layers and information of primitives in the layers;
a generation module: the device is used for screening out wall layers from all the layers and generating basic contour lines corresponding to wall primitives according to the information of the wall primitives in the wall layers;
an identification module: the processing device is used for screening a target layer from all the layers and acquiring information of primitives to be processed in the target layer;
a classification module: the processing device is used for classifying and sorting the primitives to be processed in the target layer to obtain different types of primitives to be processed;
a segmentation module: and the system is used for carrying out civil wiring treatment on the primitive to be processed according to the type of the primitive to be processed and the information of the primitive to be processed, and carrying out functional space segmentation on the construction drawing by combining all the basic contour lines and the construction drawing information to obtain each functional space.
The present invention also proposes a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the above-mentioned construction drawing-based space segmentation method.
The invention also provides a construction drawing-based space segmentation device, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the program to realize the construction drawing-based space segmentation method.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow chart of a space division method based on construction drawings according to a first embodiment of the present invention;
FIG. 2 is a system block diagram of a construction drawing-based space partitioning system according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a space division apparatus based on a construction drawing according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below. Several embodiments of the invention are presented in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Example 1
As shown in FIG. 1, an embodiment of the invention provides a space division method based on a construction drawing, which includes steps S101 to S105.
S101, analyzing a target construction drawing and acquiring construction drawing information of the target construction drawing, wherein the construction drawing information comprises all layers and information of primitives in the layers.
S102, screening out wall layers from all the layers and generating basic contour lines corresponding to wall primitives according to information of the wall primitives in the wall layers.
S103, screening out a target layer from all the layers and acquiring information of primitives to be processed in the target layer.
And S104, classifying and sorting the primitives to be processed in the target layer to obtain different types of primitives to be processed.
The target layer comprises a door layer and a window layer, the primitives to be processed comprise door primitives and window primitives, and the steps of classifying and sorting the primitives to be processed in the target layer to obtain different types of primitives to be processed are as follows:
and classifying and sorting the primitives to be processed in the target layer according to the line type to obtain different types of primitives to be processed, wherein the types of the primitives to be processed comprise linear primitives and arc-line primitives.
And S105, performing civil wiring treatment on the primitive to be processed according to the type of the primitive to be processed and the information of the primitive to be processed, and performing functional space division on the construction drawing by combining all the basic contour lines and the construction drawing information to obtain each functional space.
It should be noted that the construction drawing in the embodiment of the present invention may be a two-dimensional plane construction drawing, such as a CAD drawing, in which components such as doors, windows, elevators, etc. are disposed, and when a functional space is divided, the components need to be divided into independent closed spaces, and the doors, windows, elevators, etc. have different and complicated shapes in the construction drawing, which are not beneficial to being directly used for dividing, so that specific positions, shapes, and installation manners of the doors and windows need to be accurately determined, and then civil engineering wiring processing is performed according to the information, and the doors and windows are replaced by a civil engineering connecting line, so that the functions of the door and window dividing space are maintained, and the space can be more accurately divided, for example, a single door, a double door, and an extrapolated window are usually represented by right-angled arc lines, a normal window is represented by four straight lines parallel to a wall, and an elevator car door is represented by two symmetrical line segments, therefore, when the space is divided, the space needs to be subjected to civil wiring according to actual conditions so as to carry out closed connection on the basic contour lines.
The method comprises the following steps of obtaining primitive to be processed, wherein the primitive to be processed information comprises position information of the primitive to be processed, and the step of performing civil wiring processing on the primitive to be processed according to the type of the primitive to be processed and the primitive to be processed information comprises the following steps:
constructing the minimum external moment of all the primitives in the target layer and finding the minimum external moment of the primitives to be processed according to the position information of the primitives to be processed;
judging whether the minimum external moment of the primitive to be processed contains an arc line or not;
if the minimum external moment of the primitive to be processed contains an arc line, determining that the primitive to be processed is an arc line type primitive, expanding the minimum external moment of the primitive to be processed to be intersected with a first preset basic contour line, setting the expanded minimum external moment as a first target external moment, and setting the first preset basic contour line as basic contour lines connected to two sides of the primitive to be processed;
and respectively connecting two end points of the circular arc of the primitive to be processed with the circle center to generate a circular arc segment, extending the circular arc segment parallel to the first preset basic contour line to two sides until the circular arc segment is intersected with the first target external moment, and taking the middle part intercepted by the first target external moment as a target segmentation segment of the primitive to be processed.
Further, after the step of determining whether the minimum external moment of the primitive to be processed includes an arc line, the method further includes:
if the minimum external moment of the primitive to be processed does not contain an arc line, determining that the primitive to be processed is a linear primitive, and performing grid division on the target construction drawing;
collecting all wall lines in a preset grid area range of the primitive to be processed, acquiring a line segment pair which is parallel to the primitive to be processed and has a distance exceeding a preset threshold value, and connecting and extending midpoints of the line segment pair to obtain a target segmentation line segment of the primitive to be processed, wherein the line segment pair is two line segments, and the two line segments are located on the same straight line.
The door/window can be represented by a straight line through the steps and the basic contour line is closed to form a closed space.
Further, the target layer further includes an elevator car layer, the primitives to be processed further includes elevator car door primitives, and the steps of screening out the target layer from all the layers and acquiring information of the primitives to be processed in the target layer further include:
expanding the minimum external moment of the primitive to be processed to be intersected with a second preset basic contour line, setting the expanded minimum external moment as a second target external moment, wherein the second preset basic contour line is a basic contour line connected to two sides of the primitive to be processed;
and connecting the intersection point of the second target external moment and the second preset basic contour line to obtain a target segmentation line segment of the primitive to be processed.
The elevator car door can be represented by a straight line through the steps and the basic contour line is closed to form a closed space.
All wall primitives can be placed in one wall layer, all door primitives (such as single-leaf door, double-leaf door, sliding door, tube well door and the like) can be placed in one door layer, all window primitives (such as common window, broken line window, outward-pushing window and the like) can be placed in one window layer, but elevator car door primitives do not belong to primitives in the door layer and belong to primitives in the elevator car layer, so the elevator car door needs to be analyzed independently.
Further, the construction drawing information includes positions of functional attribute words, and the step of performing functional space segmentation on the construction drawing by combining all the basic contour lines and the construction drawing information to obtain each functional space includes:
combining the target segmentation line segments of the primitive to be processed with the basic contour line to form a plurality of closed spaces;
and attributing each functional attribute word to each closed space according to the position of the functional attribute word so as to obtain each functional space.
The functional attribute words in the embodiment of the invention are functional characteristic words such as 'living room', 'main lying', 'dining room', and the like.
And the designer can make correct judgment on the compliance of the functions of each functional space according to each functional space and the function attribute words belonging to each functional space.
In particular, different functional spaces may be filled with different colors to facilitate identification and differentiation.
It should be noted that if two closed spaces constitute parent-child contour spaces, that is, one closed space is contained in the other closed space, the functionality of the two closed spaces can be determined by the following steps:
if a first closed space and a second closed space form a parent-child outline space, and the second closed space is contained in the first closed space, analyzing and judging the functional attribute words in the first closed space;
if the first closed space has only one functional attribute word, determining that the first closed space and the second closed space belong to the same functional space, and filling the first closed space and the second closed space with the same color;
if the first closed space contains two functional attribute words, the two functional attribute words are respectively attributed to two corresponding closed spaces according to the positions of the functional attribute words, and the second closed space and the closed space between the second closed space and the first closed space are respectively filled with two different colors.
Setting two function attribute words contained in the first closed space as a first function attribute word and a second function attribute word respectively, and judging whether one of the two function attribute words is completely contained in the second closed space;
and if one of the two function attribute words is completely contained in the second closed space, determining the functionality of the second closed space according to the meaning of the function attribute word completely contained in the second closed space, and determining the functionality of the first closed space according to the meaning of the other function attribute word.
And whether a functional attribute word is completely contained in a closed space can be judged by judging whether the minimum external moment of the functional attribute word is completely contained in the closed space, if the minimum external moment of the functional attribute word is completely contained in the closed space, the functionality of the closed space is determined according to the meaning of the functional attribute word, and if the minimum external moment of the functional attribute word is not completely contained in the closed space, the judgment is carried out by the following steps:
acquiring the minimum external moment of the target function attribute word, and judging whether the minimum external moment of the target function attribute word is completely contained in a target to be intersected with more than one closed space;
if the minimum external moment of the target function attribute word is intersected with more than one closed space, calculating the common area between the minimum external moment of the target function attribute word and each closed space, and carrying out comparative analysis;
and screening the closed space with the largest public area, setting the closed space as a target closed space, and determining the functionality of the target closed space according to the meaning of the target function attribute word.
In summary, the space segmentation method based on the construction drawing provided by the invention has the beneficial effects that: analyzing a target construction drawing and acquiring construction drawing information of the target construction drawing, wherein the construction drawing information comprises all layers and information of primitives in the layers; screening wall layers from all the layers and generating base contour lines corresponding to the wall primitives according to the information of the wall primitives in the wall layers, namely converting the wall body into the base contour lines, so that each function space can be divided based on the partition function of the wall body, and each function space can be identified without depending on an identification wall body; screening a target layer from all the layers and acquiring information of primitives to be processed in the target layer, wherein the primitives to be processed cannot directly reflect the actual state of an entity, so that subsequent civil wiring processing needs to be performed on the primitives to be processed so as to perform linearization on the primitives to be processed according to the actual state, the types of the primitives to be processed are different, and the civil wiring processing processes are different, so that the primitives to be processed in the target layer need to be classified and sorted firstly to obtain different types of primitives to be processed, then the primitives to be processed are subjected to civil wiring processing according to the types of the primitives to be processed and the information of the primitives to be processed, and finally, functional space division is performed on a construction drawing by combining all the basic contour lines and the construction drawing information so as to obtain functional spaces, and further obtain functional attributes of each closed space, so as to assist the staff to quickly judge the compliance of the space region design.
Example 2
Referring to fig. 2, the present embodiment provides a space partitioning system based on a construction drawing, including:
an analysis module: the construction drawing analysis method is used for analyzing a target construction drawing and obtaining construction drawing information of the target construction drawing, wherein the construction drawing information comprises all layers and information of primitives in the layers.
A generation module: and the device is used for screening out wall layers from all the layers and generating basic contour lines corresponding to the wall primitives according to the information of the wall primitives in the wall layers.
An identification module: and the processing module is used for screening a target layer from all the layers and acquiring the information of the primitives to be processed in the target layer.
A classification module: and the processing unit is used for classifying and sorting the primitives to be processed in the target layer to obtain different types of primitives to be processed.
Wherein, the target map layer includes a door map layer and a window map layer, the classification module is specifically used for:
and classifying and sorting the primitives to be processed in the target layer according to the line type to obtain different types of primitives to be processed, wherein the types of the primitives to be processed comprise linear primitives and arc-line primitives.
A segmentation module: and the system is used for carrying out civil wiring treatment on the primitive to be processed according to the type of the primitive to be processed and the information of the primitive to be processed, and carrying out functional space segmentation on the construction drawing by combining all the basic contour lines and the construction drawing information to obtain each functional space.
Wherein, the information of the primitive to be processed includes the position information of the primitive to be processed, and the segmentation module is further configured to:
constructing the minimum external moment of all the primitives in the target layer and finding the minimum external moment of the primitives to be processed according to the position information of the primitives to be processed;
judging whether the minimum external moment of the primitive to be processed contains an arc line or not;
if the minimum external moment of the primitive to be processed contains an arc line, determining that the primitive to be processed is an arc line type primitive, expanding the minimum external moment of the primitive to be processed to be intersected with a first preset basic contour line, setting the expanded minimum external moment as a first target external moment, and setting the first preset basic contour line as basic contour lines connected to two sides of the primitive to be processed;
and respectively connecting two end points of the circular arc of the primitive to be processed with the circle center to generate a circular arc segment, extending the circular arc segment parallel to the first preset basic contour line to two sides until the circular arc segment is intersected with the first target external moment, and taking the middle part intercepted by the first target external moment as a target segmentation segment of the primitive to be processed.
The segmentation module is further configured to:
if the minimum external moment of the primitive to be processed does not contain an arc line, determining that the primitive to be processed is a linear primitive, and performing grid division on the target construction drawing;
collecting all wall lines in a preset grid area range of the primitive to be processed, acquiring a line segment pair which is parallel to the primitive to be processed and has a distance exceeding a preset threshold value, and connecting and extending midpoints of the line segment pair to obtain a target segmentation line segment of the primitive to be processed.
The target map layer further comprises an elevator car map layer, the primitives to be processed further comprise elevator car door primitives, and the recognition module is further used for:
expanding the minimum external moment of the primitive to be processed to be intersected with a second preset basic contour line, setting the expanded minimum external moment as a second target external moment, wherein the second preset basic contour line is a basic contour line connected to two sides of the primitive to be processed;
and connecting the intersection point of the second target external moment and the second preset basic contour line to obtain a target segmentation line segment of the primitive to be processed.
The segmentation module is further configured to:
combining the target segmentation line segments of the primitive to be processed with the basic contour line to form a plurality of closed spaces;
and attributing each functional attribute word to each closed space according to the position of the functional attribute word so as to obtain each functional space.
Example 3
Referring to fig. 3, the present invention further provides a space partitioning apparatus based on construction drawing, which is a space partitioning apparatus based on construction drawing according to a third embodiment of the present invention, and includes a memory 20, a processor 10, and a computer program 30 stored in the memory and running on the processor, wherein the processor 10 implements the above-mentioned space partitioning method based on construction drawing when executing the computer program 30.
The space partitioning device based on the construction drawing may specifically be a computer, a server, an upper computer, and the like, and the processor 10 may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor, or another data Processing chip in some embodiments, and is configured to run a program code or process data stored in the memory 20, for example, execute an access restriction program.
The memory 20 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 20 may be an internal storage unit of the construction drawing-based space division apparatus in some embodiments, for example, a hard disk of the construction drawing-based space division apparatus. The memory 20 may also be an external storage device of the space division equipment based on the construction drawing in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the space division equipment based on the construction drawing. Further, the memory 20 may also include both an internal storage unit and an external storage device of the construction drawing-based space division apparatus. The memory 20 may be used not only to store application software installed in the construction drawing-based space dividing apparatus and various types of data, but also to temporarily store data that has been output or is to be output.
It should be noted that the configuration shown in fig. 3 does not constitute a limitation of the construction drawing-based space-dividing apparatus, and in other embodiments, the construction drawing-based space-dividing apparatus may include fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for spatial partitioning based on a construction drawing as described above.
The above examples are merely illustrative of several embodiments of the present invention, and the description thereof is more specific and detailed, but not to be construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present invention should be subject to the appended claims.

Claims (9)

1. A space segmentation method based on a construction drawing is characterized by comprising the following steps:
analyzing a target construction drawing and acquiring construction drawing information of the target construction drawing, wherein the construction drawing information comprises all layers and information of primitives in the layers;
screening out wall layers from all the layers and generating basic contour lines corresponding to the wall primitives according to the information of the wall primitives in the wall layers;
screening a target layer from all the layers and acquiring information of primitives to be processed in the target layer;
classifying and sorting the primitives to be processed in the target layer to obtain different types of primitives to be processed;
and carrying out civil wiring treatment on the primitive to be processed according to the type of the primitive to be processed and the information of the primitive to be processed, and carrying out functional space division on the construction drawing by combining all the basic contour lines and the construction drawing information to obtain each functional space.
2. The construction drawing-based space segmentation method according to claim 1, wherein the target layer includes a door layer and a window layer, the primitives to be processed include door primitives and window primitives, and in the step of classifying and sorting the primitives to be processed in the target layer to obtain different types of primitives to be processed:
and classifying and sorting the primitives to be processed in the target layer according to the line type to obtain different types of primitives to be processed, wherein the types of the primitives to be processed comprise linear primitives and arc-line primitives.
3. The construction drawing-based space partitioning method according to claim 2, wherein the information of the primitive to be processed includes position information of the primitive to be processed, and the step of performing the civil wiring processing on the primitive to be processed according to the type of the primitive to be processed and the information of the primitive to be processed includes:
constructing the minimum external moment of all the primitives in the target layer and finding the minimum external moment of the primitives to be processed according to the position information of the primitives to be processed;
judging whether the minimum external moment of the primitive to be processed contains an arc line or not;
if the minimum external moment of the primitive to be processed contains an arc line, determining that the primitive to be processed is an arc line type primitive, expanding the minimum external moment of the primitive to be processed to be intersected with a first preset basic contour line, setting the expanded minimum external moment as a first target external moment, and setting the first preset basic contour line as basic contour lines connected to two sides of the primitive to be processed;
and respectively connecting two end points of the circular arc of the primitive to be processed with the circle center to generate a circular arc segment, extending the circular arc segment parallel to the first preset basic contour line to two sides until the circular arc segment is intersected with the first target external moment, and taking the middle part intercepted by the first target external moment as a target segmentation segment of the primitive to be processed.
4. The construction drawing-based space partitioning method according to claim 3, wherein the step of determining whether the minimum external moment of the primitive to be processed includes an arc further comprises:
if the minimum external moment of the primitive to be processed does not contain an arc line, determining that the primitive to be processed is a linear primitive, and performing grid division on the target construction drawing;
collecting all wall lines in a preset grid area range of the primitive to be processed, acquiring a line segment pair which is parallel to the primitive to be processed and has a distance exceeding a preset threshold value, and connecting and extending midpoints of the line segment pair to obtain a target segmentation line segment of the primitive to be processed.
5. The construction drawing-based space segmentation method according to claim 1, wherein the target layer further includes an elevator car layer, the primitives to be processed further include elevator car door primitives, and the step of screening the target layer from all the layers and obtaining information of the primitives to be processed in the target layer further includes:
expanding the minimum external moment of the primitive to be processed to be intersected with a second preset basic contour line, setting the expanded minimum external moment as a second target external moment, wherein the second preset basic contour line is a basic contour line connected to two sides of the primitive to be processed;
and connecting the intersection point of the second target external moment and the second preset basic contour line to obtain a target segmentation line segment of the primitive to be processed.
6. The construction drawing-based space division method according to claim 4 or 5, wherein the construction drawing information includes positions of functional attribute words, and the step of performing functional space division on the construction drawing by combining all the basic contour lines and the construction drawing information to obtain each functional space includes:
combining the target segmentation line segments of the primitive to be processed with the basic contour line to form a plurality of closed spaces;
and attributing each functional attribute word to each closed space according to the position of the functional attribute word so as to obtain each functional space.
7. A space partitioning system based on a construction drawing, comprising:
an analysis module: the construction drawing analysis system is used for analyzing a target construction drawing and acquiring construction drawing information of the target construction drawing, wherein the construction drawing information comprises all layers and information of primitives in the layers;
a generation module: the device is used for screening out wall layers from all the layers and generating basic contour lines corresponding to wall primitives according to the information of the wall primitives in the wall layers;
an identification module: the processing device is used for screening a target layer from all the layers and acquiring information of primitives to be processed in the target layer;
a classification module: the processing device is used for classifying and sorting the primitives to be processed in the target layer to obtain different types of primitives to be processed;
a segmentation module: and the system is used for carrying out civil wiring treatment on the primitive to be processed according to the type of the primitive to be processed and the information of the primitive to be processed, and carrying out functional space segmentation on the construction drawing by combining all the basic contour lines and the construction drawing information to obtain each functional space.
8. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the method for construction drawing-based spatial segmentation according to any one of claims 1 to 6.
9. A construction drawing-based space partitioning apparatus comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the construction drawing-based space partitioning method according to any one of claims 1 to 6 when executing the program.
CN202210168833.3A 2022-02-24 2022-02-24 Space segmentation method, system, storage medium and equipment based on construction drawing Active CN114241509B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210168833.3A CN114241509B (en) 2022-02-24 2022-02-24 Space segmentation method, system, storage medium and equipment based on construction drawing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210168833.3A CN114241509B (en) 2022-02-24 2022-02-24 Space segmentation method, system, storage medium and equipment based on construction drawing

Publications (2)

Publication Number Publication Date
CN114241509A true CN114241509A (en) 2022-03-25
CN114241509B CN114241509B (en) 2022-07-08

Family

ID=80747886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210168833.3A Active CN114241509B (en) 2022-02-24 2022-02-24 Space segmentation method, system, storage medium and equipment based on construction drawing

Country Status (1)

Country Link
CN (1) CN114241509B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114821627A (en) * 2022-06-29 2022-07-29 江西少科智能建造科技有限公司 Intelligent examination method and system for door installation drawing, storage medium and electronic equipment
CN115270242A (en) * 2022-07-11 2022-11-01 中国建筑西南设计研究院有限公司 BIM-based basic big sample reinforcement map generation method, electronic device and readable medium
CN115357415A (en) * 2022-10-19 2022-11-18 广州市保伦电子有限公司 Qt-based classification drawing method and device
CN117237977A (en) * 2023-11-16 2023-12-15 江西少科智能建造科技有限公司 Area division method and system for CAD drawing
CN117592949A (en) * 2024-01-18 2024-02-23 一智科技(成都)有限公司 Construction task management method, system and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108268862A (en) * 2018-02-09 2018-07-10 广州大学 Door and window automatic identifying method based on architectural drawing
CN108376248A (en) * 2018-02-09 2018-08-07 广州大学 Column based on architectural drawing and wall automatic identifying method
CN108917593A (en) * 2018-05-14 2018-11-30 南京工业大学 Intelligent measurement system and method based on element configuration of workpiece to be measured
WO2019003467A1 (en) * 2017-06-27 2019-01-03 三菱電機株式会社 System for assisting in creating building facility drawing
CN113255044A (en) * 2021-06-09 2021-08-13 青岛理工大学 Intelligent drawing method for fabricated building based on BIM
CN113887508A (en) * 2021-10-25 2022-01-04 上海品览数据科技有限公司 Method for accurately identifying center line of public corridor space in building professional residential plan
CN113886931A (en) * 2021-10-21 2022-01-04 上海品览数据科技有限公司 CAD drawing fire-fighting linkage alarm wire casing arrangement method based on B-star algorithm
CN113887510A (en) * 2021-10-26 2022-01-04 上海品览数据科技有限公司 Method for identifying space in all sleeves of one house in CAD plan
CN113962000A (en) * 2021-10-21 2022-01-21 上海品览数据科技有限公司 Method for dynamically arranging smoke detectors in CAD (computer-aided design) drawing
CN113963369A (en) * 2021-10-26 2022-01-21 上海品览数据科技有限公司 Method for extracting spatial contour skeleton line of plan
CN113987652A (en) * 2021-10-29 2022-01-28 久瓴(江苏)数字智能科技有限公司 Wall model generation method and device
CN114022895A (en) * 2021-10-27 2022-02-08 上海品览数据科技有限公司 Method for accurately identifying house type in building professional residential plan
CN114022894A (en) * 2021-10-27 2022-02-08 上海品览数据科技有限公司 Method for accurately identifying front rooms of stairs in CAD (computer-aided design) drawing

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019003467A1 (en) * 2017-06-27 2019-01-03 三菱電機株式会社 System for assisting in creating building facility drawing
CN108268862A (en) * 2018-02-09 2018-07-10 广州大学 Door and window automatic identifying method based on architectural drawing
CN108376248A (en) * 2018-02-09 2018-08-07 广州大学 Column based on architectural drawing and wall automatic identifying method
CN108917593A (en) * 2018-05-14 2018-11-30 南京工业大学 Intelligent measurement system and method based on element configuration of workpiece to be measured
CN113255044A (en) * 2021-06-09 2021-08-13 青岛理工大学 Intelligent drawing method for fabricated building based on BIM
CN113886931A (en) * 2021-10-21 2022-01-04 上海品览数据科技有限公司 CAD drawing fire-fighting linkage alarm wire casing arrangement method based on B-star algorithm
CN113962000A (en) * 2021-10-21 2022-01-21 上海品览数据科技有限公司 Method for dynamically arranging smoke detectors in CAD (computer-aided design) drawing
CN113887508A (en) * 2021-10-25 2022-01-04 上海品览数据科技有限公司 Method for accurately identifying center line of public corridor space in building professional residential plan
CN113887510A (en) * 2021-10-26 2022-01-04 上海品览数据科技有限公司 Method for identifying space in all sleeves of one house in CAD plan
CN113963369A (en) * 2021-10-26 2022-01-21 上海品览数据科技有限公司 Method for extracting spatial contour skeleton line of plan
CN114022895A (en) * 2021-10-27 2022-02-08 上海品览数据科技有限公司 Method for accurately identifying house type in building professional residential plan
CN114022894A (en) * 2021-10-27 2022-02-08 上海品览数据科技有限公司 Method for accurately identifying front rooms of stairs in CAD (computer-aided design) drawing
CN113987652A (en) * 2021-10-29 2022-01-28 久瓴(江苏)数字智能科技有限公司 Wall model generation method and device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
DAZHOU XU 等: "Extracting Indoor Spatial Objects from CAD Models: A Database Approach", 《DATABASE SYSTEMS FOR ADVANCED APPLICATIONS》 *
孙卫新等: "源自建筑平面图的室内地图空间数据自动生成方法", 《测绘学报》 *
许大洲 等: "室内空间数据获取与生成研究", 《中国硕士学位论文全文数据库》 *
颜巍等: "建筑楼板结构平面图的自动识别方法", 《计算机辅助设计与图形学学报》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114821627A (en) * 2022-06-29 2022-07-29 江西少科智能建造科技有限公司 Intelligent examination method and system for door installation drawing, storage medium and electronic equipment
CN115270242A (en) * 2022-07-11 2022-11-01 中国建筑西南设计研究院有限公司 BIM-based basic big sample reinforcement map generation method, electronic device and readable medium
CN115357415A (en) * 2022-10-19 2022-11-18 广州市保伦电子有限公司 Qt-based classification drawing method and device
CN115357415B (en) * 2022-10-19 2023-02-24 广州市保伦电子有限公司 Qt-based classification drawing method and device
CN117237977A (en) * 2023-11-16 2023-12-15 江西少科智能建造科技有限公司 Area division method and system for CAD drawing
CN117237977B (en) * 2023-11-16 2024-03-08 江西少科智能建造科技有限公司 Area division method and system for CAD drawing
CN117592949A (en) * 2024-01-18 2024-02-23 一智科技(成都)有限公司 Construction task management method, system and storage medium
CN117592949B (en) * 2024-01-18 2024-06-11 一智科技(成都)有限公司 Construction task management method, system and storage medium

Also Published As

Publication number Publication date
CN114241509B (en) 2022-07-08

Similar Documents

Publication Publication Date Title
CN114241509B (en) Space segmentation method, system, storage medium and equipment based on construction drawing
CN111782583B (en) Intelligent drawing examining method and related device
Ochmann et al. Automatic generation of structural building descriptions from 3D point cloud scans
CN110334390B (en) Method and device for identifying outer wall in computer-aided design (CAD), storage medium and processor
CN109783611A (en) A kind of method, apparatus of fields match, computer storage medium and terminal
CN114972659B (en) Method and system for converting two-dimensional drawing into three-dimensional model for drawing examination
CN110246567B (en) Medical image preprocessing method
CN111353580B (en) Training method of target detection network, electronic equipment and storage medium
CN111782584A (en) Building drawing preprocessing system, method, electronic equipment and storage medium
CN113642065B (en) Indoor semi-automatic drawing and modeling method based on DXF vector plan
CN113962000A (en) Method for dynamically arranging smoke detectors in CAD (computer-aided design) drawing
CN115393420A (en) Method and system for calculating space area of building drawing
CN113673413A (en) Method and device for examining architectural drawings, computer readable medium and electronic equipment
CN114090556B (en) Electric power marketing data acquisition method and system
US20230281350A1 (en) A Computer Implemented Method of Generating a Parametric Structural Design Model
CN112597662A (en) Method and system for checking correctness and mistakes of building model
CN113537026A (en) Primitive detection method, device, equipment and medium in building plan
CN110796129A (en) Text line region detection method and device
CN117593420A (en) Plane drawing labeling method, device, medium and equipment based on image processing
CN115618468B (en) Revit-based door and window large-scale pattern rapid drawing method, storage medium and equipment
CN110807286A (en) Structural grid identification method
US7073152B2 (en) System and method for determining a highest level signal name in a hierarchical VLSI design
CN106997462A (en) A kind of quantum wire image-recognizing method
CN115577424A (en) Method, device, equipment and storage medium for calculating construction engineering quantity
CN115082944A (en) Intelligent identification and segmentation method, system and terminal for table

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
GR01 Patent grant
GR01 Patent grant