Bolt generation method and device and storage medium
By using an array-based batch drawing method for bolts, and utilizing both standard and personalized parameters, the cumbersome and error-prone bolt drawing operations of existing technologies are solved, achieving efficient and accurate bolt drawing, which is suitable for intelligent design of steel structure engineering.
Patent Information
- Application Number
- CN202511064037.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-30
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2045-07-30
AI Technical Summary
Existing software is difficult to use when drawing bolts, and the process is cumbersome. It is prone to errors, especially when dealing with a large number of bolts or complex nodes, which affects design efficiency.
By using an array-based batch drawing method that shares standard parameters and custom parameters, the method obtains the batch drawing parameters and drawing area selected by the user, determines the position and specific structural parameters of the bolts, generates bolt groups, and provides computer equipment and storage media support for the execution of this method.
It improves the efficiency and accuracy of bolt drawing, reduces the risk of misalignment or uneven spacing caused by manual positioning, and realizes the refined and intelligent design of bolt connections in complex steel structure projects.
Smart Images

Figure CN120894501A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of steel structure drawing, and in particular to a bolt generation method and device and a storage medium. BACKGROUND
[0002] In a steel structure project, bolt connection is a common and important connection method, which is widely used in the fixation and connection between components. When drawing a steel structure bolt connection diagram, the position, quantity, specification and connection method of the bolt need to be accurately expressed. At present, professional three-dimensional modeling software designed for steel structures and concrete structures is commonly used to perform detailed structural modeling, deep design and drawing of the bolt.
[0003] For example, the patent application with the application number CN111143915A discloses a steel structure modular installation method based on a Tekla software platform. The installation method includes the following steps: 1) Tekla software modeling: importing the model of the steel structure into the Tekla software for three-dimensional modeling design, obtaining the structural feature information of the steel structure through the characteristic information platform of the Tekla software and storing it in the structural information database; and obtaining the basic attribute characteristics of the zero components of the steel structure through the characteristic information platform of the Tekla software and storing the raw material information database; 2) determining the engineering material list and the engineering material consumption; 3) installation procedure and construction simulation and optimization; 4) zero component assembly; 5) modular construction: according to the installation sequence of the frame, assembling the sub-components for assembly type construction, and recording the position information of each sub-component until the steel structure modular installation is completed.
[0004] For another example, the patent application with the application number CN116226978A discloses a method for quickly drawing an expanded diagram based on Revit steel structure calculation of bolt hole position. The method is as follows: 1. Build a family according to the drawing requirements, wherein the modeling includes a model family and a detailed drawing component family. The model family is used for three-dimensional modeling, and the detailed drawing component family is used for drawing detailed drawings. The model family and the detailed drawing component family names are one-to-one corresponding; 2. Use the family to perform three-dimensional modeling, place the support material components and bolts of the detailed drawing component family, and build them until completion; 3. After the model is built, filter out all the drawing components, and check out the components that need to be drawn this time; 4. Classify and count the drawing components according to the family type. An expanded diagram is drawn for components of the same family type and same length; 5. After labeling, a complete detailed expanded diagram is obtained.
[0005] However, the existing software has relatively high difficulty in drawing bolts, and the use process is relatively cumbersome. Especially when dealing with a large number of bolts or complex nodes, it is easy to make mistakes when arranging or adjusting the position of the bolts one by one, and it is time-consuming and laborious, which affects the design efficiency. SUMMARY
[0006] The main purpose of the present application is to provide a bolt generation method, device and storage medium. In order to solve the above-mentioned technical problems, the present application specifically adopts the following technical solutions: The first aspect of the present application is to provide a bolt generation method, which comprises: S101, obtaining the user-selected batch drawing parameters and drawing area, wherein the batch drawing parameters include common structural parameters of the bolts and array layout parameters between the bolts; S102, determining the drawing position of each bolt based on the array layout parameters in the drawing area; S103, determining the steel structure to be penetrated by each bolt based on the drawing position of each bolt, and generating the exclusive structural parameters of each bolt according to the steel structure to be penetrated by each bolt; S104, generating the bolts according to the common structural parameters and the exclusive structural parameters of each bolt at the corresponding drawing position to obtain a primary bolt group.
[0007] The second aspect of the present application is to provide a computer device, which comprises a memory for storing a computer program and a processor for executing the computer program and realizing the steps of the bolt generation method provided by any embodiment of the present application when executing the computer program.
[0008] The third aspect of the present application also correspondingly provides a computer-readable storage medium storing a computer program, which makes the processor execute the steps of the bolt generation method provided by any embodiment of the present application when the processor executes the computer program.
[0009] Advantages: The embodiments of the present application provide a bolt generation method, device and storage medium, which realizes arrayed batch drawing by sharing standard parameters and customizing individual parameters, avoids the tedious operation of manually setting and positioning each bolt repeatedly, reduces the risk of mispositioning or uneven spacing caused by manual positioning, and thus balances the drawing efficiency and accuracy of the bolts, and realizes the fine and intelligent design of bolt connection in complex steel structure engineering.
[0010] Specifically, a plurality of bolts (also collectively referred to as a primary bolt group) drawn in the same batch have multi-level drawing constraints to improve the speed and accuracy of batch drawing. Most of the structural parameters are shared within the primary bolt group, the core parameters within the group are standardized and unified to simplify the parameter setting, and the drawing speed is improved; arrayed positioning constraints the positioning accuracy and orderly arrangement of the bolts within the primary bolt group; the drawing area limits the generation range of the bolts within the primary bolt group, and improves the accuracy of batch drawing. Finally, the individualized parameters adapt to the different requirements of different drawing positions.
[0011] Further, a global adaptive adjustment mechanism triggered by local position customization is provided for each primary bolt group. For example, when a user positions a certain bolt, the global distribution of the primary bolt group is intelligently updated and redrawn, and the standard array relationship between the bolts in the group is adaptively maintained.
[0012] Further, a uniform visual feedback and centralized management mechanism is established between secondary bolt groups based on the structural penetration parameters. For example, different secondary bolt groups are visually rendered using differentiated display features (such as color and shape), and global information (such as the number of steel plates penetrated by the bolt) that would otherwise require multiple perspective switching is presented in a single view, allowing users to intuitively identify and distinguish the penetration characteristics of each bolt without frequent switching. For another example, when a steel structure changes, the affected secondary bolt groups can be automatically identified and removed, improving design efficiency.
[0013] Further, a verification and customization mechanism for bolt parameters in batch drawing is also provided. Through the real-time generated structure preview, users can interactively verify and change the structural characteristics of the bolt, the parts used, and the steel structure penetrated. The modified structural parameters are converted from shared parameters to exclusive parameters for the bolt, realizing fine processing from shared templates to individual customization. BRIEF DESCRIPTION OF DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, a brief introduction will be given below to the drawings needed to be used in the embodiments or prior art description. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual proportions. Obviously, the drawings described below are some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor.
[0015] Figure 1 is a schematic flowchart of a bolt generation method provided by an embodiment of the present application; Figure 2 is a schematic diagram of a steel structure from a first perspective provided by an embodiment of the present application; Figure 3 is a schematic diagram of a steel structure from a second perspective provided by an embodiment of the present application; Figure 4 is a schematic diagram of a first interactive interface in a rectangular array provided by an embodiment of the present application; Figure 5 is a process schematic diagram of selecting a positioning point in a drawing view provided by an embodiment of the present application; Figure 6 is a schematic diagram of an array reference position provided by an embodiment of the present application; Figure 7 is a schematic diagram of a bolt array corresponding to a first interactive interface provided by an embodiment of the present application; Figure 8 is a schematic diagram of a second interactive interface under a rectangular array provided by an embodiment of the present application; Figure 9 is a schematic diagram of a bolt array corresponding to a second interactive interface provided by an embodiment of the present application; Figure 10 is a schematic diagram of a bolt array corresponding to a second interactive interface provided by an embodiment of the present application; Figure 11 is a schematic diagram of a bolt array corresponding to a second interactive interface provided by an embodiment of the present application; Figure 12 is a schematic diagram of a bolt array corresponding to a second interactive interface provided by an embodiment of the present application; Figure 13 is a schematic diagram of a third interactive interface under a circular array provided by an embodiment of the present application; Figure 14 is a schematic diagram of a bolt array corresponding to a third interactive interface provided by an embodiment of the present application; Figure 15 is a schematic diagram of a fourth interactive interface under a circular array provided by an embodiment of the present application; Figure 16 is a schematic diagram of a bolt array corresponding to a fourth interactive interface provided by an embodiment of the present application; Figure 17 is a schematic diagram of a structure preview provided by an embodiment of the present application; Figure 18 is a schematic diagram of a structure preview provided by an embodiment of the present application; Figure 19 is a structural schematic block diagram of a computer device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0016] The technical solutions and advantages of the embodiments of the present application will be more clearly understood from the following description of the embodiments of the present application with reference to the accompanying drawings. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.
[0017] In this document, the terms "upper", "lower", "inner", "outer", "front", "back", "one end", "the other end" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first", "second" are only for the purpose of description, and cannot be understood as indicating or implying relative importance.
[0018] In this document, unless otherwise explicitly specified and limited, the terms "mounting", "provided with", "connection" and the like should be understood broadly, for example, "connection" can be fixed connection, can also be detachable connection, or integral connection; can be mechanical connection, can be direct connection, can also be indirect connection through intermediate medium, can be internal communication of two elements. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.
[0019] In this document, "and / or" includes any and all combinations of one or more listed related items.
[0020] In this document, "multiple" means two or more, that is, it includes two, three, four, five, etc.
[0021] It should be noted that in this document, the terms "include", "contain" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or includes elements inherent to such process, method, article or device. Without more limitation, the element defined by the sentence "including a…" does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0022] In this document, steel structural members are standardized components composed of steel materials in architecture, machinery or engineering, such as steel plates, shaped steels, H-shaped steels, angle steels, etc. Steel structural members can be combined into an integral structure by welding, bolt connection or riveting, etc.
[0023] In this paper, the bolt is a standardized mechanical fastener composed of a shank, a thread, a head, and supporting parts (such as a nut, a washer), which realizes the connection and fixation of steel structural members through thread engagement. The structural properties of the bolt include common structural parameters and exclusive structural parameters. Among them, the common structural parameters include but are not limited to: nominal diameter (such as M24), material grade (such as 8.8 grade), thread specification (such as fine teeth / coarse teeth), cutting length, distribution form, installation location, gasket number, screw number, etc. Batch-drawing common parameters, exclusive structural parameters include but are not limited to structural parameters affected by the geometric properties (such as thickness, hole diameter) of the steel structural members it penetrates, such as the total length of the bolt. In addition, after adjusting the common structural parameters of a certain bolt of the user, the common structural parameters are converted into exclusive structural parameters corresponding to the bolt.
[0024] In this paper, the drawing view is a kind of software drawing interface, which is a visual interface for displaying the overall layout of the steel structure, and supports various interactive operations such as zooming, panning, clicking, voice control, etc. That is, the drawing view supports the drawing and changing of steel structural members, bolts and other steel members, can display the shapes, sizes and relative positions of steel members, and can be a two-dimensional plan view or a three-dimensional view.
[0025] Currently, when users use existing software (such as Tekla Structures software) to draw steel structures, they need to manually position the bolts one by one: first input the diameter, length and other parameters to generate a single bolt, and then repeatedly calibrate the position through coordinate measurement or auxiliary lines. For example, for dozens of densely arranged bolts, the user not only needs to repeat the operation dozens of times, but also is prone to positioning deviation due to visual fatigue, which may cause uneven spacing or slight axial deviation between the bolts, leading to installation errors. Further, the user needs to manually calculate the number of steel plates and the total thickness that each bolt penetrates, and then adjust the length parameter one by one. If the thickness of a steel plate is modified during the process (such as from 20mm to 25mm), the associated bolts need to be reviewed one by one and the length needs to be recalculated, which is time-consuming and prone to omission. Similar tedious operations greatly increase the time required for bolt drawing, seriously slowing down the overall progress of large steel structure projects, and bringing potential error and omission risks.
[0026] Therefore, the embodiments of the present application provide a bolt generation method and device and a storage medium, which avoid the tedious operation of manually setting and positioning each bolt one by one through arrayed batch drawing of shared standard parameters and customized individual parameters, reduce the risk of mispositioning or uneven spacing caused by manual positioning, thereby balancing the drawing efficiency and accuracy of the bolt, and realizing the fine and intelligent design of bolt connection in complex steel structure engineering.
[0027] Please refer to Figures 1 to 18The embodiment of the present application provides a bolt generation method. It should be noted that a dashed circular icon with four double horizontal bars in the drawing view can be used to represent the rotation center of the current view, and a red line represents the coordinate system of the current working plane. Some embodiments of the present application are described in detail below with reference to the drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other. As shown in the drawings, Figure 1 The embodiment of the present application provides a bolt generation method, which comprises S101 to S104.
[0028] S101, obtaining batch drawing parameters and a drawing area selected by a user.
[0029] The batch drawing parameters are a set of standardized parameters of a first bolt group (i.e. a plurality of bolts drawn in the same batch) defined by the user, and a plurality of bolts can be generated at one time based on the batch drawing parameters, and part of the structural attributes of the bolts are the same. In some embodiments, the batch drawing parameters comprise common structural parameters of the bolts and array layout parameters between the bolts.
[0030] The common structural parameters are a set of common structural attributes in the first bolt group, comprising standardized attributes such as diameter, head type, material grade, thread specification, hole size, and hole type, to ensure consistency of the bolts in the same group.
[0031] The array layout parameters are distribution position attributes between a plurality of bolts in the first bolt group, which are used to determine the distribution rule or arrangement mode of the plurality of bolts in the drawing area. For example, the number of rows and columns, the row spacing and column spacing of a rectangular array; for example, the center point and radius of a circular array, the spacing or angle between adjacent bolts.
[0032] The drawing area is the generation position of one or more bolts in the first bolt group, which is used to position the first bolt group in the drawing view. For example, the drawing area can be at least one positioning point specified by the user, which can be used to position the center position of the array, or to position the starting position of the array, or to position the drawing position of a specific bolt (such as the bolt in the first row and the first column of the rectangular array) in the array. For example, the drawing area can also be a geometric range specified by the user for arranging the bolts, and at least one positioning point is automatically determined according to the geometric range, such as the geometric center of the geometric range, a preset position (such as the right middle point or the left middle point of the geometric range). It should be noted that the drawing area can be a region temporarily selected by the user in the drawing preview stage (such as the position where the cursor temporarily stays), or a region confirmed (such as clicking to confirm).
[0033] In some embodiments, the user can select a geometric range framed in the drawing view as the drawing area, or a geometric range enclosed by a drawing path as the drawing area, or click a connection node or a steel structure member to automatically identify its associated area (e.g., at least two steel structure members corresponding to the connection node) as the drawing area.
[0034] In some embodiments, a geometric range suitable for arranging bolts (e.g., an overlapping area of a steel beam and a connecting plate) can be automatically identified according to a preset design standard or specification (e.g., ACI, AISC, Eurocode, etc.), at least one recommended drawing area is obtained, and the user is recommended at least one recommended drawing area, and the target drawing area is selected from the recommended drawing area based on the user selection operation. Thereby, the workload of manual selection is reduced, while ensuring compliance with safety and design standards. Wherein, the recommended drawing area can be a geometric range or at least one positioning point, when the recommended drawing area is a geometric range, the user selection operation is also used to interactively select the array reference position and the array target position in the geometric range, thereby customizing at least one positioning point.
[0035] It should be understood that a plurality of bolts drawn in the same batch have multi-level drawing constraints to improve the speed and accuracy of batch drawing. Specifically, the unified structural properties of the bolts in the public structural parameter setting group are set to simplify the parameter setting process and improve the drawing speed; the array layout parameter constrains the spatial topological relationship of the bolts in the first bolt group to improve the accuracy of bolt positioning; and the drawing area limits the generation range of the bolts in the first bolt group to improve the accuracy of batch drawing.
[0036] In some embodiments, the array layout parameter includes an array type parameter and a relative position parameter, and S101 includes: in response to a first operation of the user, determining the array type parameter to be drawn, and calling the relative position parameter of the corresponding type according to the array type parameter; in response to the initial value confirmation operation of the user on the relative position parameter, or in response to the value update operation of the user on the relative position parameter, determining the relative position parameter to be drawn.
[0037] Wherein, the first operation refers to the operation behavior of the user selecting the array type parameter through the interactive interface (such as drop-down menu, button click, parameter input form), which is used to define the arrangement mode of the bolts (such as rectangle, circle, etc.). Wherein, the interactive interface is used to receive and respond to the first operation, which can be one of the software drawing interface, or a window (such as a parameter input form) displayed on top in the drawing view, which is not limited here.
[0038] The array type parameter refers to the distribution form of the bolts, such as a rectangular array, a circular array, an odd array, a centripetal circular array, an even array, a sector array, an X / Y array, a centripetal sector array, and the like, which can be flexibly set and adjusted according to actual drawing requirements. For example, a pentagram array is required for special use in a certain project, and such an array can also be added. Correspondingly, the relative position parameters corresponding to each array type parameter are pre-set to define the specific rules of the bolt arrangement. It should be understood that the relative position parameters are used to define the relative position relationship between the bolts in the array, such as the distance and the relative angle between every two bolts in the array, and different relative position parameters can be flexibly selected to adapt to different array arrangement characteristics.
[0039] In some embodiments, the array type parameter has a corresponding relationship with the relative position parameter. The relative position parameter is set according to the geometric characteristics and arrangement rules of the array type. The same, part of the same, or completely different relative position parameters can be set for each array type. For example, the linear distribution form of the rectangular array and the X / Y array is defined by length and width, and the corresponding relative position parameters can be selected from the horizontal (such as the X direction) and vertical (such as the Y direction) distance, the offset angle, and the number of rows and columns. For example, the shape of the circular array and the centripetal circular array is determined by the center and the radius, and the corresponding relative position parameters can be selected from the number of bolts, the bolt radius, the bolt diameter, and the offset angle. The sector array and the centripetal sector array also need to set the sector angle range. For example, the odd array is that all odd rows are one bolt less than the even rows in the rectangular array, and the bolts in adjacent rows are staggered. The even array is that all even rows are one bolt less than the odd rows, and the bolts are also staggered.
[0040] It should be noted that the bolt radius in this paper refers to one of the relative position parameters, such as the radius of the circle in the circular array, rather than the radius of the bolt in the public structure parameter.
[0041] In some embodiments, the relative position parameter includes an excluded bolt, which is used to set the exclusion rule of a specific position, that is, no bolt is generated at a specific position of the drawing area or no bolt is generated at a specific position in the array. For example, the excluded bolt of a 5*5 rectangular array can be the first row and the second column, that is, no bolt is generated at the first row and the second column in the array.
[0042] Specifically, the user determines the array type parameter to be drawn through a first operation (such as selecting the array type parameter "rectangular array" or "circular array" from a drop-down list), that is, the distribution form between the several bolts to be drawn, and loads the corresponding relative position parameter input item and the corresponding numerical input box according to the selected array type parameter. The initial value can be pre-set as the recommended value, the user's commonly used value, or the user's historical use value, such as the X direction distance of 52 mm.
[0043] Users can confirm the use of the initial values in the numerical input box (i.e., the initial value confirmation operation), or they can modify the initial values in the numerical input box to customize the position distribution between the bolts based on the array type (i.e., the value update operation). For example, if the X-direction spacing is set to 100mm, the relative position parameter to be drawn will be updated from "X-direction spacing is 52mm" to "X-direction spacing is 100mm", thus finally determining the complete layout configuration of the array type parameter and relative position parameter to be drawn.
[0044] It should be understood that the numerical update operation only makes detailed adjustments to the positional distribution between bolts and does not change the macroscopic arrangement determined by the array type parameter. For example, when the array type parameter is a rectangular array, if the spacing between two bolts is increased, the first-level bolt group containing the two bolts will still appear as a rectangle as a whole.
[0045] like Figure 4 The first interactive interface shown includes distribution options (i.e., options corresponding to array type parameters), and the available options include array (i.e., rectangular array), odd number (i.e., odd array), even number (i.e., even array), and XY (i.e., X / Y array).
[0046] In response to the user's first action on the interactive interface, the "Array" option is selected, and the corresponding relative position parameters "X-direction spacing, Y-direction spacing, and offset angle" are retrieved. The initial values for these relative position parameters are pre-filled in the input boxes. Specifically, the initial value for the X-direction spacing is "2*52", meaning there are 2 bolt spacings (i.e., 3 bolts) in the X direction with a bolt spacing of 52mm; the initial value for the Y-direction spacing is also "2*52", meaning there are 2 bolt spacings (i.e., 3 bolts) in the Y direction with a bolt spacing of 52mm; and the offset angle is "0".
[0047] As can be seen, the X-direction spacing and Y-direction spacing, two relative positional parameters, take into account both the directional spacing and the number of bolts by setting the bolt spacing. Therefore, the setting of relative positional parameters has a high degree of flexibility in practical applications and is not limited to the setting method provided in the embodiments of this application.
[0048] like Figure 8 The second interactive interface shown allows the user to modify the initial values of the relative position parameters of the rectangular array (i.e., the value update operation). The relative position parameters to be drawn are updated as follows: the X-direction spacing is "100 200 100", meaning there are 4 bolts in the horizontal direction (i.e., the X-direction) with bolt spacings of 100mm, 200mm, and 100mm respectively; the Y-direction spacing is "100", meaning there are 2 bolts in the vertical direction (i.e., the Y-direction) with bolt spacing of 100mm.
[0049] As Figure 13 shown in the third interaction interface, the interaction interface includes distribution form options (i.e., options corresponding to the array type parameter), and the options include a circle (i.e., a circular array), a concentric circle (i.e., a concentric circular array), a sector (i.e., a sector array), and a concentric sector (i.e., a concentric sector array).
[0050] In response to the first operation of the user on the interaction interface, the "circle" option is selected, the relative position parameters corresponding to the type "number of bolts, bolt radius, and offset angle" are called, and the initial values of the relative position parameters are pre-filled in the numerical value input box of the input item. The initial value of the number of bolts is "10", the initial value of the bolt radius is "100", and the initial value of the offset angle is "0".
[0051] As Figure 15 shown in the fourth interaction interface, the user modifies the initial values of some of the relative position parameters of the circular array (i.e., a numerical value update operation), and the relative position parameters to be drawn are updated to: the number of bolts is "10", the bolt radius is "150", and the offset angle is "0".
[0052] Further, the interaction interface under the rectangular array and the interaction interface under the circular array both include the relative position parameter "excluded bolt" for setting exclusion rules for specific positions.
[0053] In some embodiments, in response to the numerical value update operation of the user on the relative position parameters, after determining the relative position parameters to be drawn, the method further includes: based on the relative position parameters and the drawing area, checking the distribution positions of the numerical value simulation bolts corresponding to the relative position parameters in real time, determining whether the bolts do not meet the minimum spacing requirement (such as avoiding bolt overlap) and / or whether some bolts are outside the boundary of the drawing area according to the distribution positions, and if so, generating corresponding prompt information.
[0054] In some embodiments, when the user performs the relative position parameter or numerical value update operation, the array layout logic is refreshed according to the relative position parameters. For example, when the initial setting of the rectangular array with a 50mm spacing generates 10 bolts, and the user updates it to 60mm, the distribution positions of the bolts are automatically recalculated, and all the bolts are adjusted according to the array type parameter, while the exclusion rules set by the user (such as skipping a certain fixed coordinate point) are retained.
[0055] In some embodiments, S101 includes: in response to the second operation of the user, obtaining the array reference position and the array target position selected by the user in the drawing view; and determining the drawing area according to the array reference position and the array target position.
[0056] Specifically, the second operation is an operation behavior of the user interactively selecting the array reference position and the array target position in the drawing view. It should be noted that the second operation is not limited to one operation behavior, but can be a series of operation behaviors, for example, first click a point in the drawing view to determine the array reference position, and then drag the mouse to another position and release to determine the array target position; for another example, first click a point in the drawing view to determine the array reference position, and then slide to another point to preview the array target position until the other point is clicked to determine the array target position.
[0057] The positioning point includes at least one reference point for determining the array reference position, which is the starting point selected by the user in the drawing view, and can be used as the center of the circular array, the coordinate origin of the X / Y axis in the rectangular array, etc. The positioning point also includes at least one target point for determining the array target position (such as the target direction), which is the end point selected by the user in the drawing view, and can be used as the direction of the radius vector in the circular array, the direction of the X axis in the rectangular array, etc.
[0058] The drawing position of the bolt array is determined according to the array reference position or the array target position, the drawing direction of the bolt array is determined according to the direction from the array reference position to the array target position, and then the drawing area is determined according to the drawing position and the drawing direction, and subsequently the array can be expanded in the drawing area according to the array layout parameters to obtain the primary bolt group.
[0059] In some embodiments, the target X axis of the array can be obtained by taking the reference point as the coordinate origin, the reference point (i.e., the array reference position) and the target point (i.e., the array target position), and the target Y axis can be generated in the direction perpendicular to the target X axis at the reference point, and then the target coordinate system of the array is obtained. Further, each array is preset with a fixed positional relationship between the array starting position (such as one or more preset bolts, such as a column of bolts) and the target coordinate system, for example, the first column of bolts of the rectangular array is the array starting position, and the fixed positional relationship can be set as the origin of the target coordinate system being located at the midpoint of the first column of bolts, and then the drawing position of each bolt can be quickly and uniquely determined when step S102 is executed.
[0060] For example, for a curved array (such as a circular, fan, radial fan, radial circle, elliptical array), the preset bolt in the array is the starting position of the array, the fixed position relationship can be set as the center of the circle or the center point, the bolt corresponding to the starting position of the array is located on the target X axis, and the offset angle in the array layout parameter is used to adjust the offset angle of the preset bolt relative to the target X axis direction. For example, for a non-curved array (such as a rectangular, odd, X / Y array), the target coordinate system can be directly used as the coordinate system of the non-curved array, the preset bolt in the preset array is the starting position of the array, the fixed position relationship can be set as: the bolt corresponding to the starting position of the array is located on the target Y axis or the target X axis (for example, the X array in the X / Y array is located on the target X axis, and the Y array is located on the target X axis, and the rectangular array can be selected one of them), and the offset angle in the array layout parameter is used to adjust the offset angle of the preset bolt relative to the target X axis direction or the target Y axis direction.
[0061] For example, the offset angle in the array layout parameter is used to adjust the offset angle of the preset bolt relative to the target X axis direction. When the offset angle is 0, the preset bolt is located on the X axis; when the offset angle is 10°, the preset bolt moves to the positive direction of the Y axis, so that the angle between the connecting line of the preset bolt and the coordinate origin and the target X axis is 10°; when the offset angle is -10°, the preset bolt moves to the negative direction of the Y axis, so that the angle between the connecting line of the preset bolt and the coordinate origin and the target X axis is -10°. It should be understood that when the positioning points include the array reference position and the array target position, not only the basic positioning of the bolt array can be realized in the drawing view, but also the drawing direction of the array can be dynamically adjusted according to the geometric relationship (such as the direction) between the two points, so as to realize the fine control of each bolt position. For example, Figures 9 to 12 As shown, the steel structure parts presented by the drawing view are completely the same, Figure 9 In the drawing view in the shading mode, Figures 10 to 12 In the drawing view in the wireframe mode, the point a1 is the array reference position, and the points b2, b3, b4 and b5 are different preview array target positions. As can be seen, on the basis of the same batch drawing parameters and array reference position, with the change of the array target position, the directions indicated by the array reference position and the array target position change, the drawing direction of the rectangular array with the same array layout parameter in the drawing view also changes, and the drawing area also changes synchronously.
[0062] In some embodiments, the second operation includes a fourth operation and a fifth operation: in response to the user's fourth operation, determining the array reference position; in response to the user's fifth operation, determining the array target position; and determining the drawing area based on the array reference position and the array target position. The fourth and fifth operations are position confirmation operations issued by the user, which may specifically be a click operation, a preset button press operation, a preset button click operation (such as a confirmation button), a mouse hover time preset duration, etc., and are not limited here.
[0063] In some embodiments, if after performing the fourth operation, the user only changes the selected position (such as moving the mouse position, entering new coordinates, etc.) but does not perform the position confirmation operation corresponding to the fifth operation (i.e., the operation of confirming the selected array reference position), the drawing preview stage is automatically entered. This stage can provide the user with a real-time preview function of the drawing position of each bolt, improving the intuitiveness of the interaction and the accuracy of batch drawing. The position coordinates of each bolt are then officially recorded after the user performs the position confirmation operation.
[0064] like Figure 2 The first-person view shown includes three steel structural members: A (steel structural member 10), B (steel structural member 20), and C (steel structural member 30). Figure 3 In the second perspective shown, the drawn view also includes a fourth steel structural member: steel structural member D 40. One end of steel structural member A 10 is close to one end of steel structural member B, forming the connection point between steel structural member A 10 and steel structural member B 20. Steel structural members C 30 and D 40 are respectively located on both sides of the connection point between steel structural member A 10 and steel structural member B 20. Steel structural members C 30 and D 40 are the same shape and size, and their projections overlap under a specific perspective, thus obscuring each other. It should be noted that... Figures 5 to 7 , Figures 9 to 12 , Figure 14 , Figure 16 All steel structural components, their shapes, and their distribution patterns are used in the drawing view.
[0065] like Figure 5 As shown, the user can select a positioning point in the drawing view by moving the cursor. When the cursor is at position o1 (at this time, the cursor is located on the surface of steel structural member 30), the user performs the fourth operation, such as... Figure 6 As shown, the user selected point a1 as the array reference position, as follows. Figure 7As shown, point b1 is selected as the previewed array target position, and the drawing positions of each bolt are previewed without performing the position confirmation operation corresponding to the fifth operation, where each "circumscribed circle X" pattern represents a bolt. Further, the Y coordinate of the array reference position is taken as the Y coordinate of the starting drawing position of the first column of bolts, the array reference position is taken as the midpoint position of the first column of bolts, the drawing direction is determined according to points a1 and b1, and then the drawing area is determined, and the rectangular array is expanded in the drawing area based on the array layout parameters.
[0066] Further, as shown in FIG. 6, the user selects point a2 as the array reference position and point b6 as the previewed array target position. At this time, point b6 is taken as the center of the circular array, the preset bolts are located on the line connecting point a2 and point b6, the drawing area is determined, and then the circular array is expanded in the drawing area based on the array layout parameters. Further, the cursor can be moved to change the array target position, at which time the line connecting the array reference position and the updated array target position changes, the positions of the preset bolts correspondingly change, further causing the circular array expanded based on the same relative position relationship to correspondingly change, and the drawing results of different drawing areas are previewed. Figure 14
[0067] S102, determining the drawing position of each bolt in the drawing area based on the array layout parameters.
[0068] Specifically, according to the array layout parameters (such as the array type parameter to be drawn and the relative position parameter), the overall layout of the plurality of bolts in the primary bolt group can be determined, that is, the bolts at this time can be sequentially arranged into a virtual array according to the array layout parameters, and the array starting position is preset in the primary bolt group, and the fixed position relationship between the array starting position and the drawing area (such as the positioning point or the geometric range specified by the user) is determined, and based on the fixed position relationship, the virtual array corresponding to the primary bolt group is placed in the corresponding position as a whole, and the specific coordinates of each bolt in the drawing view are obtained, that is, the drawing position of each bolt.
[0069] For example, if the rectangular array is selected, the positioning point is taken as the bolt in the first row and the first column, and the bolt coordinates of each bolt in the primary bolt group are calculated in the drawing view according to the X direction interval and the Y direction interval; if the circular array is selected, the positioning point is taken as the center, and the bolt coordinates of each bolt in the primary bolt group are calculated according to the set bolt radius and the number of bolts after dividing the angle. For another example, if the rectangular array is selected, the geometric center of the geometric range is taken as the geometric center of the rectangular array, and the bolt coordinates of each bolt in the primary bolt group are calculated in the drawing view according to the X direction interval and the Y direction interval.
[0070] In some embodiments, the method further comprises: in response to a local position adjustment operation of the user, obtaining a specified relative position between the first bolt and the second bolt input by the user, wherein the local position adjustment operation is used to adjust the relative position parameters of any bolt and other bolts in the primary bolt group; and updating the drawing positions of the plurality of bolts in the primary bolt group according to the specified relative position and the relative position parameters of the unchanged part.
[0071] The local position adjustment operation is an interactive modification operation of the user on the relative positions of the bolts in the primary bolt group during the drawing preview stage (e.g., before the bolts are generated) or after the drawing is completed (e.g., after the bolts are generated but need to be fine-tuned).
[0072] Specifically, according to the local position adjustment operation performed by the user (e.g., dragging a certain bolt to a new position during the drawing preview stage or after the drawing is completed, or modifying the numerical value in the parameter input form during the drawing preview stage or after the drawing is completed), the changed relative position parameter is determined and used as a specified position parameter (e.g., bolt spacing, bolt angle, offset angle, or coordinate difference value) to update the bolt drawing position and drive the local adjustment of the entire array layout. The positions of the bolts in the group are automatically rearranged based on the specified position parameter and other unadjusted array layout parameters, and the overall array shape of the primary bolt group is maintained.
[0073] For example, in a circular array, the user performs a numerical value update operation on the relative position parameter during the drawing preview stage, and modifies the numerical value of the number of bolts in the parameter input form. At this time, the number of bolts is the specified position parameter, which changes the number of bolts distributed on the circumference, and further changes the relative position between the adjacent first bolt and the second bolt (e.g., the arc length between the first bolt and the second bolt becomes larger or smaller). The drawing position of each bolt is recalculated based on the updated number of bolts and the unadjusted bolt radius.
[0074] For another example, in a 3*3 rectangular array, the user drags the first column of bolts in the matrix array to move after the drawing is completed, so that the spacing between the first column of bolts (i.e., the first bolt) and the second column of bolts (i.e., the second bolt) changes. At this time, the X-direction spacing of the two columns of bolts is the specified position parameter, and the drawing position of each bolt is recalculated based on the X-direction spacing of the two columns of bolts and the unadjusted Y-direction spacing, offset angle, and number of bolts.
[0075] In some embodiments, the first bolt and the second bolt are the bolts directly affected by the local position adjustment operation, for example, the user directly modifies the spacing between the two bolts or the positions of the two bolts.
[0076] In some embodiments, the second bolt is a bolt having a direct positional correlation with the first bolt in the array. For example, when a user drags a certain bolt to a new position, the first bolt is the dragged bolt, and the second bolt is a bolt having a direct positional correlation with the first bolt in the array, such as a bolt in the second row and the third column in a rectangular array, with coordinates (2, 3). The second bolt can be a bolt in the same column, above or below the first bolt, i.e., a bolt with coordinates (3, 3) and / or (1, 3), or a bolt in the same row, left or right of the first bolt, i.e., a bolt with coordinates (2, 2) and / or (2, 4). For another example, in a circular array, the second bolt can be a bolt adjacent to the first bolt on the left or right.
[0077] In some embodiments, the first bolt and the second bolt are not limited to a single bolt. For example, in the above example, the first bolt and the second bolt can be one or more (e.g., multiple bolts in a column).
[0078] In some embodiments, the method further comprises: in response to a local position adjustment operation of the user, obtaining a specified relative position between a third bolt and a fourth bolt input by the user, wherein the local position adjustment operation is used to adjust the relative position parameters (e.g., spacing) of any bolt in the primary bolt group and other bolts; updating the drawing positions of the third bolt and the fourth bolt according to the specified relative position; and updating the drawing positions of the remaining bolts in the primary bolt group based on the updated drawing positions of the third bolt and the fourth bolt and the relative position parameters of the unchanged part.
[0079] In this way, the local position adjustment operation is responded to in two steps, i.e., first changing the positions of the third bolt and the fourth bolt directly affected by the local position adjustment operation, and then modifying the positions of other bolts. For example, in the above example of a 3*3 square array, the user modifies the spacing between the first column of bolts and the second column of bolts in the value input box of the relative position parameter. The positions of the first column of bolts and the second column of bolts are updated first, and the positions of the other columns of bolts are updated synchronously to provide real-time feedback to the user.
[0080] In some embodiments, a parameter input form and a region selection tool are provided to the user through a software drawing interface, the parameter input form supports the setting function (such as confirming the default value, filling in or selecting other values) of the batch drawing parameters (such as common structure parameters, array layout parameters), for example, in the form of input items, numerical input boxes. After the user sets the batch drawing parameters, the user can use the cursor (such as the mouse) to drag or click in the drawing view to determine the drawing area through the region selection tool, and further, the coordinates of the drawing area (such as the coordinates of each positioning point or the coordinate set of the geometric range) are automatically recorded to provide support for subsequent batch drawing. Further, the user can also interactively modify the batch drawing parameters (such as common structure parameters, array layout parameters) through the parameter input form during the drawing preview stage or after the drawing is completed.
[0081] For example, the user performs a numerical update operation on the relative position parameter during the drawing preview stage, and modifies the value in the parameter input form. For example, as shown in a first interaction interface, the parameter input form before modification is as shown in FIG. 6A, and as shown in FIG. 6B, the first interaction interface corresponds to a 3*3 rectangular array of bolts; as shown in a second interaction interface, the parameter input form after modification is as shown in FIG. 6C, and as shown in FIG. 6D, the second interaction interface corresponds to an irregular 2*4 rectangular array of bolts. Figure 4 Figure 7 Figure 8 Figure 9
[0082] For another example, as shown in a third interaction interface, the parameter input form before modification is as shown in FIG. 7A, and as shown in FIG. 7B, the third interaction interface corresponds to a 3*3 rectangular array of bolts; as shown in a fourth interaction interface, the parameter input form after modification is as shown in FIG. 7C, and as shown in FIG. 7D, the fourth interaction interface corresponds to a 2*4 rectangular array of bolts. Figure 13 Figure 15 Figure 14 Figure 16
[0083] S103, determining a steel structure piece to be penetrated by each bolt based on the drawing position of each bolt, and generating a dedicated structure parameter of each bolt according to the steel structure piece to be penetrated by each bolt.
[0084] The dedicated structure parameter is a set of individualized structure attributes of each bolt, which ensures that the bolt is adapted to the actual connection requirement. In some embodiments, the dedicated structure parameter includes a structure penetration parameter.
[0085] The structure-penetration parameter is a parameter generated based on the bolt penetrating the steel structure, which has high adaptability with the penetrated steel structure and is used to feedback the structure-penetration characteristics of each bolt. The structure-penetration parameter includes attributes of the penetrated steel structure, such as the type, material, thickness, and unique identification ID of the steel structure. The structure-penetration parameter also includes the bolt length (such as the screw length, the total length of the bolt), the thread distribution position, the penetration layer number (such as penetrating 3 steel structures, the penetration layer number is 3 layers), the interlayer gap, and the like.
[0086] Specifically, according to the spatial relationship analysis between the drawing position (such as the three-dimensional coordinates in the drawing view) of each bolt and the geometric region of the steel structure, the steel structure (also referred to as the penetrated structure) that needs to be penetrated by the bolt at the drawing position is automatically identified, and the structure-penetration parameter of the bolt is determined according to the total thickness of the penetrated steel structure and the preset allowance (such as the 10 mm screw length).
[0087] For a multi-layer structure (such as a superimposed steel plate or a complex joint), the total thickness of the multi-layer structure is calculated according to the penetration layer number, the interlayer gap, the thickness of each layer (such as the thickness of each penetrated structure at the penetration position), and the like, and the structure-penetration parameters such as the screw length or the total length of the bolt and the thread distribution position are output in combination with the reserved screw length. For example, if the bolt coordinate (i.e., the drawing position) is on the surface of the superimposed region of three steel plates, it is determined that it penetrates the three steel plates, and the exclusive structure parameter is generated based on the thickness, layer number, and hole diameter of the steel plate. For example, the thicknesses of the three layers of steel plates are 20 mm, 15 mm, and 10 mm, respectively, the total length of the bolt needs to be greater than or equal to the sum of 45 mm and the screw length, and other parameters (such as the bolt diameter) still use the common structure parameter.
[0088] In some embodiments, the exclusive structure parameter also includes the common structure parameter modified by the user. It should be understood that when the user modifies a certain common structure parameter for a certain bolt, the corresponding common structure parameter is converted from the common parameter to the specific bolt individualized parameter, so as to be stored as the exclusive structure parameter of the specific bolt.
[0089] In some embodiments, the types of the common structure parameter and the exclusive structure parameter can coincide, and the exclusive structure parameter preferentially covers the common structure parameter of the same type. For example, the common structure parameter can also include the bolt length, and when the exclusive structure parameter generates the bolt length, the bolt length in the exclusive structure parameter is used to cover the bolt length in the common structure parameter.
[0090] In some embodiments, S103 further comprises: taking the drawing position of the bolt as a path starting point, and a direction perpendicular to the plane of the steel structure as the bolt axis direction, to generate a bolt hole path between the steel structures; calculating the spacing value between the first and second adjacent steel structures in the hole path; taking the first steel structure with the smallest distance from the path starting point as the path ending point, if the spacing value is greater than a preset nut installation threshold value; determining a target hole path according to the path starting point and the path ending point; and determining the structure penetration parameter according to the target hole path passing through a plurality of target steel structures.
[0091] Specifically, taking the drawing position of the bolt as a starting point, a virtual hole path is generated along a direction perpendicular to the plane of the steel structure, which can be regarded as a ray with the drawing position as an end point, and the extension direction of the ray is the axis direction of the subsequently drawn bolt. According to the interlayer gap (i.e. gap space) between the adjacent steel structures on the hole path, the spacing value of the adjacent steel structures on the path is calculated, and the distance between the first steel structure and the path starting point is less than the distance between the second steel structure and the path starting point, that is, the first steel structure is closer to the path starting point, and the hole path sequentially passes through the first and second steel structures.
[0092] If the spacing value of the two adjacent steel structures is greater than the nut installation threshold value, the gap space is sufficient to install the nut. The nut installation threshold value is used to determine whether the gap space between the steel structures meets the minimum space distance for installing the nut, and the specific value can be flexibly set and adjusted according to actual needs, to ensure that the bolt end has enough space to accommodate the used nut.
[0093] Further, the gap space closest to the path starting point is selected, and the first steel structure corresponding to the gap space is taken as the last penetrating member (i.e. path ending point) to generate the nut of the bolt in the gap space. The target hole path is determined according to the path starting point and the path ending point, the target hole path is a line segment with two end points, all target penetrating members penetrated by the target hole path are determined, and then the structure penetration parameter is obtained according to the target penetrating members, such as obtaining the type, material, thickness and other attributes of the target penetrating members, and calculating the total length of the bolt, the length of the screw rod, and the thread distribution position.
[0094] For example, if the bolt is drawn on the upper surface of the steel plate M, and the hole path sequentially passes through the steel plate K, the steel plate L, the steel plate M and the steel plate N, then the spacing value of the gap space between the lower surface of the steel plate K and the upper surface of the steel plate L (assuming 8mm), the spacing value of the gap space between the lower surface of the steel plate L and the upper surface of the steel plate M (assuming 13mm), and the spacing value of the gap space between the lower surface of the steel plate M and the upper surface of the steel plate N (assuming 18mm) are calculated.
[0095] If the nut installation threshold is 10mm, then steel plate L is the path end point, and the through-penetration member includes steel plate K, steel plate L. If the nut installation threshold is 15mm, then steel plate M is the path end point, and the through-penetration member includes steel plate K, steel plate L, steel plate M. If the nut installation threshold is 20mm, then steel plate N is the path end point, and the through-penetration member includes steel plate K, steel plate L, steel plate M, steel plate N.
[0096] In some embodiments, the path distance (i.e. spacing value) between each steel structure on the perforation path can be calculated from near to far based on the drawing position, and the first steel structure whose first detected spacing value is greater than the nut installation threshold is taken as the path end point. In some embodiments, the spacing value can be the path distance of the perforation path.
[0097] S104, generating a bolt according to the common structure parameter and the exclusive structure parameter of each bolt at the corresponding drawing position, to obtain a primary bolt group.
[0098] Specifically, the common structure parameter and the exclusive structure parameter of each bolt are combined, a preview pattern is automatically generated at the corresponding position in the drawing view based on a preset pattern, or a three-dimensional model is automatically generated at the corresponding position in the drawing view according to a preset bolt model.
[0099] For example, if the common structure parameter is M24 hexagonal head bolt, and the exclusive structure parameter is a total length of 30mm and needs to penetrate two layers of steel plates, a standardized three-dimensional model of the M24 bolt is automatically called, and the screw length and thread distribution are adjusted according to the exclusive structure parameter to ensure that it is adapted to the thickness of the target steel structure.
[0100] Further, all bolts drawn in the same batch (such as all bolts in a rectangular array) are classified into a primary bolt group, and a primary logical association between several bolts in the primary bolt group is established, and the unified management of the bolts in the group is realized through the primary logical association, for example, the user can modify the common structure parameter, and the whole group is automatically synchronized and updated; for another example, the user can perform change operations such as moving, rotating, deleting, etc. on the whole primary bolt group. If the user adjusts the local common structure parameter of a certain bolt, it is stored as an exclusive structure parameter independently, without affecting the common structure parameter of other bolts in the group.
[0101] It should be understood that the primary bolt group is a set of bolts generated from the same batch array layout, sharing most common structural parameters (such as nominal diameter, material grade, etc.), and adapting to the differentiated needs of different drawing positions through exclusive structural parameters (such as bolt length). The primary bolt group is uniformly generated through a parameterized template, and supports global adaptive adjustment (such as synchronous updating of the whole group when modifying the array spacing), while also supporting the privatization of common structural parameters, thereby balancing the drawing efficiency and accuracy of the bolts, and realizing the fine and intelligent design of bolt connections in complex steel structure engineering.
[0102] In some embodiments, the exclusive structural parameters include structural penetration parameters; the method further comprises: dividing the bolts in the primary bolt group with the same structural penetration parameters into the same secondary bolt group; calling different display features to render and display different secondary bolt groups, wherein the display features of the several bolts in each secondary bolt group are the same; and / or when the steel structure changes in the drawing, automatically removing the secondary bolt group that penetrates the corresponding steel structure.
[0103] Specifically, the bolts in the primary bolt group with partially or completely the same structural penetration parameters are classified into secondary bolt groups, and the several bolts in each secondary bolt group share all or part of the display features. The display features are visual attributes used to distinguish different secondary bolt groups, including the color, line type, style, transparency, etc. of the pattern, so that users can intuitively and quickly identify bolts with different penetration characteristics in a single view.
[0104] For example, the bolt length of the bolt is obtained, the bolts with the same bolt length are divided into a secondary bolt group, and different pattern styles are used for differentiation. For another example, the number of penetration layers of the bolt is obtained, the bolts with the same number of penetration layers are divided into a secondary bolt group, and different pattern line thicknesses are used for differentiation. For another example, the unique identification ID of the steel structure penetrated by each bolt is obtained, the ID set is obtained, the bolts with the same ID set are divided into a secondary bolt group, and different pattern colors are used for differentiation.
[0105] Specifically, a secondary logical association between the several bolts in the secondary bolt group is established, and through the secondary logical association, the unified management of the bolts in the group can also be realized. When the steel structure changes in the drawing (such as deletion, modification of attributes), the secondary bolt group that penetrates the corresponding steel structure is automatically removed, or the secondary bolt group is re-divided, and the corresponding display features are updated for rendering and display.
[0106] For example, when the user deletes a bolt that is commonly penetrated by the bolts in the group, the affected secondary bolt group can be automatically identified and removed, and all the bolts in the secondary bolt group are deleted, avoiding management confusion after batch drawing of multiple bolts, intelligently managing the bolts, and further improving the efficiency and convenience of user operations.
[0107] As shown in Figures 10 to 12 , the drawing view is in wireframe mode, the projections of the C steel structural member 30 and the D steel structural member coincide at the current view angle, and the D steel structural member is completely occluded, so the bolt that penetrates the C steel structural member 30 must penetrate the D steel structural member. The unique identifier ID of the steel structural member penetrated by each bolt is obtained, an ID set is obtained, and the bolts with the same ID set are divided into a secondary bolt group. Different pattern colors are used for differentiation.
[0108] As shown in Figures 10 to 12 , the bolt that penetrates the A steel structural member 10 is displayed using a yellow pattern, the bolt that penetrates the A steel structural member 10, the C steel structural member 30, and the D steel structural member is displayed using a green pattern, the bolt that penetrates the B steel structural member 20, the C steel structural member 30, and the D steel structural member is displayed using a blue pattern, and the bolt that penetrates the B steel structural member 20 is displayed using a red pattern.
[0109] It can be seen that different secondary bolt groups are visually rendered using differentiated display features such as color, shape, transparency, and line type, and a distinctive visual identifier is set for different types of bolt groups. The user can quickly preview and identify the properties of each bolt and the steel structural member information penetrated by the bolt in the drawing view. That is, based on the differentiated display features, the global information that needs to be obtained through multiple view angle switching and repeated observation is concentrated in a unified view interface, such as the type of steel structural member (such as beam, column, connecting plate, etc.) penetrated by the bolt, the number of layers, the direction, the connection form, etc.
[0110] This allows the user to clearly identify the penetration path and assembly relationship of each bolt group without frequently switching view angles or expanding the structure model layer by layer, especially in the drawing preview stage of batch drawing of bolts, which can help the user quickly determine and adjust the position of batch drawing.
[0111] In some embodiments, each bolt may be divided into different secondary bolt groups according to different classification rules, for example, secondary bolt groups divided based on the material of the steel structural member are differentiated by color, and secondary bolt groups divided based on the type of the steel structural member are differentiated by line type. At this time, a bolt may be represented using a red pattern with a dashed line, and another bolt may be represented using a red pattern with a solid line, and the materials of the steel structural members penetrated by the two bolts are the same, and the materials of the steel structural members are different.
[0112] In some embodiments, S201, a user-selected batch drawing parameter and a drawing area are acquired, the batch drawing parameter including a common structural parameter of the bolts and an array layout parameter between the bolts; wherein the drawing area is a preview area temporarily selected by the user in a drawing preview stage; S201, a drawing position of each bolt is determined in the drawing area based on the array layout parameter; S203, a steel structure member to be penetrated by each bolt is determined based on the drawing position of each bolt, and a dedicated structural parameter of each bolt is generated according to the steel structure member to be penetrated by each bolt; S204, a preview pattern of the bolt is generated at the corresponding drawing position according to the common structural parameter and the dedicated structural parameter of each bolt, and a primary bolt group is obtained; S205, when the user confirms the selected drawing area, a three-dimensional model of the bolt is generated at the corresponding drawing position according to the common structural parameter and the dedicated structural parameter of each bolt. In the case of no conflict, the features in the embodiments and the features in the above embodiments can be combined with each other.
[0113] In some embodiments, S201 includes: in response to a second operation of the user, acquiring an array reference position and an array target position selected by the user in a drawing view; and determining the drawing area according to the array reference position and the array target position. Wherein the second operation includes a fourth operation, and in response to a fourth operation of the user, the array reference position is determined; the second operation further includes a fifth operation or a sixth operation; in response to a sixth operation of the user, the array target position is previewed, and the previewed array target position can also be used to determine the drawing area; or, in response to a fifth operation of the user, a selected array target position (i.e., the user confirms the selected drawing area) is determined.
[0114] Thus, in the drawing process, the user first selects the array reference position, and then can preview the expected drawing situation of the bolt array under different array target positions in the drawing interface through the cursor, and the drawing situation is fed back through the differentiated display features provided by the foregoing embodiments. As shown in FIG. 6B, points b3, b4 and b5 are different previewed array target positions, and as the array target position changes, the drawing position of each bolt changes, the corresponding secondary bolt group is re-divided, and is re-rendered and displayed using the corresponding display features. Figures 10 to 12
[0115] Further, if the user performs the fifth operation to determine the selected array target position, S205 is executed to call the corresponding three-dimensional model to formally generate the bolt in the drawing view. As shown in FIG. 6C, if the user selects point b2 as the array target position, the three-dimensional model of the generated bolt is as shown by the white bolt pattern in FIG. 6C. Figure 9 Figure 14
[0116] It should be understood that during the drawing preview stage, intuitive information assistance can be provided to the user through differentiated display features. With real-time adjustment of the array target position, the drawing position of the bolt can be dynamically calculated, and different visual effects such as color change, transparency adjustment, or contour highlighting can be synchronously fed back, helping the user to more intuitively judge and select a suitable position for batch generation, thereby improving the accuracy, effectiveness, and convenience of operation.
[0117] The embodiments of the present application also provide a verification and customization mechanism for the bolt parameters in batch drawing. Through the real-time generated structure preview, the user can interactively verify and change the structural features of the bolt, the used parts, and the penetrated steel structure, and the modified structural parameters will be converted from shared parameters to exclusive parameters of the bolt, realizing fine processing from shared templates to individual customization.
[0118] In some embodiments, the common structural parameters include bolt installation parameters, and the method further includes: generating a structure preview of each bolt according to the bolt installation parameters of each bolt, the structure preview being used to display at least one of the structural features of the bolt and the used parts; in response to a third operation of the user, changing the structural features or the used parts in the structure preview, and storing the changed bolt installation parameters as exclusive structural parameters of the corresponding bolt.
[0119] The bolt installation parameters are a specific set of parameters used in the bolt installation process, including but not limited to the number of washers, the number of gaskets, the number of screws, the type of nut, the number of washers, the size of the hole, the type of hole, etc. The specific parameter types can be determined according to the user's adjustment needs in actual application, and are not limited herein. It should be noted that the bolt installation parameters can be exclusive structural parameters (such as structural penetration parameters) or common structural parameters (such as the number of common screws), and the common structural parameters can be modified to exclusive structural parameters for a single bolt.
[0120] Specifically, the structure preview is generated based on the bolt installation parameters of the bolt, which collectively and intuitively presents the specific detailed parameters used in the bolt installation process to the user. In response to the interactive modification operation (i.e., the third operation) of the user on the structural features of the bolt or the used parts in the structure preview, the structural features or the part configuration are modified in real time, such as replacing the part type, adjusting the part position or quantity, updating the bolt installation parameters and storing them as exclusive structural parameters of the bolt, covering the original common structural parameters, and synchronously refreshing the structure preview to display the new configuration, thereby providing convenient operation assistance for the user to flexibly adapt to different connection requirements.
[0121] In some embodiments, the structural preview image displays the structural features of the bolt (such as thread length and head shape) and the parts used (such as washers and nuts) in three-dimensional or two-dimensional form. It should be understood that the structural preview image is an image after visualizing the bolt installation parameters; different structural preview images are generated for different bolt installation parameters. In some embodiments, the parts used in the bolt are a standardized set of components used in the bolted connection, such as washers, nuts, and spring washers.
[0122] In some embodiments, the specific structural parameters include structural penetration parameters; the method further includes: updating the structural preview image of each bolt according to the structural penetration parameters of each bolt, wherein the updated structural preview image is also used to display the steel structural member through which the bolt penetrates.
[0123] The structural preview image is dynamically updated based on the structural penetration parameters of each bolt (such as the type and number of steel structural components in the perforation path). On top of the original bolt body and component display, simplified geometric models of the steel structural components it penetrates (such as steel plates and structural steel sections) are overlaid. For example, if a bolt needs to pass through two layers of steel plates, the preview image will simultaneously present the outlines of the two steel plates and a cross-sectional diagram of the bolt's perforation path, intuitively reflecting the connection relationship between the bolt and the component. Thus, by binding the structural penetration parameters to the 3D model library in real time, users can directly confirm the bolt's penetration logic and component compatibility from the preview image.
[0124] For example, bolt installation parameters include the requirement to install a No. 1 washer between the bolt head and the steel structural member; the requirement to install both No. 2 and No. 3 washers between the steel structural member and the nut; and the requirement to use both No. 1 and No. 2 nuts simultaneously. When the bolt penetrates three steel structural members, the structural preview is as follows. Figure 17 As shown, the patterns from top to bottom are: bolt head; washer No. 1 mounted on the bolt; three layers of steel structure through which the bolt passes; washer No. 2, washer No. 3, nut No. 1, and nut No. 2 mounted on the bolt. The three layers of steel structure are stacked in the actual penetration order, presenting a steel structure pattern with preset transparency. Different pattern colors can be used to distinguish different types or materials. The remaining parts are in their operational state, so their corresponding part patterns are displayed without transparency.
[0125] In response to a third user action (such as modifying a parameter input form, clicking the mouse, or tapping a part), the components used in the structural preview are changed, removing washer #2, washer #3, and nut #2. The changed bolt installation parameters are saved as the specific structural parameters for the corresponding bolt, i.e., "No washer installed between the steel structural component and the nut; use nut #1," and the bolt's structural preview is updated. Figure 18As shown in the figure, the removed parts (No. 2 gasket, No. 3 gasket and No. 2 nut) are displayed in the form of preset transparency, showing the corresponding part patterns, and the visual change clearly indicates the removed parts without completely blocking the information of these parts, showing the difference between the public structure parameters and the exclusive structure parameters to the user, enabling the user to quickly understand each modification and its impact in an intuitive way, so as to facilitate the user to review and restore.
[0126] Further, the user only needs to perform the third operation again (such as clicking the corresponding part pattern again) to restore the previously removed parts, thereby improving the high flexibility and reversibility of the design process, allowing the user to adjust the design scheme at any time as needed, thereby greatly improving the work efficiency and design freedom.
[0127] In some embodiments, the user is provided with multiple operation functions in the present application, including but not limited to the first operation, the initial value confirmation operation, the value update operation, the local position adjustment operation, the second operation, the third operation, the fourth operation, the fifth operation, the sixth operation, and the change operation in the foregoing embodiments. The specific implementation forms of these operations can be flexibly set and adjusted according to the software drawing interface and the drawing process, such as being realized by clicking (such as mouse clicking or touch screen clicking), long pressing, context menu, list selection, property panel, dragging, box selection, shortcut key, voice instruction, gesture recognition and the like or the combination of the interaction modes, which are not limited herein.
[0128] Please refer to Figure 19 , Figure 19 is a structural schematic block diagram of a computer device provided by an embodiment of the present application. The computer device can be a terminal device or a server.
[0129] Exemplarily, the method described above can be implemented in the form of a computer program, which can run on a computer device as Figure 19 shown.
[0130] As Figure 19 shown, the computer device includes a processor, a memory and a network interface connected through a system bus, wherein the memory can include a non-volatile storage medium and an internal memory.
[0131] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions which, when executed, can cause the processor to perform any one of the generation methods of the bolt.
[0132] The processor is used to provide computing and control capabilities to support the operation of the entire computer device.
[0133] The internal memory provides an environment for running a computer program in a non-volatile storage medium, and the computer program is executed by the processor to enable the processor to perform any one of the generation methods of the bolt.
[0134] The network interface is used for network communication, such as sending an assigned task.
[0135] It should be understood that the processor can be a central processing unit (CPU), and the processor can also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0136] In one embodiment, the processor is configured to run a computer program stored in the memory to perform the following steps: S101, obtaining batch drawing parameters and a drawing area selected by a user, the batch drawing parameters including common structure parameters of the bolts and array layout parameters between the bolts; S102, determining a drawing position of each bolt based on the array layout parameters in the drawing area; S103, determining a steel structure member to be penetrated by each bolt based on the drawing position of each bolt, and generating exclusive structure parameters of each bolt according to the steel structure member to be penetrated by each bolt; S104, generating the bolts according to the common structure parameters and the exclusive structure parameters of each bolt in the corresponding drawing position, to obtain a primary bolt group.
[0137] For example, the processor is configured to run a computer program stored in the memory, and is further configured to perform the steps of the generation method of the bolt provided in any one of the embodiments of the present application, which will not be described herein.
[0138] In the embodiments of the present application, a computer readable storage medium is also provided, which stores a computer program including program instructions, and the processor executes the program instructions to perform the steps of the generation method of the bolt provided in any one of the embodiments of the present application.
[0139] The computer readable storage medium can be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. The computer readable storage medium can also be an external storage device of the computer device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, and the like.
[0140] The above merely provides the specific implementation of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical range disclosed by the present application, and these modifications or replacements shall be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for producing bolts, characterized in that, The method includes: S101, Obtain the batch drawing parameters and drawing area selected by the user. The batch drawing parameters include the common structural parameters of the bolts and the array layout parameters between the bolts. S102, determine the drawing position of each bolt in the drawing area based on the array layout parameters; S103, determine the steel structural component to be penetrated by each bolt based on the drawing position of each bolt, and generate exclusive structural parameters for each bolt based on the steel structural component to be penetrated by each bolt. S104. Based on the common structural parameters and the specific structural parameters of each bolt, bolts are generated at the corresponding drawing positions to obtain a first-level bolt group.
2. The method as described in claim 1, characterized in that, The array layout parameters include array type parameters and relative position parameters, and S101 includes: In response to the user's first operation, the array type parameter to be drawn is determined, and the relative position parameter of the corresponding type is called according to the array type parameter; In response to the user's initial confirmation of the relative position parameter or in response to the user's update of the relative position parameter, the relative position parameter to be drawn is determined.
3. The method as described in claim 2, characterized in that, The method further includes: In response to the user's local position adjustment operation, the specified position parameters between the first bolt and the second bolt input by the user are obtained, wherein the local position adjustment operation is used to adjust the relative position parameters of any bolt in the first-level bolt group with other bolts; Based on the specified relative position and the relative position parameters of the unchanged part, update the drawing position of several bolts in the first-level bolt group.
4. The method as described in claim 1, characterized in that, S101 includes: In response to the user's second action, obtain the array reference position and array target position selected by the user in the drawing view; The drawing area is determined based on the array reference position and the array target position.
5. The method as described in claim 1, characterized in that, The specific structural parameters include structural penetration parameters; the method also includes: Bolts with the same structural penetration parameters in the primary bolt group are grouped into the same secondary bolt group; Different display features are invoked to render and display different secondary bolt groups, wherein several bolts in each secondary bolt group have the same display features; and / or, when the steel structure is changed in the drawing, the secondary bolt group that runs through the corresponding steel structure is automatically removed.
6. The method as described in claim 1, characterized in that, The common structural parameters include bolt installation parameters, and the method further includes: Based on the bolt installation parameters of each bolt, a structural preview image of each bolt is generated. The structural preview image is used to display the structural features of the bolt and at least one of the parts used. In response to a third user action, the structural features or parts used in the structural preview image are modified, and the modified bolt installation parameters are stored as the specific structural parameters for the corresponding bolt.
7. The method as described in claim 6, characterized in that, The specific structural parameters include structural penetration parameters; the method also includes: The structural preview of each bolt is updated based on the structural penetration parameters of each bolt. The updated structural preview is also used to display the steel structural members through which the bolt penetrates.
8. The method as described in claim 5 or 7, characterized in that, S103 also includes: Using the bolt's drawing position as the path starting point and the direction perpendicular to the plane of the steel structure as the bolt axis direction, generate the bolt's through-hole path between the steel structure components; Calculate the spacing between adjacent first steel member and second steel structural member in the perforation path, wherein the distance between the first steel structural member and the starting point of the path is less than the distance between the second steel structural member and the starting point of the path; The first steel structural member whose spacing value is greater than the preset nut installation threshold and whose distance from the starting point of the path is the smallest is taken as the end point of the path; Determine the target perforation path based on the path start point to the path end point; The structural penetration parameters are determined based on the several target steel structural members along the target perforation path.
9. A computer device, characterized in that, The device includes: Memory, used to store computer programs; A processor for executing the computer program and, in executing the computer program, implementing the bolt generation method as described in any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to implement the bolt generation method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Steel structure modular installation method based on Tekla software platform
CN111143915A
Method for quickly drawing expanded drawing by calculating bolt hole positions based on Revit steel structure
CN116226978A
Quick-tool-design-oriented fixed joint surface database and creating method thereof
CN103294810A
Bolt model construction method and system, bolt connection device and storage medium
CN113704923A
Hinged column foot parametric modeling method based on 3DExperice
CN116305415A