Rebar conversion method and rebar conversion device
By automatically filtering and converting the steel reinforcement sets in the building model, the problem of low efficiency and omission in the steel reinforcement grade conversion in the existing technology is solved, realizing efficient steel reinforcement grade conversion and meeting the requirements of the building seismic design code.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GLODON CO LTD
- Filing Date
- 2022-04-29
- Publication Date
- 2026-05-29
Smart Images

Figure CN117010046B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer-aided design technology, specifically to a method and device for converting reinforcing bars. Background Technology
[0002] According to the requirements of the "Code for Seismic Design of Buildings," the longitudinal reinforcement in frame structures, frame beams, frame columns, frame-supported beams, frame-supported columns, columns of slab-column shear walls, diagonal bracing of outrigger trusses, and stair flights of buildings of seismic grades I, II, and III should use seismic-resistant steel reinforcement. However, engineers may not have set the steel reinforcement grade according to the requirements when modeling, so the parameter information of the steel reinforcement needs to be modified to comply with the building code.
[0003] Currently, when converting ordinary steel bars into earthquake-resistant steel bars, users need to modify the steel bar parameters one by one in the various steel bar display positions of the 3D modeling software, or manually export reports, filter and count them, and then modify the steel bar parameters one by one. Furthermore, the inventors have found that whether it is converting ordinary steel bars into earthquake-resistant steel bars or converting between other grades of steel bars, users need to manually modify the steel bar parameters one by one, which is inefficient and prone to omissions.
[0004] There is currently no effective solution to the technical problems of low efficiency and easy omission in the manual conversion of steel reinforcement grades in existing technologies. Summary of the Invention
[0005] The purpose of this invention is to provide a method, apparatus, computer equipment, and computer-readable storage medium for converting steel bars, which can solve the technical problems of low efficiency and easy omission in the manual conversion of steel bar grades in the prior art.
[0006] One aspect of the present invention provides a method for converting reinforcing bars, the method comprising: in response to a reinforcing bar conversion command, determining reinforcing bar conversion conditions carried by the reinforcing bar conversion command; selecting a set of reinforcing bars to be converted from a building model according to the reinforcing bar conversion conditions; and converting each reinforcing bar in the set of reinforcing bars into a target reinforcing bar indicated by the reinforcing bar conversion conditions.
[0007] Optionally, the step of filtering the set of rebars to be converted from the building model according to the rebar conversion conditions includes: determining the attributes of the rebar conversion conditions; wherein, when the rebar conversion conditions do not carry a rebar name, the attribute of the rebar conversion conditions is determined to be ordinary rebar to seismic rebar; when the rebar conversion conditions carry a rebar name, the attribute of the rebar conversion conditions is determined to be custom conversion; and filtering the set of rebars to be converted from the building model according to the attributes of the rebar conversion conditions.
[0008] Optionally, when the attribute of the reinforcement conversion condition is ordinary reinforcement to seismic reinforcement:
[0009] The step of selecting the set of steel bars to be converted from the building model according to the attributes of the steel bar conversion conditions includes: selecting all seismic-resistant components from the building model; selecting steel bars of grade greater than or equal to level 2 from all seismic-resistant components as the steel bar set; the step of converting each steel bar in the steel bar set into the target steel bar pointed to by the steel bar conversion conditions includes: converting each steel bar in the steel bar set into its corresponding seismic-resistant steel bar.
[0010] Optionally, when the attribute of the rebar conversion condition is a custom conversion:
[0011] The step of filtering the set of reinforcing bars to be converted from the building model based on the attributes of the reinforcing bar conversion conditions includes:
[0012] Extract the floor name, component model name, rebar diameter range, and first rebar name from the rebar conversion conditions;
[0013] Filter out the floors whose names match the floor name from the building model;
[0014] Identify the component model whose name matches the selected floor name;
[0015] From the identified component models, steel bars whose diameters are within the range of the steel bar diameters and whose names are the names of the first steel bars are selected as the steel bar set;
[0016] The step of converting each of the reinforcing bars in the reinforcing bar concentration into the target reinforcing bar indicated by the reinforcing bar conversion condition includes:
[0017] Extract the name of the second reinforcing bar from the aforementioned reinforcing bar conversion conditions;
[0018] Each of the reinforcing bars in the aforementioned reinforcing bar assembly is converted into a reinforcing bar with the name of the second reinforcing bar.
[0019] Optionally, converting each rebar in the rebar set into the target rebar pointed to by the rebar conversion condition includes: clustering the rebar set according to the rebar conversion process; wherein, when the rebar conversion process only needs to modify the component attribute list, the clustering result includes the attribute rebar set; when the rebar conversion process needs to modify the component parameter template, the clustering result includes the parameter rebar set; when the rebar conversion process needs to modify the component cross-section, the clustering result includes the cross-section rebar set; when the rebar conversion process needs to modify the component model, the clustering result includes the model rebar set; and converting each rebar in the rebar set into the target rebar pointed to by the rebar conversion condition according to the clustering result.
[0020] Optionally, converting each steel bar in the steel bar set into the target steel bar pointed to by the steel bar conversion condition based on the clustering result includes: when the clustering result includes the attribute steel bar set, determining the first component model where each steel bar in the attribute steel bar set is located; and modifying the steel bar parameters of each steel bar in the attribute steel bar set to the steel bar parameters of the target steel bar pointed to by the steel bar conversion condition in the component attribute list of each first component model.
[0021] Optionally, converting each steel bar in the steel bar set into the target steel bar pointed to by the steel bar conversion condition based on the clustering result includes: when the clustering result includes the parameter steel bar set, determining the second component model where each steel bar in the parameter steel bar set is located; and modifying the steel bar parameters of each steel bar in the parameter steel bar set to the steel bar parameters of the target steel bar pointed to by the steel bar conversion condition in the component parameter template of each second component model.
[0022] Optionally, the step of converting each rebar in the rebar set into the target rebar pointed to by the rebar conversion condition based on the clustering result includes: when the clustering result includes the cross-section rebar set, determining the third component model where each rebar in the cross-section rebar set is located; in the component cross-section of each third component model, modifying the rebar parameters of each rebar in the cross-section rebar set to the rebar parameters of the target rebar pointed to by the rebar conversion condition, and modifying the cross-sectional dimensions of each component cross-section according to the size linkage relationship between each component cross-section and each rebar in the cross-section rebar set.
[0023] Optionally, converting each rebar in the rebar set into the target rebar pointed to by the rebar conversion condition based on the clustering result includes: when the clustering result includes the model rebar set, parsing each component model in the building model; determining the fourth component model where each rebar in the model rebar set is located based on the parsing result; in each fourth component model, modifying the rebar parameters of each rebar in the model rebar set to the rebar parameters of the target rebar pointed to by the rebar conversion condition, and modifying the model size of each fourth component model according to the size linkage relationship between each fourth component model and each rebar in the model rebar set.
[0024] Another aspect of the present invention provides a rebar conversion device, the method comprising: a determining module, configured to determine rebar conversion conditions carried by a rebar conversion command in response to a rebar conversion command; a filtering module, configured to filter a set of rebars to be converted from a building model according to the rebar conversion conditions; and a conversion module, configured to convert each rebar in the rebar set into a target rebar indicated by the rebar conversion conditions.
[0025] Another aspect of the present invention provides a computer device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the rebar conversion method described in any of the above embodiments.
[0026] Another aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the rebar conversion method described in any of the above embodiments.
[0027] The rebar conversion method provided by this invention can handle the conversion of various rebar formats. Users do not need to search for the corresponding rebar level for each layer and each element for conversion, which greatly improves the efficiency of rebar conversion, saves users time, and eliminates the problem of omission. Attached Figure Description
[0028] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:
[0029] Figure 1 A flowchart of the rebar conversion method in Embodiment 1 is shown;
[0030] Figure 2 A schematic diagram of the interface between ordinary steel bars and seismic steel bars in Embodiment 1 is shown;
[0031] Figure 3 A schematic diagram of the custom conversion interface in Embodiment 1 is shown;
[0032] Figure 4 A schematic diagram of the rebar conversion process for attribute rebar sets in Embodiment 1 is shown;
[0033] Figure 5 A schematic diagram of the rebar conversion process for the parameter rebar set in Example 1 is shown;
[0034] Figure 6 A schematic diagram of the rebar conversion process for the cross-sectional rebar set in Embodiment 1 is shown;
[0035] Figure 7 A schematic diagram of the rebar conversion process of the model rebar set in Embodiment 1 is shown;
[0036] Figure 8 A block diagram of the rebar conversion device in Embodiment 2 is shown;
[0037] Figure 9A block diagram of a computer device suitable for implementing a rebar conversion method, as provided in Embodiment 3, is shown. Detailed Implementation
[0038] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without inventive effort are within the scope of protection of this invention.
[0039] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0040] Example 1
[0041] Figure 1 A flowchart of the rebar conversion method in Embodiment 1 is shown. Figure 1 As shown, the method includes steps S1 to S3, wherein:
[0042] Step S1: In response to the rebar conversion command, determine the rebar conversion conditions carried by the rebar conversion command.
[0043] This embodiment involves two methods of rebar conversion: one is to convert ordinary rebar into seismic rebar, and the other is a custom conversion. Different rebar conversion methods correspond to different rebar conversion conditions.
[0044] By parsing the rebar conversion command, the rebar conversion conditions it carries can be obtained. By determining the content carried in the rebar conversion conditions, it can be determined whether the rebar conversion method is ordinary rebar to seismic rebar or custom conversion.
[0045] Step S2: Select the set of reinforcing bars to be converted from the building model according to the reinforcing bar conversion conditions.
[0046] Step S3: Convert each steel bar in the steel bar concentration into the target steel bar pointed to by the steel bar conversion condition.
[0047] When the rebar conversion method is from ordinary rebar to seismic rebar, the rebar conversion conditions include: converting all Grade II and above rebars in the seismic-resistant components of the building model into their respective seismic rebars; the rebar set to be converted includes: all Grade II and above rebars in the seismic-resistant components of the building model, and the target rebars pointed to by the rebar conversion conditions are the seismic rebars corresponding to each rebar in the rebar set. For example, if the rebar set includes HRB400 rebar and the target rebar includes HRB400E rebar, then the conversion can be performed by converting HRB400 to HRB400E rebar. According to the requirements of the "Code for Seismic Design of Buildings," the rebars bearing the main tensile force arranged in the seismic-resistant components of building projects should use seismic rebars. The rebars bearing the main tensile force are mainly longitudinal bars, but other types of rebars are not excluded. The symbol for seismic rebar is "E" added after the higher seismic-resistant structural grade, such as HRB400E and HRB500E. "E" is the first letter of the English word "Earthquake," indicating that the rebar product has met the national "seismic" standard. Figure 2 As shown, when a user performs rebar conversion, the default conversion method is to convert ordinary rebar to seismic rebar, and the rebar icons of the rebars to be converted are automatically selected in the interface. In the three-dimensional model of the building project, the rebars corresponding to these selected rebar icons can form the set of rebars to be converted.
[0048] When the rebar conversion method is custom conversion, the rebar conversion conditions include: the floor name used to limit the floor to which the rebar to be converted belongs, the component model name used to limit the component model to which the rebar to be converted belongs, the rebar diameter range used to limit the diameter of the rebar to be converted, the first rebar name used to represent the name of the rebar to be converted, and the second rebar name used to represent the name of the target rebar; wherein, the component model is a three-dimensional model of a component in a building project, such as a column model (i.e., a three-dimensional model of a column) or a wall model (i.e., a three-dimensional model of a wall). Figure 3 As shown, the rebar conversion conditions for the custom conversion method include: floor names are "first floor" and "foundation floor"; component model names are "column-frame column / transfer column" and "wall-shear wall"; rebar diameter range is [8mm, 25mm]; first rebar name is HRB400; and second rebar name is HRB400E. That is, these rebar conversion conditions are used to filter out rebar sets with diameters within [8mm, 25mm] and names of HRB400 from the selected components on all floors of the building model, and then convert each rebar in the selected rebar set into seismic rebar named HRB400E. Optionally, if multiple building projects exist, the custom conversion rebar conversion conditions may also include the project name used to limit the building project to which the rebar to be converted belongs.
[0049] Regardless of the method used for rebar conversion, the legality of the conversion must be verified to ensure that the converted rebar is usable in actual production scenarios. When converting ordinary rebar to seismic-resistant rebar, it's a same-diameter conversion, only the rebar material differs from that used in seismic-resistant rebar. For example, converting ordinary rebar HRB335 to the corresponding seismic-resistant rebar HRB335E. Custom conversions can be limited to the same diameter or not, such as converting rebar HRB335 to rebar HRB400. Based on the above settings, when performing legality verification, for the conversion of ordinary steel bars to seismic steel bars, the main focus is on verifying whether the resulting seismic steel bars are steel bars that can be produced in actual scenarios. For example, a steel bar database can be established, storing numerous real steel bar models. By checking whether the converted seismic steel bars exist in the database, the existence of the seismic steel bars in the market can be verified. For custom conversion methods, the main focus is on verifying whether steel bars with the second steel bar name exist in the market. For example, cold-rolled ribbed steel bars come in two forms: 6.5mm and 6mm. When the conversion is limited to the same diameter, if the diameter of the steel bar to be converted is 7mm, it cannot be converted into cold-rolled ribbed steel bars. The verification method for custom conversion is similar to that for converting ordinary steel bars to seismic steel bars, and will not be elaborated here.
[0050] In one embodiment, step S2 includes steps S21 and S22, wherein:
[0051] Step S21: Determine the attribute of the rebar conversion condition; wherein, when the rebar conversion condition does not carry a rebar name, the attribute of the rebar conversion condition is determined to be ordinary rebar to seismic rebar; when the rebar conversion condition carries a rebar name, the attribute of the rebar conversion condition is determined to be custom conversion.
[0052] Step S22: Select the set of steel bars to be converted from the building model according to the attributes of the steel bar conversion conditions.
[0053] Specifically, when the rebar conversion condition does not include the rebar name, the attribute of the rebar conversion condition is ordinary rebar to seismic rebar, that is, the rebar conversion method is ordinary rebar to seismic rebar; when the rebar conversion condition includes the rebar name, the attribute of the rebar conversion condition is custom conversion, that is, the rebar conversion method is custom conversion.
[0054] In one embodiment, when the property of the rebar conversion condition is ordinary rebar to seismic rebar:
[0055] Step S2 includes:
[0056] Select all earthquake-resistant components from the building model;
[0057] Steel bars of grade II or higher are selected from all the seismic-resistant components to form the steel bar set;
[0058] Step S3 includes:
[0059] The individual steel bars in the steel reinforcement group are converted into their respective seismic-resistant steel bars.
[0060] Specifically, the so-called corresponding seismic reinforcement refers to the reinforcement with the new name obtained by adding the seismic symbol "E" to the end of the name of each reinforcement in the reinforcement set. For example, for reinforcement HRB335, the corresponding seismic reinforcement is HRB335E; for reinforcement HRB400, the corresponding seismic reinforcement is HRB400E.
[0061] In one embodiment, when the attribute of the rebar conversion condition is a custom conversion:
[0062] Step S2 includes:
[0063] Extract the floor name, component model name, rebar diameter range, and first rebar name from the rebar conversion conditions;
[0064] Filter out the floors whose names match the floor name from the building model;
[0065] Identify the component model whose name matches the selected floor name;
[0066] From the identified component models, steel bars whose diameters are within the range of the steel bar diameters and whose names are the names of the first steel bars are selected as the steel bar set;
[0067] Step S2 includes:
[0068] Extract the name of the second reinforcing bar from the aforementioned reinforcing bar conversion conditions;
[0069] Each of the reinforcing bars in the aforementioned reinforcing bar assembly is converted into a reinforcing bar with the name of the second reinforcing bar.
[0070] Specifically, all the steel bars in this steel bar cluster have the same name, but they are arranged in different locations on different component models or on the same component model.
[0071] In one embodiment, step S3 includes steps S31 and S32, wherein:
[0072] Step S31: Cluster the rebar set according to the rebar conversion process; wherein, when the rebar conversion process only needs to modify the component attribute list, the clustering result includes the attribute rebar set; when the rebar conversion process needs to modify the component parameter template, the clustering result includes the parameter rebar set; when the rebar conversion process needs to modify the component cross-section, the clustering result includes the cross-section rebar set; when the rebar conversion process needs to modify the component model, the clustering result includes the model rebar set.
[0073] Step S32: Based on the clustering results, convert each steel bar in the steel bar set into the target steel bar pointed to by the steel bar conversion condition.
[0074] Specifically, each component model has a component attribute list, which defines the three-dimensional properties of the component model. This list includes: reinforcement parameters, elevation, concrete parameters, etc. When the component model containing the reinforcement to be converted has a relatively simple form, and the reinforcement conversion can be completed by directly modifying the reinforcement parameters in the attribute list of these component models, such reinforcements can be aggregated into an attribute reinforcement set. For example... Figure 4 As shown, the rebar conversion can be achieved by directly modifying the rebar parameters in the shear wall's property list.
[0075] In architectural engineering, some components have multiple types of 3D models. Therefore, a template can be set for each type of 3D model of the component, allowing the corresponding 3D model to be directly generated by applying the template. In other words, the component parameter template is used to generate the component model. When it is necessary to convert the reinforcing bars in such component models, the reinforcing bar parameters to be converted can be directly modified in the component parameter template. For example, such reinforcing bars can be aggregated into a parameter reinforcing bar set. Figure 5 As shown, the staircases include standard double-flight staircases, scissor staircases, straight double-flight staircases, straight single-flight staircases, etc. Each staircase model corresponds to a staircase parameter template. The rebar conversion can be achieved by directly modifying the rebar parameters of the rebar to be converted in the corresponding staircase parameter template.
[0076] In some component models, the dimensions of the reinforcing bars are linked to the dimensions of the component's cross-section. Modifying either the reinforcing bar dimensions or the component's cross-section dimensions will affect the other. Such reinforcing bars can be aggregated into a cross-section reinforcing bar set. For example... Figure 6 As shown, the column cross-section and the reinforcing steel have a dimensional linkage.
[0077] Some reinforcing bars are directly integrated into the component model. To modify the parameters of these reinforcing bars, the component model must first be parsed. Furthermore, the dimensions of the reinforcing bars in these component models are linked to the dimensions of the component model itself; modifying either the reinforcing bar dimensions or the component model dimensions will affect the other. These types of reinforcing bars can be aggregated into a model reinforcing bar set. For example... Figure 7 As shown, the stirrups of the beam are integrated within the beam model.
[0078] In one embodiment, when the clustering result includes the attribute reinforcement set, step S32 includes:
[0079] Determine the first component model containing each steel bar in the specified attribute steel bar set;
[0080] In the component attribute list of each first component model, the rebar parameters of each rebar in the attribute rebar set are modified to the rebar parameters of the target rebar pointed to by the rebar conversion condition.
[0081] Specifically, modifying the rebar parameters of each rebar in the attribute rebar set to the rebar parameters of the target rebar pointed to by the rebar conversion condition in the component attribute list of each first component model includes:
[0082] When the attribute of the steel reinforcement conversion condition is ordinary steel reinforcement to seismic steel reinforcement: in the component attribute list of each first component model, each steel reinforcement in the attribute steel reinforcement set is converted into its corresponding seismic steel reinforcement.
[0083] When the attribute of the rebar conversion condition is a custom conversion: extract the second rebar name from the rebar conversion condition; in the component attribute list of each first component model, convert each rebar in the attribute rebar set into a rebar named the second rebar name.
[0084] In one embodiment, when the clustering result includes the parameter reinforcement set, step S32 includes:
[0085] Determine the second component model containing each steel bar in the parameter steel bar set;
[0086] In the component parameter template of each second component model, the rebar parameters of each rebar in the parameter rebar set are modified to the rebar parameters of the target rebar pointed to by the rebar conversion condition.
[0087] Specifically, modifying the rebar parameters of each rebar in the parameter rebar set to the rebar parameters of the target rebar pointed to by the rebar conversion condition in the component parameter template of each second component model includes:
[0088] When the attribute of the rebar conversion condition is ordinary rebar to seismic rebar: in the component parameter template of each second component model, each rebar in the parameter rebar set is converted into its corresponding seismic rebar;
[0089] When the attribute of the rebar conversion condition is custom conversion: extract the second rebar name from the rebar conversion condition; in the component parameter template of each second component model, convert each rebar in the parameter rebar set into a rebar named the second rebar name.
[0090] In one embodiment, when the clustering result includes the cross-sectional reinforcement set, step S32 includes:
[0091] Determine the third component model containing each steel bar in the section reinforcement concentration;
[0092] In the component cross-sections of each third component model, the rebar parameters of each rebar in the cross-section rebar set are modified to the rebar parameters of the target rebar pointed to by the rebar conversion condition, and the cross-sectional dimensions of each component cross-section are modified according to the size linkage relationship between each component cross-section and each rebar in the cross-section rebar set.
[0093] Specifically, in the component cross-sections of each third component model, modifying the reinforcement parameters of each reinforcement bar in the cross-section reinforcement set to the reinforcement parameters of the target reinforcement bar pointed to by the reinforcement conversion condition, and modifying the cross-sectional dimensions of each component cross-section according to the dimensional linkage relationship between each component cross-section and each reinforcement bar in the cross-section reinforcement set, includes:
[0094] When the attribute of the rebar conversion condition is ordinary rebar to seismic rebar: in the component section of each third component model, each rebar in the section rebar concentration is converted into its corresponding seismic rebar; and according to the size linkage relationship between each component section and each rebar in the section rebar concentration, as well as the seismic rebar corresponding to each rebar in the section rebar concentration, the cross-sectional dimensions of each component section are modified.
[0095] When the attribute of the rebar conversion condition is custom conversion: extract the second rebar name from the rebar conversion condition; in the component cross-section of each third component model, convert each rebar in the cross-section rebar set into a rebar named the second rebar name; and modify the cross-sectional dimensions of each component cross-section according to the size linkage relationship between each component cross-section and each rebar in the cross-section rebar set, as well as the rebar named the second rebar name.
[0096] In one embodiment, when the clustering result includes the model reinforcement set, step S32 includes:
[0097] Analyze the individual component models in the architectural model;
[0098] Based on the analysis results, determine the fourth component model where each steel bar in the steel bar concentration of the model is located;
[0099] In each fourth component model, the rebar parameters of each rebar in the model rebar set are modified to the rebar parameters of the target rebar pointed to by the rebar conversion condition, and the model size of each fourth component model is modified according to the size linkage relationship between each fourth component model and each rebar in the model rebar set.
[0100] Specifically, in each fourth component model, the rebar parameters of each rebar in the model rebar set are modified to the rebar parameters of the target rebar pointed to by the rebar conversion condition, and the model size of each fourth component model is modified according to the size linkage relationship between each fourth component model and each rebar in the model rebar set, including:
[0101] When the attribute of the steel reinforcement conversion condition is ordinary steel reinforcement to seismic steel reinforcement: in each fourth component model, each steel reinforcement in the model steel reinforcement set is converted into its corresponding seismic steel reinforcement; and according to the size linkage relationship between each fourth component model and each steel reinforcement in the model steel reinforcement set and the seismic steel reinforcement corresponding to each steel reinforcement in the model steel reinforcement set, the model size of each component model is modified.
[0102] When the attribute of the rebar conversion condition is custom conversion: extract the second rebar name from the rebar conversion condition; in each fourth component model, convert each rebar in the model rebar set into a rebar named the second rebar name; and modify the model size of each component model according to the size linkage relationship between each fourth component model and each rebar in the model rebar set, as well as the rebar named the second rebar name.
[0103] In one embodiment, the reinforcement conversion condition further includes: when the beam model contains beam pad reinforcement and the beam pad reinforcement is set in the beam model according to building codes, if the top and / or bottom reinforcement in the beam model is converted, the corresponding beam pad reinforcement will also be converted in the same way. For example, when the top reinforcement of the beam model is converted into seismic reinforcement, the top beam pad reinforcement is also converted into the seismic reinforcement corresponding to the beam pad reinforcement.
[0104] In one embodiment, the reinforcement conversion condition further includes: if stirrups and additional stirrups are arranged at the horizontal haunches of the beam model, the additional stirrups will also be converted in the same way when the stirrups are converted.
[0105] In one embodiment, a mapping service is provided to map the selected rebar icon in the rebar conversion interface to the 3D model of the building project. Through this inductive mapping method, rebars of various components are processed independently yet uniformly, with good scalability, and can handle the conversion of various rebar data formats.
[0106] In one embodiment, multiple converters are provided, and different converters have different conversion logic to handle different rebar conversion processes. The specific conversion logic is consistent with the conversion logic corresponding to the clustering results, and will not be elaborated further here.
[0107] This embodiment has the following effects: In terms of business, it directly converts steel bars of grade II and above into seismic steel bars, which greatly improves the efficiency of seismic steel bar conversion; it supports the rapid conversion of steel bars in various components such as ordinary steel bars, cold-rolled ribbed steel bars, and cold-rolled twisted bars; in terms of technology, it uses an inductive mapping integration method to establish a mapping conversion actuator, which enables rapid conversion of steel bars in components with different steel bar grades within a certain diameter range.
[0108] Example 2
[0109] Embodiment 2 of the present invention provides a rebar conversion device, which corresponds to the method provided in Embodiment 1 above. The corresponding technical features and effects are not detailed in this embodiment; however, relevant aspects can be referred to Embodiment 1 above. Specifically, Figure 8 A block diagram of the rebar conversion device in Embodiment 2 is shown. Figure 8 As shown, the rebar conversion device 800 may include:
[0110] The determination module 801 is used to determine the rebar conversion conditions carried by the rebar conversion command in response to the rebar conversion command;
[0111] The filtering module 802 is used to filter the set of reinforcing bars to be converted from the building model according to the reinforcing bar conversion conditions;
[0112] The conversion module 803 is used to convert each of the steel bars in the steel bar set into the target steel bar pointed to by the steel bar conversion condition.
[0113] Optionally, the filtering module is specifically used to: determine the attributes of the rebar conversion conditions; wherein, when the rebar conversion conditions do not carry a rebar name, the attribute of the rebar conversion conditions is determined to be ordinary rebar to seismic rebar; when the rebar conversion conditions carry a rebar name, the attribute of the rebar conversion conditions is determined to be custom conversion; and filter the set of rebars to be converted from the building model according to the attributes of the rebar conversion conditions.
[0114] Optionally, when the attribute of the reinforcement conversion condition is ordinary reinforcement to seismic reinforcement:
[0115] When the filtering module performs the step of filtering the set of steel bars to be converted from the building model based on the attributes of the steel bar conversion conditions, it is specifically used to: filter all seismic-resistant components from the building model; and filter steel bars of grade II or higher from all seismic-resistant components as the set of steel bars.
[0116] The conversion module is specifically used to convert each steel bar in the steel bar assembly into its corresponding seismic-resistant steel bar.
[0117] Optionally, when the attribute of the rebar conversion condition is a custom conversion:
[0118] When the filtering module performs the step of filtering the set of rebars to be converted from the building model based on the attributes of the rebar conversion conditions, it is specifically used to: extract the floor name, component model name, rebar diameter range, and first rebar name from the rebar conversion conditions; filter the floors whose names are the floor names from the building model; identify the component models whose names are the component model names from the filtered floors; and filter the rebars whose diameters are within the rebar diameter range and whose names are the first rebar names from the identified component models, as the rebar set.
[0119] The conversion module is specifically used to: extract the second rebar name from the rebar conversion conditions; and convert each rebar in the rebar set into a rebar with the name of the second rebar name.
[0120] Optionally, the conversion module is specifically used to: cluster the rebar set according to the rebar conversion process; wherein, when the rebar conversion process only needs to modify the component attribute list, the clustering result includes the attribute rebar set; when the rebar conversion process needs to modify the component parameter template, the clustering result includes the parameter rebar set; when the rebar conversion process needs to modify the component cross-section, the clustering result includes the cross-section rebar set; when the rebar conversion process needs to modify the component model, the clustering result includes the model rebar set; and convert each rebar in the rebar set into the target rebar pointed to by the rebar conversion condition according to the clustering result.
[0121] Optionally, when the conversion module performs the step of converting each steel bar in the steel bar set into the target steel bar pointed to by the steel bar conversion condition based on the clustering result, it is specifically used to: when the clustering result includes the attribute steel bar set, determine the first component model where each steel bar in the attribute steel bar set is located; in the component attribute list of each first component model, modify the steel bar parameters of each steel bar in the attribute steel bar set to the steel bar parameters of the target steel bar pointed to by the steel bar conversion condition.
[0122] Optionally, when the conversion module performs the step of converting each rebar in the rebar set into the target rebar pointed to by the rebar conversion condition based on the clustering result, it is specifically used to: when the clustering result includes the parameter rebar set, determine the second component model where each rebar in the parameter rebar set is located; and in the component parameter template of each second component model, modify the rebar parameters of each rebar in the parameter rebar set to the rebar parameters of the target rebar pointed to by the rebar conversion condition.
[0123] Optionally, when the conversion module performs the step of converting each rebar in the rebar set into the target rebar pointed to by the rebar conversion condition based on the clustering result, it is specifically used to: when the clustering result includes the cross-section rebar set, determine the third component model where each rebar in the cross-section rebar set is located; in the component cross-section of each third component model, modify the rebar parameters of each rebar in the cross-section rebar set to the rebar parameters of the target rebar pointed to by the rebar conversion condition, and modify the cross-sectional dimensions of each component cross-section according to the size linkage relationship between each component cross-section and each rebar in the cross-section rebar set.
[0124] Optionally, when the conversion module performs the step of converting each rebar in the rebar set into the target rebar pointed to by the rebar conversion condition based on the clustering result, it is specifically used to: when the clustering result includes the model rebar set, parse each component model in the building model; determine the fourth component model where each rebar in the model rebar set is located based on the parsing result; in each fourth component model, modify the rebar parameters of each rebar in the model rebar set to the rebar parameters of the target rebar pointed to by the rebar conversion condition, and modify the model size of each fourth component model according to the size linkage relationship between each fourth component model and each rebar in the model rebar set.
[0125] Example 3
[0126] Figure 9 A block diagram of a computer device suitable for implementing the rebar conversion method provided in Embodiment 3 is shown. In this embodiment, the computer device 900 can be a smartphone, tablet, laptop, desktop computer, rack server, blade server, tower server, or cabinet server (including standalone servers or server clusters composed of multiple servers), etc., that executes a program. Figure 9 As shown, the computer device 900 in this embodiment includes, but is not limited to, a memory 901, a processor 902, and a network interface 903 that are communicatively connected to each other via a system bus. It should be noted that... Figure 9Only a computer device 900 with components 901-903 is shown; however, it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0127] In this embodiment, the memory 903 includes at least one type of computer-readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 901 may be an internal storage unit of the computer device 900, such as the hard disk or memory of the computer device 900. In other embodiments, the memory 901 may also be an external storage device of the computer device 900, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the computer device 900. Of course, the memory 901 may also include both the internal storage unit and the external storage device of the computer device 900. In this embodiment, the memory 901 is typically used to store the operating system and various application software installed on the computer device 900, such as the program code of the rebar conversion method.
[0128] In some embodiments, processor 902 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip. Processor 902 is typically used to control the overall operation of computer device 900. For example, it performs control and processing related to data interaction or communication with computer device 900. In this embodiment, processor 902 is used to run program code for the rebar conversion method stored in memory 901.
[0129] In this embodiment, the rebar conversion method stored in memory 901 can be further divided into one or more program modules and executed by one or more processors (processor 902 in this embodiment) to complete the present invention.
[0130] Network interface 903 may include a wireless network interface or a wired network interface, which is typically used to establish a communication link between computer device 900 and other computer devices. For example, network interface 903 is used to connect computer device 900 to an external terminal via a network, establishing a data transmission channel and communication link between computer device 900 and the external terminal. The network may be an intranet, the Internet, Global System for Mobile Communication (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G network, Bluetooth, Wi-Fi, or other wireless or wired networks.
[0131] Example 4
[0132] This embodiment also provides a computer-readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, server, App application store, etc., which stores a computer program. When the computer program is executed by a processor, it implements the steps of the rebar conversion method.
[0133] Obviously, those skilled in the art should understand that the modules or steps of the above-described embodiments of the present invention can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the embodiments of the present invention are not limited to any particular hardware and software combination.
[0134] It should be noted that the sequence numbers of the embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0135] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method.
[0136] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A method for converting reinforcing bars, characterized in that, The method includes: In response to a rebar conversion command, determine the rebar conversion conditions carried by the rebar conversion command; Based on the aforementioned rebar conversion conditions, select the rebar set to be converted from the building model; Convert each of the steel bars in the steel bar concentration into the target steel bar indicated by the steel bar conversion condition; The step of selecting the set of reinforcing bars to be converted from the building model according to the reinforcing bar conversion conditions includes: The attributes of the rebar conversion conditions are determined; wherein, when the rebar conversion conditions do not include a rebar name, the attribute of the rebar conversion conditions is determined to be ordinary rebar to seismic rebar, and the rebar conversion conditions include: converting all Grade II and above rebars of all seismic-resistant components in the building model into their respective seismic rebars; when the rebar conversion conditions include a rebar name, the attribute of the rebar conversion conditions is determined to be a custom conversion, and the rebar conversion conditions include: the floor name used to limit the floor to which the rebar to be converted belongs, the component model name used to limit the component model to which the rebar to be converted belongs, the rebar diameter range used to limit the diameter of the rebar to be converted, a first rebar name used to represent the name of the rebar to be converted, and a second rebar name used to represent the name of the target rebar; The set of rebars to be converted is selected from the building model based on the properties of the rebar conversion conditions.
2. The method according to claim 1, characterized in that, When the attribute of the rebar conversion condition is ordinary rebar to seismic rebar: The step of filtering the set of reinforcing bars to be converted from the building model based on the attributes of the reinforcing bar conversion conditions includes: Select all earthquake-resistant components from the building model; Steel bars of grade II or higher are selected from all the seismic-resistant components to form the steel bar set; The step of converting each of the reinforcing bars in the reinforcing bar concentration into the target reinforcing bar indicated by the reinforcing bar conversion condition includes: The individual steel bars in the steel reinforcement group are converted into their respective seismic-resistant steel bars.
3. The method according to claim 1, characterized in that, When the attribute of the rebar conversion condition is a custom conversion: The step of filtering the set of reinforcing bars to be converted from the building model based on the attributes of the reinforcing bar conversion conditions includes: Extract the floor name, component model name, rebar diameter range, and first rebar name from the rebar conversion conditions; Filter out the floors whose names match the floor name from the building model; Identify the component model whose name matches the selected floor name; From the identified component models, steel bars whose diameters are within the range of the steel bar diameters and whose names are the names of the first steel bars are selected as the steel bar set; The step of converting each of the reinforcing bars in the reinforcing bar concentration into the target reinforcing bar indicated by the reinforcing bar conversion condition includes: Extract the name of the second reinforcing bar from the aforementioned reinforcing bar conversion conditions; Each of the reinforcing bars in the aforementioned reinforcing bar assembly is converted into a reinforcing bar with the name of the second reinforcing bar.
4. The method according to claim 1, characterized in that, The step of converting each of the reinforcing bars in the reinforcing bar concentration into the target reinforcing bar indicated by the reinforcing bar conversion condition includes: The rebar sets are clustered according to the rebar conversion process; wherein, when the rebar conversion process only requires modifying the component attribute list, the clustering result includes the attribute rebar set; when the rebar conversion process requires modifying the component parameter template, the clustering result includes the parameter rebar set; when the rebar conversion process requires modifying the component cross-section, the clustering result includes the cross-section rebar set; when the rebar conversion process requires modifying the component model, the clustering result includes the model rebar set. Based on the clustering results, each steel bar in the steel bar set is converted into the target steel bar pointed to by the steel bar conversion condition.
5. The method according to claim 4, characterized in that, The step of converting each rebar in the rebar set into the target rebar pointed to by the rebar conversion condition based on the clustering result includes: When the clustering result includes the attribute steel reinforcement set, determine the first component model where each steel reinforcement in the attribute steel reinforcement set is located; In the component attribute list of each first component model, the rebar parameters of each rebar in the attribute rebar set are modified to the rebar parameters of the target rebar pointed to by the rebar conversion condition.
6. The method according to claim 4, characterized in that, The step of converting each rebar in the rebar set into the target rebar pointed to by the rebar conversion condition based on the clustering result includes: When the clustering result includes the parameter steel reinforcement set, determine the second component model where each steel reinforcement in the parameter steel reinforcement set is located; In the component parameter template of each second component model, the rebar parameters of each rebar in the parameter rebar set are modified to the rebar parameters of the target rebar pointed to by the rebar conversion condition.
7. The method according to claim 4, characterized in that, The step of converting each rebar in the rebar set into the target rebar pointed to by the rebar conversion condition based on the clustering result includes: When the clustering result includes the cross-section reinforcement set, determine the third component model where each reinforcement in the cross-section reinforcement set is located; In the component cross-sections of each third component model, the rebar parameters of each rebar in the cross-section rebar set are modified to the rebar parameters of the target rebar pointed to by the rebar conversion condition, and the cross-sectional dimensions of each component cross-section are modified according to the size linkage relationship between each component cross-section and each rebar in the cross-section rebar set.
8. The method according to claim 4, characterized in that, The step of converting each rebar in the rebar set into the target rebar pointed to by the rebar conversion condition based on the clustering result includes: When the clustering result includes the model reinforcement set, parse the individual component models in the building model; Based on the analysis results, determine the fourth component model where each steel bar in the steel bar concentration of the model is located; In each fourth component model, the rebar parameters of each rebar in the model rebar set are modified to the rebar parameters of the target rebar pointed to by the rebar conversion condition, and the model size of each fourth component model is modified according to the size linkage relationship between each fourth component model and each rebar in the model rebar set.
9. A rebar conversion device, characterized in that, The device includes: A determination module is used to determine the rebar conversion conditions carried by the rebar conversion command in response to the rebar conversion command; The filtering module is used to filter out the set of reinforcing bars to be converted from the building model according to the reinforcing bar conversion conditions; A conversion module is used to convert each steel bar in the steel bar concentration into the target steel bar pointed to by the steel bar conversion condition; Specifically, the filtering module is used for: The attributes of the rebar conversion conditions are determined; wherein, when the rebar conversion conditions do not include a rebar name, the attribute of the rebar conversion conditions is determined to be ordinary rebar to seismic rebar, and the rebar conversion conditions include: converting all Grade II and above rebars of all seismic-resistant components in the building model into their respective seismic rebars; when the rebar conversion conditions include a rebar name, the attribute of the rebar conversion conditions is determined to be a custom conversion, and the rebar conversion conditions include: the floor name used to limit the floor to which the rebar to be converted belongs, the component model name used to limit the component model to which the rebar to be converted belongs, the rebar diameter range used to limit the diameter of the rebar to be converted, a first rebar name used to represent the name of the rebar to be converted, and a second rebar name used to represent the name of the target rebar; The set of rebars to be converted is selected from the building model based on the properties of the rebar conversion conditions.