CN114283190A - Beam line splicing method, device, equipment and storage medium - Google Patents

Beam line splicing method, device, equipment and storage medium Download PDF

Info

Publication number
CN114283190A
CN114283190A CN202111406344.9A CN202111406344A CN114283190A CN 114283190 A CN114283190 A CN 114283190A CN 202111406344 A CN202111406344 A CN 202111406344A CN 114283190 A CN114283190 A CN 114283190A
Authority
CN
China
Prior art keywords
line
beam line
point
splicing
lines
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111406344.9A
Other languages
Chinese (zh)
Inventor
颜昌涛
蔡磊
颜家胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wanyi Technology Co Ltd
Original Assignee
Wanyi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wanyi Technology Co Ltd filed Critical Wanyi Technology Co Ltd
Priority to CN202111406344.9A priority Critical patent/CN114283190A/en
Publication of CN114283190A publication Critical patent/CN114283190A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Conveying And Assembling Of Building Elements In Situ (AREA)

Abstract

The application relates to a beam line splicing method, a beam line splicing device, beam line splicing equipment and a storage medium, and relates to the technical field of drawing correction. The beam line splicing method comprises the following steps: analyzing first position information of each beam line from a building drawing; acquiring any two beam lines with the same end point according to the first position information, taking the any two beam lines with the same end point as a combination, and taking the end point as an angular point; acquiring a target angular point needing to be spliced with the angular point; connecting the angular points with the target angular points to generate splicing line segments; and generating the spliced beam line according to the beam line and the spliced line section. The method and the device are used for solving the problem that the beam line is not drawn according to actual conditions to cause difficulty in beam member identification.

Description

Beam line splicing method, device, equipment and storage medium
Technical Field
The application relates to the technical field of drawing correction, in particular to a beam line splicing method, device, equipment and storage medium.
Background
In the prior art, most designers do not draw according to the actual situation of a beam line when drawing a cross beam or a T-shaped beam, and all draw in a disconnected shape. In practice there should be a connection at part of the cross beam or T beam so that there is a break from beam to beam. Therefore, these beam lines need to be corrected. The beam line is not drawn as it is, which may cause difficulty in recognition of the subsequent beam member.
Disclosure of Invention
The application provides a beam line splicing method, a beam line splicing device, beam line splicing 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 drawn according to actual conditions.
In a first aspect, an embodiment of the present application provides a beam line splicing method, including:
analyzing first position information of each beam line from a building drawing;
acquiring any two beam lines with the same end point according to the first position information, taking the any two beam lines with the same end point as a combination, and taking the end point as an angular point;
acquiring a target corner needing to be spliced with the corner;
connecting the angular point with the target angular point to generate a splicing line segment;
and generating the spliced beam line according to the beam line and the splicing line section.
Optionally, the acquiring a target corner to be spliced with the corner includes:
in the combination, starting from the corner point, generating two reverse extension lines of the two beam lines;
and determining the target corner point according to the two reverse extension lines.
Optionally, the determining the target corner point according to the two reverse extension lines includes:
acquiring another angular point on any one of the two reverse extension lines;
judging whether a first beam line in the combination where the corner point is located and a second beam line in the combination where the other corner point is located are on the same side of any reverse extension line, wherein the first beam line and any reverse extension line are not on the same straight line, and the second beam line and any reverse extension line are not on the same straight line;
and if the first beam line and the second beam line are on the same side of any reverse extension line, taking the other corner point as the target corner point.
Optionally, the determining the target corner point according to the two reverse extension lines includes:
acquiring another angular point of which the distance between the other angle point and any one of the two reverse extension lines is smaller than a preset distance value;
judging whether a third beam line in the combination where the angular point is located and a fourth beam line in the combination where the other angular point is located are on the same side of any reverse extension line, wherein the third beam line and any reverse extension line are not on the same straight line, and an included angle between a straight line where the fourth beam line is located and a straight line where any reverse extension line is located is smaller than a preset angle value;
and if the third beam line and the fourth beam line are on the same side of any reverse extension line, taking the other corner point as the target corner point.
Optionally, after generating the spliced beam line according to the beam line and the spliced line segment, the method further includes:
analyzing second position information of the contour line of each wall column from the building drawing;
acquiring third position information of the splicing line segment;
judging whether the splicing line segment is in an area enclosed by the contour lines of the wall columns or not according to the second position information and the third position information;
and if the splicing line section is positioned in the area enclosed by the contour lines of the wall columns, removing the splicing line section from the spliced beam line.
Optionally, after generating the spliced beam line according to the beam line and the spliced line segment, the method further includes:
acquiring the marking information of the beam line;
determining the attribute of the beam line according to the labeling information, wherein the attribute comprises a main beam or a secondary beam;
and removing the splicing line section of the beam line with the attribute of the secondary beam on the same straight line.
Optionally, the method further comprises:
determining that the beam line is a T-shaped beam of a specific type;
and cutting the transverse long beam line of the T shape into two beam lines according to the vertical beam line of the T shape in the T-shaped beam of the specific type.
In a second aspect, an embodiment of the present application provides a beam line splicing apparatus, including:
the analysis module is used for analyzing the first position information of each beam line from the building drawing;
the first acquisition module is used for acquiring any two beam lines with the same end point according to the first position information, taking the any two beam lines with the same end point as a combination and taking the end point as an angular point;
the second acquisition module is used for acquiring a target corner needing to be spliced with the corner;
the first processing module is used for connecting the angular point and the target angular point to generate a splicing line segment;
and the second processing module is used for generating the spliced beam line according to the beam line and the splicing line section.
Optionally, the second obtaining module includes:
the generating submodule is used for generating two reverse extension lines of the two beam lines from the corner points in the combination;
and the determining submodule is used for determining the target corner point according to the two reverse extension lines.
Optionally, the determining sub-module includes:
a first obtaining unit configured to obtain another corner point falling on any one of the two reverse extension lines;
the first processing unit is used for judging whether a first beam line in a combination where the angular point is located and a second beam line in a combination where the other angular point is located are on the same side of any reverse extension line, wherein the first beam line and any reverse extension line are not on the same straight line, and the second beam line and any reverse extension line are not on the same straight line;
and the second processing unit is used for taking the other corner point as the target corner point if the first beam line and the second beam line are on the same side of any reverse extension line.
Optionally, the determining sub-module includes:
the second acquisition unit is used for acquiring another angular point of which the distance between the second acquisition unit and any one of the two reverse extension lines is smaller than a preset distance value;
the third processing unit is used for judging whether a third beam line in the combination where the angular point is located and a fourth beam line in the combination where the other angular point is located are on the same side of any reverse extension line, wherein the third beam line and any reverse extension line are not on the same straight line, and an included angle between a straight line where the fourth beam line is located and a straight line where any reverse extension line is located is smaller than a preset angle value;
and the fourth processing unit is used for taking the other corner point as the target corner point if the third beam line and the fourth beam line are on the same side of any reverse extension line.
Optionally, the beam line splicing apparatus further includes:
the third acquisition module is used for analyzing second position information of the contour line of each wall column from the building drawing;
the fourth acquisition module is used for acquiring third position information of the splicing line segment;
the third processing module is used for judging whether the splicing line segment is in an area enclosed by the contour lines of the wall column according to the second position information and the third position information;
and the fourth processing module is used for removing the splicing line section from the spliced beam line if the splicing line section is positioned in an area surrounded by the contour lines of the wall column.
Optionally, the beam line splicing apparatus further includes:
the fifth acquisition module is used for acquiring the marking information of the beam line;
the fifth processing module is used for determining the attribute of the beam line according to the labeling information, wherein the attribute comprises a main beam or a secondary beam;
and the dismantling module is used for dismantling the splicing line section on the same straight line with the beam line with the attribute of the secondary beam.
Optionally, the beam line splicing apparatus further includes:
the sixth processing module is used for determining that the beam line is a T-shaped beam of a specific type;
and the cutting module is used for cutting the transverse long beam line of the T into two beam lines according to the vertical beam line of the T in the T-shaped beam of the specific type.
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 splicing 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 when the computer program is executed by a processor, the computer program implements the beam line splicing 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 first position information of each beam line from a building drawing, acquires any two beam lines with the same end point according to the first position information, combines any two beam lines with the same end point, takes the end point as an angular point, acquires a target angular point needing to be spliced with the angular point, connects the angular point and the target angular point to generate a spliced line section, and generates the spliced beam lines according to the beam lines and the spliced line section. This application is through the target angular point that acquires needs and angular point concatenation, connect angular point and target angular point, generate the concatenation line section, according to roof beam line and concatenation line section, generate the roof beam line after the concatenation, connect the part that nevertheless breaks off when drawing with actual need in cross beam or the T style of calligraphy roof beam, connect through the concatenation line section, the roof beam line after the concatenation accords with actual conditions, can improve the rate of accuracy and the efficiency of roof beam component discernment, the problem that the roof beam line is not drawn according to actual conditions and is leaded to roof beam component discernment difficulty has been solved.
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 view of a cross beam or a T-beam in a prior art construction drawing;
FIG. 2 is a schematic flow chart of a method for splicing beam lines in the embodiment of the present application;
fig. 3 is a schematic flow chart of a method for acquiring a target corner in an embodiment of the present application;
FIG. 4 is a schematic flowchart of a method for determining a target corner point according to two reverse extension lines in an embodiment of the present application;
FIG. 5 is a schematic diagram of corner points and target corner points in an embodiment of the present application;
FIG. 6 is a schematic flow chart of a method for determining a target corner point according to two reverse extension lines in an embodiment of the present application;
FIG. 7 is a schematic illustration of a primary beam and a secondary beam in an exemplary embodiment of the present application;
FIG. 8 is a schematic view of a particular type of T-beam in one embodiment of the present application;
FIG. 9 is a schematic structural diagram of a beam line splicing device in an embodiment of the present application;
fig. 10 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.
The inventor discovers that the cross beam or the T-shaped beam in the construction drawing in the prior art is analyzed: as shown in fig. 1, which is a schematic diagram of a cross beam or a T-shaped beam in the architectural drawing, a solid line indicates a beam line, and the beam lines are not drawn according to the actual condition of the beam line, but are all drawn in a broken shape, and if the broken beam lines are not processed, the subsequent beam member identification is difficult.
In the embodiment of the application, a beam-line splicing method is provided, and the method can be applied to a server, and certainly can also be applied to other electronic devices, such as terminals (mobile phones, tablet computers, 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. 2, the method for beam-line splicing mainly includes:
step 201, analyzing first position information of each beam line from a building drawing.
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.
In a specific embodiment, the first image layer where the beam line is located is identified, specifically, the beam lead is identified based on the beam character by identifying the beam character, the first beam line is found based on the beam lead, and the first image layer where the beam line is located is obtained according to the first beam line. In one CAD drawing, more than one first layer where the beam line is located can be used.
The specific process of identifying the first layer where the beam line is located is as follows:
(1) recognizing the beam characters:
and screening the primitives conforming to the beam character characteristics from all the character primitives, wherein the primitives conforming to the beam character characteristics correspond to the concentrated marks of the beams and are stored in a classified mode. A beam member typically includes a centralized label, and for multi-span beam members, may also include an in-situ label corresponding to each beam span, the in-situ label being located near each beam span, identifying some property information of the beam span. The categories of beam letters mainly include: the beam name number, the beam section, the beam longitudinal rib, the beam stirrup, the beam torsion rib and the beam elevation. The beam name number is characterized by comprising KL, L, KZL and numbers, e.g., KL1, LL20, KZL 15. The beam cross-section is characterized by two numbers and a multiplier, e.g., 200 x 400. The beam longitudinal bars are characterized by containing numbers and bar symbols, for example, 2 Φ 32+ (2 Φ 12), 5 Φ 22. The beam stirrup is characterized by comprising a bar symbol, a number sum @, e.g., Φ 10@100(3)/Φ 8@200 (2). The beam twister is characterized by an N or G start, containing a number and a bar symbol, e.g., N4 Φ 10. The beam elevation is characterized by the inclusion of a plus or minus sign, a number, e.g., [ Hs +0.005], (BG + 0.005).
(2) Identifying the beam lead based on the beam characters:
counting the number A of the beam name numbers, counting the number B of line segments in the same layer with the beam characters, calculating the ratio C of B to A, if C is smaller than a set threshold value, considering that the beam lead and the beam characters are in different layers, and executing the method 1; otherwise method 2 is performed.
The method comprises the following steps:
searching a line segment which is near each beam name number and is vertical to the beam name direction; if the number of the line segments is equal to 1, the line segments and the corresponding beam names are compiled into a group; if the number of the line segments is more than or equal to 2, temporarily storing the searched line segments into a candidate beam lead list of the beam name; after traversing all beam name numbers, extracting LAYER names LAYER _ LIST to which the leads belong according to the beam leads with the number of the leads equal to 1; and for the beam leads with the line segment number larger than 2 in the candidate beam lead LIST, filtering according to the previous LAYER _ LIST to obtain a correct beam lead.
The method 2 comprises the following steps:
screening all beam leads which belong to the image layer according to the image layer where the beam characters are located; searching beam leads near each beam name number in all the beam leads; for each beam-lead, a search is made for nearby, centrally labeled text that is perpendicular to it.
(3) Identifying a first beam line to which the beam lead points:
excluding wall column LINE segments and BEAM lead LINEs from all LINE segments of the current frame as a candidate BEAM LINE LIST BEAM _ LINE _ LIST; searching for a vertical LINE segment L1 near each BEAM lead in the candidate LINE segment LIST BEAM _ LINE _ LIST; if a line segment is searched, calculating the intersection point of the beam lead and the line segment, and if the intersection point is respectively positioned in the lead and the line segment, identifying the beam lead as a correct beam line; if the number of the searched line segments is more than 1, calculating the intersection point of the beam lead and each line segment in the line segment list L1; judging that the intersection points are respectively located in the beam lead and the line segment, and if the intersection points do not accord with the line segment, deleting the intersection points from the L1 list; and calculating the minimum distance from each line segment intersection point to the lead wire end point, and taking the line segment with the minimum distance to identify the line segment as the first beam line pointed by the beam lead wire.
Step 202, according to the first position information, obtaining any two beam lines with the same end point, and taking the any two beam lines with the same end point as a combination and taking the end point as an angular point.
And step 203, acquiring a target corner point needing to be spliced with the corner point.
In a specific embodiment, as shown in fig. 3, acquiring a target corner point to be spliced with a corner point includes:
step 301, in the combination, starting from the corner point, two reverse extension lines of two beam lines are generated.
And step 302, determining a target corner point according to the two reverse extension lines.
In one embodiment, as shown in fig. 4, the determining the target corner point according to two opposite extension lines includes:
step 401, another corner point falling on any one of the two reverse extension lines is obtained.
Step 402, judging whether a first beam line in a combination where an angular point is located and a second beam line in a combination where another angular point is located are on the same side of any reverse extension line.
Wherein, the first beam line and any reverse extension line are not on the same straight line, and the second beam line and any reverse extension line are not on the same straight line.
In step 403, if the first beam line and the second beam line are on the same side of any reverse extension line, taking another corner point as a target corner point.
In one embodiment, as shown in fig. 5, a schematic diagram of a corner point and a target corner point is shown. In fig. 5, a solid line represents a beam line, a dotted line represents two reverse extension lines L1 and L2 corresponding to two beam lines L5 and L6 in a combination where a corner point a is located, a corner point B falls on the reverse extension line L1, the two beam lines in the combination where the corner point B is located are L1 and L3, respectively, L1 and L5 are on the same straight line, and it is determined whether L6 and L3 are on the same side of L1, and L6 and L3 are on the same side of L1, and the corner point B is taken as a target corner point. A corner point C is located on a reverse extension line L2, two beam lines in a combination where the corner point C is located are L2 and L4 respectively, L2 and L6 are located on the same straight line, whether L5 and L4 are located on the same side of L2 or not is judged, L5 and L4 are not located on the same side of L2, and the corner point C is not taken as a target corner point.
In a specific embodiment, as shown in fig. 6, the determining the target corner point according to two opposite extension lines includes:
step 601, another corner point is obtained, wherein the distance between the another corner point and any one of the two reverse extension lines is smaller than a preset distance value.
The preset distance value may be an empirical value or a numerical value obtained through a plurality of tests, for example, the preset distance value is 1 mm.
Step 602, judging whether the third beam line in the combination where the corner point is located and the fourth beam line in the combination where the other corner point is located are on the same side of any reverse extension line.
The third beam line and any reverse extension line are not on the same straight line, and the included angle between the straight line where the fourth beam line is located and the straight line where any reverse extension line is located is smaller than a preset angle value.
Step 603, if the third beam line and the fourth beam line are on the same side of any reverse extension line, taking another corner point as a target corner point.
When a small-range error occurs in the drawing of a beam line in the combination where the angular points are located, a fault-tolerant mechanism is added by acquiring another angular point of which the distance between the other angular point and any one of the two reverse extension lines is smaller than a preset distance value, and the target angular point is prevented from being acquired.
And step 204, connecting the angular points with the target angular points to generate a splicing line segment.
And step 205, generating a spliced beam line according to the beam line and the spliced line segment.
And generating a spliced beam line according to the beam line and the splicing line section, namely connecting the beam line and the splicing line section end to generate the spliced beam line.
In a specific embodiment, after the spliced beam line is generated according to the beam line and the spliced line segment, the beam line splicing method further includes: analyzing second position information of the contour line of each wall column from the construction drawing; acquiring third position information of the splicing line segment; judging whether the splicing line section is in the area enclosed by the contour lines of the wall column or not according to the second position information and the third position information; and if the splicing line section is positioned in the area enclosed by the contour lines of the wall columns, removing the splicing line section from the spliced beam line.
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.
If the splicing line section is arranged in an area enclosed by the contour lines of the wall column, beam lines cannot penetrate through the wall column, so that splicing is not needed, and the splicing line section is removed from the spliced beam lines.
In a specific embodiment, after the spliced beam line is generated according to the beam line and the spliced line segment, the beam line splicing method further includes: acquiring the marking information of the beam line; determining the attribute of the beam line according to the labeling information, wherein the attribute comprises a main beam or a secondary beam; and removing the splicing line section of the beam line of the secondary beam on the same straight line.
For example, when the label information of the beam line is a KL-head, it indicates that the attribute of the beam line is a main beam, and when the label information of the beam line is an L-head, it indicates that the attribute of the beam line is a sub beam.
Based on the principle that the main beam cuts off the secondary beam, the splicing line section of the beam line of the secondary beam on the same straight line is removed and attributed.
In one embodiment, as shown in FIG. 7, a schematic view of the primary and secondary beams is provided. In fig. 7, the solid lines are the main beams and the broken lines are the sub-beams. And reserving the splicing line section of the beam line with the attribute of the main beam on the same straight line, and removing the splicing line section of the beam line with the attribute of the secondary beam on the same straight line.
In one embodiment, the beam line splicing method further includes: determining a beam line as a T-shaped beam of a specific type; and cutting the transverse long beam line of the T shape into two beam lines according to the vertical beam line of the T shape in the T-shaped beam of the specific type. One embodiment, as shown in FIG. 8, is a schematic view of a particular type of T-beam. The transverse long beam line of the T is a line segment AD, and the line segment AD is cut into two beam lines, namely a line segment AB and a line segment CD.
To sum up, according to the method provided by the embodiment of the application, the first position information of each beam line is analyzed from the building drawing, any two beam lines with the same end point are obtained according to the first position information, the any two beam lines with the same end point are used as a combination, the end point is used as an angular point, a target angular point to be spliced with the angular point is obtained, the angular point and the target angular point are connected to generate a spliced line segment, and the spliced beam line is generated according to the beam lines and the spliced line segment. This application is through the target angular point that acquires needs and angular point concatenation, connect angular point and target angular point, generate the concatenation line section, according to roof beam line and concatenation line section, generate the roof beam line after the concatenation, connect the part that nevertheless breaks off when drawing with actual need in cross beam or the T style of calligraphy roof beam, connect through the concatenation line section, the roof beam line after the concatenation accords with actual conditions, can improve the rate of accuracy and the efficiency of roof beam component discernment, the problem that the roof beam line is not drawn according to actual conditions and is leaded to roof beam component discernment difficulty has been solved.
Based on the same concept, the embodiment of the present application provides a beam line splicing apparatus, and specific implementation of the apparatus may refer to the description of the method embodiment section, and repeated details are not repeated, as shown in fig. 9, the apparatus mainly includes:
the analyzing module 901 is used for analyzing first position information of each beam line from the building drawing;
a first obtaining module 902, configured to obtain any two beam lines with a same end point according to the first position information, and use the any two beam lines with the same end point as a combination, and use the end point as an angular point;
a second obtaining module 903, configured to obtain a target corner to be spliced with the corner;
a first processing module 904, configured to connect the corner point and the target corner point, and generate a splicing segment;
and the second processing module 905 is configured to generate a spliced beam line according to the beam line and the splicing line segment.
Optionally, the second obtaining module includes:
the generating submodule is used for generating two reverse extension lines of the two beam lines from the corner points in the combination;
and the determining submodule is used for determining the target corner point according to the two reverse extension lines.
Optionally, the determining sub-module includes:
a first obtaining unit configured to obtain another corner point falling on any one of the two reverse extension lines;
the first processing unit is used for judging whether a first beam line in a combination where the angular point is located and a second beam line in a combination where the other angular point is located are on the same side of any reverse extension line, wherein the first beam line and any reverse extension line are not on the same straight line, and the second beam line and any reverse extension line are not on the same straight line;
and the second processing unit is used for taking the other corner point as the target corner point if the first beam line and the second beam line are on the same side of any reverse extension line.
Optionally, the determining sub-module includes:
the second acquisition unit is used for acquiring another angular point of which the distance between the second acquisition unit and any one of the two reverse extension lines is smaller than a preset distance value;
the third processing unit is used for judging whether a third beam line in the combination where the angular point is located and a fourth beam line in the combination where the other angular point is located are on the same side of any reverse extension line, wherein the third beam line and any reverse extension line are not on the same straight line, and an included angle between a straight line where the fourth beam line is located and a straight line where any reverse extension line is located is smaller than a preset angle value;
and the fourth processing unit is used for taking the other corner point as the target corner point if the third beam line and the fourth beam line are on the same side of any reverse extension line.
Optionally, the beam line splicing apparatus further includes:
the third acquisition module is used for analyzing second position information of the contour line of each wall column from the building drawing;
the fourth acquisition module is used for acquiring third position information of the splicing line segment;
the third processing module is used for judging whether the splicing line segment is in an area enclosed by the contour lines of the wall column according to the second position information and the third position information;
and the fourth processing module is used for removing the splicing line section from the spliced beam line if the splicing line section is positioned in an area surrounded by the contour lines of the wall column.
Optionally, the beam line splicing apparatus further includes:
the fifth acquisition module is used for acquiring the marking information of the beam line;
the fifth processing module is used for determining the attribute of the beam line according to the labeling information, wherein the attribute comprises a main beam or a secondary beam;
and the dismantling module is used for dismantling the splicing line section on the same straight line with the beam line with the attribute of the secondary beam.
Optionally, the beam line splicing apparatus further includes:
the sixth processing module is used for determining that the beam line is a T-shaped beam of a specific type;
and the cutting module is used for cutting the transverse long beam line of the T into two beam lines according to the vertical beam line of the T in the T-shaped beam of the specific type.
Based on the same concept, an embodiment of the present application further provides an electronic device, as shown in fig. 10, the electronic device mainly includes: a processor 1001, a memory 1002, and a communication bus 1003, wherein the processor 1001 and the memory 1002 communicate with each other via the communication bus 1003. The memory 1002 stores a program executable by the processor 1001, and the processor 1001 executes the program stored in the memory 1002, so as to implement the following steps:
analyzing first position information of each beam line from a building drawing; acquiring any two beam lines with the same end point according to the first position information, taking the any two beam lines with the same end point as a combination, and taking the end point as an angular point; acquiring a target angular point needing to be spliced with the angular point; connecting the angular points with the target angular points to generate splicing line segments; and generating the spliced beam line according to the beam line and the spliced line section.
The communication bus 1003 mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 1003 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 10, but this is not intended to represent only one bus or type of bus.
The Memory 1002 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 storage device located remotely from the aforementioned processor 1001.
The Processor 1001 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc., and may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components.
In 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 splicing 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 splicing method is characterized by comprising the following steps:
analyzing first position information of each beam line from a building drawing;
acquiring any two beam lines with the same end point according to the first position information, taking the any two beam lines with the same end point as a combination, and taking the end point as an angular point;
acquiring a target corner needing to be spliced with the corner;
connecting the angular point with the target angular point to generate a splicing line segment;
and generating the spliced beam line according to the beam line and the splicing line section.
2. The beam-line splicing method according to claim 1, wherein the obtaining of the target corner point to be spliced with the corner point comprises:
in the combination, starting from the corner point, generating two reverse extension lines of the two beam lines;
and determining the target corner point according to the two reverse extension lines.
3. The beam-line splicing method according to claim 2, wherein the determining the target corner point according to the two reversely extended lines comprises:
acquiring another angular point on any one of the two reverse extension lines;
judging whether a first beam line in the combination where the corner point is located and a second beam line in the combination where the other corner point is located are on the same side of any reverse extension line, wherein the first beam line and any reverse extension line are not on the same straight line, and the second beam line and any reverse extension line are not on the same straight line;
and if the first beam line and the second beam line are on the same side of any reverse extension line, taking the other corner point as the target corner point.
4. The beam-line splicing method according to claim 2, wherein the determining the target corner point according to the two reversely extended lines comprises:
acquiring another angular point of which the distance between the other angle point and any one of the two reverse extension lines is smaller than a preset distance value;
judging whether a third beam line in the combination where the angular point is located and a fourth beam line in the combination where the other angular point is located are on the same side of any reverse extension line, wherein the third beam line and any reverse extension line are not on the same straight line, and an included angle between a straight line where the fourth beam line is located and a straight line where any reverse extension line is located is smaller than a preset angle value;
and if the third beam line and the fourth beam line are on the same side of any reverse extension line, taking the other corner point as the target corner point.
5. The beam line splicing method according to claim 1, wherein after the spliced beam line is generated from the beam line and the spliced line sections, the method further comprises:
analyzing second position information of the contour line of each wall column from the building drawing;
acquiring third position information of the splicing line segment;
judging whether the splicing line segment is in an area enclosed by the contour lines of the wall columns or not according to the second position information and the third position information;
and if the splicing line section is positioned in the area enclosed by the contour lines of the wall columns, removing the splicing line section from the spliced beam line.
6. The beam line splicing method according to claim 1, wherein after the spliced beam line is generated from the beam line and the spliced line sections, the method further comprises:
acquiring the marking information of the beam line;
determining the attribute of the beam line according to the labeling information, wherein the attribute comprises a main beam or a secondary beam;
and removing the splicing line section of the beam line with the attribute of the secondary beam on the same straight line.
7. The beam line splicing method of claim 1, further comprising:
determining that the beam line is a T-shaped beam of a specific type;
and cutting the transverse long beam line of the T shape into two beam lines according to the vertical beam line of the T shape in the T-shaped beam of the specific type.
8. A beam line splicing apparatus, comprising:
the analysis module is used for analyzing the first position information of each beam line from the building drawing;
the first acquisition module is used for acquiring any two beam lines with the same end point according to the first position information, taking the any two beam lines with the same end point as a combination and taking the end point as an angular point;
the second acquisition module is used for acquiring a target corner needing to be spliced with the corner;
the first processing module is used for connecting the angular point and the target angular point to generate a splicing line segment;
and the second processing module is used for generating the spliced beam line according to the beam line and the splicing line section.
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 used for executing the program stored in the memory and realizing the beam line splicing method of 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 splicing method of any one of claims 1 to 7.
CN202111406344.9A 2021-11-24 2021-11-24 Beam line splicing method, device, equipment and storage medium Pending CN114283190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111406344.9A CN114283190A (en) 2021-11-24 2021-11-24 Beam line splicing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111406344.9A CN114283190A (en) 2021-11-24 2021-11-24 Beam line splicing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114283190A true CN114283190A (en) 2022-04-05

Family

ID=80870070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111406344.9A Pending CN114283190A (en) 2021-11-24 2021-11-24 Beam line splicing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114283190A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
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
CN115186322A (en) * 2022-09-13 2022-10-14 合肥坤颐建筑科技合伙企业(有限合伙) Cross beam generation method, device, equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
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
CN115186322A (en) * 2022-09-13 2022-10-14 合肥坤颐建筑科技合伙企业(有限合伙) Cross beam generation method, device, equipment and storage medium
CN115186322B (en) * 2022-09-13 2023-03-10 合肥坤颐建筑科技合伙企业(有限合伙) Cross beam generation method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US11450125B2 (en) Methods and systems for automated table detection within documents
CN114283190A (en) Beam line splicing method, device, equipment and storage medium
CN110502985B (en) Form identification method and device and form identification equipment
EP2635976B1 (en) Bidirectional text checker
CN113190781B (en) Page layout method, device, equipment and storage medium
CN106599001A (en) Webpage content acquisition method and system
CN111639648A (en) Certificate identification method and device, computing equipment and storage medium
CN112560862A (en) Text recognition method and device and electronic equipment
CN114283414A (en) Beam span identification method, device, equipment and storage medium
CN114817604B (en) Method and device for retrieving drawing dimension labels, electronic equipment and storage medium
CN116935430A (en) Picture frame identification method and device, electronic equipment and storage medium
CN114282288A (en) Axle network identification method, device, equipment and storage medium
CN114529933A (en) Contract data difference comparison method, device, equipment and medium
CN115082951B (en) Beam member identification method, device, equipment and storage medium
CN110688842B (en) Analysis method, device and server for document title level
CN112632952A (en) Method and device for comparing files
CN112270319A (en) Event marking method and device and electronic equipment
JP4849883B2 (en) Row direction determination program, method and apparatus
CN110795933A (en) Method and device for identifying and processing webpage text
CN115544620A (en) Method, device and equipment for analyzing door and window tables in drawing and storage medium
CN115331247A (en) Document structure identification method and device, electronic equipment and readable storage medium
CN114283189A (en) Beam line processing method, device, equipment and storage medium
CN112699634B (en) Typesetting processing method of electronic book, electronic equipment and storage medium
CN110851896B (en) CAD (computer-aided design) outer wall body identification method and device based on local neighborhood information
CN109067726B (en) Identification method and device for station building system, electronic equipment and storage medium

Legal Events

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