CN112765716B - Target steel bar obtaining method, device, equipment and medium - Google Patents

Target steel bar obtaining method, device, equipment and medium Download PDF

Info

Publication number
CN112765716B
CN112765716B CN202110108052.0A CN202110108052A CN112765716B CN 112765716 B CN112765716 B CN 112765716B CN 202110108052 A CN202110108052 A CN 202110108052A CN 112765716 B CN112765716 B CN 112765716B
Authority
CN
China
Prior art keywords
target
steel bar
rebar
plane
target wall
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
CN202110108052.0A
Other languages
Chinese (zh)
Other versions
CN112765716A (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.)
Jiuling Jiangsu Digital Intelligent Technology Co Ltd
Original Assignee
Jiuling Jiangsu Digital Intelligent 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 Jiuling Jiangsu Digital Intelligent Technology Co Ltd filed Critical Jiuling Jiangsu Digital Intelligent Technology Co Ltd
Priority to CN202110108052.0A priority Critical patent/CN112765716B/en
Publication of CN112765716A publication Critical patent/CN112765716A/en
Application granted granted Critical
Publication of CN112765716B publication Critical patent/CN112765716B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Structural Engineering (AREA)
  • Computational Mathematics (AREA)
  • Civil Engineering (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Architecture (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to a target steel bar obtaining method, a target steel bar obtaining device, target steel bar obtaining equipment and a target steel bar obtaining medium. The method comprises the following steps: receiving a target wall body selection instruction in a building information model, and determining a target wall body based on the target wall body selection instruction; extracting a set of rebars from the building information model that pass through the target wall; reading a steel bar positioning line in the steel bar set; and acquiring the steel bar corresponding to the steel bar positioning line with the minimum distance to the target wall body as a target steel bar. The method can improve the development efficiency.

Description

Target steel bar obtaining method, device, equipment and medium
Technical Field
The application relates to the technical field of buildings, in particular to a method, a device, equipment and a medium for acquiring a target reinforcing steel bar.
Background
The building information model, referred to as BIM for short, is a building or construction engineering information model composed of sufficient information to support the development and management of new products and directly interpretable by computer application programs, i.e. life cycle management of the building environment supported by digital technology.
Structural rebar design is a relatively complex problem. The method mainly shows that the drawing workload is large, the engineering quantity is complex to calculate, and the design quality is not easy to guarantee. The designer designs the steel bars completely by hand, and is limited by design experience, the degree of understanding of specifications, the degree of familiarity of software trial and the degree of familiarity of design principles, the design speed is greatly limited, and the design quality is difficult to ensure.
For example, in developing a design, when performing a wall reinforcing function, it is necessary to take the reinforcing bars closest to the inside and outside of the wall. At this time, the developers need to think, design and implement by themselves, wherein there may be a bug and the execution efficiency is not high, which will increase the working time of the developers and reduce the development efficiency.
Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus, a device and a medium for obtaining a target reinforcing bar, which can improve development efficiency.
A target rebar retrieval method, the method comprising:
receiving a target wall body selection instruction in a building information model, and determining a target wall body based on the target wall body selection instruction;
extracting a set of rebars from the building information model that pass through the target wall;
reading a steel bar positioning line in the steel bar set;
and acquiring the steel bar corresponding to the steel bar positioning line with the minimum distance with the target wall body as a target steel bar.
In one embodiment, the obtaining a rebar corresponding to the rebar positioning line with the smallest distance to the target wall as a target rebar includes:
determining a target plane of the target wall;
and transmitting the target plane and the steel bar positioning line into a pre-packaged target steel bar calculation function model, and calculating to obtain a target steel bar.
In one embodiment, the transferring the target plane and the steel bar positioning line into a pre-packaged target steel bar calculation function model to calculate a target steel bar includes:
calculating a unit normal vector of the target plane through a pre-packaged target steel bar calculation function model;
randomly selecting a reference point from the target plane;
respectively selecting target points from the reinforcing steel bar positioning lines;
calculating the distance from the steel bar positioning line to the target wall according to the reference point, the target point and the unit normal vector;
and selecting the steel bar corresponding to the steel bar positioning line with the minimum distance as a target steel bar.
In one embodiment, the calculating the distance from the reinforcing steel bar positioning line to the target wall according to the reference point, the target point and the unit normal vector includes:
calculating to obtain a first distance according to the reference point and the unit normal vector;
calculating to obtain a second distance according to the target point and the unit normal vector;
and calculating the distance from the steel bar positioning line to the target wall according to the second distance and the first distance.
In one embodiment, the extracting the set of rebars from the building information model through the target wall includes:
extracting a set of rebars passing through a vertical plane of the target wall and a set of rebars passing through a horizontal plane of the target wall from the building information model;
the determining the target plane of the target wall comprises:
and determining a horizontal plane and a vertical plane of the target wall, wherein the target plane corresponding to the rebar set penetrating through the vertical plane of the target wall is the horizontal plane, and the target plane corresponding to the rebar set penetrating through the horizontal plane of the target wall is the vertical plane.
In one embodiment, after obtaining the rebar corresponding to the rebar positioning line with the smallest distance to the target wall as the target rebar, the method further includes:
acquiring a deviation rule of a steel bar positioning line corresponding to the determined target steel bar;
and generating a reinforcing steel bar in the building information model according to the offset rule.
A target rebar retrieval method, the method comprising:
selecting a target wall in the building information model;
and calling a preset functional interface to enable the functional interface to process the target wall according to the method to obtain the target reinforcing steel bar.
A target rebar harvesting device, the device comprising:
the receiving module is used for receiving a target wall body selection instruction in the building information model;
a rebar set extraction module used for extracting a rebar set penetrating through the target wall from the building information model;
the reinforcing steel bar positioning line reading module is used for reading the reinforcing steel bar positioning lines in the reinforcing steel bar set;
and the target steel bar determining module is used for acquiring the steel bar corresponding to the steel bar positioning line with the minimum distance from the target wall body as the target steel bar.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method as described in any one of the above embodiments when the processor executes the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method as set forth in any one of the above embodiments.
According to the method, the device, the equipment and the medium for acquiring the target reinforcing steel bars, the reinforcing steel bar set penetrating through the target wall body is automatically read after the target wall body is selected through the building information model, so that the reinforcing steel bars closest to the target wall body are automatically calculated according to the reinforcing steel bar positioning lines in the reinforcing steel bar set, a user does not need to calculate the reinforcing steel bars by himself, the time is saved, and the efficiency of development and design is greatly improved.
Drawings
FIG. 1 is a diagram of an exemplary embodiment of a target rebar capture process;
FIG. 2 is a schematic flow chart illustrating a method for obtaining a target rebar according to one embodiment;
FIG. 3 is a schematic view of a target wall in one embodiment;
FIG. 4 is a schematic view of an opening in the target wall of FIG. 3;
FIG. 5 is a detailed schematic view of the target wall shown in FIG. 3;
FIG. 6 is a set of rebar penetrating the target wall of FIG. 3;
FIG. 7 is a simplified illustration of a rebar collection through the target wall of FIG. 3;
FIG. 8 is a schematic view of the target rebar of the target wall of FIG. 3;
FIG. 9 is a schematic view of a target point in a target plane in one embodiment;
FIG. 10 is a schematic view of an embodiment with the target point above the target plane;
FIG. 11 is a schematic view of an embodiment with the target point below the target plane;
FIG. 12 is a schematic flow chart illustrating a method for retrieving a target rebar according to one embodiment;
FIG. 13 is a block diagram of a target rebar retrieval device in one embodiment;
fig. 14 is a block diagram showing the construction of a target reinforcing bar obtaining apparatus in another embodiment;
FIG. 15 is a diagram showing an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The target steel bar obtaining method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The server 104 may store a library file, and the terminal 102 may introduce the library file into a project, transfer corresponding parameters of the functional interface, and call the encapsulated function to obtain a result quickly, for example, the terminal 102 calls the corresponding library file to obtain a steel bar corresponding to a steel bar positioning line with a minimum distance from the target wall as the target steel bar. Specifically, in actual use, the terminal 102 introduces the library file into a hard project in advance, and then when project processing is performed, the terminal 102 receives a target wall selection instruction in the building information model, determines a target wall based on the target wall selection instruction, and extracts a set of rebars passing through the target wall from the building information model; the rebar positioning lines in the rebar set are read, so that the terminal 102 selects the rebar positioning lines and the target wall, then the library file is called, namely the packaged function is used for quickly obtaining the rebar positioning line with the minimum distance from the target wall, and therefore the terminal determines the corresponding rebar as the target rebar according to the rebar positioning line obtained through calculation of the packaged function, and subsequent project processing is carried out.
The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, a method for obtaining a target reinforcing bar is provided, which is described by taking the method as an example of being applied to the terminal in fig. 1, and includes the following steps:
s202: and receiving a target wall body selection instruction in the building information model, and determining a target wall body based on the target wall body selection instruction.
Specifically, the building information model refers to a BIM model in which various building elements of a building and their combination, such as walls, doors and windows, etc., are displayed.
The target wall is a wall in the building information model, wherein in this embodiment, the target wall is a wall that needs to be reinforced on the wall, for example, a hole exists in the target wall, and therefore, the target wall needs to be reinforced by the reinforcing steel bars, so that it is necessary to determine the target wall first to calculate the reinforcing steel bars.
Specifically, referring to fig. 3 to 5, fig. 3 is a schematic diagram of a target wall in an embodiment, fig. 4 is a schematic diagram of a hole in the target wall shown in fig. 3, and fig. 5 is a detailed schematic diagram of the target wall shown in fig. 3, where as shown in fig. 3, a terminal receives a target wall selection instruction in a building information model, so as to select a target wall, that is, a portion inside a rectangular frame in fig. 3, and specifically referring to fig. 4, where the selected portion inside the rectangular frame is a wall, and a hole is formed in the wall, which needs to be wall-reinforced, and as shown in fig. 5, details of the hole are enlarged.
S204: a set of rebars that pass through the target wall is extracted from the building information model.
Specifically, the set of rebars passing through the target wall is specifically a set of rebars passing through an opening in the target wall, and specifically, the terminal may obtain the set of rebars passing through the target wall according to the position information of the target wall in the building information model, that is, coordinates of each surface of the opening.
For example, the terminal may obtain a range of coordinates of the target wall, and then extract the rebars in the building information model that intersect the range of coordinates.
Specifically, referring to fig. 6 and 7, fig. 6 is a set of rebars through the target wall shown in fig. 3, and fig. 7 is a simplified diagram of a set of rebars through the target wall shown in fig. 3.
S206: and reading a steel bar positioning line in the steel bar set.
Specifically, the steel bar positioning line is a representation line of each steel bar, which may be a median line of the steel bar, and the like, and is not particularly limited herein.
S208: and obtaining the steel bar corresponding to the steel bar positioning line with the minimum distance with the target wall body as the target steel bar.
Specifically, after the target wall and the steel bar positioning lines are determined, the terminal may traverse each steel bar positioning line to obtain a distance between the steel bar positioning line and the target wall, and then select the steel bar corresponding to the steel bar positioning line with the smallest distance as the target steel bar. The distance calculation can be converted into the distance from a point to a surface, so that the calculation is simplified. Specifically, referring to fig. 8, fig. 8 is a schematic diagram of a target rebar corresponding to the target wall shown in fig. 3.
According to the target reinforcing steel bar obtaining method, through the building information model, after the target wall body is selected, the reinforcing steel bar set penetrating through the target wall body is automatically read, so that the reinforcing steel bars closest to the target wall body are automatically calculated according to the reinforcing steel bar positioning lines in the reinforcing steel bar set, a user does not need to calculate the reinforcing steel bars by himself, time is saved, and the efficiency of development and design is greatly improved.
In one embodiment, acquiring the rebar corresponding to the rebar positioning line with the smallest distance to the target wall as the target rebar includes: determining a target plane of a target wall; and (4) transmitting the target plane and the steel bar positioning line into a pre-packaged target steel bar calculation function model, and calculating to obtain the target steel bar.
In particular, the target plane may comprise at least one, for example, a vertical plane and a horizontal plane of the target wall, i.e., two connected out-side or in-side four sides of the target wall, one being a vertical plane and one being a horizontal plane.
Specifically, the function of extracting the target steel bar may be made into a library file in advance, so that the library file is introduced into the project, that is, the encapsulated function model corresponding to the library file may be called to perform calculation when needed.
In this embodiment, in order to avoid the repeatability of programming, the library file is encapsulated in advance to obtain a target steel bar calculation function model, so that when a target steel bar needs to be calculated each time, input parameters of the model, that is, a target wall and a steel bar positioning line are determined, a distance from the steel bar positioning line to the target wall (that is, a target plane) can be compared, and the steel bar positioning line with the minimum distance is returned.
In the embodiment, the library file is packaged in advance to obtain the target steel bar calculation function model, and only the corresponding target steel bar calculation function model needs to be called during calculation, so that the repeatability of programming is avoided.
In one embodiment, the method for obtaining a target steel bar by calculation by transferring a target plane and a steel bar positioning line into a pre-packaged target steel bar calculation function model includes: calculating a unit normal vector of a target plane through a pre-packaged target steel bar calculation function model; randomly selecting a reference point from the target plane; respectively selecting target points from each steel bar positioning line; calculating the distance from the steel bar positioning line to the target wall according to the reference point, the target point and the unit normal vector; and selecting the steel bar corresponding to the steel bar positioning line with the minimum distance as the target steel bar.
Specifically, referring to fig. 9 to 11, fig. 9 is a schematic diagram of an embodiment where a target point is on a target plane, fig. 10 is a schematic diagram of an embodiment where a target point is on a target plane, and fig. 11 is a schematic diagram of an embodiment where a target point is under a target plane.
Specifically, for convenience, wherein the reference point is represented by planeP, the target point is represented by point, the plane normal vector is represented by planeNormal, and the unit normal vector is represented by normal.
The unit normal vector is the direction quantity of the target plane, the terminal calculates the plane normal vector first, and then the unit normal vector of the target plane can be obtained through normalization. The reference point is any point in the target plane, the target point is a point on each steel bar positioning line, and the terminal calculates the distance from the steel bar positioning line to the target wall by calculating the distance from the target point to the target plane.
Optionally, the terminal calculates a distance from the steel bar positioning line to the target wall according to the reference point, the target point and the unit normal vector, and includes: calculating to obtain a first distance according to the reference point and the unit normal vector; calculating to obtain a second distance according to the target point and the unit normal vector; and calculating the distance from the steel bar positioning line to the target wall according to the second distance and the first distance.
For example, in practical application, the terminal calculates the dot product of the unit normal vector normal and the reference point planeP, and inverts the result to be denoted as d. And then calculating the dot product of the unit normal vector normal and the point of the target point, and adding the result d to obtain the distance from the target point to the target plane.
Referring to fig. 9 to 11, since the target point is on the target plane in fig. 9, the dot product of the unit normal vector normal and the reference point plan and the dot product of the unit normal vector normal and the target point are equal, and thus the calculated distance is 0. In fig. 10, the target point is above the target plane, and therefore the sum of the dot product of the normal vector normal and the target point and the dot product of the normal vector normal and the reference point planeP is positive. As in fig. 11, the target point is below the target plane, so the sum of the dot product of the unit normal vector normal and the target point and the dot product of the unit normal vector normal and the reference point planeP is negative.
In the above embodiment, a detailed principle of the target steel bar calculation function model is given, and after the terminal acquires the steel bar positioning lines and the target plane, the terminal can directly call the target steel bar calculation function model to calculate and obtain the distance from each steel bar positioning line to the target wall.
In one embodiment, extracting the set of rebars from the building information model through the target wall comprises: extracting a rebar set passing through a vertical plane of the target wall and a rebar set passing through a horizontal plane of the target wall from the building information model; determining a target plane of a target wall, comprising: and determining a horizontal plane and a vertical plane of the target wall body, wherein the target plane corresponding to the rebar set penetrating through the vertical plane of the target wall body is the horizontal plane, and the target plane corresponding to the rebar set penetrating through the horizontal plane of the target wall body is the vertical plane.
Specifically, as shown in fig. 7, the rebar penetrating through the target wall includes horizontal and vertical rebars, so that when the terminal calculates the rebar set, the terminal may first determine a horizontal plane and a vertical plane in the target wall, then determine ranges of the horizontal plane and the vertical plane respectively, and further obtain horizontal and vertical coordinate ranges, thereby determining the rebar set penetrating through the horizontal plane according to the horizontal coordinate range, and similarly obtain the rebar set penetrating through the vertical plane. All the positioning lines of the four face steel bars passing through the opening are determined as shown in fig. 7, namely the steel bars passing through the opening transversely and vertically and the steel bars passing through the opening vertically.
Then, the steel bar positioning lines closest to the horizontal plane and the treatment plane are respectively obtained, that is, calculation is performed according to the target steel bar calculation function model to obtain two positioning lines closest to the outer wall surface, which can be specifically combined with fig. 8.
In the above embodiment, since the opening has a plurality of faces, the number of the target rebars to be determined needs to be determined according to the number of the faces of the opening, and then the target rebar calculation function model is called to perform calculation.
In one embodiment, after obtaining the rebar corresponding to the rebar positioning line with the smallest distance to the target wall as the target rebar, the method further includes: acquiring a deviation rule of a steel bar positioning line corresponding to the determined target steel bar; and generating a reinforcing steel bar in the building information model according to the offset rule.
Specifically, the reinforcing bar is generated based on the deviation of two positioning lines by a prescribed distance. The reinforcing steel bar arrangement rule comprises: if meet horizontal reinforcing bar, the reinforcing bar central line of above-mentioned one arranged is the starting point, and the interval that 4 times of reinforcement reinforcing bar diameter d is rearranged, the reinforcing bar of vertical direction is the same as reason.
In the embodiment, through the building information model, after the target wall is selected, the reinforcing steel bar set penetrating through the target wall is automatically read, so that the reinforcing steel bars closest to the target wall are automatically calculated according to the reinforcing steel bar positioning lines in the reinforcing steel bar set, the calculation by a user is not needed, the time is saved, the reinforcing steel bars can be quickly calculated according to the target reinforcing steel bars, and the efficiency of development and design is greatly improved.
In one embodiment, as shown in fig. 12, a method for obtaining a target reinforcing bar is provided, which is described by taking the method as an example of being applied to the terminal in fig. 1, and includes the following steps:
s1202: and selecting a target wall in the building information model.
Specifically, the method for selecting the target wall may be as described above, and is not described herein again.
S1204: and calling a preset functional interface to enable the functional interface to process the target wall according to the method in any one of the embodiments to obtain the target steel bar.
Specifically, the obtaining method of the target reinforcing steel bar may refer to the above, which is not described herein again, and after the target reinforcing steel bar is obtained through calculation, the terminal may obtain the reinforcing steel bar through calculation according to the target reinforcing steel bar, and the calculating method may also refer to the above.
In the embodiment, through the building information model, after the target wall is selected, the reinforcing steel bar set penetrating through the target wall is automatically read, so that the reinforcing steel bars closest to the target wall are automatically calculated according to the reinforcing steel bar positioning lines in the reinforcing steel bar set, the calculation by a user is not needed, the time is saved, the reinforcing steel bars can be quickly calculated according to the target reinforcing steel bars, and the efficiency of development and design is greatly improved.
Specifically, with reference to fig. 3 to 11, the wall reinforcement function is taken as a scene in which the reinforcement bar closest to the inner and outer wall surfaces needs to be taken to prepare for the subsequent calculation of the position of the reinforcement bar.
As shown in fig. 3, a set of reinforcing bars passing through the vertical plane of the opening is obtained first, and then the reinforcing bar with the shortest distance to the outer side of the wall surface among the transverse reinforcing bars is obtained to prepare for placing the reinforcing bar subsequently. Firstly, selecting a wall with an opening, acquiring a reinforcement set of which the opening passes through a vertical plane and a reinforcement set of which the opening passes through a horizontal plane, determining all positioning lines of four surface reinforcements passing through the opening, namely reinforcements passing through the opening transversely and vertically and reinforcements passing through the opening vertically (figure 7), and obtaining two positioning lines (figure 8) which are closest to the outer wall surface based on an algorithm; and then generating a reinforcing steel bar based on the deviation of the two positioning lines by a specified distance.
When the target steel bar is calculated, a reference point, a target point and a unit normal vector are determined, so that the distance from the target point to a target plane can be calculated and obtained to serve as the distance from a steel bar positioning line to a target wall. Specifically, a unit normal vector of the plane normal vector is obtained first and is recorded as normal. The dot product of the unit normal vector normal and the reference point planeP is then calculated and the result is inverted and denoted as d. And finally, calculating the dot product of the unit normal vector normal and the point of the target point, and adding the result d to obtain the distance between the point and the plane.
According to the target reinforcing steel bar obtaining method, through the building information model, after the target wall body is selected, the reinforcing steel bar set penetrating through the target wall body is automatically read, so that the reinforcing steel bars closest to the target wall body are automatically calculated according to the reinforcing steel bar positioning lines in the reinforcing steel bar set, a user does not need to calculate the reinforcing steel bars by himself, time is saved, and the efficiency of development and design is greatly improved.
It should be understood that although the steps in the flowcharts of fig. 2 and 12 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least some of the steps in fig. 2 and 12 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 13, there is provided a target reinforcing bar retrieving apparatus including: the system comprises a receiving module 100, a steel bar set extraction module 200, a steel bar positioning line reading module 300 and a target steel bar determination module 400, wherein:
a receiving module 100, configured to receive a target wall selection instruction in a building information model;
a rebar set extraction module 200, configured to extract a rebar set that passes through a target wall from a building information model;
the reinforcing steel bar positioning line reading module 300 is used for reading a reinforcing steel bar positioning line in a reinforcing steel bar set;
and a target steel bar determining module 400, configured to obtain a steel bar corresponding to the steel bar positioning line with the smallest distance to the target wall as the target steel bar.
In one embodiment, the target-rebar determination module 400 includes:
the target plane determining unit is used for determining a target plane of the target wall;
and the calling unit is used for transmitting the target plane and the steel bar positioning line into a pre-packaged target steel bar calculation function model and calculating to obtain the target steel bar.
In one embodiment, the invoking unit includes:
the normal vector determining subunit is used for calculating a unit normal vector of a target plane through a pre-packaged target steel bar calculation function model;
a reference point determining subunit, configured to arbitrarily select a reference point from within the target plane;
the target point determining subunit is used for respectively selecting target points from each steel bar positioning line;
the distance calculation subunit is used for calculating the distance from the steel bar positioning line to the target wall according to the reference point, the target point and the unit normal vector;
and the selecting subunit is used for selecting the reinforcing steel bar corresponding to the reinforcing steel bar positioning line with the minimum distance as the target reinforcing steel bar.
In one embodiment, the distance calculating subunit includes:
calculating to obtain a first distance according to the reference point and the unit normal vector;
calculating to obtain a second distance according to the target point and the unit normal vector;
and calculating the distance from the steel bar positioning line to the target wall according to the second distance and the first distance.
In one embodiment, the rebar set extraction module 200 is configured to extract a rebar set passing through a vertical plane of the target wall and a rebar set passing through a horizontal plane of the target wall from the building information model;
the target plane determining unit is used for determining a horizontal plane and a vertical plane of a target wall body, wherein the target plane corresponding to the rebar sets penetrating through the vertical plane of the target wall body is the horizontal plane, and the target plane corresponding to the rebar sets penetrating through the horizontal plane of the target wall body is the vertical plane.
In one embodiment, the above-mentioned target-reinforcement-bar obtaining apparatus further includes:
the offset rule determining module is used for obtaining the offset rule of the steel bar positioning line corresponding to the determined target steel bar;
and the reinforcing steel bar generating module is used for generating reinforcing steel bars in the building information model according to the deviation rule.
In one embodiment, as shown in fig. 14, there is provided a target reinforcing bar retrieving apparatus including: target wall body confirms module 500 and target reinforcing bar identification module 600, wherein:
a target wall determination module 500, configured to select a target wall in the building information model;
the target reinforcing steel bar identification module 600 is configured to call a preset functional interface, so that the functional interface processes the target wall according to the method in any one of the embodiments described above, to obtain the target reinforcing steel bar.
For specific limitations of the target rebar retrieval device, reference may be made to the above limitations of the target rebar retrieval method, which are not described herein again. The modules in the target steel bar obtaining device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 15. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a target rebar retrieval method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 15 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program: receiving a target wall body selection instruction in the building information model, and determining a target wall body based on the target wall body selection instruction; extracting a set of reinforcing steel bars penetrating through a target wall from the building information model; reading a steel bar positioning line in a steel bar set; and obtaining the steel bar corresponding to the steel bar positioning line with the minimum distance with the target wall body as the target steel bar.
In one embodiment, the obtaining of the rebar corresponding to the rebar positioning line with the smallest distance to the target wall as the target rebar, implemented when the processor executes the computer program, includes: determining a target plane of a target wall; and (4) transmitting the target plane and the steel bar positioning line into a pre-packaged target steel bar calculation function model, and calculating to obtain the target steel bar.
In one embodiment, the transferring the target plane and the steel bar positioning line into the pre-packaged target steel bar calculation function model when the processor executes the computer program, and calculating to obtain the target steel bar includes: calculating a unit normal vector of a target plane through a pre-packaged target steel bar calculation function model; randomly selecting a reference point from the target plane; respectively selecting target points from each steel bar positioning line; calculating the distance from the steel bar positioning line to the target wall according to the reference point, the target point and the unit normal vector; and selecting the steel bar corresponding to the steel bar positioning line with the minimum distance as the target steel bar.
In one embodiment, the calculating of the distance from the steel bar positioning line to the target wall according to the reference point, the target point and the unit normal vector when the processor executes the computer program includes: calculating to obtain a first distance according to the reference point and the unit normal vector; calculating to obtain a second distance according to the target point and the unit normal vector; and calculating the distance from the steel bar positioning line to the target wall according to the second distance and the first distance.
In one embodiment, the extraction of the set of rebars from the building information model through the target wall, as implemented by the processor executing the computer program, comprises: extracting a rebar set passing through a vertical plane of the target wall and a rebar set passing through a horizontal plane of the target wall from the building information model; determining a target plane of a target wall, as implemented by a processor executing a computer program, comprises: and determining a horizontal plane and a vertical plane of the target wall body, wherein the target plane corresponding to the rebar set penetrating through the vertical plane of the target wall body is the horizontal plane, and the target plane corresponding to the rebar set penetrating through the horizontal plane of the target wall body is the vertical plane.
In one embodiment, after the processor, when executing the computer program, acquires the rebar corresponding to the rebar positioning line with the smallest distance to the target wall as the target rebar, the method further includes: acquiring a deviation rule of a steel bar positioning line corresponding to the determined target steel bar; and generating a reinforcing steel bar in the building information model according to the offset rule.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program: selecting a target wall in the building information model; and calling a preset functional interface to enable the functional interface to process the target wall according to the method in any one of the embodiments to obtain the target steel bar.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: receiving a target wall body selection instruction in the building information model, and determining a target wall body based on the target wall body selection instruction; extracting a set of rebars penetrating through the target wall from the building information model; reading a steel bar positioning line in a steel bar set; and obtaining the steel bar corresponding to the steel bar positioning line with the minimum distance with the target wall body as the target steel bar.
In one embodiment, the computer program, when executed by a processor, for obtaining a rebar corresponding to a rebar positioning line having a minimum distance to a target wall as a target rebar, includes: determining a target plane of a target wall; and (4) transmitting the target plane and the steel bar positioning line into a pre-packaged target steel bar calculation function model, and calculating to obtain the target steel bar.
In one embodiment, the transferring the target plane and the rebar positioning line into a pre-packaged target rebar calculation function model to calculate a target rebar, when the computer program is executed by the processor, includes: calculating a unit normal vector of a target plane through a pre-packaged target steel bar calculation function model; randomly selecting a reference point from the target plane; respectively selecting target points from each steel bar positioning line; calculating the distance from the steel bar positioning line to the target wall according to the reference point, the target point and the unit normal vector; and selecting the steel bar corresponding to the steel bar positioning line with the minimum distance as the target steel bar.
In one embodiment, the calculation of the distance from the steel bar positioning line to the target wall according to the reference point, the target point and the unit normal vector when the computer program is executed by the processor includes: calculating to obtain a first distance according to the reference point and the unit normal vector; calculating to obtain a second distance according to the target point and the unit normal vector; and calculating the distance from the steel bar positioning line to the target wall according to the second distance and the first distance.
In one embodiment, the extraction of a set of rebars from a building information model through a target wall, implemented when the computer program is executed by a processor, comprises: extracting a rebar set passing through a vertical plane of the target wall and a rebar set passing through a horizontal plane of the target wall from the building information model; determining a target plane of a target wall implemented by a computer program when executed by a processor, comprising: and determining a horizontal plane and a vertical plane of the target wall body, wherein the target plane corresponding to the rebar set penetrating through the vertical plane of the target wall body is the horizontal plane, and the target plane corresponding to the rebar set penetrating through the horizontal plane of the target wall body is the vertical plane.
In one embodiment, after the computer program, when executed by the processor, acquires the rebar corresponding to the rebar positioning line with the smallest distance to the target wall as the target rebar, the method further includes: acquiring a deviation rule of a steel bar positioning line corresponding to the determined target steel bar; and generating a reinforcing steel bar in the building information model according to the offset rule.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: selecting a target wall in the building information model; and calling a preset functional interface to enable the functional interface to process the target wall according to the method in any one of the embodiments to obtain the target steel bar.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not to be understood as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for obtaining a target reinforcing bar, the method comprising:
receiving a target wall body selection instruction in a building information model, and determining a target wall body based on the target wall body selection instruction;
extracting a set of rebars from the building information model that pass through the target wall;
reading a steel bar positioning line in the steel bar set;
and acquiring the steel bar corresponding to the steel bar positioning line with the minimum distance with the target wall body as a target steel bar.
2. The method of claim 1, wherein the obtaining of the rebar corresponding to the rebar positioning line with the smallest distance to the target wall is a target rebar comprises:
determining a target plane of the target wall;
and transmitting the target plane and the steel bar positioning line into a pre-packaged target steel bar calculation function model, and calculating to obtain a target steel bar.
3. The method of claim 2, wherein the step of introducing the target plane and the rebar positioning line into a pre-packaged target rebar calculation function model to calculate a target rebar comprises:
calculating a unit normal vector of the target plane through a pre-packaged target steel bar calculation function model;
randomly selecting a reference point from the target plane;
respectively selecting target points from the reinforcing steel bar positioning lines;
calculating the distance from the steel bar positioning line to the target wall according to the reference point, the target point and the unit normal vector;
and selecting the steel bar corresponding to the steel bar positioning line with the minimum distance as a target steel bar.
4. The method of claim 3, wherein the calculating the distance from the rebar positioning line to the target wall according to the reference point, the target point, and the unit normal vector comprises:
calculating to obtain a first distance according to the reference point and the unit normal vector;
calculating to obtain a second distance according to the target point and the unit normal vector;
and calculating the distance from the steel bar positioning line to the target wall according to the second distance and the first distance.
5. The method of claim 2, wherein the extracting the set of rebars from the building information model through the target wall comprises:
extracting a set of rebars passing through a vertical plane of the target wall and a set of rebars passing through a horizontal plane of the target wall from the building information model;
the determining the target plane of the target wall comprises:
and determining a horizontal plane and a vertical plane of the target wall, wherein the target plane corresponding to the rebar set penetrating through the vertical plane of the target wall is the horizontal plane, and the target plane corresponding to the rebar set penetrating through the horizontal plane of the target wall is the vertical plane.
6. The method according to any one of claims 1 to 5, wherein after obtaining the rebar corresponding to the rebar positioning line with the smallest distance to the target wall as a target rebar, the method further comprises:
acquiring a deviation rule of a steel bar positioning line corresponding to the determined target steel bar;
and generating a reinforcing steel bar in the building information model according to the offset rule.
7. A method for obtaining a target reinforcing bar, the method comprising:
selecting a target wall in the building information model;
calling a preset functional interface so that the functional interface processes the target wall according to the method of any one of claims 1 to 6 to obtain the target steel bar.
8. A target reinforcing bar obtaining apparatus, comprising:
the receiving module is used for receiving a target wall body selection instruction in the building information model;
a rebar set extraction module used for extracting a rebar set penetrating through the target wall from the building information model;
the reinforcing steel bar positioning line reading module is used for reading the reinforcing steel bar positioning lines in the reinforcing steel bar set;
and the target steel bar determining module is used for acquiring the steel bar corresponding to the steel bar positioning line with the minimum distance from the target wall body as the target steel bar.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6 or 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6 or 7.
CN202110108052.0A 2021-01-27 2021-01-27 Target steel bar obtaining method, device, equipment and medium Active CN112765716B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110108052.0A CN112765716B (en) 2021-01-27 2021-01-27 Target steel bar obtaining method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110108052.0A CN112765716B (en) 2021-01-27 2021-01-27 Target steel bar obtaining method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN112765716A CN112765716A (en) 2021-05-07
CN112765716B true CN112765716B (en) 2022-05-27

Family

ID=75707431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110108052.0A Active CN112765716B (en) 2021-01-27 2021-01-27 Target steel bar obtaining method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN112765716B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113886916B (en) * 2021-09-30 2024-06-18 广联达科技股份有限公司 Method, device, equipment and storage medium for determining break point on steel bar graphic element

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019189967A1 (en) * 2018-03-30 2019-10-03 주식회사 마이다스아이티 3d bridge tendon cad model generation system for designing psc bridge tendon and method therefor
CN111125809A (en) * 2019-11-22 2020-05-08 久瓴(上海)智能科技有限公司 Building steel column generation method and device, computer equipment and storage medium
CN111783204A (en) * 2020-06-23 2020-10-16 中民筑友建设科技集团有限公司 BIM-based steel bar generation method, device, equipment and medium for special-shaped component

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019189967A1 (en) * 2018-03-30 2019-10-03 주식회사 마이다스아이티 3d bridge tendon cad model generation system for designing psc bridge tendon and method therefor
CN111125809A (en) * 2019-11-22 2020-05-08 久瓴(上海)智能科技有限公司 Building steel column generation method and device, computer equipment and storage medium
CN111783204A (en) * 2020-06-23 2020-10-16 中民筑友建设科技集团有限公司 BIM-based steel bar generation method, device, equipment and medium for special-shaped component

Also Published As

Publication number Publication date
CN112765716A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
CN110516370B (en) Prefabricated part deepening drawing generation method and device, computer equipment and medium
CN111079263A (en) Building main body structure generation method and device, computer equipment and storage medium
US11500992B2 (en) Trusted execution environment-based model training methods and apparatuses
CN112287430B (en) Building wall generation method and device, computer equipment and storage medium
CN112765716B (en) Target steel bar obtaining method, device, equipment and medium
EP3926555A2 (en) Method and apparatus of training model, electronic device, storage medium, and development system
EP4170498A2 (en) Federated learning method and apparatus, device and medium
CN112035110A (en) Parameter adjusting method, device, client and storage medium
CN114596423A (en) Model rendering method and device based on virtual scene gridding and computer equipment
CN112287429B (en) Building target area determination method and device, computer equipment and storage medium
CN112287427B (en) Building wall position determining method and device, computer equipment and storage medium
CN112445514B (en) Code review method and related products
CN112182886B (en) Engineering model generation method and device, computer equipment and storage medium
CN111737921B (en) Data processing method, equipment and medium based on cyclic neural network
CN114064300A (en) Thread deadlock detection method, device, equipment, medium and computer program product
CN111008311B (en) Complex network node importance assessment method and device based on neighborhood weak connection
CN112287432A (en) Target area acquisition method and device, computer equipment and storage medium
CN112527416A (en) Task processing method and device, computer equipment and storage medium
CN111125809B (en) Building steel column generation method and device, computer equipment and storage medium
CN113918651A (en) Business data and capital flow processing method, device, equipment and medium
CN111190574B (en) Method, device, equipment and storage medium for selecting options of multi-stage linkage assembly
CN112650584A (en) Cache file processing method and device
CN114327468A (en) Object replacement method, device, computer equipment and storage medium
CN112287428B (en) Building wall generation method and device, computer equipment and storage medium
CN112287434B (en) Building line segment generation method and device, computer 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
GR01 Patent grant
GR01 Patent grant