CN114283189A - Beam line processing method, device, equipment and storage medium - Google Patents
Beam line processing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN114283189A CN114283189A CN202111406333.0A CN202111406333A CN114283189A CN 114283189 A CN114283189 A CN 114283189A CN 202111406333 A CN202111406333 A CN 202111406333A CN 114283189 A CN114283189 A CN 114283189A
- Authority
- CN
- China
- Prior art keywords
- beam line
- position information
- line
- contour
- cut
- 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
Links
Images
Landscapes
- Laser Beam Processing (AREA)
Abstract
The application relates to a beam line processing method, a beam line processing device, beam line processing equipment and a storage medium, and relates to the technical field of drawing correction. The beam line processing method comprises the following steps: analyzing first position information of each beam line from a construction drawing; analyzing second position information of the contour line of each wall column from the construction drawing; identifying an irregular beam line according to the first position information and the second position information, wherein the irregular beam line comprises at least one of a beam line which has an intersection point with the contour line of the wall column and a beam line which does not have an intersection point with the contour line of the wall column and has a distance with the contour line smaller than a preset distance value; and cutting off the irregular beam line, removing a cut-off part, and generating a cut-off beam line, wherein the cut-off beam line is a standard beam line. The method is used for solving the problem that the beam line is not standard and the beam member is difficult to identify.
Description
Technical Field
The present disclosure relates to the field of drawing correction technologies, and in particular, to a beam line processing method, device, and apparatus, and a storage medium.
Background
Because the designer is not standard when drawing the beam line, some beam lines pass through the wall column or are tightly attached to one edge of the wall column when drawing the beam line. In practice, it is not possible to have beam lines running through them in the wall studs and therefore modifications to these beam lines are required. Beam line irregularities can lead to subsequent beam member identification difficulties.
Disclosure of Invention
The application provides a beam line processing method, a beam line processing device, beam line processing equipment and a storage medium, which are used for solving the problem that beam members are difficult to identify due to the fact that beam lines are not standard.
In a first aspect, an embodiment of the present application provides a beam line processing method, including:
analyzing first position information of each beam line from a construction drawing;
analyzing second position information of the contour line of each wall column from the building drawing;
identifying an irregular beam line according to the first position information and the second position information, wherein the irregular beam line comprises at least one of a beam line which has an intersection point with the contour line of the wall column and a beam line which does not have an intersection point with the contour line of the wall column and has a distance with the contour line smaller than a preset distance value;
the method comprises the following steps of cutting an irregular beam line, removing a cut part, and generating a cut beam line, wherein the cut beam line is a standard beam line, the cut part is that the irregular beam line is positioned on the contour line of the wall column to form a beam line segment inside a region, or the distance between the irregular beam line and the contour line of the wall column is smaller than the beam line segment with a preset distance value.
Optionally, the identifying an irregular beam line according to the first position information and the second position information includes:
judging whether the beam line and the contour line of the wall column have an intersection point or not according to the first position information and the second position information;
and if the beam line and the contour line of the wall column have an intersection point, taking the beam line with the intersection point as the irregular beam line.
Optionally, the cutting the irregular beam line, removing the cut part, and generating a cut beam line includes:
acquiring third position information of the intersection point, fourth position information of the beam line with the intersection point and fifth position information of the contour line of the wall column with the intersection point according to the first position information and the second position information;
and according to the third position information, the fourth position information and the fifth position information, the beam line is cut off from the intersection point, a line segment of the beam line in an area enclosed by the contour lines of the wall columns is used as the cut-off part, the cut-off part is removed, and the cut-off beam line is generated.
Optionally, the identifying an irregular beam line according to the first position information and the second position information includes:
judging whether the beam line and the contour line of the wall column have an intersection point or not according to the first position information and the second position information;
if the beam line and the contour line of the wall column do not have an intersection point, acquiring the distance between the contour line of the wall column and the beam line;
judging whether the distance is smaller than the preset distance value or not;
and if the distance is smaller than the preset distance value, taking the beam line as the irregular beam line.
Optionally, the obtaining a distance between the contour line of the wall column and the beam line includes:
acquiring sixth position information of the rotated beam line;
calculating a coordinate transformation matrix according to the first position information and the sixth position information;
rotating the contour line of the wall column and the beam line together, and rotating the beam line to the x-axis direction;
acquiring seventh position information of the wall column after the contour line is rotated according to the coordinate conversion matrix and the second position information;
calculating a difference between a first ordinate in the sixth position information and a second ordinate in the seventh position information;
and taking the difference value as the distance.
Optionally, the cutting the irregular beam line, removing the cut part, and generating a cut beam line includes:
truncating the irregular beam line according to a first abscissa in the sixth position information and a second abscissa in the seventh position information;
taking the beam line segment of the first abscissa in the interval of the second abscissa as the truncation part;
acquiring eighth position information of the truncated part after rotation;
acquiring ninth position information before the truncated part rotates according to the eighth position information and the coordinate conversion matrix;
and removing the cut part according to the ninth position information to generate the cut beam line.
Optionally, before obtaining the distance between the contour line of the wall column and the beam line, the method further includes:
and determining that the beam line is positioned outside the region enclosed by the contour lines of the wall columns.
In a second aspect, an embodiment of the present application provides a beam line processing apparatus, including:
the first analyzing module is used for analyzing first position information of each beam line from the building drawing;
the second analysis module is used for analyzing second position information of the contour line of each wall column from the building drawing;
the identification module is used for identifying irregular beam lines according to the first position information and the second position information, wherein the irregular beam lines comprise at least one of beam lines which have intersection points with the contour lines of the wall columns and beam lines which do not have intersection points with the contour lines of the wall columns and have distances smaller than preset distance values;
the processing module is used for cutting the irregular beam line, removing the cut part and generating the cut beam line, wherein the cut beam line is a standard beam line, the cut part is that the irregular beam line is positioned on the contour line of the wall column to form a beam line segment inside the area, or the distance between the irregular beam line and the contour line of the wall column is smaller than the beam line segment with the preset distance value.
In a third aspect, an embodiment of the present application provides an electronic device, including: the system comprises a processor, a memory and a communication bus, wherein the processor 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 beam line processing method 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 the computer program, when executed by a processor, implements the beam line processing method according to the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: the method provided by the embodiment of the application analyzes the first position information of each beam line from the building drawing, analyzes the second position information of the contour line of each wall column from the building drawing, identifies the irregular beam line according to the first position information and the second position information, wherein the irregular beam line comprises at least one of a beam line having an intersection point with the contour line of the wall column and a beam line having no intersection point with the contour line of the wall column and having a distance from the contour line smaller than a preset distance value, the irregular beam line is cut, the cut portion is removed, and a cut beam line is generated, wherein the cut beam line is a standard beam line, the cut part is an irregular beam line which is enclosed into a beam line segment in the area on the contour line of the wall column, or the distance between the irregular beam line and the contour line of the wall column is smaller than the beam line segment with the preset distance value. This application is through discerning the beam line of irregularity to cutting the beam line of irregularity, getting rid of and cutting the part, the beam line after the generation is cut off has revised the beam line of irregularity, makes the beam line standardization, can improve the rate of accuracy and the efficiency that the roof beam component discerned, has solved the problem that the beam line is irregular to lead to the roof beam component to discern the difficulty.
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 a schematic flow chart of a method for beam line processing in an embodiment of the present application;
FIG. 2 is a schematic view of a beam line having an intersection with the contour line of a wall stud in one embodiment of the present application;
FIG. 3 is a schematic flow chart illustrating a method for identifying irregular beam lines in an exemplary embodiment of the present application;
FIG. 4 is a schematic flow chart illustrating a method for obtaining a distance between a contour line of a wall column and a beam line according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a beam line that has no intersection with the contour line of a wall stud and has a distance from the contour line that is less than a predetermined distance value in one embodiment of the present application;
FIG. 6 is a schematic diagram of a beam line having an intersection with the contour line of wall stud A and no intersection with the contour line of wall stud B and having a distance from the contour line of wall stud B less than a predetermined distance value in an embodiment of the present application;
FIG. 7 is a schematic view of a beam line after being cut away in one embodiment of the present application;
FIG. 8 is a schematic flow chart illustrating a method for generating a truncated beam line according to an exemplary embodiment of the present disclosure;
FIG. 9 is a schematic view of a beam line after being cut away in one embodiment of the present application;
FIG. 10 is a schematic view of a beam line after being cut away in one embodiment of the present application;
FIG. 11 is a schematic structural view of a beam line processing apparatus according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an electronic device in 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.
In the embodiment of the application, a beam line processing method is provided, and the method can be applied to a server, and certainly can also be applied to other electronic devices, such as a terminal (a mobile phone, a tablet computer, and the like). In the embodiment of the present application, the method is described as being applied to a server.
In the embodiment of the present application, as shown in fig. 1, the method flow of beam line processing mainly includes:
The construction drawing can be drawings in various formats, and the protection scope of the application is not limited by the specific format of the construction drawing. In the embodiment of the present application, an architectural drawing is taken as an example for explanation.
The first position information of the beam line may be a two-dimensional coordinate value of each point in the beam line in the building drawing, or may be a two-dimensional coordinate value of a key point in the beam line, for example, two-dimensional coordinate values of two end points of each beam line.
In a specific embodiment, the analyzing the first position information of each beam line from the construction drawing includes: identifying a first layer where a beam line is located from a construction drawing; and analyzing the first position information from the first layer.
And 102, analyzing second position information of the contour line of each wall column from the building drawing.
The second position information of the contour line of the wall column may be a two-dimensional coordinate value of each point in the contour line of the wall column in the construction drawing, or may be a two-dimensional coordinate value of a key point in the contour line of the wall column, for example, two-dimensional coordinate values of two end points of each line segment in the contour line.
In one embodiment, the analyzing the second position information of the contour line of each wall column from the construction drawing includes: identifying a second layer where the contour line of the wall column is located from the construction drawing; and analyzing the second position information from the second layer.
And 103, identifying irregular beam lines according to the first position information and the second position information, wherein the irregular beam lines comprise at least one of beam lines which have intersection points with the contour lines of the wall columns and beam lines which do not have intersection points with the contour lines of the wall columns and have distances with the contour lines smaller than a preset distance value.
The beam line that is irregular can be the beam line that has the nodical with the contour line of wall post, also can be the beam line that does not have the nodical and with the distance between the contour line of wall post be less than the distance value of predetermineeing with the contour line of wall post, can also be with the contour line of wall post A have the nodical and with the contour line of wall post B do not have the nodical and with the distance between the contour line of wall post B be less than the beam line of predetermineeing the distance value.
In one embodiment, identifying an irregular beam line based on the first position information and the second position information includes: judging whether the contour lines of the beam line and the wall column have intersection points or not according to the first position information and the second position information; if the contour lines of the beam line and the wall column have intersection points, the beam line with the intersection points is used as an irregular beam line. As shown in fig. 2, a schematic view of a beam line having an intersection with the contour line of a wall stud. In fig. 2, the solid line is the outline of the wall column, and the dotted line is the beam line.
In one embodiment, as shown in fig. 3, identifying an irregular beam line according to the first position information and the second position information includes:
and step 301, judging whether the contour lines of the beam line and the wall column have intersection points or not according to the first position information and the second position information.
And step 302, if the beam line and the contour line of the wall column do not have an intersection point, acquiring the distance between the contour line of the wall column and the beam line.
A two-dimensional coordinate system is set in a building drawing, namely an original point, an x axis and a y axis are set, position information in the building drawing is a two-dimensional coordinate value, namely an abscissa and an ordinate, the length of a line segment in the x axis direction is the abscissa, and the length of a line segment in the y axis direction is the ordinate.
And if the beam line is in the x-axis direction, acquiring the distance between the contour line of the wall column and the beam line according to the ordinate of the beam line and the ordinate of the contour line of the wall column.
And if the beam line is in the y-axis direction, acquiring the distance between the contour line of the wall column and the beam line according to the abscissa of the beam line and the abscissa of the contour line of the wall column.
If the beam line is not in the x-axis direction or the y-axis direction, in one embodiment, as shown in fig. 4, the obtaining the distance between the contour line of the wall column and the beam line includes:
And 402, calculating a coordinate transformation matrix according to the first position information and the sixth position information.
And step 403, rotating the contour line of the wall column and the beam line together, and rotating the beam line to the x-axis direction.
And step 404, acquiring seventh position information after the contour line of the wall column rotates according to the coordinate conversion matrix and the second position information.
In step 405, a difference between the first ordinate in the sixth position information and the second ordinate in the seventh position information is calculated.
In one embodiment, before obtaining the distance between the contour line of the wall column and the beam line, the beam line processing method further includes: and determining the beam line outside the area enclosed by the contour lines of the wall columns. If the beam line is in the inner part of the area enclosed by the contour lines of the wall columns, the beam line belongs to the conversion layer. The upper part and the lower part of a certain floor of the building have different using functions due to the plane, the upper part and the lower part of the floor adopt different structural types, and structural conversion is carried out through the floor, so the floor is called a conversion floor. The inside of the beam line in the conversion layer in the region enclosed by the contour lines of the wall columns belongs to the normal condition, and the beam line does not need to be cut off.
The preset distance value may be an empirical value or a value obtained through a plurality of tests, for example, the preset distance value is 1 mm.
And 304, if the distance is smaller than the preset distance value, taking the beam line as an irregular beam line.
In one embodiment, as shown in fig. 5, the schematic diagram of the beam line is shown, wherein the beam line has no intersection point with the contour line of the wall column and the distance between the beam line and the contour line is less than the preset distance value. In fig. 5, the solid line is the outline of the wall column, and the broken line is the beam line.
In one embodiment, as shown in fig. 6, the schematic diagram of the beam line having an intersection point with the contour line of the wall stud a and a non-intersection point with the contour line of the wall stud B, and the distance between the beam line and the contour line of the wall stud B is less than a predetermined distance value. In fig. 6, the thick solid line is the contour line of the wall stud a, the thin solid line is the contour line of the wall stud B, and the dotted line is the beam line.
And step 104, cutting off the irregular beam line, removing a cut-off part, and generating the cut-off beam line, wherein the cut-off beam line is a standard beam line, and the cut-off part is a beam line segment of which the irregular beam line is enclosed into an area inside the contour line of the wall column, or a beam line segment of which the distance between the irregular beam line and the contour line of the wall column is smaller than a preset distance value.
In one embodiment, the method for cutting off an irregular beam line and removing a cut-off portion to generate a cut-off beam line includes: acquiring third position information of the intersection point, fourth position information of a beam line with the intersection point and fifth position information of a contour line of a wall column with the intersection point according to the first position information and the second position information; and according to the third position information, the fourth position information and the fifth position information, the beam line is cut off from the intersection point, a line segment of the beam line in an area enclosed by the contour lines of the wall column is used as a cut-off part, the cut-off part is removed, and the cut-off beam line is generated. Fig. 7 is a schematic view of a beam line after being cut. In fig. 7, the solid line is the outline of the wall column, and the broken line is the beam line after the cutoff.
In one embodiment, as shown in fig. 8, the cutting off an irregular beam line, removing a cut-off portion, and generating a cut-off beam line includes:
and 801, truncating the irregular beam line according to the first abscissa in the sixth position information and the second abscissa in the seventh position information.
And step 802, taking the beam line segment of the first abscissa in the interval of the second abscissa as a truncation part.
In step 803, eighth position information after the truncated part is rotated is acquired.
And step 804, acquiring ninth position information before the truncated part rotates according to the eighth position information and the coordinate conversion matrix.
And step 805, removing the cut part according to the ninth position information to generate a cut beam line.
In one embodiment, as shown in FIG. 9, a schematic view of a beam line is shown after it has been cut. In fig. 9, the solid line is the outline of the wall column, and the broken line is the beam line after the cutoff.
In one embodiment, as shown in FIG. 10, a schematic view of a beam line is shown after it has been cut. In fig. 10, the thick solid line is the contour line of the wall stud a, the thin solid line is the contour line of the wall stud B, and the broken line is the beam line after being cut.
To sum up, the method provided by the embodiment of the application analyzes the first position information of each beam line from the building drawing, analyzes the second position information of the contour line of each wall column from the building drawing, identifies the irregular beam line according to the first position information and the second position information, wherein the irregular beam line comprises at least one of a beam line having an intersection point with the contour line of the wall column and a beam line having no intersection point with the contour line of the wall column and having a distance from the contour line smaller than a preset distance value, the irregular beam line is cut, the cut portion is removed, and a cut beam line is generated, wherein the cut beam line is a standard beam line, the cut part is an irregular beam line which is enclosed into a beam line segment in the area on the contour line of the wall column, or the distance between the irregular beam line and the contour line of the wall column is smaller than the beam line segment with the preset distance value. This application is through discerning the beam line of irregularity to cutting the beam line of irregularity, getting rid of and cutting the part, the beam line after the generation is cut off has revised the beam line of irregularity, makes the beam line standardization, can improve the rate of accuracy and the efficiency that the roof beam component discerned, has solved the problem that the beam line is irregular to lead to the roof beam component to discern the difficulty.
Based on the same concept, embodiments of the present application provide a beam line processing apparatus, and specific implementation of the apparatus may refer to descriptions in the method embodiment section, and repeated descriptions are omitted, as shown in fig. 11, the apparatus mainly includes:
the first analyzing module 1101 is used for analyzing first position information of each beam line from a construction drawing;
the second analyzing module 1102 is configured to analyze second position information of the contour line of each wall column from the building drawing;
the identification module 1103 is configured to identify an irregular beam line according to the first position information and the second position information, where the irregular beam line includes at least one of a beam line that has an intersection with a contour line of the wall column and a beam line that has no intersection with the contour line of the wall column and has a distance with the contour line that is less than a preset distance value;
Based on the same concept, an embodiment of the present application further provides an electronic device, as shown in fig. 12, the electronic device mainly includes: a processor 1201, a memory 1202, and a communication bus 1203, wherein the processor 1201 and the memory 1202 communicate with each other via the communication bus 1203. The memory 1202 stores a program executable by the processor 1201, and the processor 1201 executes the program stored in the memory 1202 to implement the following steps:
analyzing first position information of each beam line from a construction drawing; analyzing second position information of the contour line of each wall column from the construction drawing; identifying an irregular beam line according to the first position information and the second position information, wherein the irregular beam line comprises at least one of a beam line which has an intersection point with the contour line of the wall column and a beam line which does not have an intersection point with the contour line of the wall column and has a distance with the contour line smaller than a preset distance value; truncate the beam line of irregularity, get rid of and cut the part, generate the beam line after cutting, wherein, the beam line after cutting is standard beam line, cuts the part and encloses into regional inside beam line segment for the contour line of wall post of beam line of irregularity, perhaps in the beam line of irregularity and the distance between the contour line of wall post is less than the beam line segment of predetermineeing the distance value.
The communication bus 1203 mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 1203 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 12, but this is not intended to represent only one bus or type of bus.
The Memory 1202 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 processor 1201.
The Processor 1201 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), 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 yet 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 beam line processing method 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 beam line processing method, comprising:
analyzing first position information of each beam line from a construction drawing;
analyzing second position information of the contour line of each wall column from the building drawing;
identifying an irregular beam line according to the first position information and the second position information, wherein the irregular beam line comprises at least one of a beam line which has an intersection point with the contour line of the wall column and a beam line which does not have an intersection point with the contour line of the wall column and has a distance with the contour line smaller than a preset distance value;
the method comprises the following steps of cutting an irregular beam line, removing a cut part, and generating a cut beam line, wherein the cut beam line is a standard beam line, the cut part is that the irregular beam line is positioned on the contour line of the wall column to form a beam line segment inside a region, or the distance between the irregular beam line and the contour line of the wall column is smaller than the beam line segment with a preset distance value.
2. The beam line processing method according to claim 1, wherein the identifying an irregular beam line from the first position information and the second position information includes:
judging whether the beam line and the contour line of the wall column have an intersection point or not according to the first position information and the second position information;
and if the beam line and the contour line of the wall column have an intersection point, taking the beam line with the intersection point as the irregular beam line.
3. The beam line processing method according to claim 2, wherein the cutting the irregular beam line, removing a cut portion, and generating a cut beam line, comprises:
acquiring third position information of the intersection point, fourth position information of the beam line with the intersection point and fifth position information of the contour line of the wall column with the intersection point according to the first position information and the second position information;
and according to the third position information, the fourth position information and the fifth position information, the beam line is cut off from the intersection point, a line segment of the beam line in an area enclosed by the contour lines of the wall columns is used as the cut-off part, the cut-off part is removed, and the cut-off beam line is generated.
4. The beam line processing method according to claim 1, wherein the identifying an irregular beam line from the first position information and the second position information includes:
judging whether the beam line and the contour line of the wall column have an intersection point or not according to the first position information and the second position information;
if the beam line and the contour line of the wall column do not have an intersection point, acquiring the distance between the contour line of the wall column and the beam line;
judging whether the distance is smaller than the preset distance value or not;
and if the distance is smaller than the preset distance value, taking the beam line as the irregular beam line.
5. The beam line processing method according to claim 4, wherein the obtaining of the distance between the contour line of the wall column and the beam line includes:
acquiring sixth position information of the rotated beam line;
calculating a coordinate transformation matrix according to the first position information and the sixth position information;
rotating the contour line of the wall column and the beam line together, and rotating the beam line to the x-axis direction;
acquiring seventh position information of the wall column after the contour line is rotated according to the coordinate conversion matrix and the second position information;
calculating a difference between a first ordinate in the sixth position information and a second ordinate in the seventh position information;
and taking the difference value as the distance.
6. The beam line processing method according to claim 5, wherein the cutting the irregular beam line, removing a cut portion, and generating a cut beam line, comprises:
truncating the irregular beam line according to a first abscissa in the sixth position information and a second abscissa in the seventh position information;
taking the beam line segment of the first abscissa in the interval of the second abscissa as the truncation part;
acquiring eighth position information of the truncated part after rotation;
acquiring ninth position information before the truncated part rotates according to the eighth position information and the coordinate conversion matrix;
and removing the cut part according to the ninth position information to generate the cut beam line.
7. The beam line processing method according to claim 4, wherein before the obtaining of the distance between the contour line of the wall column and the beam line, the method further comprises:
and determining that the beam line is positioned outside the region enclosed by the contour lines of the wall columns.
8. A beam line processing apparatus, comprising:
the first analyzing module is used for analyzing first position information of each beam line from the building drawing;
the second analysis module is used for analyzing second position information of the contour line of each wall column from the building drawing;
the identification module is used for identifying irregular beam lines according to the first position information and the second position information, wherein the irregular beam lines comprise at least one of beam lines which have intersection points with the contour lines of the wall columns and beam lines which do not have intersection points with the contour lines of the wall columns and have distances smaller than preset distance values;
the processing module is used for cutting the irregular beam line, removing the cut part and generating the cut beam line, wherein the cut beam line is a standard beam line, the cut part is that the irregular beam line is positioned on the contour line of the wall column to form a beam line segment inside the area, or the distance between the irregular beam line and the contour line of the wall column is smaller than the beam line segment with the preset distance value.
9. An electronic device, comprising: the system comprises a processor, a memory and a communication bus, wherein the processor 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 beam line processing method 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 beam line processing method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111406333.0A CN114283189A (en) | 2021-11-24 | 2021-11-24 | Beam line processing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111406333.0A CN114283189A (en) | 2021-11-24 | 2021-11-24 | Beam line processing method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114283189A true CN114283189A (en) | 2022-04-05 |
Family
ID=80870062
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111406333.0A Pending CN114283189A (en) | 2021-11-24 | 2021-11-24 | Beam line processing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114283189A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115082951A (en) * | 2022-07-19 | 2022-09-20 | 万翼科技有限公司 | Beam member identification method, device, equipment and storage medium |
-
2021
- 2021-11-24 CN CN202111406333.0A patent/CN114283189A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115082951A (en) * | 2022-07-19 | 2022-09-20 | 万翼科技有限公司 | Beam member identification method, device, equipment and storage medium |
CN115082951B (en) * | 2022-07-19 | 2023-01-10 | 万翼科技有限公司 | Beam member identification method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109670091B (en) | Metadata intelligent maintenance method and device based on data standard | |
EP4145326A1 (en) | Three-dimensional layout method, apparatus, and device for physical protection system of nuclear power plant | |
CN114282288A (en) | Axle network identification method, device, equipment and storage medium | |
CN114283189A (en) | Beam line processing method, device, equipment and storage medium | |
CN114329469A (en) | API abnormal calling behavior detection method, device, equipment and storage medium | |
CN114445844A (en) | Plate member identification method, device, equipment and storage medium | |
CN114283190A (en) | Beam line splicing method, device, equipment and storage medium | |
CN110287361B (en) | Figure picture screening method and device | |
CN111523531A (en) | Word processing method and device, electronic equipment and computer readable storage medium | |
CN115082951B (en) | Beam member identification method, device, equipment and storage medium | |
CN111768345B (en) | Correction method, device, equipment and storage medium for identity card back image | |
CN109871172B (en) | Mouse clicking method and device in automatic test and readable storage medium | |
CN114297758B (en) | House type graph generation method, house type graph generation device, medium and equipment | |
CN115116084A (en) | Method, device and equipment for identifying quotation and storage medium | |
CN109067726B (en) | Identification method and device for station building system, electronic equipment and storage medium | |
CN111881050B (en) | Text layer cutting method and device and electronic equipment | |
CN112346927A (en) | Method and device for detecting file descriptor, vehicle-mounted equipment and vehicle | |
CN115063829B (en) | Non-closed region identification method, device, equipment and storage medium | |
EP3971739A1 (en) | Document element alignment method and apparatus, electronic device, and storage medium | |
CN111815499A (en) | Watermark deleting method and device | |
CN113392453B (en) | Space extraction method and device in engineering drawing, electronic equipment and storage medium | |
CN115170778A (en) | Method, device, equipment and storage medium for associating component information of drawing and model | |
CN114442867A (en) | Method, equipment and storage medium for problem record generation and problem screenshot positioning | |
CN114202507A (en) | Mesa contour shape recognition method and device, electronic equipment and storage medium | |
CN110166421B (en) | Intrusion control method and device based on log monitoring and terminal equipment |
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 |