Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
At present, when a technician develops a Building Information Modeling (BIM) of a Building project, the technician needs to manually configure and check the reinforcing steel bar Information of an entity member, and the method has huge workload, consumes time and labor, and causes the efficiency of model design of the entity member to be low.
In order to solve the above problems, embodiments of the present application provide a parametric modeling method for a member section steel bar and a related device. The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device 110 according to an embodiment of the present disclosure. The electronic device 110 comprises an application processor 120, a memory 130, acommunication module 140, and one or more programs 131, wherein the application processor 120 is communicatively coupled to the memory 130 and thecommunication module 140 via an internal communication bus.
Wherein the one or more programs 131 are stored in the memory 130 and configured to be executed by the application processor 120, the one or more programs 131 comprising instructions for performing any of the steps of the above method embodiments.
The Application Processor 120 may be, for example, a Central Processing Unit (CPU), a general purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), other Programmable logic devices (Programmable Gate Array), a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, units, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication module may be thecommunication module 140, a transceiver, a transceiving circuit, etc., and the storage unit may be the memory 130.
The memory 130 may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example, but not limitation, many forms of Random Access Memory (RAM) are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct bus RAM (DR RAM).
In particular implementations, the application processor 120 is configured to perform any of the steps as performed by the electronic device in the method embodiments of the present application.
Referring to fig. 2A, fig. 2A is a schematic flowchart of a parametric modeling method for a structural section steel bar according to an embodiment of the present application, applied to an electronic device 101.
Step 201, creating a solid component geometric model of a target component, and configuring preset calculation quantity attribute information for the solid component geometric model.
Wherein the target member comprises any one of: wall posts, bay windows, stair boards. And the structure can also comprise structural columns, foundations, special-shaped beams and other members with irregular geometrical shapes in cross section.
The calculation attribute information may specifically include attributes such as the number of the building to which the component belongs, professional type, concrete strength grade, and the like.
Step 202, determining the reinforcing steel bar parameter information of the target component meeting the preset design requirement according to the parameterized modeling graphical interface of the solid component geometric model.
In this possible example, the determining, according to the parameterized modeling graphical interface of the solid component geometric model, the reinforcing steel bar parameter information of the target component, which meets the preset design requirement, includes: acquiring the reinforcing steel bar parameter information input by a user in a parametric modeling graphical interface of the entity component geometric model; drawing the parameter information of the steel bar on the parametric modeling graphical interface; correspondingly changing the display content of the reinforcing steel bar parameter information according to the interactive operation of the user so as to realize the view of the geometric arrangement effect of the reinforcing steel bars; and repeating the steps until the geometric arrangement effect of the steel bar corresponding to the newly input steel bar parameter information meets the preset design requirement.
The preset design requirements meet the design requirements on the design drawing, including the diameter, the number, the type, the spacing, the length, the distribution and the like of the reinforcing bars, and are consistent with the design drawing.
Therefore, in the example, the user can visually see the geometric arrangement effect of the reinforcing steel bars corresponding to the reinforcing steel bar parameter information input each time through the visual graphical interface, so that the user can quickly and accurately adjust the reinforcing steel bar parameter information, and the accuracy and the efficiency are improved.
Wherein the graphical interface for parametric modeling comprises a shortcut function button for rebar parameter information, the shortcut function button comprising at least one of: add, modify, delete.
Wherein the rebar parameter information comprises at least one of: longitudinal bars on the section of the steel bar column, stirrups on the section of the steel bar column, lacing wires on the section of the steel bar column, steel bar grade and steel bar diameter.
In this possible example, the building information model graphical interface is a web-side interface.
The webpage end interface can be realized based on a WebGL technology.
For example, as shown in fig. 2B, the parameterized modeling graphical interface includes a parameter editing area and a steel bar arrangement effect display area, where the parameter editing area includes a parameter information preview area and an editing function area, the parameter information preview area is used to display entered parameter information, such as all longitudinal bars 22C18, all stirrups C10@120, and all tie bars C10@120, the editing function area is used to set attribute values for various steel bar parameters, such as setting steel bar parameters including selecting automatic angle bars, evenly distributing edge bars, and single-point longitudinal bars, laying stirrups/tie bars includes setting steel bar parameters including selecting rectangular stirrups, two-point tie bars, and polygonal tie bars, modifying/deleting includes selecting modified longitudinal bars, modifying stirrups/tie bars, and the like, and may also directly enter specific attribute values, if the angle bar (such as C22) is input and the confirmation is clicked, the bar arrangement effect display area is used for displaying the geometric arrangement effect of the bar corresponding to the bar parameter information in the parameter information preview area of the parameter editing area.
When a user changes a certain steel bar parameter, the graphic area corresponding to the updated steel bar parameter is changed correspondingly and highlighted through a first color, so that the effect of adjusting can be displayed more intuitively.
In addition, the passively modified rebar parameter strongly associated with the actively modified rebar parameter may be automatically determined by the device and highlighted by a second color, thereby alerting the user to changes in the passively modified rebar parameter. And the first color is different from the second color.
Therefore, in the example, the modeling of the section of the component steel bar can be carried out at any time by the model lightweight graph engine platform based on the webpage side without installing modeling client software, and the modeling is convenient, rapid and efficient.
And 203, calculating the geometric data of the steel bars according to the steel bar parameter information.
In this possible example, the calculating geometric data of the steel bar according to the steel bar parameter information includes: and calculating the geometric data of the steel bar according to the parameter information of the steel bar by a parameterized two-dimensional geometric vector algorithm.
Wherein the geometric data comprises at least one of: the space coordinate of each positioning point of the component, the direction coordinate and the rotation angle of the positioning line or plane.
In this possible example, the two-dimensional geometric vector algorithm includes at least one of: determining a vector straight line through two points and the sequence; determining the coordinates of each equant point through two points and the equant number; and determining a rectangle by two points and orthogonal directions.
For example, assuming the user selected two point coordinates M1(x1, y1, z1), M2(x2, y2, z2), the device may determine a line segment for only one strip direction using the line segment to simulate one of the stirrups in the column cross-section according to the straight line equation L-M1M 2(x2-x1, y2-y1, z2-z 1).
Also for example, if the coordinates of two points, N1(x1, y1, z1), N2(x2, y2, z2), are known, and N points are required to be inserted in equal parts between straight segments of the two points, where N is an integer greater than 1, the apparatus can calculate the coordinates of each equal division point according to the equation of a straight line to simulate equally-arranged longitudinal ribs in the column cross section.
And 204, writing the geometric data of the steel bar and the calculated quantity attribute information into a model information database to form a steel bar data model of the target component.
It can be seen that, in the embodiment of the present application, the electronic device first creates an entity component geometric model of the target component, and configures preset computation attribute information for the entity component geometric model; secondly, determining the steel bar parameter information of the target component meeting the preset design requirement according to the parameterized modeling graphical interface of the geometric model of the entity component; thirdly, calculating the geometric data of the steel bars according to the parameter information of the steel bars; and finally, writing the geometric data and the calculated quantity attribute information of the steel bar into a model information database to form a steel bar data model of the target component. Therefore, the electronic equipment can carry out parametric modeling on the structural member section steel bar on the graphical interface, so that the operation of a user is more visual and convenient, the user can check whether the data entry is correct or not in real time, and the efficiency of the electronic equipment for carrying out parametric modeling on the structural member section steel bar of the target structural member is improved.
The embodiment of the application provides a parametric modeling device for a member section steel bar, which can be electronic equipment. Specifically, the device for parametric modeling of the member section steel bar is used for executing the steps executed by the mobile terminal in the method for parametric modeling of the member section steel bar. The parameterized modeling device for the structural member section steel bar provided by the embodiment of the application can comprise modules corresponding to corresponding steps.
In the embodiment of the present application, the parameterized modeling apparatus for a section steel bar of a member may be divided into functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The division of the modules in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 3 shows a possible structural diagram of the parametric modeling apparatus for a structural section steel bar according to the above embodiment, in the case of dividing each functional module according to each function. As shown in fig. 3, the parametric modeling apparatus 3 for a structural section steel bar is applied to an electronic device; the device comprises:
the creating unit 30 is configured to create a solid member geometric model of the target member, and configure preset computation attribute information for the solid member geometric model;
the determining unit 31 is configured to determine, according to a parameterized modeling graphical interface of the geometric model of the solid component, reinforcing steel bar parameter information of the target component, which meets preset design requirements;
the calculation unit 32 is used for calculating the geometric data of the steel bars according to the steel bar parameter information;
and a writing unit 33, configured to write the geometric data of the steel bar and the computation attribute information into a model information database, so as to form a steel bar data model of the target component.
In a possible example, in the aspect of determining the reinforcing steel bar parameter information of the target component meeting the preset design requirement according to the parameterized modeling graphical interface of the solid component geometric model, the determining unit 31 is specifically configured to: acquiring the reinforcing steel bar parameter information input by a user in a parametric modeling graphical interface of the entity component geometric model; drawing the parameter information of the steel bars on the parametric modeling graphical interface; correspondingly changing the display content of the reinforcing steel bar parameter information according to the interactive operation of the user so as to realize the view of the geometric arrangement effect of the reinforcing steel bars; and repeating the steps until the geometric arrangement effect of the steel bar corresponding to the newly input steel bar parameter information meets the preset design requirement.
In one possible example, the parametric modeling graphical interface includes a shortcut function button for rebar parameter information, the shortcut function button including at least one of: add, modify, delete.
In one possible example, the rebar parameter information includes at least one of:
longitudinal bars on the section of the steel bar column, stirrups on the section of the steel bar column, lacing wires on the section of the steel bar column, steel bar grade and steel bar diameter.
In one possible example, the building information model graphical interface is a web-side interface.
In one possible example, in the aspect of calculating the geometric data of the steel bar according to the steel bar parameter information, the calculating unit 32 is specifically configured to: and calculating the geometric data of the steel bar according to the parameter information of the steel bar by a parameterized two-dimensional geometric vector algorithm.
In one possible example, the two-dimensional geometric vector algorithm includes at least one of:
determining a vector straight line through two points and the sequence;
determining the coordinates of each equant point through two points and the equant number; and the number of the first and second groups,
a rectangle is defined by two points and orthogonal directions.
In one possible example, the target member includes any one of: wall posts, bay windows, stair boards.
In the case of using an integrated unit, a schematic structural diagram of another parametric modeling apparatus for a structural section steel bar provided by the embodiment of the present application is shown in fig. 4. In fig. 4, the parametric modeling apparatus 4 for a structural section steel bar includes: a processing module 40 and a communication module 41. The processing module 40 is used for controlling and managing the actions of the parametric modeling device of the member section steel bars, for example, the steps performed by the creating unit 30, the determining unit 31, the calculating unit 32, the writing unit 33, and/or other processes for executing the techniques described herein. The communication module 41 is used for supporting the interaction between the parameterized modeling device of the member section steel bar and other equipment. As shown in fig. 4, the apparatus for parametric modeling of a structural section steel bar may further include a storage module 42, and the storage module 42 is configured to store program codes and data of the apparatus for parametric modeling of a structural section steel bar.
The Processing module 40 may be a Processor or a controller, and may be, for example, a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication module 41 may be a transceiver, an RF circuit or a communication interface, etc. The storage module 42 may be a memory.
All relevant contents of each scene related to the method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again. The above-mentioned parametric modeling device 3 and 4 for a member-section steel bar can both perform the steps performed by the electronic device in the above-mentioned parametric modeling method for a member-section steel bar shown in fig. 2A.
The above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. The procedures or functions according to the embodiments of the present application are wholly or partially generated when the computer instructions or the computer program are loaded or executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire or wirelessly. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more collections of available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. The semiconductor medium may be a solid state disk.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed method, apparatus and system may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative; for example, the division of the unit is only a logic function division, and there may be another division manner in actual implementation; for example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications can be easily made by those skilled in the art without departing from the spirit and scope of the present invention, and it is within the scope of the present invention to include different functions, combination of implementation steps, software and hardware implementations.