Two-dimensional steel bar data linkage method and device, electronic equipment and storage medium
Through the automated 2D reinforcement data linkage method, the time-consuming and error-prone problems caused by manually entering reinforcement parameters are solved, the linkage between reinforcement and component parameters is realized, and design efficiency and data accuracy are improved.
Patent Information
- Application Number
- CN202210957216.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-10
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2042-08-10
AI Technical Summary
When drawing architectural designs, architectural designers need to manually write the parameter information of two-dimensional steel bars into the component attribute parameter table, which is time-consuming and prone to errors.
A 2D reinforcement data linkage method is provided. By receiving 2D reinforcement drawing input, determining its intersection or inclusion relationship with geometric shapes, and automatically writing the information into the corresponding wall column frame attribute parameters, the linkage between reinforcement and component parameters is achieved.
It improves design efficiency and data consistency, reduces manual operations, ensures the accuracy of detailed drawings and plane component parameters, and supports the free drawing of various steel bar objects and subsequent design data transmission.
Smart Images

Figure CN115344926B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer-aided design, in particular to a two-dimensional steel bar data linkage method and device, an electronic device and a storage medium. BACKGROUND
[0002] At present, when drawing an architectural design drawing, an architectural designer needs to draw two-dimensional steel bars in the form of points and / or lines in a wall (including a hidden column), a column and other planar components. At this time, the designer needs to manually write the parameter information of the drawn steel bars into the attribute parameter table corresponding to the planar components (such as a wall, a column and the like). When writing, the designer needs to carefully check the number of steel bars and other parameters such as diameter and length. This not only consumes time but also is prone to errors. SUMMARY
[0003] Therefore, the embodiments of the present application provide a two-dimensional steel bar data linkage method and device, an electronic device and a storage medium to solve the problem that an architectural designer needs to manually write the parameter information of drawn steel bars into the attribute parameter table corresponding to the components when drawing an architectural design drawing, which not only consumes time but also is prone to errors.
[0004] According to a first aspect, the embodiments of the present application provide a two-dimensional steel bar data linkage method, which comprises:
[0005] receiving a two-dimensional steel bar drawing input;
[0006] drawing a target two-dimensional steel bar in response to the two-dimensional steel bar drawing input;
[0007] judging whether there is a target geometric body intersecting or containing the target two-dimensional steel bar;
[0008] if the target geometric body exists, judging whether the target geometric body is a wall column frame;
[0009] if the target geometric body is the wall column frame, writing the information of the target two-dimensional steel bar into the column attribute parameter or the hidden column attribute parameter associated with the wall column frame.
[0010] Optionally, the method further comprises:
[0011] obtaining a first two-dimensional steel bar intersecting or contained by a first wall column frame;
[0012] judging whether the information of the first two-dimensional steel bar has been written into the column attribute parameter or the hidden column attribute parameter associated with the first wall column frame;
[0013] If the information of the first two-dimensional steel bar is not written in the column attribute parameter or the hidden column attribute parameter associated with the first wall column frame, the information of the first two-dimensional steel bar is written in the column attribute parameter or the hidden column attribute parameter associated with the first wall column frame.
[0014] Optionally, if the target geometric shape is the wall column frame, the information of the target two-dimensional steel bar is written in the column attribute parameter or the hidden column attribute parameter associated with the wall column frame, including:
[0015] It is judged whether there is a wall column table internal wall column frame in the wall column frame.
[0016] If there is, the information of the target two-dimensional steel bar is written in the column attribute parameter or the hidden column attribute parameter associated with the wall column table internal wall column frame.
[0017] Otherwise, the information of the target two-dimensional steel bar is written in the column attribute parameter or the hidden column attribute parameter associated with the separately drawn wall column frame.
[0018] Optionally, after the information of the target two-dimensional steel bar is written in the column attribute parameter or the hidden column attribute parameter associated with the wall column table internal wall column frame, the method further includes:
[0019] If the wall column table internal wall column frame is deleted, the information of the two-dimensional steel bar originally written in the column attribute parameter or the hidden column attribute parameter associated with the wall column table internal wall column frame is written in the column attribute parameter or the hidden column attribute parameter associated with the separately drawn wall column frame.
[0020] Optionally, after the information of the target two-dimensional steel bar is written in the column attribute parameter or the hidden column attribute parameter associated with the separately drawn wall column frame, the method further includes:
[0021] If the wall column table internal wall column frame is newly generated, the information of the two-dimensional steel bar originally written in the column attribute parameter or the hidden column attribute parameter associated with the separately drawn wall column frame is written in the column attribute parameter or the hidden column attribute parameter associated with the newly generated wall column table internal wall column frame.
[0022] Optionally, the method further includes:
[0023] If there is a change in the behavior of the steel bar or a change in the shape of the wall column frame, the information of the steel bar in the column attribute parameter or the hidden column attribute parameter associated with the wall column frame stored in the steel bar storage module is updated, wherein the change in the behavior of the steel bar includes one or more of creation, movement, deletion and copying.
[0024] Optionally, the method further includes:
[0025] If the information of the steel bars of the wall column frame stored in the steel bar storage module changes, the changed information of the steel bars is updated to the column attribute parameter or the hidden column attribute parameter associated with the wall column frame by using the steel bar display module, and the case in which the information of the steel bars changes includes steel bar increase, decrease and / or specification change.
[0026] According to a second aspect, embodiments of the present application provide a two-dimensional steel bar data linkage device, comprising:
[0027] An input receiving module is configured to receive a two-dimensional steel bar drawing input.
[0028] A drawing module is configured to draw a target two-dimensional steel bar in response to the two-dimensional steel bar drawing input.
[0029] A first judging module is configured to judge whether a target geometric shape intersects or contains the target two-dimensional steel bar.
[0030] A second judging module is configured to judge whether the target geometric shape is a wall column frame if the target geometric shape exists.
[0031] A first writing module is configured to write information of the target two-dimensional steel bar into a column attribute parameter or a hidden column attribute parameter associated with the wall column frame if the target geometric shape is the wall column frame.
[0032] According to a third aspect, embodiments of the present application provide an electronic device, comprising:
[0033] A memory and a processor are communicatively connected, the memory is configured to store a computer program, and the computer program is executed by the processor to implement any two-dimensional steel bar data linkage method of the first aspect.
[0034] According to a fourth aspect, embodiments of the present application provide a computer readable storage medium, configured to store a computer program, and the computer program is executed by a processor to implement any two-dimensional steel bar data linkage method of the first aspect.
[0035] The two-dimensional steel bar data linkage method, device, electronic device and storage medium provided by the embodiment of the present invention realize the linkage between two-dimensional steel bars and column / hidden column component parameters, and realize the function of writing component parameters corresponding to the plane while the user draws the detailed drawing sample steel bars. This allows structural users (such as architectural designers) to focus on drawing wall column details without manually writing and checking whether the parameters between the drawing and the column / hidden column components are consistent. This not only improves user efficiency but also improves the data consistency and accuracy between the detailed drawing and the plane components. In addition, after the steel bar information is linked, it is only necessary to modify the steel bar information in the drawing to modify the corresponding parameters in the column / hidden column component without returning to the component to modify it. When performing operations such as moving or mirroring the detailed outline, there is no need to select multiple objects for operation. The detailed outline can be directly selected for operation, and the steel bar shape and information automatically follow, making user operation and modification more convenient and efficient, and also providing support for subsequent design data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The features and advantages of the present invention will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the present invention in any way. In the accompanying drawings:
[0037] Figure 1 A schematic flow chart of a two-dimensional steel bar data linkage method provided by an embodiment of the present invention;
[0038] Figure 2 A schematic structural diagram of a two-dimensional steel bar data linkage device provided by an embodiment of the present invention;
[0039] Figure 3 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0040] To make the purpose, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. 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 those skilled in the art without making any creative efforts shall fall within the scope of protection of the present invention.
[0041] It should be noted that the terms "comprising", "containing", or any other similar term are intended to encompass non-exclusive inclusions, such that a process, method, article, or apparatus that comprises a list of elements does not include those elements only, but can also include other elements not expressly listed, or also include elements inherent in such process, method, article, or apparatus. Without more limitations, the element defined by the phrase "comprising a" does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element. In addition, the terms "first", "second", etc. are used only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. In the description of the following embodiments, the meaning of "a plurality of" is two or more, unless otherwise specifically limited.
[0042] In the related art, three-dimensional reinforcement cannot be used for structural construction drawing drawing surface expression and information linkage. The main linkage mode is the linkage of entity components and entity reinforcement information (i.e., reinforcement parameters). Entity reinforcement is suitable for subsequent extraction of quantities and construction.
[0043] Specifically, three-dimensional reinforcement needs to generate three-dimensional reinforcement entities through reinforcement information, and modification of corresponding reinforcement information needs to find the component to which the reinforcement belongs, and then modify the reinforcement from the component to realize reinforcement information update and storage. The modification efficiency is low. Moreover, when expressing wall column detail drawing in structural construction drawing, the self-contained table modification function needs to be applied to add, delete, or modify tables and contents. The drawing graphics cannot be associated. Corresponding to the text in the detail drawing, the image cannot be edited and adjusted in place. The alignment mode and other operations cannot be performed. After generation, multiple object graphics and parameter linkage cannot be performed, and designers need to modify and check separately.
[0044] In the prior art, the reinforcement in the wall column table and the component in the plane are generated at one time. Reinforcement parameter modification cannot be returned to the corresponding component parameter. Users or other plug-ins need to perform review and write-in. The text in the table and the reinforcement object and the component in the plane need to be manually checked or subsequently reviewed.
[0045] In summary, in the related art, the building model design stage cannot realize the linkage between the corresponding floor drawing construction plan and the detail drawing. Moreover, the reinforcement object drawn in the detail table cannot be associated with the corresponding column / hidden column reinforcement information in the wall column plan.
[0046] Please refer to Figure 1 The embodiment of the present application provides a two-dimensional reinforcement data linkage method, which comprises:
[0047] S101: receiving two-dimensional reinforcement drawing input;
[0048] S102: drawing target two-dimensional reinforcement in response to the two-dimensional reinforcement drawing input;
[0049] S103: judging whether there is a target geometric body intersecting with or containing the target two-dimensional steel bar;
[0050] Specifically, according to the two-dimensional expression body of the target two-dimensional steel bar, i.e., the geometric body of the target two-dimensional steel bar, an octree algorithm is used to find the geometric body currently intersecting with or containing the target two-dimensional steel bar;
[0051] S104: if the target geometric body exists, judging whether the target geometric body is a wall column frame; the wall column frame can also be referred to as a wall column template;
[0052] S105: if the target geometric body is the wall column frame, the information of the target two-dimensional steel bar is written into the column attribute parameter or the hidden column attribute parameter associated with the wall column frame. If there is no target geometric body intersecting with or containing the target two-dimensional steel bar, or although the target geometric body exists, all target geometric bodies are not wall column frames, the parameter of the target two-dimensional steel bar does not need to be written into the column attribute parameter or the hidden column attribute parameter of the related wall column frame.
[0053] The information of the two-dimensional steel bar includes parameters such as type and / or specification. The information of the target two-dimensional steel bar is written into the column attribute parameter or the hidden column attribute parameter associated with the wall column frame, which can specifically be writing the information of the target two-dimensional steel bar into the longitudinal reinforcement or stirrup parameter in the column object attribute panel or into the longitudinal reinforcement or stirrup parameter in the hidden column object attribute panel.
[0054] In the embodiment of the application, the point steel bar is abstracted into a geometric point, the line steel bar is abstracted into a geometric line, and the wall column frame is abstracted into a geometric polygon. The positional relationship of the point / line and the polygon is: containing, intersecting and being apart.
[0055] In the embodiment of the application, the association principle of the steel bar is: if the steel bar is completely contained by the wall column frame (i.e., the wall column frame contains the two-dimensional steel bar), the information of the steel bar is written into the column attribute parameter or the hidden column attribute parameter associated with the wall column frame; if the steel bar is partially contained by the wall column frame (i.e., the wall column frame intersects with the steel bar), the information of the steel bar is written into the column attribute parameter or the hidden column attribute parameter associated with the wall column frame. Otherwise, if the steel bar is completely outside the wall column frame (i.e., apart), no linkage writing is performed.
[0056] The embodiment of the present application provides a two-dimensional steel bar data linkage method, realizes linkage of two-dimensional steel bars and column / hidden column component parameters, realizes writing of corresponding component parameters in a plane while a user draws a detailed drawing steel bar, can enable a structure user (for example, an architectural designer) to focus on wall column detailed drawing drawing, and does not need to manually write and check whether parameters between a drawing and a column / hidden column component are consistent, thereby improving user efficiency and improving data consistency and accuracy between a detailed drawing and a plane component. In addition, after steel bar information linkage, only steel bar information in a drawing needs to be modified to modify corresponding parameters in a column / hidden column component, without returning to the component for modification, when a detailed drawing contour is moved or mirrored, a plurality of objects do not need to be selected for operation, the detailed drawing contour can be directly selected for operation, and steel bar shapes and information automatically follow, so that user operation and modification are more convenient, efficiency is higher, and support is provided for subsequent design data transmission.
[0057] After steel bar information linkage, even if plane component number information changes, redrawing is not needed. Steel bar information and component parameter linkage can also support free drawing of a plurality of steel bar objects, that is, personalized steel bar drawing can be realized.
[0058] In some specific embodiments, the method further comprises:
[0059] obtaining a first two-dimensional steel bar, the first two-dimensional steel bar intersects with or is contained by a first wall column frame; the first wall column frame can be any one of currently existing wall column frames; the first two-dimensional steel bar can not include the target two-dimensional steel bar;
[0060] judging whether information of the first two-dimensional steel bar has been written into column attribute parameters or hidden column attribute parameters associated with the first wall column frame;
[0061] if the information of the first two-dimensional steel bar has not been written into the column attribute parameters or the hidden column attribute parameters associated with the first wall column frame, the information of the first two-dimensional steel bar is written into the column attribute parameters or the hidden column attribute parameters associated with the first wall column frame.
[0062] In the embodiment of the present application, information of previously drawn two-dimensional steel bars is also linked, so that all existing two-dimensional steel bar information can be linked.
[0063] The embodiment of the present application adopts a linkage priority strategy, column / hidden column adaptively binds associated objects, and supports intelligent searching for optimal associated objects for binding. Regarding associated objects, taking a column as an example, since the column can generate a column drawing (also referred to as a column frame) and can be merged into a column drawing by a wall column table, the associated objects can be column drawings in the wall column table and column drawings, but the priority of the column drawings in the wall column table is higher than that of the column drawings.
[0064] Therefore, in some embodiments of the present application, if the target geometric shape is the wall column frame, the information of the target two-dimensional steel bar is written into the column attribute parameter or the hidden column attribute parameter associated with the wall column frame, including:
[0065] determining whether there is a wall column table inside wall column frame in the wall column frame;
[0066] If so, the information of the target two-dimensional steel bar is written into the column attribute parameter or the hidden column attribute parameter associated with the wall column table inside wall column frame;
[0067] Otherwise, the information of the target two-dimensional steel bar is written into the column attribute parameter or the hidden column attribute parameter associated with the wall column frame drawn separately.
[0068] In the embodiments of the present application, for a target two-dimensional steel bar, a geometric shape intersecting the target two-dimensional steel bar and containing the two-dimensional steel bar is obtained; then it is determined whether there is a wall column frame in the geometric shape; then it is determined whether there is a wall column table inside wall column frame generated by wall column table merging in the wall column frame; if so, the information of the target two-dimensional steel bar is written into the column attribute parameter or the hidden column attribute parameter associated with the wall column table inside wall column frame. That is, the embodiments of the present application support the information of the steel bar drawn in the wall column frame generated after wall column table merging to be written into the corresponding column / hidden column component in the plane.
[0069] For a target two-dimensional steel bar, a geometric shape intersecting the target two-dimensional steel bar and containing the two-dimensional steel bar is obtained; then it is determined whether there is a wall column frame in the geometric shape; then it is determined whether there is a wall column table inside wall column frame generated by wall column table merging in the wall column frame; if not, the information of the target two-dimensional steel bar is written into the column attribute parameter or the hidden column attribute parameter associated with the wall column frame drawn separately. That is, the embodiments of the present application support the information of the steel bar drawn in the wall column frame drawn separately to be written into the corresponding column / hidden column component in the plane.
[0070] In addition, there are two core mechanisms for the linkage priority strategy: degradation binding and plundering binding, which can be referred to in the following two embodiments.
[0071] In one specific embodiment, after the information of the target two-dimensional steel bar is written into the column attribute parameter or the hidden column attribute parameter associated with the wall column table inside wall column frame, it further includes:
[0072] If the wall column table inside wall column frame is deleted, the information of the two-dimensional steel bar originally written in the column attribute parameter or the hidden column attribute parameter associated with the wall column table inside wall column frame is written into the column attribute parameter or the hidden column attribute parameter associated with the wall column frame drawn separately.
[0073] The embodiment of the present application provides a degeneration binding mechanism. After a column / hidden column is bound with a high-priority associated object (i.e. a wall column frame in a wall column table), if a disbinding condition (the high-priority associated object has no steel bar, the high-priority associated object is deleted) is reached, the column / hidden column is disbound with the high-priority associated object, and the column / hidden column finds a highest-priority associated object meeting a condition from lower-priority associated objects to bind with.
[0074] Of course, if there is no associated object meeting the condition, the column / hidden column does not bind with any associated object, and the steel bar information of the column / hidden column is displayed. In addition, the steel bar information of the column / hidden column is writable only when the column / hidden column is not bound with any associated object, otherwise, the steel bar information is read-only.
[0075] In another specific embodiment, after the information of the target two-dimensional steel bar is written into the column attribute parameter or the hidden column attribute parameter associated with the separately-drawn wall column frame, the method further comprises:
[0076] If the wall column frame in the wall column table is newly generated, the information of the two-dimensional steel bar written in the column attribute parameter or the hidden column attribute parameter associated with the original linkage is written in the column attribute parameter or the hidden column attribute parameter associated with the newly-generated wall column frame in the wall column table.
[0077] The embodiment of the present application provides a pre-emptive binding mechanism. When a column / hidden column has a higher-priority associated object meeting a binding condition, the higher-priority associated object (e.g. a wall column frame in a wall column table) obtains a binding qualification, releases an existing binding (e.g. a binding with the separately-drawn wall column frame), and establishes a binding relationship with the higher-priority associated object.
[0078] In addition, in the specific embodiment of the present application, a strategy of separating storage of steel bar information from display of steel bar information can be adopted, and the strategy is divided into two independent modules: a steel bar storage module and a steel bar display module.
[0079] In some specific embodiments, the method further comprises:
[0080] If there is a steel bar behavior change or a change in the shape of the wall column frame, the information of the steel bar stored in the column attribute parameter or the hidden column attribute parameter associated with the wall column frame in the steel bar storage module is updated, wherein the steel bar behavior change comprises one or more of creation, movement, deletion and copying.
[0081] In the embodiment of the present application, when the wall column frame shape changes (which may cause the included intersecting steel bars in the outer contour to change, for example, the steel bars not originally included are included, and the steel bars originally included in the wall column frame outer contour become not included), the steel bar behavior changes (including creation, movement, deletion, copying, etc.), the steel bar storage is triggered, the steel bar storage module is called, and the steel bars stored in the wall column frame are updated.
[0082] In some specific embodiments, the method further comprises:
[0083] If the information of the steel bars of the wall column frame stored in the steel bar storage module changes, the changed information of the steel bars is updated to the column attribute parameter or the dark column attribute parameter associated with the wall column frame by using the steel bar display module. The case where the information of the steel bars changes includes steel bar increase, decrease, and / or specification change.
[0084] In the embodiment of the present application, when the steel bar information stored in the wall column frame changes (steel bar increase, decrease, and / or specification change), the steel bar display module is triggered, the steel bar display module is called, and the changed steel bar information stored in the wall column frame is converted into a string in a specified format and transmitted to the steel bar parameter of the associated object (column and / or dark column).
[0085] Correspondingly, please refer to Figure 2 The embodiment of the present application provides a two-dimensional steel bar data linkage device, which comprises:
[0086] The input receiving module 201 is used for receiving two-dimensional steel bar drawing input.
[0087] The drawing module 202 is used for drawing a target two-dimensional steel bar in response to the two-dimensional steel bar drawing input.
[0088] The first judgment module 203 is used for judging whether there is a target geometric shape intersecting or including the target two-dimensional steel bar.
[0089] The second judgment module 204 is used for judging whether the target geometric shape is a wall column frame in the case where the target geometric shape exists.
[0090] The first writing module 205 is used for writing the information of the target two-dimensional steel bar into the column attribute parameter or the dark column attribute parameter associated with the wall column frame in the case where the target geometric shape is the wall column frame.
[0091] The two-dimensional steel bar data linkage device provided by the embodiment of the present application realizes linkage of two-dimensional steel bars and column / hidden column component parameters, realizes writing of corresponding component parameters in a plane while a user draws a detailed drawing steel bar, can enable a structure user (for example, an architectural designer) to focus on wall column detailed drawing drawing, and does not need to manually write and check whether parameters between a drawing and a column / hidden column component are consistent, thereby not only improving user efficiency but also improving data consistency and accuracy between a detailed drawing and a plane component. In addition, after steel bar information linkage, only steel bar information in a drawing needs to be modified to modify corresponding parameters in a column / hidden column component, without returning to the component for modification, and when a detailed drawing contour is moved or mirrored, multiple objects do not need to be selected for operation, the detailed drawing contour can be directly selected for operation, and steel bar shapes and information automatically follow, thereby enabling the user to operate and modify more conveniently and efficiently, and also providing support for subsequent design data transmission.
[0092] In some specific embodiments, the device further comprises:
[0093] The acquisition module is configured to acquire a first two-dimensional steel bar, and the first two-dimensional steel bar intersects with or is contained by a first wall column frame.
[0094] The third judgment module is configured to judge whether information of the first two-dimensional steel bar has been written into column attribute parameters or hidden column attribute parameters associated with the first wall column frame.
[0095] The second writing module is configured to write the information of the first two-dimensional steel bar into the column attribute parameters or the hidden column attribute parameters associated with the first wall column frame in a case where the information of the first two-dimensional steel bar has not been written into the column attribute parameters or the hidden column attribute parameters associated with the first wall column frame.
[0096] In some specific embodiments, the first writing module 205 comprises:
[0097] The judgment unit is configured to judge whether there is a wall column table internal wall column frame generated by wall column table merging in the wall column frame.
[0098] The first linkage writing unit is configured to write the information of the target two-dimensional steel bar into column attribute parameters or hidden column attribute parameters associated with the wall column table internal wall column frame in a case where there is a wall column table internal wall column frame generated by wall column table merging in the wall column frame.
[0099] The second linkage writing unit is configured to write the information of the target two-dimensional steel bar into column attribute parameters or hidden column attribute parameters associated with the wall column frame drawn alone in a case where there is no wall column table internal wall column frame generated by wall column table merging in the wall column frame.
[0100] In some specific embodiments, the device further comprises:
[0101] The degenerate binding module is used to write the two-dimensional steel bar information originally written in the column attribute parameters or hidden column attribute parameters associated with the wall column frame in the wall column table into the column attribute parameters or hidden column attribute parameters associated with the wall column frame drawn separately when the wall column frame in the wall column table is deleted.
[0102] In some specific embodiments, the device further comprises:
[0103] The grabbing binding module is used to write the two-dimensional steel bar information originally written into the column attribute parameters or hidden column attribute parameters associated with the separately drawn wall column frame into the column attribute parameters or hidden column attribute parameters associated with the wall column frame in the newly generated wall column table.
[0104] In some specific embodiments, the device further comprises:
[0105] The first update module is used to update the steel bar information in the column attribute parameters or hidden column attribute parameters associated with the wall column frame stored in the steel bar storage module when there is a change in the steel bar behavior or the shape of the wall column frame, wherein the steel bar behavior change includes one or more of creation, movement, deletion and copying.
[0106] In some specific embodiments, the device further comprises:
[0107] The second update module is used to update the information of the steel bars of the wall column frame stored in the steel bar storage module to the column attribute parameters or hidden column attribute parameters associated with the wall column frame using the steel bar display module when the information of the steel bars of the wall column frame stored in the steel bar storage module changes. The changes in the information of the steel bars include increases, decreases and / or changes in specifications of the steel bars.
[0108] The embodiment of the present invention is an apparatus embodiment based on the same inventive concept as the above-mentioned method embodiment. Therefore, for specific technical details and corresponding technical effects, please refer to the above-mentioned method embodiment, which will not be repeated here.
[0109] For the convenience of description, the above devices are described as being divided into various modules according to their functions. Of course, when implementing this application, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0110] The embodiment of the present invention further provides an electronic device, such as Figure 3 As shown, the electronic device may include a processor 301 and a memory 302, wherein the processor 301 and the memory 302 may be connected to each other through a bus or other means for communication. Figure 3 The bus connection is taken as an example.
[0111] The processor 301 can be a central processing unit (CPU). The processor 301 can also be other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or a combination of the above.
[0112] The memory 302, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs and modules, such as the program instructions / modules corresponding to the two-dimensional steel bar data linkage method in the above method embodiments (for example, the input receiving module 201, the drawing module 202, the first judgment module 203, the second judgment module 204, and the first writing module 205 shown in the above method embodiments). The processor 301 executes various function applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory 302, that is, implements the two-dimensional steel bar data linkage method in the above method embodiments. Figure 2 The processor 301 can be a central processing unit (CPU). The processor 301 can also be other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or a combination of the above.
[0113] The memory 302 can include a program storage area and a data storage area. The program storage area can store an operating system and at least one application required by a function; the data storage area can store data created by the processor 301, etc. In addition, the memory 302 can include a high-speed random access memory, and can also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state memory device. In some embodiments, the memory 302 can optionally include a memory remotely arranged with respect to the processor 301, which can be connected to the processor 301 through a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0114] The one or more modules are stored in the memory 302, and when executed by the processor 301, perform the two-dimensional steel bar data linkage method in the above method embodiments.
[0115] The above electronic device specific details can be understood by referring to the corresponding related descriptions and effects in the two-dimensional steel bar data linkage method embodiments, which will not be described here.
[0116] Correspondingly, the embodiment of the application further provides a computer readable storage medium for storing a computer program, the computer program is executed by a processor to realize each process of the two-dimensional steel bar data linkage method embodiment, and the same technical effects can be achieved, to avoid repetition, which will not be repeated here.
[0117] Computer readable media includes permanent and non-permanent, removable and non-removable media, which can be realized by any method or technology to store information. The information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic tape disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. According to the definition in this paper, computer readable medium does not include transitory computer readable medium, such as modulated data signal and carrier wave.
[0118] Each embodiment in the specification is described in a progressive manner, and the same and similar parts between each embodiment can be referred to each other, and each embodiment focuses on the difference from other embodiments.
[0119] The above only describes the embodiments of the present application and is not used to limit the present application. The present application can have various changes and variations for those skilled in the art. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application shall be included in the scope of claims of the present application.
Claims
1. A two-dimensional steel bar data linkage method, characterized in that: The method comprises: Receive 2D rebar drawing input; In response to the two-dimensional steel bar drawing input, draw the target two-dimensional steel bar; Determine whether there is a target geometric shape that intersects with or contains the target two-dimensional steel bar; If the target geometric shape exists, determining whether the target geometric shape is a wall column frame; If the target geometric shape is the wall column frame, the information of the target two-dimensional steel bar is written into the column attribute parameters or hidden column attribute parameters associated with the wall column frame.
2. The method according to claim 1, characterized in that Also includes: Acquire a first two-dimensional steel bar, where the first two-dimensional steel bar intersects with or is contained by a first wall column frame; Determining whether the information of the first two-dimensional steel bar has been written into the column attribute parameters or hidden column attribute parameters associated with the first wall column frame; If the information of the first two-dimensional steel bar is not written into the column attribute parameters or hidden column attribute parameters associated with the first wall column frame, the information of the first two-dimensional steel bar is written into the column attribute parameters or hidden column attribute parameters associated with the first wall column frame.
3. The method according to claim 1 or 2, characterized in that If the target geometric shape is the wall column frame, writing the target two-dimensional steel bar information into the column attribute parameters or hidden column attribute parameters associated with the wall column frame includes: Determine whether the wall column frame includes a wall column frame in the wall column table generated by merging the wall column table; If yes, the information of the target two-dimensional steel bar is written into the column attribute parameters or hidden column attribute parameters associated with the wall column frame in the wall column table; Otherwise, the information of the target two-dimensional steel bar is written into the column attribute parameters or hidden column attribute parameters associated with the separately drawn wall column frame.
4. The method according to claim 3, characterized in that After writing the target two-dimensional steel bar information into the column attribute parameters or hidden column attribute parameters associated with the wall column frame in the wall column table, the method further includes: If the wall column border in the wall column table is deleted, the two-dimensional steel bar information originally written into the column attribute parameters or hidden column attribute parameters associated with the wall column border in the wall column table will be written into the column attribute parameters or hidden column attribute parameters associated with the wall column border drawn separately.
5. The method according to claim 3, characterized in that After writing the target two-dimensional steel bar information into the column attribute parameters or hidden column attribute parameters associated with the separately drawn wall column frame, the method further includes: If a new wall column frame is generated in the wall column table, the two-dimensional steel bar information originally written into the column attribute parameters or hidden column attribute parameters associated with the separately drawn wall column frame will be written into the newly generated column attribute parameters or hidden column attribute parameters associated with the wall column frame in the wall column table.
6. The method according to claim 1, characterized in that Also includes: If there is a change in the behavior of the steel bar or the shape of the wall column frame, the steel bar information in the column attribute parameters associated with the wall column frame or the hidden column attribute parameters stored in the steel bar storage module is updated, wherein the change in the behavior of the steel bar includes one or more of creation, movement, deletion and copying.
7. The method according to claim 6, characterized in that Also includes: If the steel bar information of the wall column frame stored in the steel bar storage module changes, the steel bar display module is used to update the changed steel bar information to the column attribute parameters or hidden column attribute parameters associated with the wall column frame. The changes in the steel bar information include increases, decreases and / or changes in specifications of steel bars.
8. A two-dimensional steel bar data linkage device, characterized in that: include: An input receiving module for receiving two-dimensional steel bar drawing input; A drawing module, configured to respond to the two-dimensional steel bar drawing input and draw target two-dimensional steel bars; A first judgment module is used to judge whether there is a target geometric shape that intersects with or contains the target two-dimensional steel bar; A second judgment module is used to judge whether the target geometric shape is a wall column frame when the target geometric shape exists; The first writing module is used to write the information of the target two-dimensional steel bar into the column attribute parameters or hidden column attribute parameters associated with the wall column frame when the target geometric shape is the wall column frame.
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 is used to store a computer program, and when the computer program is executed by the processor, the two-dimensional steel bar data linkage method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the two-dimensional steel bar data linkage method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Wall column reinforcement diagram automatic generation method, storage medium and terminal equipment
CN113779669A