A steel bar modeling method and device

By creating reinforcement parts and cutting directions in architectural drawings, drawing steel bar properties, and generating three-dimensional models, the problem of not being able to support the modeling of steel bars in special-shaped components in the existing technology is solved, and the rapid and accurate calculation of steel bar engineering volume is achieved, which improves the Modeling efficiency.

CN114638034BActive Publication Date: 2024-12-20GLODON CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210254526.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-15
Publication Date
2024-12-20
Estimated Expiration
2042-03-15

AI Technical Summary

Technical Problem

The existing three-dimensional modeling methods of steel bars cannot support steel bar modeling of special-shaped components, resulting in low modeling flexibility and low efficiency, making it difficult to automatically calculate the steel bar project volume.

Method used

By creating reinforcement parts from the target building drawings, performing sections to obtain the section and section directions, and drawing steel bars in the section and setting properties, generating a three-dimensional model of steel bars, supporting the drawing of point bars and line bars, realizing arbitrary shape components rapid modeling.

Benefits of technology

The rapid modeling of steel bars of any shape components is realized, the attribute components of the steel bar engineering volume is clarified, subsequent calculations are simplified, calculation efficiency is improved, and a faster and more convenient modeling method is provided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114638034B_ABST
    Figure CN114638034B_ABST
Patent Text Reader

Abstract

The present invention provides a steel bar modeling method and device, the method comprising: creating a reinforcement part from a target building drawing based on a user's steel bar modeling requirements; cutting the reinforcement part to obtain a section of the reinforcement part and a corresponding cutting direction; drawing corresponding steel bars in the section based on the user's steel bar creation operation, and setting steel bar attributes; generating a steel bar three-dimensional model based on the steel bars in the section and the cutting direction. Thus, the user draws steel bars in the section of the reinforcement part, and then automatically generates a three-dimensional model of the steel bars according to the cutting direction, thereby realizing the rapid modeling of steel bars of components of arbitrary shapes, and the component to which the engineering quantity of the steel bars belongs can be clearly identified through the reinforcement part, with the goal of accurate calculation results, providing a faster and more convenient steel bar modeling method, simplifying the subsequent calculation of the steel bar engineering quantity, and improving the calculation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer-aided design, and in particular to a steel bar modeling method and device. Background Art

[0002] In the construction of reinforced concrete buildings, the quantity of steel bars needs to be calculated in the quantity calculation stage to guide the subsequent cost calculation and material cutting. The traditional solution is to manually calculate the quantity of steel bars, which needs to consider the thickness of the component protective layer, the grade, diameter, bending radius of the steel bars, etc. The process is complicated, prone to errors and relatively inefficient. With the development of information technology, more and more municipal engineering cost personnel have begun to use 3D model quantity calculation software. After completing the creation of the steel bar model in the 3D model quantity calculation software modeling software, the accurate quantity of the project can be calculated with one click.

[0003] At present, the most common method for 3D steel bar modeling is parametric modeling, that is, multiple steel bar models are embedded in the software, multiple parameters are reserved, and the steel bar modeling is completed after the user enters the parameters. This method has a fast modeling speed, but has low flexibility. It can only support the steel bar modeling of typical components, but not the steel bar modeling of special-shaped components. Therefore, how to achieve rapid modeling of steel bars for components of any shape is of great significance to the automatic calculation of steel bar engineering quantity. Summary of the invention

[0004] In view of this, an embodiment of the present invention provides a steel bar modeling method and device to solve the problem that the steel bar three-dimensional modeling method in the prior art does not support the steel bar modeling of special-shaped components.

[0005] According to a first aspect, an embodiment of the present invention provides a steel bar modeling method, comprising:

[0006] Create reinforcement locations from target building drawings based on user reinforcement modeling requirements;

[0007] Cutting the reinforcement part to obtain a cross section of the reinforcement part and a corresponding cutting direction;

[0008] Based on the user's reinforcement creation operation, draw corresponding reinforcement in the section and set reinforcement properties;

[0009] A three-dimensional model of the steel bars is generated based on the steel bars in the section and the cutting direction.

[0010] Optionally, the creating a reinforcement part from a target building drawing based on a user's reinforcement modeling requirement includes:

[0011] Obtaining the graphics element to be reinforced based on the reinforcement modeling requirements;

[0012] Generate reinforcement parts based on the elements to be reinforced.

[0013] Optionally, the steel bar creation operation based on the user, drawing corresponding steel bars in the section, and setting steel bar properties, includes:

[0014] Based on the user's steel bar creation operation, determine the steel bar drawing type, drawing method and steel bar size information;

[0015] Based on the profile of the section, the thickness of the preset protective layer and the size information, generating reinforcement drawing auxiliary lines in the section;

[0016] Generate corresponding steel bars based on the drawing type, drawing method and snap points selected by the user within the area defined by the steel bar drawing auxiliary line on the section;

[0017] The steel bar properties of the steel bar are set based on the size information.

[0018] Optionally, the drawing type includes: point reinforcement and line reinforcement, the drawing method includes: single reinforcement drawing and batch drawing, and the generating corresponding reinforcement based on the drawing type, the drawing method and the snap point selected by the user on the section includes:

[0019] When the drawing type is point reinforcement and the drawing mode is single reinforcement drawing, the intersection of the reinforcement axis and the section is determined based on the capture point to generate the target point reinforcement;

[0020] When the drawing type is point reinforcement and the drawing mode is batch drawing, determining a point reinforcement layout line on the section based on the capture point;

[0021] Based on the point reinforcement layout line and the set point reinforcement layout mode, determining the distribution position of the target point reinforcement on the point reinforcement layout line;

[0022] Determine the intersection of the steel bar axis and the section based on the distribution position of the target point reinforcement, and generate a batch of target point reinforcements;

[0023] When the drawing type is a line bar and the drawing mode is a single-bar drawing, determining a straight segment and a bending segment of a target line bar on the section based on the capture point;

[0024] Based on the set minimum bending radius and the size information corresponding to the target line reinforcement, an arc transition section is set in the bending section;

[0025] Connecting the arc transition segment and the straight line segment to form the target rib;

[0026] Add rebar ends for the target rebar.

[0027] Optionally, the generating corresponding steel bars based on the drawing type, the drawing method and the snap points selected by the user on the section further includes:

[0028] When the distance between the position of the target point rib and the first line rib on the cross section is less than a first set distance value, the position of the target point rib is set to a side of the first line rib close to the target point rib, and the state of the target point rib and the first line rib is changed to an adsorption state;

[0029] When there is a first point rib on the arc transition section of the target line rib, the arc transition section is moved to one side of the first point rib based on the size information of the first point rib, so that the side with a smaller angle between the front and rear sections of the arc transition section is close to the first point rib.

[0030] Optionally, the method further comprises:

[0031] Establishing a linkage relationship between various steel bar drawing elements based on the reinforcement location, the section, the steel bar drawing auxiliary line and the drawn steel bars;

[0032] When any steel bar drawing element changes, other steel bar drawing elements are adjusted based on the linkage relationship.

[0033] Optionally, before drawing corresponding steel bars in the section and setting steel bar properties based on the steel bar creation operation of the user, the method further includes:

[0034] Recognize the steel bar information of the target building drawing based on the position information corresponding to the section;

[0035] When corresponding steel bar information is identified, the corresponding steel bar is drawn in the section based on the steel bar information, and steel bar attributes are set;

[0036] When the corresponding steel bar information is not identified, based on the user's steel bar creation operation, the corresponding steel bar is drawn in the section and the steel bar attributes are set.

[0037] Optionally, the method further comprises:

[0038] Obtaining the snap point selected by the user on the reinforcement portion;

[0039] Drawing three-dimensional steel bars in three-dimensional space based on the capture points and the preset steel bar size;

[0040] A three-dimensional steel bar model is generated based on the three-dimensional steel bars and the preset array path.

[0041] According to a second aspect, an embodiment of the present invention provides a steel bar modeling device, comprising:

[0042] Reinforcement location creation module, used to create reinforcement locations from target building drawings based on the user's reinforcement modeling requirements;

[0043] A cutting module, used for cutting the reinforcement part to obtain the cross section of the reinforcement part and its corresponding cutting direction;

[0044] A reinforcement drawing module, for drawing corresponding reinforcements in the section and setting reinforcement properties based on the reinforcement creation operation of the user;

[0045] The steel bar three-dimensional model generating module is used to generate a steel bar three-dimensional model based on the steel bars in the section and the sectioning direction.

[0046] According to a third aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method described in the first aspect of the present invention and any optional manner thereof is implemented.

[0047] According to the fourth aspect, an embodiment of the present invention provides an electronic device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method described in the first aspect of the present invention and any optional method thereof by executing the computer instructions.

[0048] The technical solution of the present invention has the following advantages:

[0049] The embodiment of the present invention provides a steel bar modeling method and device, which creates a reinforcement part from a target building drawing based on the user's steel bar modeling requirements; cuts the reinforcement part to obtain the section of the reinforcement part and its corresponding cutting direction; draws the corresponding steel bar in the section based on the user's steel bar creation operation, and sets the steel bar attributes; generates a steel bar three-dimensional model based on the steel bar in the section and the cutting direction. Thus, the user draws the steel bar in the section of the reinforcement part, and then automatically generates a three-dimensional model of the steel bar according to the cutting direction, thereby realizing the rapid modeling of steel bars of components of arbitrary shapes, and the component to which the steel bar engineering quantity belongs can be clearly identified through the reinforcement part, with the goal of accurate calculation results, providing a faster and more convenient steel bar modeling method, simplifying the subsequent calculation of steel bar engineering quantity, and improving calculation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0051] Figure 1 is a flow chart of a steel bar modeling method in an embodiment of the present invention;

[0052] Figure 2 is a cross-sectional schematic diagram of a reinforcement portion in an embodiment of the present invention;

[0053] Figure 3A A schematic diagram of drawing steel bars in a cross section in an embodiment of the present invention;

[0054] Figure 3B is a schematic diagram of a three-dimensional model of steel bars in an embodiment of the present invention;

[0055] Figure 4A This is a schematic diagram of the effect of point ribs adsorbing line ribs in an embodiment of the present invention;

[0056] Figure 4B Schematic diagram of the effect of the line reinforcement bypassing the point reinforcement in an embodiment of the present invention;

[0057] Figure 5 A schematic diagram of the overall process of modeling a three-dimensional steel bar model in an embodiment of the present invention;

[0058] Fig. 6A It is a schematic diagram of the three-dimensional effect of an unreinforced integrated pipe gallery in an embodiment of the present invention;

[0059] Figure 6B It is a schematic diagram of the three-dimensional effect of a reinforced integrated pipe gallery in an embodiment of the present invention;

[0060] Figure 7 Schematic diagram of the structure of the steel bar modeling device in an embodiment of the present invention;

[0061] Figure 8 Schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0062] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0063] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0064] In the construction of reinforced concrete buildings, the quantity of steel bars needs to be calculated in the quantity calculation stage to guide the subsequent cost calculation and material cutting. The traditional solution is to manually calculate the quantity of steel bars, which needs to consider the thickness of the component protective layer, the grade, diameter, bending radius of the steel bars, etc. The process is complicated, prone to errors and relatively inefficient. With the development of information technology, more and more municipal engineering cost personnel have begun to use 3D model quantity calculation software. After completing the creation of the steel bar model in the 3D model quantity calculation software modeling software, the accurate quantity of the project can be calculated with one click.

[0065] At present, the most common method for 3D steel bar modeling is parametric modeling, that is, multiple steel bar models are embedded in the software, multiple parameters are reserved, and the steel bar modeling is completed after the user enters the parameters. This method has a fast modeling speed, but has low flexibility. It can only support the steel bar modeling of typical components, but not the steel bar modeling of special-shaped components. Therefore, how to achieve rapid modeling of steel bars for components of any shape is of great significance to the automatic calculation of steel bar engineering quantity.

[0066] Based on the above problems, an embodiment of the present invention provides a steel bar modeling method, such as Figure 1 As shown, the steel bar modeling method specifically includes the following steps:

[0067] Step S101: Creating reinforcement locations from target building drawings based on the user's reinforcement modeling requirements.

[0068] In the embodiment of the present invention, the target architectural drawing is a CAD drawing. In practical applications, the target architectural drawing can also be an architectural drawing of other formats, and the present invention is not limited thereto. The above-mentioned steel bar modeling requirement is for the user to describe the components to be reinforced, and these components constitute the reinforcement part as a whole.

[0069] Step S102: cutting the reinforcement part to obtain the cross section of the reinforcement part and its corresponding cutting direction.

[0070] Among them, since cost estimators often refer to CAD drawings output by the design phase when performing quantity calculation and modeling, the embodiment of the present invention provides a more user-friendly section reinforcement function for the two-dimensional representation of this three-dimensional model. For example, the user can cut out a plane at any position on the reinforcement part. Figure 2 As shown in the figure, the area indicated by the white border line is the cross-section of the reinforcement area.

[0071] Specifically, for the creation of a section, in order to make it more convenient for the user to specify the position of the section, the embodiment of the present invention provides two methods: creating a section by edge and creating a section by surface:

[0072] Create section by edge: The user selects an edge and a point on the edge, and a section is automatically formed at that point perpendicular to the edge.

[0073] Create section by surface: The user needs to select a plane and drag the surface to the location where the section needs to be generated.

[0074] Step S103: Based on the user's reinforcement creation operation, draw the corresponding reinforcement in the section and set the reinforcement attributes.

[0075] Specifically, the steel bars drawn in the section are mainly divided into point-type steel bar drawing (referred to as point bar drawing) and line-type steel bar drawing (referred to as line bar drawing). All steel bars can set the properties of the steel bars. The common steel bar properties include the name, grade, and diameter of the steel bars. When the user sets these parameters in the property box, the geometric model will be updated in real time. For example, if the user modifies the diameter of a steel bar in the section, the line width of the steel bar displayed in the section will change accordingly, and the steel bar diameter in the three-dimensional model will also change together. In addition, in order to increase the pull-out resistance of the ends of the steel bars, the ends are generally anchored, bent or hooked. The user can directly enter the setting parameters of the steel bar ends in the property box, thereby conveniently generating a three-dimensional model of the steel bar ends. For a group of steel bars, the user can uniformly edit the properties of the entire group of steel bars, or select the properties of a single steel bar editor. For example, the steel bars drawn in the section are as follows: Figure 3A shown.

[0076] Step S104: Generate a three-dimensional steel bar model based on the steel bars in the section and the cutting direction.

[0077] Specifically, according to the projection information of the steel bars in this section, along the cutting direction of the section, the 3D quantity calculation software can automatically and in real time convert the section steel bar information into 3D information and present it in the 3D model. Figure 3A The three-dimensional steel bar model established by drawing the steel bar in the cross section shown in Figure 3B shown.

[0078] By executing the above steps, the steel bar modeling method provided by the embodiment of the present invention enables the user to draw the steel bar in the cross-section of the reinforcement part, and then automatically generates a three-dimensional model of the steel bar according to the cutting direction, thereby realizing rapid steel bar modeling of components of arbitrary shapes, and the component to which the steel bar engineering quantity belongs can be clearly identified through the reinforcement part, with the goal of accurate quantity calculation results, providing a faster and more convenient steel bar modeling method, simplifying the subsequent calculation of the steel bar engineering quantity, and improving the calculation efficiency.

[0079] Specifically, in one embodiment, the above step S101 specifically includes the following steps:

[0080] Step S201: Obtain the graphics elements to be reinforced based on the steel bar modeling requirements.

[0081] Specifically, the present invention aims to reinforce any component, not limited to conventional components such as columns, beams, walls, etc., that is, the modeling method does not care about the type of component. In the first step of starting steel bar modeling, the user is required to describe the component to be reinforced, that is, the user can select the geometric body to be reinforced in the three-dimensional quantity calculation software. The component here refers to the primitive, that is, a specific component in the three-dimensional software, such as a column or a beam.

[0082] Step S202: Generate reinforcement locations based on the graphics element to be reinforced.

[0083] Among them, the reinforcement part is the union of one or more components, and its presentation form is a geometric body in three-dimensional space. For example, when the user tries to reinforce beam 1, beam 2 and plate 3 of a certain layer of a certain project, the command to create reinforcement parts needs to be triggered, and then the user selects three components: beam 1, beam 2 and plate 3. The reinforcement part of the created accessory is the union of the geometric bodies of beam 1, beam 2 and plate 3.

[0084] Therefore, by creating reinforcement parts, users can be guided to think clearly about the ownership of the engineering quantity of the steel bars to be created. The engineering quantity of steel bars often needs to be attributed to the components to which they belong. In business, there are steel bars that pass through multiple components. This link can help users specify the components to which the steel bars belong. By clarifying the geometry of the reinforcement, the 3D modeling quantity calculation software can provide users with more capture points and facilitate the user's subsequent modeling. In addition, for anti-corrosion considerations, the steel bars need to ensure a protective layer thickness away from the outer skin of the concrete. The geometry of the concrete component is determined in advance. The program can help users calculate the location of the protective layer to prevent the steel bars from exceeding the protective layer. In the actual modeling process, components often overlap. When creating reinforcement parts, you can also automatically remove overlapping parts for multiple selected geometries and merge overlapping surfaces to simplify the geometric model and further improve the modeling rate.

[0085] Specifically, in one embodiment, before executing the above step S103, the above steel bar modeling method further includes the following steps:

[0086] Step S105: Recognize the steel bar information of the target building drawing based on the corresponding position information of the section. Specifically, when the corresponding steel bar information is recognized, the corresponding steel bar is drawn in the section based on the steel bar information, and the steel bar attributes are set; when the corresponding steel bar information is not recognized, step S103 is executed.

[0087] Specifically, for a relatively standard CAD drawing, the embodiment of the present invention can directly import the drawing and lay it flat on the section, and identify the steel bars in the drawing. CAD steel bar recognition can automatically extract point steel bars, line steel bars, steel bar annotation information, etc. from the drawing, and automatically generate corresponding steel bars in the section.

[0088] In addition, because the information in the CAD drawings is greatly affected by the drawing method, the recognition results may have slight deviations. In order to facilitate users to correct the incorrectly identified steel bars, after the recognition is completed, the user will be provided with a tool to check the recognition results and prompt the positions with low confidence in the recognition. Therefore, when the CAD drawings are drawn in accordance with the specifications, the section steel bars are automatically drawn by automatically identifying the CAD drawings, which further improves the efficiency of steel bar modeling, provides users with a variety of steel bar drawing functions, and improves the user experience.

[0089] Specifically, in one embodiment, the above step S103 specifically includes the following steps:

[0090] Step S301: Based on the user's steel bar creation operation, determine the drawing type, drawing method and size information of the steel bar.

[0091] Specifically, the drawing types include: point reinforcement and line reinforcement, the drawing methods include: single reinforcement drawing and batch drawing, and the size information of the reinforcement includes: the radius of the point reinforcement, the diameter of the line reinforcement and other information.

[0092] Step S302: Based on the profile of the section and the thickness and size information of the preset protective layer, generate reinforcement drawing auxiliary lines in the section.

[0093] Specifically, in actual engineering applications, the distance between the outermost layer of all steel bars and the surface of the concrete component should be greater than or equal to the thickness of the protective layer. Therefore, in the embodiment of the present invention, when the user enters the steel bar drawing interface, the software will automatically generate auxiliary lines for the user, such as Figure 2 The dotted lines shown are auxiliary lines for drawing steel bars, hereinafter referred to as auxiliary lines. Within the area formed by the auxiliary lines, snap points are provided for users to draw steel bars, so that users can draw steel bars that meet actual engineering requirements.

[0094] Among them, the section is cut out at the reinforcement part and displayed in a two-dimensional window, and then the auxiliary lines are generated in the section. The generated auxiliary lines are not located on the protective layer, but are offset inward by a line bar and a point bar radius. For example, the contour of the current section represents the outer skin of the concrete, and the auxiliary lines are formed by shrinking the contour inward by a distance. If the shrinkage distance is equal to the thickness of the protective layer, then the center line of the drawn steel bar overlaps with the auxiliary line, and the outer skin of the steel bar will be outside the protective layer, which is inconsistent with the actual engineering requirements. In the embodiment of the present invention, considering the characteristics of the steel bar, the auxiliary line shrinks inward by the protective layer thickness + line bar diameter + point bar radius compared to the contour, so that the point bar is drawn, and when the line bar is drawn, the outer skin of the line bar is just inside the protective layer.

[0095] In addition, in order to help users capture more points, users can also draw auxiliary lines manually. Users can directly draw lines to create auxiliary lines by operating the mouse, or create new auxiliary lines from existing auxiliary lines by offsetting and rotating them. The present invention is not limited to this. Therefore, by providing users with the function of drawing auxiliary lines for steel bars, it is convenient for users to draw auxiliary lines that meet actual engineering requirements, further improving the accuracy of the final steel bar three-dimensional model, thereby ensuring the accuracy of subsequent steel bar engineering quantity calculations, and further improving the user experience.

[0096] Step S303: Generate corresponding steel bars based on the drawing type, drawing method and the capture points selected by the user within the area determined by the steel bar drawing auxiliary line on the section.

[0097] Specifically, when drawing point reinforcement, line reinforcement, and auxiliary lines, the user selects snap points in the viewport using the mouse. In order to improve modeling accuracy, the following snap points are provided to the user:

[0098] 1. A perpendicular point is a perpendicular point from any point to any line.

[0099] 2. Parameter point, i.e., a point at a specified length on any line;

[0100] 3. The intersection of auxiliary lines;

[0101] No matter which stage of modeling the user is in, they can easily capture the above points.

[0102] Step S304: setting the steel bar properties of the steel bar based on the size information.

[0103] Specifically, in practical applications, the name and level of the steel bars can be determined according to the component to which the steel bars belong, that is, the graphic element on the CAD drawing, according to the order in which the steel bars are drawn, and then the attribute information of the steel bars can be set according to the size information of the steel bars, such as diameter or radius.

[0104] Furthermore, the above step S303 specifically includes the following steps:

[0105] Step S401: When the drawing type is point reinforcement and the drawing method is single-bar drawing, the intersection of the reinforcement axis and the section is determined based on the capture point to generate the target point reinforcement.

[0106] Specifically, when the user triggers the point-by-point drawing function, the user can directly draw a point bar by clicking a snappable point in the section. The point clicked by the user will be used as the intersection of the steel bar axis and the section, and the length direction of the generated steel bar will be perpendicular to the current section. The grade and diameter of the generated point-type steel bar are the default values ​​and can be further edited in the property box. Therefore, the user only needs to click a position on the section with the mouse to automatically generate the point bar, further improving the efficiency of steel bar modeling.

[0107] Step S402: When the drawing type is point reinforcement and the drawing mode is batch drawing, the point reinforcement layout line is determined on the section based on the capture point; based on the point reinforcement layout line and the set point reinforcement layout mode, the distribution position of the target point reinforcement is determined on the point reinforcement layout line; based on the distribution position of the target point reinforcement, the intersection of the steel bar axis and the section is determined to generate batch target point reinforcement. Thus, the batch modeling function of point reinforcement is realized, the efficiency of steel bar modeling is further improved, and the user experience is further improved.

[0108] Specifically, since point reinforcements often appear in groups in actual engineering applications, in order to further improve the efficiency of point reinforcement drawing, the embodiment of the present invention provides users with two functions for batch drawing of point reinforcements to facilitate users in drawing a group of point reinforcements: 1. Line selection and layout, users can select an auxiliary line to generate a group of point reinforcements; 2. Line drawing and layout, users can also directly draw a line to generate a group of point reinforcements. During the line drawing and layout process, users can also capture all capture points supported when drawing single points of point reinforcements. For batch drawn point reinforcements, users can configure the number or spacing of point reinforcements, and then automatically calculate the distribution of point reinforcements based on the length of the selected or drawn line segment.

[0109] Step S403: When the drawing type is reinforcement and the drawing method is single-bar drawing, the straight segment and the bent segment of the target reinforcement are determined on the section based on the capture point; based on the set minimum bending radius and the size information corresponding to the target reinforcement, an arc transition segment is set in the bent segment; the arc transition segment is connected with the straight segment to form the target reinforcement; and a steel bar end is added to the target reinforcement.

[0110] Specifically, when the user triggers the linear reinforcement drawing function, the user can draw linear reinforcement in the section. Considering the strength of the reinforcement, there is a business limit on the minimum bending radius of the reinforcement when it is bent, that is, a transition arc must be ensured at the bending point, and the radius of the transition arc must be greater than the minimum bending radius. The minimum bending radius will also vary depending on the grade and diameter of the reinforcement. The embodiment of the present invention provides users with the ability to automatically generate arc transition segments and automatically ensure the minimum bending radius of the arc segments.

[0111] For example, first find out the minimum bending radius based on the current grade diameter of the steel bar. Use the minimum radius to make a circle tangent to the front and rear steel bars, cut off the original steel bar line at the tangent point, and replace it with an arc on the circle to generate a transition arc. Therefore, the user only needs to click several positions on the section with the mouse to automatically generate the wire bar, further improving the efficiency of steel bar modeling.

[0112] Step S404: When the distance between the target point rib and the first line rib on the section is less than the first set distance value, the target point rib is set to the side of the first line rib close to the target point rib, and the state of the target point rib and the first line rib is changed to an adsorption state.

[0113] Among them, the first set distance value can be flexibly set according to user needs, such as: 1cm, etc. For example, the first set distance is the sum of the point rib radius and the line rib radius, specifically refers to the distance between the center of the point rib and the axis of the line rib. This can prevent the point ribs from overlapping with the line ribs, and can easily arrange the point ribs close to the line ribs. The present invention is not limited to this.

[0114] Specifically, in actual engineering applications, point reinforcement is often arranged next to linear reinforcement because the reinforcement often forms a mesh to achieve the purpose of mutual fixation. The point reinforcement and linear reinforcement are perpendicular to each other in space. The embodiment of the present invention provides users with a method for arranging point reinforcement in line with linear reinforcement. When drawing point reinforcement, when the point reinforcement is close to the existing linear reinforcement, such as Figure 4A As shown, it will automatically adsorb to one side of the rebar, and the rebar will automatically highlight to indicate that it is currently adsorbed. This ensures that the rebar modeling effect is more realistic, provides an accurate model basis for subsequent calculation of the rebar engineering quantity, and further improves the user experience.

[0115] For example, after the line reinforcement has been drawn, the point reinforcement is currently being drawn. During the process of drawing the point reinforcement, the point reinforcement is always at the mouse position. When the mouse is moved near the line reinforcement, causing the point reinforcement and the line reinforcement to overlap, that is, the distance between the point reinforcement and the line reinforcement is very close, and the above-mentioned first set distance value is met, adsorption will be triggered. The point reinforcement will be moved to a position where it just does not overlap, and the line reinforcement will be highlighted. This process is called adsorption. It should be noted that if you click the mouse in a blank space when drawing the point reinforcement, the point reinforcement will not be arranged, because the blank space cannot be captured, but when adsorbed, you can click the mouse to arrange the point reinforcement directly at the displayed position.

[0116] Step S405: When there is a first point rib on the arc transition section of the target line rib, based on the size information of the first point rib, move the arc transition section to one side of the first point rib so that the side with a smaller angle between the front and rear sections of the arc transition section is close to the first point rib.

[0117] Specifically, in practical applications, for the purpose of fixing the steel bar, there is often a steel bar (point bar) perpendicular to the current section at the corner of the linear steel bar, and the linear steel bar needs to be able to conveniently bypass this point bar. The present invention provides the user with an automatic bypass function, which can automatically bypass this point bar when the user draws one end of the steel bar onto the point bar. For example, Figure 4B As shown in the figure, according to the angle between the steel bars at the front and rear ends of the arc transition section, the steel bars can be pushed outward from the side less than 180 degrees by the radius of the point bar and connected with an arc to obtain a new arc transition section. This ensures that the steel bar modeling effect is more realistic, facilitates users to draw stirrups, and provides an accurate model basis for subsequent calculation of the steel bar engineering quantity, further improving the user experience.

[0118] In addition, when drawing linear objects such as linear reinforcement and auxiliary lines, in addition to conventional straight line objects, some arcs will need to be drawn in some scenarios. The embodiment of the present invention provides users with a variety of arc drawing methods such as two-point arc and three-point arc. Users can directly choose to use them in scenarios such as drawing reinforcement and auxiliary lines. Among them, the two-point arc requires the user to specify two points and enter the radius of the arc, clockwise or counterclockwise, etc., so as to uniquely determine a section of the arc; the three-point arc requires the user to specify three points to determine the only arc passing through the three points.

[0119] Specifically, in one embodiment, the above steel bar modeling method further includes the following steps:

[0120] Step S106: establishing a linkage relationship between various steel bar drawing elements based on the reinforcement position, section, steel bar drawing auxiliary lines and the drawn steel bars.

[0121] Specifically, the rebar drawing elements include: parameters of the reinforcement part, section parameters, rebar drawing auxiliary line parameters and the drawn rebar size information, etc. All rebar drawing elements can be mapped into a directed acyclic graph based on the dependency relationship. If a node on the directed acyclic graph changes, it will automatically trigger the recalculation of all subsequent nodes. In effect, when a rebar drawing element affects the current geometry, the change will be automatically transmitted downward.

[0122] Step S107: when any steel bar drawing element changes, other steel bar drawing elements are adjusted based on the linkage relationship.

[0123] Specifically, the embodiment of the present invention also provides users with a geometric linkage function, that is, when the geometric information of the bottom layer changes, the geometry of the upper layer will follow the change, so as to facilitate users to modify and adjust the steel bar modeling, further improve the efficiency of steel bar modeling, and improve the user experience. For example, if a point bar is arranged at the intersection of two auxiliary lines, when one of the auxiliary lines is moved, the intersection will also move with it, and the previously drawn point bar will automatically move to the new intersection. For example, the following two application scenarios are used as examples.

[0124] Secondary editing scenario: When the user edits the bottom elements such as reinforcement parts, sections, or auxiliary lines, all upper-layer reinforcements will be automatically adjusted. For example, after drawing all the reinforcements, the user finds that the thickness of the protective layer is set too small, and all the reinforcements are too close to the outer skin of the concrete component. At this time, the user can directly adjust the thickness of the component's protective layer in the property box. The adjustment of the protective layer thickness will cause the position of the automatically generated auxiliary line attached to the protective layer to move inward, and all the reinforcements attached to it will move inward accordingly.

[0125] Variable cross-section component scenario: When the cross-section of a component changes with the length of the component, the section size will also change with the length of the component. At this time, geometric linkage can automatically apply the section reinforcement results in different sections.

[0126] The steel bar modeling method provided by the embodiment of the present invention creates a section on a geometric body, draws schematic steel bars on the section, and generates three-dimensional steel bars in real time in a three-dimensional model. When modeling steel bars in the section, the adsorption of point bars, the minimum bending radius of line bars, bypassing, and the automatic generation of end anchorage, bending, and hooks are automatically processed. In addition, when the section changes or the user makes a secondary edit, the geometric information can be reasonably linked. It also provides users with a way to directly draw steel bars in a three-dimensional model, further improving the user experience.

[0127] In practical applications, in some complex force-bearing component spaces, there are some unconventional steel bars, which do not belong to a certain plane, but are three-dimensional space broken lines. In order to achieve modeling of these complex steel bars. The embodiment of the present invention provides a function of directly drawing steel bars in three-dimensional space. Specifically, in one embodiment, after executing the above step S101, the above steel bar modeling method further includes the following steps:

[0128] Step S501: Obtain the capture point selected by the user on the reinforcement location.

[0129] Specifically, similar to the section reinforcement, auxiliary lines will be automatically generated before drawing the steel bars to help users capture points in the protective layer more conveniently. For points that are not easy to capture in space, the present invention provides a coordinate input method, and the user can enter the coordinates of the next point to continuously generate steel bars. Considering that the steel bar corners in business are often several fixed modules, the coordinate input is mainly based on the input of relative polar coordinates, which is more in line with the user's business scenario.

[0130] Step S502: Draw three-dimensional steel bars in three-dimensional space based on the capture points and the preset steel bar size.

[0131] Specifically, users can draw 3D polylines by continuously capturing points in 3D space, and these 3D polylines will be converted into steel bars in real time. At the steel bar corners, the minimum bending radius will be automatically considered to generate transition arcs.

[0132] Step S503: Generate a three-dimensional steel bar model based on the three-dimensional steel bars and the preset array path.

[0133] Specifically, after drawing a steel bar, the user can select the array path to spatially array the steel bar, support setting the spacing or array quantity during the array, and support keeping the direction unchanged and vertical during the array process.

[0134] The modeling idea of ​​the steel bar modeling method provided in the embodiment of the present invention is introduced below.

[0135] 1. Create reinforcement parts, that is, select the geometry to be reinforced from the existing 3D model

[0136] 2. Perform reinforcement operations. This section provides a series of modeling methods: Section reinforcement: CAD identification of reinforcement, point drawing, line drawing, point reinforcement line selection and arrangement, point reinforcement line drawing and arrangement, etc.; 3D reinforcement

[0137] 3. During the reinforcement operation, the software will automatically generate a 3D model of the reinforcement in real time. The overall modeling process is as follows: Figure 5 As shown. For example, for Fig. 6A The comprehensive pipe gallery model shown can quickly complete the steel bar modeling. The modeling effect is as follows Figure 6B shown.

[0138] By executing the above steps, the steel bar modeling method provided by the embodiment of the present invention enables the user to draw the steel bar in the cross-section of the reinforcement part, and then automatically generates a three-dimensional model of the steel bar according to the cutting direction, thereby realizing rapid steel bar modeling of components of arbitrary shapes, and the component to which the steel bar engineering quantity belongs can be clearly identified through the reinforcement part, with the goal of accurate quantity calculation results, providing a faster and more convenient steel bar modeling method, simplifying the subsequent calculation of the steel bar engineering quantity, and improving the calculation efficiency.

[0139] The embodiment of the present invention also provides a steel bar modeling device, such as Figure 7 As shown, the steel bar modeling device specifically includes:

[0140] The reinforcement part creation module 101 is used to create reinforcement parts from the target building drawings based on the user's reinforcement modeling requirements. For details, please refer to the relevant description of step S101 in the above method embodiment, which will not be repeated here.

[0141] The cutting module 102 is used to cut the reinforcement part to obtain the cross section of the reinforcement part and its corresponding cutting direction. For details, please refer to the relevant description of step S102 in the above method embodiment, which will not be repeated here.

[0142] The steel bar drawing module 103 is used to draw the corresponding steel bars in the section and set the steel bar attributes based on the steel bar creation operation of the user. For details, please refer to the relevant description of step S103 in the above method embodiment, which will not be repeated here.

[0143] The steel bar 3D model generation module 104 is used to generate a steel bar 3D model based on the steel bars in the section and the cutting direction. For details, please refer to the relevant description of step S104 in the above method embodiment, which will not be repeated here.

[0144] The further functional description of each of the above modules is the same as that of the above corresponding method embodiments and will not be repeated here.

[0145] Through the coordinated cooperation of the above-mentioned components, the steel bar modeling device provided in the embodiment of the present invention enables the user to draw the steel bar operation in the cross-section of the reinforcement part, and then automatically generates a three-dimensional model of the steel bar according to the cutting direction, thereby realizing rapid modeling of steel bars for components of arbitrary shapes. In addition, the component to which the steel bar engineering quantity belongs can be clearly identified through the reinforcement part, and a faster and more convenient steel bar modeling method is provided with the goal of accurate quantity calculation results, thereby simplifying the subsequent calculation of the steel bar engineering quantity and improving the calculation efficiency.

[0146] The embodiment of the present invention further provides an electronic device, such as Figure 8 As shown, the electronic device may include a processor 901 and a memory 902, wherein the processor 901 and the memory 902 may be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.

[0147] The processor 901 may be a central processing unit (CPU). The processor 901 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.

[0148] The memory 902 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions / modules corresponding to the method in the embodiment of the present invention. The processor 901 executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory 902, that is, implementing the above method.

[0149] The memory 902 may include a program storage area and a data storage area, wherein the program storage area may store an application required for operating the device and at least one function; the data storage area may store data created by the processor 901, etc. In addition, the memory 902 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 902 may optionally include a memory remotely arranged relative to the processor 901, and these remote memories may be connected to the processor 901 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0150] One or more modules are stored in the memory 902, and when executed by the processor 901, the above method is performed.

[0151] The specific details of the above electronic device can be understood by referring to the corresponding descriptions and effects in the above method embodiments, and will not be repeated here.

[0152] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the implemented program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory.

[0153] The above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, a person skilled in the art should understand that the specific implementation modes of the present invention can still be modified or replaced by equivalents, and any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A steel bar modeling method, characterized in that: include: Create reinforcement locations from target building drawings based on user reinforcement modeling requirements; Cutting the reinforcement part to obtain a cross section of the reinforcement part and a corresponding cutting direction; Based on the user's reinforcement creation operation, draw corresponding reinforcement in the section and set reinforcement properties; Generate a three-dimensional model of the steel bars based on the steel bars in the section and the cutting direction; The user-based steel bar creation operation draws corresponding steel bars in the section and sets steel bar properties, including: Based on the user's steel bar creation operation, determine the steel bar drawing type, drawing method and steel bar size information; Based on the profile of the section, the thickness of the preset protective layer and the size information, a reinforcement drawing auxiliary line is generated in the section; wherein, compared with the profile of the section, the auxiliary line shrinks inward by the sum of the thickness of the protective layer, the diameter of the line reinforcement and the radius of the point reinforcement; Generate corresponding steel bars based on the drawing type, drawing method and snap points selected by the user within the area defined by the steel bar drawing auxiliary line on the section; Setting the steel bar properties of the steel bar based on the size information; Before drawing corresponding steel bars in the section and setting steel bar properties based on the steel bar creation operation of the user, the method further includes: Recognize the steel bar information of the target building drawing based on the position information corresponding to the section; Recognize the steel bar information of the target building drawing based on the position information corresponding to the section, including: for a standard CAD drawing, directly import the drawing and lay it flat on the section, and recognize the steel bars in the drawing, and after the recognition is completed, provide the user with a tool to check the recognition results, and prompt the position with low confidence in the recognition; When corresponding steel bar information is identified, the corresponding steel bar is drawn in the section based on the steel bar information, and steel bar attributes are set; When the corresponding steel bar information is not identified, based on the user's steel bar creation operation, the corresponding steel bar is drawn in the section and the steel bar attributes are set.

2. The method according to claim 1, characterized in that The drawing types include: point reinforcement and line reinforcement, the drawing methods include: single reinforcement drawing and batch drawing, and the generation of corresponding reinforcement bars based on the drawing type, the drawing method and the snapping points selected by the user on the section includes: When the drawing type is point reinforcement and the drawing mode is single reinforcement drawing, the intersection of the reinforcement axis and the section is determined based on the capture point to generate the target point reinforcement; When the drawing type is point reinforcement and the drawing mode is batch drawing, determining a point reinforcement layout line on the section based on the capture point; Based on the point reinforcement layout line and the set point reinforcement layout mode, determining the distribution position of the target point reinforcement on the point reinforcement layout line; Determine the intersection of the steel bar axis and the section based on the distribution position of the target point reinforcement, and generate a batch of target point reinforcements; When the drawing type is a line bar and the drawing mode is a single-bar drawing, determining a straight segment and a bending segment of a target line bar on the section based on the capture point; Based on the set minimum bending radius and the size information corresponding to the target line reinforcement, an arc transition section is set in the bending section; Connecting the arc transition segment and the straight line segment to form the target rib; Add rebar ends for the target rebar.

3. The method according to claim 2, characterized in that The generating corresponding steel bars based on the drawing type, drawing method and the snap points selected by the user on the section also includes: When the distance between the position of the target point rib and the first line rib on the cross section is less than a first set distance value, the position of the target point rib is set to a side of the first line rib close to the target point rib, and the state of the target point rib and the first line rib is changed to an adsorption state; When there is a first point rib on the arc transition section of the target line rib, the arc transition section is moved to one side of the first point rib based on the size information of the first point rib, so that the side with a smaller angle between the front and rear sections of the arc transition section is close to the first point rib.

4. The method according to claim 2, characterized in that: Also includes: Establishing a linkage relationship between various steel bar drawing elements based on the reinforcement location, the section, the steel bar drawing auxiliary line and the drawn steel bars; When any steel bar drawing element changes, other steel bar drawing elements are adjusted based on the linkage relationship.

5. The method according to claim 1, characterized in that The creation of reinforcement locations from target building drawings based on the user's reinforcement modeling requirements includes: Obtaining the graphics element to be reinforced based on the reinforcement modeling requirements; Generate reinforcement parts based on the elements to be reinforced.

6. The method according to claim 1, characterized in that Also includes: Obtaining the snap point selected by the user on the reinforcement portion; Drawing three-dimensional steel bars in three-dimensional space based on the capture points and the preset steel bar size; A three-dimensional steel bar model is generated based on the three-dimensional steel bars and the preset array path.

7. A steel bar modeling device, characterized in that: include: Reinforcement location creation module, used to create reinforcement locations from target building drawings based on the user's reinforcement modeling requirements; A cutting module, used for cutting the reinforcement part to obtain the cross section of the reinforcement part and its corresponding cutting direction; A reinforcement drawing module is used to identify reinforcement information of the target building drawing based on the position information corresponding to the section; the identification of reinforcement information of the target building drawing based on the position information corresponding to the section includes: for a standard CAD drawing, directly importing the drawing and flattening it on the section, and identifying the reinforcement in the drawing, and after the identification is completed, providing the user with a tool to check the identification results and prompting the positions with low confidence in the identification; when the corresponding reinforcement information is identified, drawing the corresponding reinforcement in the section based on the reinforcement information and setting the reinforcement attributes; when the corresponding reinforcement information is not identified, drawing the corresponding reinforcement in the section based on the user's reinforcement creation operation, and Setting steel bar properties; based on the steel bar creation operation of the user, drawing corresponding steel bars in the section and setting steel bar properties, including: determining the drawing type, drawing method and size information of the steel bars based on the steel bar creation operation of the user; generating steel bar drawing auxiliary lines in the section based on the outline of the section, the thickness of the preset protective layer and the size information; wherein the auxiliary lines shrink inwardly by the sum of the thickness of the protective layer, the diameter of the line bar and the radius of the point bar compared to the outline of the section; generating corresponding steel bars based on the drawing type, drawing method and the capture points selected by the user in the area determined by the steel bar drawing auxiliary lines on the section; setting the steel bar properties of the steel bars based on the size information; The steel bar three-dimensional model generating module is used to generate a steel bar three-dimensional model based on the steel bars in the section and the sectioning direction.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.

9. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method as claimed in any one of claims 1 to 6 by executing the computer instructions.