CN116541939B - Collision detection method and system in bridge design - Google Patents

Collision detection method and system in bridge design Download PDF

Info

Publication number
CN116541939B
CN116541939B CN202310600122.3A CN202310600122A CN116541939B CN 116541939 B CN116541939 B CN 116541939B CN 202310600122 A CN202310600122 A CN 202310600122A CN 116541939 B CN116541939 B CN 116541939B
Authority
CN
China
Prior art keywords
plane
model
reinforcing bar
reinforcement
vertical
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.)
Active
Application number
CN202310600122.3A
Other languages
Chinese (zh)
Other versions
CN116541939A (en
Inventor
刘宝栋
王淑黎
冯磊
刘龙
梅芮彬
史宏川
袁朝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhumadian Borui Construction Engineering Co ltd
Original Assignee
Zhumadian Borui Construction Engineering 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 Zhumadian Borui Construction Engineering Co ltd filed Critical Zhumadian Borui Construction Engineering Co ltd
Priority to CN202310600122.3A priority Critical patent/CN116541939B/en
Publication of CN116541939A publication Critical patent/CN116541939A/en
Application granted granted Critical
Publication of CN116541939B publication Critical patent/CN116541939B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Architecture (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Reinforcement Elements For Buildings (AREA)

Abstract

The invention provides a collision detection method and a system in bridge design, wherein a bridge model is mapped into a space rectangular coordinate system xyz; respectively making projections of an xy plane, a yz plane and an xz plane for each reinforcement model, if any one of the projections of the xy plane, the yz plane and the xz plane is a circle, marking the reinforcement model as a first type reinforcement, otherwise marking the reinforcement model as a second type reinforcement; if the reinforcing bar model is a second type reinforcing bar, the reinforcing bar model is disassembled into one or more sub reinforcing bar models according to the projections of the second type reinforcing bar on the xy plane, the yz plane and the xz plane, whether the sub reinforcing bar model is a first type reinforcing bar is judged, and collision detection is carried out on the first type reinforcing bar and the second type reinforcing bar respectively. The invention effectively reduces the complexity of the detection of the collision of the steel bars in the bridge design and improves the efficiency of the detection of the collision of the bridge.

Description

Collision detection method and system in bridge design
Technical Field
The invention relates to the field of bridge design, in particular to a collision detection method and system in bridge design.
Background
The bridge is an important ring in foundation construction and plays an important role in traffic, especially the construction of large-scale bridges, which directly relates to the convenience of traffic. Compared with highway construction, the bridge is more complex, and the current speed of the automobile and the railway is faster, so that the design and construction requirements on the bridge are higher. In the past, manual calculation is mostly adopted for bridge design, and along with continuous deep informatization, an informatization technology is introduced into bridge design. The building information model is also applied to the design of the bridge, so that the design, stress analysis, construction simulation and the like of the bridge are realized, the problems existing in the design can be known in advance, the problems are timely modified, and the problems that the problems are found in construction and the construction is difficult and the construction period is difficult to guarantee are effectively avoided. Compared with the traditional bridge, the modern bridge has larger span, more complex structure and higher requirement on the bridge, and a large amount of steel bars can be used in the bridge in order to increase the stress of the bridge, especially the large-scale bridge, the steel bars are more, and the structure is more complex, so that the problem of steel bar collision exists, and the collision detection method is approximately divided into: static collision detection, discrete collision detection and continuous collision detection, but these collision detection methods are either complex in calculation or low in accuracy, and how to simply and quickly check the steel bar collision is greatly helpful to bridge design.
Disclosure of Invention
In order to solve the above problems, in a first aspect, the present invention provides a collision detection method in bridge design, the method comprising the steps of:
s1, mapping a bridge model into a space rectangular coordinate system xyz, wherein the xy plane is a horizontal plane, the z axis is a vertical direction, and the yz plane is perpendicular to the trend of the bridge;
s2, obtaining reinforcement models in the bridge model, respectively making projections of an xy plane, a yz plane and an xz plane for each reinforcement model, if any one of the projections of the xy plane, the yz plane and the xz plane is a circle, marking the reinforcement model as a first type of reinforcement, and obtaining six-tuple parameters of the reinforcement model according to the plane where the projection is the circle, otherwise, marking the reinforcement model as a second type of reinforcement; the six-tuple parameters are respectively the mark of the vertical plane of the reinforcing steel bar model, the center coordinates of the circle on the vertical plane, the nearest distance from the vertical plane, the farthest distance from the vertical plane and the radius of the circle;
s3, if the reinforcing bar model is a second type reinforcing bar, disassembling the reinforcing bar model into one or more sub reinforcing bar models according to the projection of the second type reinforcing bar in an xy plane, a yz plane and an xz plane, judging whether the sub reinforcing bar model is a first type reinforcing bar, if so, taking the sub reinforcing bar model as the first type reinforcing bar, otherwise, judging whether the sub reinforcing bar model collides with other reinforcing bars by adopting an OBB bounding box method;
And S4, if the reinforcing bar model is the first type reinforcing bar, judging whether collision exists with other reinforcing bars of the first type according to six-tuple parameters of the reinforcing bar model.
Preferably, the judging whether collision exists with other first-type reinforcing steel bars according to the six-tuple parameters of the reinforcing steel bar model specifically comprises:
s41, judging whether collision exists between the reinforcement model vertical to the xy plane and other reinforcement models vertical to the xy plane, and judging whether collision exists between the reinforcement model vertical to the zy plane and the xz plane;
s42, judging whether collision exists between the reinforcing bar model vertical to the yz plane and other reinforcing bar models vertical to the yz plane or not, and judging whether collision exists between the reinforcing bar model vertical to the xz plane and other reinforcing bar models vertical to the xz plane or not;
s43, judging whether collision exists between the reinforcement model vertical to the xz plane and other reinforcement models vertical to the xz plane.
Preferably, the S41 specifically is:
s411, for the reinforcement model vertical to the xy plane, calculating the distance between the center coordinates and the center coordinates of other reinforcement models vertical to the xy plane, judging whether the distance is larger than the sum of the radius of the center coordinates and the radius of the center coordinates, if so, determining whether a coincident part exists according to the shortest distance and the farthest distance between the center coordinates and the xy plane, if so, then, the collision exists, and if not, then, the collision does not exist;
S412, for a rebar model perpendicular to the xy plane, obtaining a six-tuple parameter of the rebar model as { xy, (a 1, b 1), d1, d2, r1}, and obtaining a six-tuple parameter of the rebar model perpendicular to the yz plane as { yz, (a 2, b 2), d3, d4, r2}, if any of the following formulas is satisfied:
b1-a2| > r1+r2, or d1> b2+r2, or d2< b2-r2, or d3> a1+r1, or d4< a1-r1;
if no collision exists, detecting whether the two reinforcing bar models exist or not by adopting an OBB bounding box, or outputting a collision detection result of the two reinforcing bar models as collision;
s413, for a rebar model perpendicular to the xy plane, obtaining a six-tuple parameter of the rebar model as { xy, (a 1, b 1), d1, d2, r1}, and obtaining a six-tuple parameter of the rebar model perpendicular to the xz plane as { xz, (a 3, b 3), d5, d6, r3}, if any of the following formulas is satisfied:
1-a3 > r1+r3, or d1> b3+r3, or d2< b3-r3, or d5> b1+r1, or d6< b1-r1;
and if not, detecting whether the two reinforcing bar models are collided or not by adopting the OBB bounding box, or outputting a collision detection result of the two reinforcing bar models as collision.
Preferably, the step S42 specifically includes:
s421, for the reinforcement model vertical to the yz plane, calculating the distance between the center coordinates and the center coordinates of other reinforcement models vertical to the yz plane, judging whether the distance is larger than the sum of the radius of the center coordinates and the radius of the center coordinates, if so, determining whether a coincident part exists according to the shortest distance and the farthest distance between the center coordinates and the yz plane, if so, the collision exists, and if not, the collision does not exist;
S422, for the rebar model perpendicular to the yz plane, obtaining six-tuple parameters of the rebar model perpendicular to the yz plane as { yz, (a 2, b 2), d3, d4, r2}, and obtaining six-tuple parameters of the rebar model perpendicular to the xz plane as { xz, (a 3, b 3), d5, d6, r3}, if any of the following formulas is satisfied:
b2-b3| > r2+r3, or d3> a3+r3, or d4< a3-r3, or d5> b2+r2, or d6< b2-r2;
and if not, detecting whether the two reinforcing bar models are collided or not by adopting the OBB bounding box, or outputting a collision detection result of the two reinforcing bar models as collision.
Preferably, the S43 specifically is:
and calculating the distance between the center coordinates of the reinforcing bar model vertical to the xz plane and the center coordinates of the reinforcing bar models vertical to the xz plane, judging whether the distance is larger than the sum of the radius of the center coordinates and the radius of the reinforcing bar model vertical to the xz plane, if so, determining whether a coincident part exists according to the shortest distance and the farthest distance between the center coordinates and the xz plane, if so, then, the collision exists, and if not, then, the collision does not exist.
Preferably, the reinforcement model is disassembled into one or more sub reinforcement models according to the projection of the second type reinforcement in the xy plane, the yz plane and the xz plane, specifically:
And if the second type of reinforcing steel bars are all straight lines in the central lines of the projections of the xy plane, the yz plane and the xz plane, or curves exist in the central lines of the projections of any one of the xy plane, the yz plane and the xz plane, taking the whole reinforcing steel bar model as a sub reinforcing steel bar model, otherwise, dividing the second type of reinforcing steel bars into at least two sub reinforcing steel bar models, wherein the central lines of the projections of the sub reinforcing steel bar models in the xy plane, the yz plane and the xz plane are all straight lines.
In another aspect, the present invention also provides a collision detection system in bridge design, the system comprising:
the mapping module is used for mapping the bridge model into a space rectangular coordinate system xyz, wherein the xy plane is a horizontal plane, the z axis is a vertical direction, and the yz plane is perpendicular to the trend of the bridge;
the reinforcement classification module is used for obtaining reinforcement models in the bridge model, respectively making projections of an xy plane, a yz plane and an xz plane for each reinforcement model, if any one of the projections of the xy plane, the yz plane and the xz plane is a circle, marking the reinforcement model as a first type of reinforcement, and obtaining six-tuple parameters of the reinforcement model according to the plane where the projection is the circle, otherwise, marking the reinforcement model as a second type of reinforcement; the six-tuple parameters are respectively the mark of the vertical plane of the reinforcing steel bar model, the center coordinates of the circle on the vertical plane, the nearest distance from the vertical plane, the farthest distance from the vertical plane and the radius of the circle;
The decomposing module is used for decomposing the reinforcing bar model into one or more sub reinforcing bar models according to the projection of the second reinforcing bar model on the xy plane, the yz plane and the xz plane when the reinforcing bar model is the second reinforcing bar, judging whether the sub reinforcing bar model is the first reinforcing bar, if so, taking the sub reinforcing bar model as the first reinforcing bar, otherwise, judging whether the sub reinforcing bar model collides with other reinforcing bars by adopting an OBB bounding box method;
and the collision detection module is used for judging whether collision exists between the reinforcing bar model and other reinforcing bars of the first type according to the six-tuple parameters of the reinforcing bar model when the reinforcing bar model is the reinforcing bar of the first type.
Preferably, the judging whether collision exists with other first-type reinforcing steel bars according to the six-tuple parameters of the reinforcing steel bar model specifically comprises:
s41, judging whether collision exists between the reinforcement model vertical to the xy plane and other reinforcement models vertical to the xy plane, and judging whether collision exists between the reinforcement model vertical to the zy plane and the xz plane;
s42, judging whether collision exists between the reinforcing bar model vertical to the yz plane and other reinforcing bar models vertical to the yz plane or not, and judging whether collision exists between the reinforcing bar model vertical to the xz plane and other reinforcing bar models vertical to the xz plane or not;
S43, judging whether collision exists between the reinforcement model vertical to the xz plane and other reinforcement models vertical to the xz plane.
Preferably, the S41 specifically is:
s411, for the reinforcement model vertical to the xy plane, calculating the distance between the center coordinates and the center coordinates of other reinforcement models vertical to the xy plane, judging whether the distance is larger than the sum of the radius of the center coordinates and the radius of the center coordinates, if so, determining whether a coincident part exists according to the shortest distance and the farthest distance between the center coordinates and the xy plane, if so, then, the collision exists, and if not, then, the collision does not exist;
s412, for a rebar model perpendicular to the xy plane, obtaining a six-tuple parameter of the rebar model as { xy, (a 1, b 1), d1, d2, r1}, and obtaining a six-tuple parameter of the rebar model perpendicular to the yz plane as { yz, (a 2, b 2), d3, d4, r2}, if any of the following formulas is satisfied:
b1-a2| > r1+r2, or d1> b2+r2, or d2< b2-r2, or d3> a1+r1, or d4< a1-r1;
if no collision exists, detecting whether the two reinforcing bar models exist or not by adopting an OBB bounding box, or outputting a collision detection result of the two reinforcing bar models as collision;
S413, for a rebar model perpendicular to the xy plane, obtaining a six-tuple parameter of the rebar model as { xy, (a 1, b 1), d1, d2, r1}, and obtaining a six-tuple parameter of the rebar model perpendicular to the xz plane as { xz, (a 3, b 3), d5, d6, r3}, if any of the following formulas is satisfied:
1-a3 > r1+r3, or d1> b3+r3, or d2< b3-r3, or d5> b1+r1, or d6< b1-r1;
if no collision exists, detecting whether the two reinforcing bar models exist or not by adopting an OBB bounding box, or outputting a collision detection result of the two reinforcing bar models as collision;
preferably, the step S42 specifically includes:
s421, for the reinforcement model vertical to the yz plane, calculating the distance between the center coordinates and the center coordinates of other reinforcement models vertical to the yz plane, judging whether the distance is larger than the sum of the radius of the center coordinates and the radius of the center coordinates, if so, determining whether a coincident part exists according to the shortest distance and the farthest distance between the center coordinates and the yz plane, if so, the collision exists, and if not, the collision does not exist;
s422, for the rebar model perpendicular to the yz plane, obtaining six-tuple parameters of the rebar model perpendicular to the yz plane as { yz, (a 2, b 2), d3, d4, r2}, and obtaining six-tuple parameters of the rebar model perpendicular to the xz plane as { xz, (a 3, b 3), d5, d6, r3}, if any of the following formulas is satisfied:
B2-b3| > r2+r3, or d3> a3+r3, or d4< a3-r3, or d5> b2+r2, or d6< b2-r2;
if no collision exists, detecting whether the two reinforcing bar models exist or not by adopting an OBB bounding box, or outputting a collision detection result of the two reinforcing bar models as collision;
preferably, the S43 specifically is:
and calculating the distance between the center coordinates of the reinforcing bar model vertical to the xz plane and the center coordinates of the reinforcing bar models vertical to the xz plane, judging whether the distance is larger than the sum of the radius of the center coordinates and the radius of the reinforcing bar model vertical to the xz plane, if so, determining whether a coincident part exists according to the shortest distance and the farthest distance between the center coordinates and the xz plane, if so, then, the collision exists, and if not, then, the collision does not exist.
Preferably, the reinforcement model is disassembled into one or more sub reinforcement models according to the projection of the second type reinforcement in the xy plane, the yz plane and the xz plane, specifically:
and if the second type of reinforcing steel bars are all straight lines in the central lines of the projections of the xy plane, the yz plane and the xz plane, or curves exist in the central lines of the projections of any one of the xy plane, the yz plane and the xz plane, taking the whole reinforcing steel bar model as a sub reinforcing steel bar model, otherwise, dividing the second type of reinforcing steel bars into at least two sub reinforcing steel bar models, wherein the central lines of the projections of the sub reinforcing steel bar models in the xy plane, the yz plane and the xz plane are all straight lines.
Finally, the invention also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as described above.
The invention eliminates the reinforcing bar model which is obviously not provided with the possibility of collision, adopts the OBB bounding box mode for the reinforcing bar model which is possibly provided with the possibility of collision, greatly reduces the calculated amount of collision detection and improves the efficiency of collision detection.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a first embodiment;
FIG. 2 is a flow chart of an embodiment of collision detection;
fig. 3 is a schematic diagram of a reinforcing steel bar in a pier model;
fig. 4 is a schematic view of a rebar in a spatial coordinate system;
fig. 5 is a schematic diagram illustrating the disassembly of the second type of reinforcement.
Detailed Description
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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The traditional screenshot mode is that a doctor manually intercepts pictures at key positions such as the pharyngeal portion, the laryngeal portion and the like in the examination process, and based on the screenshot mode, the invention provides a method and a system capable of automatically intercepting pictures at the key positions in the electronic nasopharynoscopy.
Example 1
The invention provides a collision detection method in bridge design, as shown in fig. 1, the method comprises the following steps:
s1, mapping a bridge model into a space rectangular coordinate system xyz, wherein the xy plane is a horizontal plane, the z axis is a vertical direction, and the yz plane is perpendicular to the trend of the bridge;
the bridge model is a three-dimensional model, the bridge model is mapped into a space rectangular coordinate system xyz, and as the trend of the steel bars in the bridge is mostly vertical or along the trend of the bridge, the three-dimensional model is rotated according to the trend of the bridge, so that the yz plane is vertical to the trend of the bridge, and the subsequent collision detection is facilitated. Of course, the xz plane can also be taken as a plane perpendicular to the bridge direction, i.e. the direction of the bridge, or the long direction of the bridge. After mapping, most rebar models are perpendicular to the xy plane, yz plane, and xz plane. For subsequent calculation, the I-th trigram mapped to the rectangular space coordinate system is such that the six-tuple parameters of each bar are positive.
S2, obtaining reinforcement models in the bridge model, respectively making projections of an xy plane, a yz plane and an xz plane for each reinforcement model, if any one of the projections of the xy plane, the yz plane and the xz plane is a circle, marking the reinforcement model as a first type of reinforcement, and obtaining six-tuple parameters of the reinforcement model according to the plane where the projection is the circle, otherwise, marking the reinforcement model as a second type of reinforcement; the six-tuple parameters are respectively the mark of the vertical plane of the reinforcing steel bar model, the center coordinates of the circle on the vertical plane, the nearest distance from the vertical plane, the farthest distance from the vertical plane and the radius of the circle;
when the steel bar is perpendicular to the plane, the projection of the steel bar on the perpendicular plane is a circle, whether the steel bar is perpendicular to the plane can be judged by judging whether the projection of the steel bar on the xy plane, the yz plane and the xz plane is a circle, if any one of the projection of the steel bar model on the three planes is a circle, the steel bar is identified as the first type of steel bar, and in a specific embodiment, six-tuple parameters of the steel bar model can be obtained, wherein the six-tuple parameters refer to six parameters, and specifically include: the identification flag of the vertical plane of the reinforcing steel bar model, the center coordinates (a, b) on the vertical plane, the nearest distance d1 from the vertical plane, the farthest distance d2 from the vertical plane and the radius r of the circle. Wherein the plane marks perpendicular to the rebar model are xy, yz, xz, respectively, if the rebar model is perpendicular to the xy plane, then the flag is xy, the center coordinates are the center of a circle projected on the rebar perpendicular plane, e.g., (2, 5), the closest distance d1 to the perpendicular plane is the closest distance of the point in the rebar model from the perpendicular plane, e.g., d1=2, the furthest distance from the perpendicular plane is the furthest distance of the point in the rebar model from the perpendicular plane, e.g., d2=8, and the radius of the circle is the radius of the projected circle, e.g., r=1. According to the above example, a six-tuple of a bar model is { xy, (2, 5), 2,8,1}, in another expression, the six-tuple may also be denoted { xy,2,5,2,8,1}, from which the other information of the bar model can be further known, e.g., from which the bar model is known to be perpendicular to the xy-plane, and the projection on the xy-plane has a center of (2, 5), the bar length being 8-2=6.
If the projections in the xy-plane, yz-plane, xz-plane are not a circle, then the bars are either slanted or curved or meandering, identifying such bars as second type bars.
S3, if the reinforcing bar model is a second type reinforcing bar, disassembling the reinforcing bar model into one or more sub reinforcing bar models according to the projection of the second type reinforcing bar in an xy plane, a yz plane and an xz plane, judging whether the sub reinforcing bar model is a first type reinforcing bar, if so, taking the sub reinforcing bar model as the first type reinforcing bar, otherwise, judging whether the sub reinforcing bar model collides with other reinforcing bars by adopting an OBB bounding box method;
if one or more straight steel bars are formed as shown in fig. 5, the second type of steel bar model needs to be further split, and one or more sub steel bar models need to be further split, and whether the second type of steel bar model is the first type of steel bar is judged, and the method for judging whether the sub steel bar model is the first type of steel bar is the same as the method for judging whether the sub steel bar model is the first type of steel bar in the step S2, and is not repeated here. For curved e.g. semicircular bars, it is taken as one sub-bar pattern and, if it is a tilted straight bar, it is taken as one sub-bar pattern, which means that the bar is straight and the projection in xy-plane, yz-plane, xz-plane is not circular.
Because many steel bars in the bridge are vertical or horizontal, after the splitting, the number of second-class steel bar models is not large, and the calculated amount for collision detection of the steel bars by using the OBB bounding box method is much smaller. Fig. 3 shows the distribution of bars in a pier, which, according to engineering experience, generally represents less than 20% of the total bars for less complex bridges. It should be noted that, the method of using the OBB bounding box to determine whether the sub-reinforcing bar model collides with other reinforcing bars includes the first type reinforcing bar and the second type reinforcing bar, that is, all reinforcing bars except for the sub-reinforcing bar model itself.
And S4, if the reinforcing bar model is the first type reinforcing bar, judging whether collision exists with other reinforcing bars of the first type according to six-tuple parameters of the reinforcing bar model.
The first type of reinforcement bar model is always vertical to any one of the xy plane, the yz plane and the xz plane, the collision detection between the first type of reinforcement bar models is to judge whether collision exists between the first type of reinforcement bar model and other first type of reinforcement bars according to six-tuple parameters of the reinforcement bar models, if no collision exists, the first type of reinforcement bar model can be directly skipped, and if collision exists, two reinforcement bar models of collision are output. In another embodiment, to ensure the accuracy of collision detection, if a collision exists, the OBB bounding box detection method is further used.
According to the characteristics of the first type of steel bars, the steel bars without collision can be checked through six-tuple parameters, in a specific embodiment, the method for judging whether collision exists with other first type of steel bars according to six-tuple parameters of the steel bar model is as shown in fig. 2, specifically:
s41, judging whether collision exists between the reinforcement model vertical to the xy plane and other reinforcement models vertical to the xy plane, and judging whether collision exists between the reinforcement model vertical to the zy plane and the xz plane;
in a specific embodiment, the S41 is specifically:
s411, for the reinforcement model vertical to the xy plane, calculating the distance between the center coordinates and the center coordinates of other reinforcement models vertical to the xy plane, judging whether the distance is larger than the sum of the radius of the center coordinates and the radius of the center coordinates, if so, determining whether a coincident part exists according to the shortest distance and the farthest distance between the center coordinates and the xy plane, if so, then, the collision exists, and if not, then, the collision does not exist;
s412, for a rebar model perpendicular to the xy plane, obtaining six-tuple parameters of the rebar model as { xy, (x=a1, y=b1), d1, d2, r1}, and obtaining six-tuple parameters of the rebar model perpendicular to the yz plane as { yz, (y=a2, z=b2), d3, d4, r2}, if any of the following formulas is satisfied:
B1-a2| > r1+r2, or d1> b2+r2, or d2< b2-r2, or d3> a1+r1, or d4< a1-r1;
if no collision exists, detecting whether the two reinforcing bar models exist or not by adopting an OBB bounding box, or outputting a collision detection result of the two reinforcing bar models as collision;
s413, for a rebar model perpendicular to the xy plane, obtaining a six-tuple parameter of the rebar model as { xy, (x=a1, y=b1), d1, d2, r1}, and obtaining a six-tuple parameter of the rebar model perpendicular to the xz plane as { xz, (x=a3, z=b3), d5, d6, r3}, if any of the following formulas is satisfied:
1-a3 > r1+r3, or d1> b3+r3, or d2< b3-r3, or d5> b1+r1, or d6< b1-r1;
and if not, detecting whether the two reinforcing bar models are collided or not by adopting the OBB bounding box, or outputting a collision detection result of the two reinforcing bar models as collision.
S42, judging whether collision exists between the reinforcing bar model vertical to the yz plane and other reinforcing bar models vertical to the yz plane or not, and judging whether collision exists between the reinforcing bar model vertical to the xz plane and other reinforcing bar models vertical to the xz plane or not;
in a specific embodiment, the step S42 is specifically:
s421, for the reinforcement model vertical to the yz plane, calculating the distance between the center coordinates and the center coordinates of other reinforcement models vertical to the yz plane, judging whether the distance is larger than the sum of the radius of the center coordinates and the radius of the center coordinates, if so, determining whether a coincident part exists according to the shortest distance and the farthest distance between the center coordinates and the yz plane, if so, the collision exists, and if not, the collision does not exist;
S422, for a rebar model perpendicular to the yz plane, obtaining six-tuple parameters of the rebar model perpendicular to the yz plane as { yz, (y=a2, z=b2), d3, d4, r2}, and obtaining six-tuple parameters of the rebar model perpendicular to the xz plane as { xz, (x=a3, z=b3), d5, d6, r3}, if any of the following formulas is satisfied:
b2-b3| > r2+r3, or d3> a3+r3, or d4< a3-r3, or d5> b2+r2, or d6< b2-r2;
and if not, detecting whether the two reinforcing bar models are collided or not by adopting the OBB bounding box, or outputting a collision detection result of the two reinforcing bar models as collision.
S43, judging whether collision exists between the reinforcement model vertical to the xz plane and other reinforcement models vertical to the xz plane.
In a specific embodiment, the S43 is specifically:
and calculating the distance between the center coordinates of the reinforcing bar model vertical to the xz plane and the center coordinates of the reinforcing bar models vertical to the xz plane, judging whether the distance is larger than the sum of the radius of the center coordinates and the radius of the reinforcing bar model vertical to the xz plane, if so, determining whether a coincident part exists according to the shortest distance and the farthest distance between the center coordinates and the xz plane, if so, then, the collision exists, and if not, then, the collision does not exist.
The coincidence judgment is as follows: and acquiring intervals consisting of the nearest distance and the farthest distance in six-tuple parameters of the reinforcing steel bar models, judging whether two intervals of the two reinforcing steel bar models have intersection, if so, overlapping, otherwise, not.
As shown in fig. 4, there are cases where, for the first type of reinforcement, one collides with other first type reinforcement perpendicular to the same plane, and one collides with first type reinforcement perpendicular to other planes. For the first case, the situation that no collision is obvious can be eliminated by the circle centers and the radii of the two reinforcing bars and the nearest distance and the farthest distance from the vertical plane; for the second case, the case of no apparent collision can also be excluded by the six-tuple parameters.
In order to avoid repeated detection, the method starts from a reinforcing bar model vertical to an xy plane, firstly judges whether the reinforcing bar model obviously has no collision with other reinforcing bar models vertical to the xy plane, and then judges whether the reinforcing bar model obviously has no collision with reinforcing bar models vertical to zy plane and xz plane; and then starting from the next reinforcing steel bar perpendicular to the xy plane, and continuously iterating the process until all reinforcing steel bar models perpendicular to the xy plane are judged.
After the process is finished, starting from one reinforcing bar model vertical to the yz plane, judging whether the reinforcing bar model obviously has no collision with other reinforcing bar models vertical to the yz plane, and judging whether the reinforcing bar model obviously has no collision with the reinforcing bar model vertical to the xz plane; and then starting from the next reinforcing steel bar perpendicular to the xy plane, and continuously iterating the process until all reinforcing steel bar models perpendicular to the yz plane are judged.
After the process is finished, starting from one reinforcing bar model vertical to the xz plane, judging whether the reinforcing bar model obviously has no collision with other reinforcing bar models vertical to the xz plane; and then starting from the next reinforcing steel bar perpendicular to the xz plane, and continuously iterating the process until all reinforcing steel bar models perpendicular to the xz plane are judged.
Whether collision exists or not is detected between the steel bars perpendicular to the same plane, the collision can be quickly judged through the distance between the two steel bars and the thickness of the two steel bars, if the distance is large, the collision cannot exist obviously, and if the distance of the center coordinates is smaller than the radius sum of the two steel bars, the collision can exist, and the collision is further judged at the moment. For example, two rebar models 1 and 2, with a center distance of 3, but with a sum of radii of the two rebar models of 8, there is an overlap, which in one embodiment is the projected circles on the vertical plane, where there is an overlap, which requires further determination of the spatial distance of the two, if rebar 1 is closest to the vertical plane to 1, furthest from 3, rebar 2 is closest to the vertical plane to 10, furthest from 12, there is no collision in space, and it can be determined directly that there is no collision in space.
Whether collision exists between two steel bars perpendicular to different planes is detected, and the judgment can be carried out through six-tuple parameters. If the two reinforcing bars are projected in the respective vertical planes to form circles far apart, that is, if it is determined that the coordinates of the centers of circles in the six-tuple of the two reinforcing bars have the same values of the axes and the radii of the two reinforcing bars, for example, one reinforcing bar has a center of a circle perpendicular to the xy plane (x=1, y=3), the other reinforcing bar has a center of a circle perpendicular to the yz plane (y=9, z=9), the two reinforcing bars have the same axes of the y axis, the distance between the two reinforcing bars on the y axis is 6, and if the radius of the reinforcing bar perpendicular to the xy plane is 1 and the radius of the reinforcing bar perpendicular to the yz plane is also 1, there is no possibility of collision between the two reinforcing bars. But if the center of the circle perpendicular to the xy plane is (x=1, y=9), it is necessary to further judge the distance of both from the perpendicular plane.
In another embodiment, the reinforcement model is disassembled into one or more sub reinforcement models according to the projection of the second type reinforcement in the xy plane, the yz plane and the xz plane, specifically:
and if the second type of reinforcing steel bars are all straight lines in the central lines of the projections of the xy plane, the yz plane and the xz plane, or curves exist in the central lines of the projections of any one of the xy plane, the yz plane and the xz plane, taking the whole reinforcing steel bar model as a sub reinforcing steel bar model, otherwise, dividing the second type of reinforcing steel bars into at least two sub reinforcing steel bar models, wherein the central lines of the projections of the sub reinforcing steel bar models in the xy plane, the yz plane and the xz plane are all straight lines.
Example two
The invention provides a collision detection system in bridge design, which comprises the following modules:
the invention also provides a collision detection system in bridge design, which comprises the following modules:
the mapping module is used for mapping the bridge model into a space rectangular coordinate system xyz, wherein the xy plane is a horizontal plane, the z axis is a vertical direction, and the yz plane is perpendicular to the trend of the bridge;
the reinforcement classification module is used for obtaining reinforcement models in the bridge model, respectively making projections of an xy plane, a yz plane and an xz plane for each reinforcement model, if any one of the projections of the xy plane, the yz plane and the xz plane is a circle, marking the reinforcement model as a first type of reinforcement, and obtaining six-tuple parameters of the reinforcement model according to the plane where the projection is the circle, otherwise, marking the reinforcement model as a second type of reinforcement; the six-tuple parameters are respectively the mark of the vertical plane of the reinforcing steel bar model, the center coordinates of the circle on the vertical plane, the nearest distance from the vertical plane, the farthest distance from the vertical plane and the radius of the circle;
the decomposing module is used for decomposing the reinforcing bar model into one or more sub reinforcing bar models according to the projection of the second reinforcing bar model on the xy plane, the yz plane and the xz plane when the reinforcing bar model is the second reinforcing bar, judging whether the sub reinforcing bar model is the first reinforcing bar, if so, taking the sub reinforcing bar model as the first reinforcing bar, otherwise, judging whether the sub reinforcing bar model collides with other reinforcing bars by adopting an OBB bounding box method;
And the collision detection module is used for judging whether collision exists between the reinforcing bar model and other reinforcing bars of the first type according to the six-tuple parameters of the reinforcing bar model when the reinforcing bar model is the reinforcing bar of the first type.
Preferably, the judging whether collision exists with other first-type reinforcing steel bars according to the six-tuple parameters of the reinforcing steel bar model specifically comprises:
s41, judging whether collision exists between the reinforcement model vertical to the xy plane and other reinforcement models vertical to the xy plane, and judging whether collision exists between the reinforcement model vertical to the zy plane and the xz plane;
s42, judging whether collision exists between the reinforcing bar model vertical to the yz plane and other reinforcing bar models vertical to the yz plane or not, and judging whether collision exists between the reinforcing bar model vertical to the xz plane and other reinforcing bar models vertical to the xz plane or not;
s43, judging whether collision exists between the reinforcement model vertical to the xz plane and other reinforcement models vertical to the xz plane.
Preferably, the S41 specifically is:
s411, for the reinforcement model vertical to the xy plane, calculating the distance between the center coordinates and the center coordinates of other reinforcement models vertical to the xy plane, judging whether the distance is larger than the sum of the radius of the center coordinates and the radius of the center coordinates, if so, determining whether a coincident part exists according to the shortest distance and the farthest distance between the center coordinates and the xy plane, if so, then, the collision exists, and if not, then, the collision does not exist;
S412, for a rebar model perpendicular to the xy plane, obtaining a six-tuple parameter of the rebar model as { xy, (a 1, b 1), d1, d2, r1}, and obtaining a six-tuple parameter of the rebar model perpendicular to the yz plane as { yz, (a 2, b 2), d3, d4, r2}, if any of the following formulas is satisfied:
b1-a2| > r1+r2, or d1> b2+r2, or d2< b2-r2, or d3> a1+r1, or d4< a1-r1;
if no collision exists, detecting whether the two reinforcing bar models exist or not by adopting an OBB bounding box, or outputting a collision detection result of the two reinforcing bar models as collision;
s413, for a rebar model perpendicular to the xy plane, obtaining a six-tuple parameter of the rebar model as { xy, (a 1, b 1), d1, d2, r1}, and obtaining a six-tuple parameter of the rebar model perpendicular to the xz plane as { xz, (a 3, b 3), d5, d6, r3}, if any of the following formulas is satisfied:
1-a3 > r1+r3, or d1> b3+r3, or d2< b3-r3, or d5> b1+r1, or d6< b1-r1;
if no collision exists, detecting whether the two reinforcing bar models exist or not by adopting an OBB bounding box, or outputting a collision detection result of the two reinforcing bar models as collision;
preferably, the step S42 specifically includes:
s421, for the reinforcement model vertical to the yz plane, calculating the distance between the center coordinates and the center coordinates of other reinforcement models vertical to the yz plane, judging whether the distance is larger than the sum of the radius of the center coordinates and the radius of the center coordinates, if so, determining whether a coincident part exists according to the shortest distance and the farthest distance between the center coordinates and the yz plane, if so, the collision exists, and if not, the collision does not exist;
S422, for the rebar model perpendicular to the yz plane, obtaining six-tuple parameters of the rebar model perpendicular to the yz plane as { yz, (a 2, b 2), d3, d4, r2}, and obtaining six-tuple parameters of the rebar model perpendicular to the xz plane as { xz, (a 3, b 3), d5, d6, r3}, if any of the following formulas is satisfied:
b2-b3| > r2+r3, or d3> a3+r3, or d4< a3-r3, or d5> b2+r2, or d6< b2-r2;
if no collision exists, detecting whether the two reinforcing bar models exist or not by adopting an OBB bounding box, or outputting a collision detection result of the two reinforcing bar models as collision;
preferably, the S43 specifically is:
and calculating the distance between the center coordinates of the reinforcing bar model vertical to the xz plane and the center coordinates of the reinforcing bar models vertical to the xz plane, judging whether the distance is larger than the sum of the radius of the center coordinates and the radius of the reinforcing bar model vertical to the xz plane, if so, determining whether a coincident part exists according to the shortest distance and the farthest distance between the center coordinates and the xz plane, if so, then, the collision exists, and if not, then, the collision does not exist.
Preferably, the reinforcement model is disassembled into one or more sub reinforcement models according to the projection of the second type reinforcement in the xy plane, the yz plane and the xz plane, specifically:
And if the second type of reinforcing steel bars are all straight lines in the central lines of the projections of the xy plane, the yz plane and the xz plane, or curves exist in the central lines of the projections of any one of the xy plane, the yz plane and the xz plane, taking the whole reinforcing steel bar model as a sub reinforcing steel bar model, otherwise, dividing the second type of reinforcing steel bars into at least two sub reinforcing steel bar models, wherein the central lines of the projections of the sub reinforcing steel bar models in the xy plane, the yz plane and the xz plane are all straight lines.
Example III
The present invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as described in embodiment one of the present invention.
Example IV
The invention provides a computer device comprising at least a memory and a processor, the memory having stored thereon a computer program which, when executed by the processor, implements a method as described in the first embodiment of the invention.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by adding necessary general purpose hardware platforms, or may be implemented by a combination of hardware and software. Based on such understanding, the foregoing aspects, in essence and portions contributing to the art, may be embodied in the form of a computer program product, which may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for collision detection in bridge design, the method comprising the steps of:
s1, mapping a bridge model into a space rectangular coordinate system xyz, wherein the xy plane is a horizontal plane, the z axis is a vertical direction, and the yz plane is perpendicular to the trend of the bridge;
s2, obtaining reinforcement models in the bridge model, respectively making projections of an xy plane, a yz plane and an xz plane for each reinforcement model, if any one of the projections of the xy plane, the yz plane and the xz plane is a circle, marking the reinforcement model as a first type of reinforcement, and obtaining six-tuple parameters of the reinforcement model according to the plane where the projection is the circle, otherwise, marking the reinforcement model as a second type of reinforcement; the six-tuple parameters are respectively the mark of the vertical plane of the reinforcing steel bar model, the center coordinates of the circle on the vertical plane, the nearest distance from the vertical plane, the farthest distance from the vertical plane and the radius of the circle;
S3, if the reinforcing bar model is a second type reinforcing bar, disassembling the reinforcing bar model into one or more sub reinforcing bar models according to the projection of the second type reinforcing bar in an xy plane, a yz plane and an xz plane, judging whether the sub reinforcing bar model is a first type reinforcing bar, if so, taking the sub reinforcing bar model as the first type reinforcing bar, otherwise, judging whether the sub reinforcing bar model collides with other reinforcing bars by adopting an OBB bounding box method;
and S4, if the reinforcing bar model is the first type reinforcing bar, judging whether collision exists with other reinforcing bars of the first type according to six-tuple parameters of the reinforcing bar model.
2. The method of claim 1, wherein the determining whether there is a collision with another first type of reinforcement according to the six-tuple parameters of the reinforcement model is specifically:
s41, judging whether collision exists between the reinforcement model vertical to the xy plane and other reinforcement models vertical to the xy plane, and judging whether collision exists between the reinforcement model vertical to the zy plane and the xz plane;
s42, judging whether collision exists between the reinforcing bar model vertical to the yz plane and other reinforcing bar models vertical to the yz plane or not, and judging whether collision exists between the reinforcing bar model vertical to the xz plane and other reinforcing bar models vertical to the xz plane or not;
S43, judging whether collision exists between the reinforcement model vertical to the xz plane and other reinforcement models vertical to the xz plane.
3. The method according to claim 2, wherein S41 is specifically:
s411, for the reinforcement model vertical to the xy plane, calculating the distance between the center coordinates and the center coordinates of other reinforcement models vertical to the xy plane, judging whether the distance is larger than the sum of the radius of the center coordinates and the radius of the center coordinates, if so, determining whether a coincident part exists according to the shortest distance and the farthest distance between the center coordinates and the xy plane, if so, then, the collision exists, and if not, then, the collision does not exist;
s412, for a rebar model perpendicular to the xy plane, obtaining a six-tuple parameter of the rebar model as { xy, (a 1, b 1), d1, d2, r1}, and obtaining a six-tuple parameter of the rebar model perpendicular to the yz plane as { yz, (a 2, b 2), d3, d4, r2}, if any of the following formulas is satisfied:
b1-a2| > r1+r2, or d1> b2+r2, or d2< b2-r2, or d3> a1+r1, or d4< a1-r1;
if no collision exists, detecting whether the two reinforcing bar models exist or not by adopting an OBB bounding box, or outputting a collision detection result of the two reinforcing bar models as collision;
S413, for a rebar model perpendicular to the xy plane, obtaining a six-tuple parameter of the rebar model as { xy, (a 1, b 1), d1, d2, r1}, and obtaining a six-tuple parameter of the rebar model perpendicular to the xz plane as { xz, (a 3, b 3), d5, d6, r3}, if any of the following formulas is satisfied:
1-a3 > r1+r3, or d1> b3+r3, or d2< b3-r3, or d5> b1+r1, or d6< b1-r1;
and if not, detecting whether the two reinforcing bar models are collided or not by adopting the OBB bounding box, or outputting a collision detection result of the two reinforcing bar models as collision.
4. The method according to claim 2, wherein S42 is specifically:
s421, for the reinforcement model vertical to the yz plane, calculating the distance between the center coordinates and the center coordinates of other reinforcement models vertical to the yz plane, judging whether the distance is larger than the sum of the radius of the center coordinates and the radius of the center coordinates, if so, determining whether a coincident part exists according to the shortest distance and the farthest distance between the center coordinates and the yz plane, if so, the collision exists, and if not, the collision does not exist;
s422, for the rebar model perpendicular to the yz plane, obtaining six-tuple parameters of the rebar model perpendicular to the yz plane as { yz, (a 2, b 2), d3, d4, r2}, and obtaining six-tuple parameters of the rebar model perpendicular to the xz plane as { xz, (a 3, b 3), d5, d6, r3}, if any of the following formulas is satisfied:
B2-b3| > r2+r3, or d3> a3+r3, or d4< a3-r3, or d5> b2+r2, or d6< b2-r2;
and if not, detecting whether the two reinforcing bar models are collided or not by adopting the OBB bounding box, or outputting a collision detection result of the two reinforcing bar models as collision.
5. The method according to claim 2, wherein S43 is specifically:
and calculating the distance between the center coordinates of the reinforcing bar model vertical to the xz plane and the center coordinates of the reinforcing bar models vertical to the xz plane, judging whether the distance is larger than the sum of the radius of the center coordinates and the radius of the reinforcing bar model vertical to the xz plane, if so, determining whether a coincident part exists according to the shortest distance and the farthest distance between the center coordinates and the xz plane, if so, then, the collision exists, and if not, then, the collision does not exist.
6. The method according to claim 1, wherein the reinforcement model is disassembled into one or more sub-reinforcement models according to the projection of the second type of reinforcement in the xy-plane, yz-plane, xz-plane, in particular:
and if the second type of reinforcing steel bars are all straight lines in the central lines of the projections of the xy plane, the yz plane and the xz plane, or curves exist in the central lines of the projections of any one of the xy plane, the yz plane and the xz plane, taking the whole reinforcing steel bar model as a sub reinforcing steel bar model, otherwise, dividing the second type of reinforcing steel bars into at least two sub reinforcing steel bar models, wherein the central lines of the projections of the sub reinforcing steel bar models in the xy plane, the yz plane and the xz plane are all straight lines.
7. A collision detection system in bridge design, the system comprising the following modules:
the mapping module is used for mapping the bridge model into a space rectangular coordinate system xyz, wherein the xy plane is a horizontal plane, the z axis is a vertical direction, and the yz plane is perpendicular to the trend of the bridge;
the reinforcement classification module is used for obtaining reinforcement models in the bridge model, respectively making projections of an xy plane, a yz plane and an xz plane for each reinforcement model, if any one of the projections of the xy plane, the yz plane and the xz plane is a circle, marking the reinforcement model as a first type of reinforcement, and obtaining six-tuple parameters of the reinforcement model according to the plane where the projection is the circle, otherwise, marking the reinforcement model as a second type of reinforcement; the six-tuple parameters are respectively the mark of the vertical plane of the reinforcing steel bar model, the center coordinates of the circle on the vertical plane, the nearest distance from the vertical plane, the farthest distance from the vertical plane and the radius of the circle;
the decomposing module is used for decomposing the reinforcing bar model into one or more sub reinforcing bar models according to the projection of the second reinforcing bar model on the xy plane, the yz plane and the xz plane when the reinforcing bar model is the second reinforcing bar, judging whether the sub reinforcing bar model is the first reinforcing bar, if so, taking the sub reinforcing bar model as the first reinforcing bar, otherwise, judging whether the sub reinforcing bar model collides with other reinforcing bars by adopting an OBB bounding box method;
And the collision detection module is used for judging whether collision exists between the reinforcing bar model and other reinforcing bars of the first type according to the six-tuple parameters of the reinforcing bar model when the reinforcing bar model is the reinforcing bar of the first type.
8. The system of claim 7, wherein the determining whether there is a collision with another first type of reinforcement according to the six-tuple parameters of the reinforcement model is specifically:
s41, judging whether collision exists between the reinforcement model vertical to the xy plane and other reinforcement models vertical to the xy plane, and judging whether collision exists between the reinforcement model vertical to the zy plane and the xz plane;
s42, judging whether collision exists between the reinforcing bar model vertical to the yz plane and other reinforcing bar models vertical to the yz plane or not, and judging whether collision exists between the reinforcing bar model vertical to the xz plane and other reinforcing bar models vertical to the xz plane or not;
s43, judging whether collision exists between the reinforcement model vertical to the xz plane and other reinforcement models vertical to the xz plane.
9. The system of claim 8, wherein S41 is specifically:
s411, for the reinforcement model vertical to the xy plane, calculating the distance between the center coordinates and the center coordinates of other reinforcement models vertical to the xy plane, judging whether the distance is larger than the sum of the radius of the center coordinates and the radius of the center coordinates, if so, determining whether a coincident part exists according to the shortest distance and the farthest distance between the center coordinates and the xy plane, if so, then, the collision exists, and if not, then, the collision does not exist;
S412, for a rebar model perpendicular to the xy plane, obtaining a six-tuple parameter of the rebar model as { xy, (a 1, b 1), d1, d2, r1}, and obtaining a six-tuple parameter of the rebar model perpendicular to the yz plane as { yz, (a 2, b 2), d3, d4, r2}, if any of the following formulas is satisfied:
b1-a2| > r1+r2, or d1> b2+r2, or d2< b2-r2, or d3> a1+r1, or d4< a1-r1;
if no collision exists, detecting whether the two reinforcing bar models exist or not by adopting an OBB bounding box, or outputting a collision detection result of the two reinforcing bar models as collision;
s413, for a rebar model perpendicular to the xy plane, obtaining a six-tuple parameter of the rebar model as { xy, (a 1, b 1), d1, d2, r1}, and obtaining a six-tuple parameter of the rebar model perpendicular to the xz plane as { xz, (a 3, b 3), d5, d6, r3}, if any of the following formulas is satisfied:
1-a3 > r1+r3, or d1> b3+r3, or d2< b3-r3, or d5> b1+r1, or d6< b1-r1;
if no collision exists, detecting whether the two reinforcing bar models exist or not by adopting an OBB bounding box, or outputting a collision detection result of the two reinforcing bar models as collision;
the step S42 specifically includes:
s421, for the reinforcement model vertical to the yz plane, calculating the distance between the center coordinates and the center coordinates of other reinforcement models vertical to the yz plane, judging whether the distance is larger than the sum of the radius of the center coordinates and the radius of the center coordinates, if so, determining whether a coincident part exists according to the shortest distance and the farthest distance between the center coordinates and the yz plane, if so, the collision exists, and if not, the collision does not exist;
S422, for the rebar model perpendicular to the yz plane, obtaining six-tuple parameters of the rebar model perpendicular to the yz plane as { yz, (a 2, b 2), d3, d4, r2}, and obtaining six-tuple parameters of the rebar model perpendicular to the xz plane as { xz, (a 3, b 3), d5, d6, r3}, if any of the following formulas is satisfied:
b2-b3| > r2+r3, or d3> a3+r3, or d4< a3-r3, or d5> b2+r2, or d6< b2-r2;
if no collision exists, detecting whether the two reinforcing bar models exist or not by adopting an OBB bounding box, or outputting a collision detection result of the two reinforcing bar models as collision;
the step S43 specifically includes:
and calculating the distance between the center coordinates of the reinforcing bar model vertical to the xz plane and the center coordinates of the reinforcing bar models vertical to the xz plane, judging whether the distance is larger than the sum of the radius of the center coordinates and the radius of the reinforcing bar model vertical to the xz plane, if so, determining whether a coincident part exists according to the shortest distance and the farthest distance between the center coordinates and the xz plane, if so, then, the collision exists, and if not, then, the collision does not exist.
10. A computer readable storage medium having stored thereon a computer program, which, when executed by a processor, implements the method according to any of claims 1-6.
CN202310600122.3A 2023-05-25 2023-05-25 Collision detection method and system in bridge design Active CN116541939B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310600122.3A CN116541939B (en) 2023-05-25 2023-05-25 Collision detection method and system in bridge design

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310600122.3A CN116541939B (en) 2023-05-25 2023-05-25 Collision detection method and system in bridge design

Publications (2)

Publication Number Publication Date
CN116541939A CN116541939A (en) 2023-08-04
CN116541939B true CN116541939B (en) 2024-01-30

Family

ID=87457650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310600122.3A Active CN116541939B (en) 2023-05-25 2023-05-25 Collision detection method and system in bridge design

Country Status (1)

Country Link
CN (1) CN116541939B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009158466A1 (en) * 2008-06-26 2009-12-30 Siemens Product Lifecycle Management Software Inc. System and method for collision-free cad design of pipe and tube paths
CN107066648A (en) * 2016-12-09 2017-08-18 国家测绘地理信息局四川测绘产品质量监督检验站 Pipe space collision checking method and device
CN108959753A (en) * 2018-06-26 2018-12-07 广州视源电子科技股份有限公司 Collision checking method, system, readable storage medium storing program for executing and computer equipment
CN113077548A (en) * 2021-04-26 2021-07-06 北京百度网讯科技有限公司 Collision detection method, device, equipment and storage medium for object
CN113244622A (en) * 2021-06-22 2021-08-13 腾讯科技(深圳)有限公司 Collision data processing method and device, storage medium and electronic equipment
CN113664832A (en) * 2021-09-01 2021-11-19 上海节卡机器人科技有限公司 Robot collision prediction method, computer storage medium and electronic device
CN115617042A (en) * 2022-10-10 2023-01-17 上海仙途智能科技有限公司 Collision detection method and device, terminal equipment and computer-readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009158466A1 (en) * 2008-06-26 2009-12-30 Siemens Product Lifecycle Management Software Inc. System and method for collision-free cad design of pipe and tube paths
CN107066648A (en) * 2016-12-09 2017-08-18 国家测绘地理信息局四川测绘产品质量监督检验站 Pipe space collision checking method and device
CN108959753A (en) * 2018-06-26 2018-12-07 广州视源电子科技股份有限公司 Collision checking method, system, readable storage medium storing program for executing and computer equipment
CN113077548A (en) * 2021-04-26 2021-07-06 北京百度网讯科技有限公司 Collision detection method, device, equipment and storage medium for object
CN113244622A (en) * 2021-06-22 2021-08-13 腾讯科技(深圳)有限公司 Collision data processing method and device, storage medium and electronic equipment
CN113664832A (en) * 2021-09-01 2021-11-19 上海节卡机器人科技有限公司 Robot collision prediction method, computer storage medium and electronic device
CN115617042A (en) * 2022-10-10 2023-01-17 上海仙途智能科技有限公司 Collision detection method and device, terminal equipment and computer-readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
三维模型中钢筋重复检测算法研究;杨礼国;蒋海峰;杨建城;;大众用电(S2);全文 *
实时碰撞检测算法综述;邹益胜;计算机应用研究;第25卷(第1期);8-12 *

Also Published As

Publication number Publication date
CN116541939A (en) 2023-08-04

Similar Documents

Publication Publication Date Title
Chen et al. A case study of embedding real-time infrastructure sensor data to BIM
US7096154B1 (en) System and method for visualizing repetitively structured Markov models
CN116882038B (en) Electromechanical construction method and system based on BIM technology
CN111046459A (en) Building model image design method based on 3D software
CN116541939B (en) Collision detection method and system in bridge design
CN112784340A (en) Conversion method and conversion device for construction Building Information Modeling (BIM)
CN115525945A (en) Steel box arch rib quality monitoring method and system based on BIM and 3D laser scanning
CN111815973A (en) Signalized intersection analysis method and related equipment
CN115150747A (en) Method for generating electronic fence of refuse dump
CN113821860A (en) Method, device and equipment for determining breakpoint on steel bar primitive and storage medium
JP7469987B2 (en) Information processing device, information processing method, and program
JP2004013332A (en) Computating apparatus for reinforcement working specification
Yu et al. Enhancing the stability and placement accuracy of BIM model projections for augmented reality-based site management of infrastructure projects
CN115456060A (en) Processing method and device for predicted track
CN111475878B (en) Method and device for generating ground depot anti-collision plate based on BIM technology and terminal
CN114444185A (en) In-situ labeling identification method and device and electronic equipment
US10431009B2 (en) Methods and systems for three dimensional modeling of infrastructure elements
CN111199357A (en) Express delivery point electronic fence diagnosis method and device
KR100413294B1 (en) Rock structure analysis
JP7133821B1 (en) Automatic measurement program, automatic measurement device and automatic measurement method by arbitrary coordinate system point cloud
CN115374526B (en) Refined reinforcement method and system based on BIM technology
CN116342604B (en) Method and system for achieving contour similarity matching based on shear wall appearance
CN115146356B (en) Method and device for dynamically associating beam Ping Fa reinforcement characters with beam Duan Xinxi
CN115027497A (en) Target vehicle cut-in intention prediction method and readable storage medium
CN115618473A (en) Building information model system, modeling method, device and 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
GR01 Patent grant
GR01 Patent grant