Method, device, equipment and storage medium for generating modular steel structure model
By receiving vector design drawings and component information tables, adjusting the initial positioning coordinate lines and generating target positioning coordinate lines, the problem of low generation efficiency of modular steel structure models is solved, and fast and efficient model generation is achieved.
Patent Information
- Application Number
- CN202411283899.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-13
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-09-13
AI Technical Summary
In the prior art, the generation efficiency of modular steel structure models is low, and designers need to manually adjust and position various components, resulting in cumbersome operational steps and the model cannot be generated quickly.
By receiving the vector design drawings and component information tables input by the user, determine the number of segments, segment spacing, box height and width, build the box coordinate system, generate the box frame, and use the relative position relationship and column cross-sectional dimension information to determine the number of segments, the box spacing, and build the box coordinate system, and create the box frame, and use the relative position relationship and column cross-sectional dimension information. Adjust the initial positioning coordinate line, generate the target positioning coordinate line, and finally generate a modular steel structure model.
The rapid generation of modular steel structure models is realized, reducing manual operations, improving generation efficiency and simplifying the construction process.
Smart Images

Figure CN118797792B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of modular steel structure buildings, and in particular to a method, device, equipment and storage medium for generating a modular steel structure model. Background Art
[0002] Modular steel structure building refers to a new type of construction method that splits a complete building into independent modules, completes the production and processing of the independent modules in the factory, and then transports them to the construction site for hoisting.
[0003] In the prior art, in order to realize modular steel structure buildings, designers are required to manually construct modular steel structure models to guide factories to produce modular steel structures. However, in the process of constructing modular steel structure models, designers are required to manually adjust, position and select various components, which makes the entire operation process cumbersome and unable to quickly generate modular steel structure models, resulting in low efficiency in generating modular steel structure models. Summary of the invention
[0004] The embodiments of the present application provide a method, device, equipment and storage medium for generating a modular steel structure model, which can improve the generation efficiency of the modular steel structure model.
[0005] In a first aspect, an embodiment of the present application provides a method for generating a modular steel structure model, which includes:
[0006] Receive a model building request input by a user, wherein the model building request includes a vector design drawing and a component information table, wherein the vector design drawing includes a plurality of vector lines having a relative position relationship and carrying corresponding component identifiers, and the component information table includes cross-sectional dimension information corresponding to each of the component identifiers;
[0007] According to the plurality of vector lines and the relative positional relationship between the vector lines, the number of segments, the segment spacing, the box height and the box width are determined, and a box coordinate system is constructed, and a box frame is generated according to the number of segments, the segment spacing, the box height and the box width, wherein the box frame includes a plurality of box frame lines, and the box frame lines have a one-to-one correspondence with the vector lines, and the plurality of box frame lines include a plurality of box beam frame lines and a plurality of box column frame lines;
[0008] Determine the initial positioning coordinate lines corresponding to each box frame line;
[0009] Determine the column cross-sectional dimension information corresponding to each of the box column frame lines from the component information table;
[0010] Adjusting the plurality of initial positioning coordinate lines based on the relative position relationship and the plurality of column cross-sectional dimension information to obtain a plurality of target positioning coordinate lines;
[0011] A modular steel structure model is generated according to the plurality of target positioning coordinate lines and the component identifiers respectively corresponding to the target positioning coordinate lines.
[0012] In some embodiments, the adjusting of the multiple initial positioning coordinate lines based on the relative position relationship and the multiple column cross-sectional size information to obtain multiple target positioning coordinate lines includes:
[0013] Obtaining node corner fitting information of each node in the box frame, wherein the node is an intersection of box frame lines in the box frame, and the node corner fitting information indicates whether a corner fitting is installed at the corresponding node, and corner fitting cross-sectional size information of the installed corner fitting;
[0014] Based on the relative position relationship, the adjustment parameters of each node are determined according to the plurality of column cross-sectional dimension information and the plurality of node corner piece information, and a parameter adjustment list including the adjustment parameters of each node is obtained;
[0015] The multiple initial positioning coordinate lines are adjusted according to the parameter adjustment list to obtain multiple target positioning coordinate lines.
[0016] In some embodiments, the initial positioning coordinate lines include a plurality of initial crossbeam positioning coordinate lines, a plurality of initial longitudinal beam positioning coordinate lines, and a plurality of initial column positioning coordinate lines, and the plurality of target positioning coordinate lines include a plurality of target crossbeam positioning coordinate lines, a plurality of target longitudinal beam positioning coordinate lines, and a plurality of target column positioning coordinate lines; the plurality of initial positioning coordinate lines are adjusted according to the parameter adjustment list to obtain a plurality of target positioning coordinate lines, including:
[0017] For each of the initial beam positioning coordinate lines, shortening and adjusting the initial beam positioning coordinate line according to the adjustment parameters of the corresponding nodes in the parameter adjustment list to obtain a plurality of target beam positioning coordinate lines;
[0018] For each of the initial longitudinal beam positioning coordinate lines, according to the adjustment parameters of the corresponding nodes in the parameter adjustment list and the corresponding crossbeam orientation information, the initial longitudinal beam positioning coordinate lines are shortened and adjusted to obtain a plurality of target longitudinal beam positioning coordinate lines, wherein the crossbeam orientation information indicates the relative position between the box crossbeam frame line corresponding to the node and the corresponding crossbeam member;
[0019] For each of the initial column positioning coordinate lines, the size of the initial column positioning coordinate line is shortened and adjusted according to the corner fitting adjustment parameters of the corresponding nodes in the parameter adjustment list to obtain multiple target column positioning coordinate lines, and the corner fitting adjustment parameters are adjustment parameters obtained according to the corresponding corner fitting cross-sectional size information.
[0020] In some embodiments, for each of the initial longitudinal beam positioning coordinate lines, the initial longitudinal beam positioning coordinate line is shortened and adjusted according to the adjustment parameters of the corresponding nodes in the parameter adjustment list and the corresponding crossbeam orientation information to obtain a plurality of target longitudinal beam positioning coordinate lines, including:
[0021] For each end of each of the initial longitudinal beam positioning coordinate lines, determine whether the corresponding crossbeam component is located on a side of the box crossbeam frame line close to the initial longitudinal beam positioning coordinate line according to the crossbeam orientation information;
[0022] If it is located on a side close to the initial longitudinal beam positioning coordinate line, then determining the adjustment parameters of the corresponding end in the initial longitudinal beam positioning coordinate line according to the adjustment parameters of the corresponding node in the parameter adjustment list;
[0023] If it is located on a side far away from the initial longitudinal beam positioning coordinate line, the adjustment parameter of the corresponding end in the initial longitudinal beam positioning coordinate line is set to zero;
[0024] According to the adjustment parameters at both ends of each of the initial longitudinal beam positioning coordinate lines, the corresponding initial cross beam positioning coordinate lines are respectively shortened and adjusted to obtain a plurality of target longitudinal beam positioning coordinate lines.
[0025] In some embodiments, the determining the adjustment parameters of each node based on the relative position relationship and the plurality of column cross-sectional dimension information and the plurality of node corner piece information to obtain a parameter adjustment list including the adjustment parameters of each node includes:
[0026] Determine the column cross-sectional dimension information and node corner fitting information corresponding to the box column frame line associated with each node based on the relative position relationship;
[0027] For each of the nodes, determining whether the node is installed with a corner fitting according to the node corner fitting information;
[0028] If a corner piece is installed, determining the adjustment parameter of the node according to the cross-sectional dimension information of the installed corner piece;
[0029] If the corner piece is not installed, the adjustment parameter of the node is determined according to the column cross-sectional dimension information corresponding to the box column frame line associated with the node;
[0030] The parameter adjustment list is determined according to the adjustment parameters respectively corresponding to the plurality of nodes, and the adjustment parameters of each node in the parameter adjustment list are sorted according to the distance between the corresponding node and the origin of the box coordinate system.
[0031] In some embodiments, generating a modular steel structure model according to the plurality of target positioning coordinate lines and the component identifiers corresponding to the target positioning coordinate lines respectively includes:
[0032] Determine the cross-sectional dimension information corresponding to each of the target positioning coordinate lines from the component information table according to the corresponding component identification;
[0033] Based on the preset scanning algorithm, the component model of each target positioning coordinate line is generated according to the corresponding cross-sectional size information to obtain the modular steel structure model.
[0034] In some embodiments, the method further comprises: determining the number of segments, the segment spacing, the box height and the box width according to the plurality of vector lines and the relative positional relationship between the vector lines, and constructing a box coordinate system; and generating a box frame according to the number of segments, the segment spacing, the box height and the box width.
[0035] Generate a plurality of initial face regions of the box frame, wherein the initial face regions are formed by four box frame lines intersecting in pairs in the box frame;
[0036] For each of the initial face regions, the initial face region is reduced in size according to the cross-sectional dimension information of the associated box frame line and the corresponding component orientation information to obtain multiple target face regions, wherein the component orientation information indicates the relative position between the box frame line and the generated component.
[0037] In a second aspect, the embodiment of the present application further provides a device for generating a modular steel structure model, which includes:
[0038] A transceiver unit, configured to receive a model building request input by a user, wherein the model building request includes a vector design drawing and a component information table, wherein the vector design drawing includes a plurality of vector lines having a relative position relationship and carrying corresponding component identifiers, and the component information table includes cross-sectional dimension information corresponding to each of the component identifiers;
[0039] A processing unit is used to determine the number of segments, the segment spacing, the box height and the box width according to the relative position relationship between the plurality of vector lines and the vector lines, and to construct a box coordinate system; generate a box frame according to the number of segments, the segment spacing, the box height and the box width, the box frame including a plurality of box frame lines, the box frame lines having a one-to-one correspondence with the vector lines, the plurality of box frame lines including a plurality of box beam frame lines and a plurality of box column frame lines; determine initial positioning coordinate lines corresponding to each box frame line; determine column cross-sectional dimension information corresponding to each box column frame line from the component information table; adjust the plurality of initial positioning coordinate lines based on the relative position relationship and the plurality of column cross-sectional dimension information to obtain a plurality of target positioning coordinate lines; generate a modular steel structure model according to the plurality of target positioning coordinate lines and the component identification corresponding to each target positioning coordinate line.
[0040] In a third aspect, an embodiment of the present application further provides a computer device, which includes a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above method when executing the computer program.
[0041] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the storage medium stores a computer program, wherein the computer program includes program instructions, and wherein the program instructions can implement the above method when executed by a processor.
[0042] The embodiment of the present application provides a method, device, equipment and storage medium for generating a modular steel structure model. The method includes: receiving a model building request input by a user, the model building request includes a vector design drawing and a component information table, the vector design drawing includes a plurality of vector lines with relative position relationships and carrying corresponding component identifiers, the component information table includes cross-sectional dimension information corresponding to each of the component identifiers; according to the plurality of vector lines and the relative position relationship between the vector lines, determining the number of segments, the segment spacing, the box height and the box width, and constructing a box coordinate system, generating a box frame according to the number of segments, the segment spacing, the box height and the box width, the box frame includes a plurality of box frame lines, the box frame lines have a one-to-one correspondence with the vector lines, and the multiple box frame lines include multiple box beam frame lines and multiple box column frame lines; determine the initial positioning coordinate lines corresponding to each box frame line; determine the column cross-sectional dimension information corresponding to each box column frame line from the component information table; adjust the multiple initial positioning coordinate lines based on the relative position relationship and the multiple column cross-sectional dimension information to obtain multiple target positioning coordinate lines; generate a modular steel structure model according to the multiple target positioning coordinate lines and the component identification corresponding to each target positioning coordinate line. The embodiment of the present application can automatically generate the corresponding modular steel structure model according to the vector design drawing and the component information table input by the user, reduce the manual operation of constructing the modular steel structure model, and thereby improve the generation efficiency of the modular steel structure model. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0044] Figure 1 A schematic diagram of a flow chart of a method for generating a modular steel structure model provided in an embodiment of the present application;
[0045] Figure 2 A schematic diagram of a box frame in a method for generating a modular steel structure model provided in an embodiment of the present application;
[0046] Figure 3 A schematic diagram of some components of a box frame generated in a method for generating a modular steel structure model provided in an embodiment of the present application;
[0047] Figure 4 A schematic diagram of a modular steel structure with corner pieces added in the method for generating a modular steel structure model provided in an embodiment of the present application;
[0048] Figure 5 A schematic diagram of a sub-process of a method for generating a modular steel structure model provided in an embodiment of the present application;
[0049] Figure 6 A schematic diagram of a process for generating a parameter adjustment list provided in an embodiment of the present application;
[0050] Figure 7 A schematic diagram showing a comparison of beams at different positions in a method for generating a modular steel structure model provided in an embodiment of the present application;
[0051] Figure 8 A schematic diagram of another sub-process of the method for generating a modular steel structure model provided in an embodiment of the present application;
[0052] Fig. 9 A schematic diagram of a modular steel structure model in a method for generating a modular steel structure model provided in an embodiment of the present application;
[0053] Fig.10 A schematic diagram of the initial surface area of the box frame in the method for generating a modular steel structure model provided in an embodiment of the present application;
[0054] Fig.11 A schematic diagram of a target surface area of a box frame in a method for generating a modular steel structure model provided in an embodiment of the present application;
[0055] Fig.12 A schematic diagram of a partial target area for generating a modular steel structure model in the method for generating a modular steel structure model provided in an embodiment of the present application;
[0056] Fig.13 A schematic diagram comparing the sizes of the surface areas when the beam is at different positions in the method for generating a modular steel structure model provided in an embodiment of the present application;
[0057] Fig.14 A schematic diagram of a modular steel structure model with a complete surface area in the method for generating a modular steel structure model provided in an embodiment of the present application;
[0058] Fig.15 A schematic block diagram of a device for generating a modular steel structure model provided in an embodiment of the present application;
[0059] Fig.16 A schematic block diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0060] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0061] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0062] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0063] It should be further understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0064] Embodiments of the present application provide a method, device, equipment and storage medium for generating a modular steel structure model.
[0065] The executor of the method for generating a modular steel structure model may be the device for generating a modular steel structure model provided in the embodiment of the present application, or a computer device integrating the device for generating a modular steel structure model, wherein the device for generating a modular steel structure model may be implemented in hardware or software, and the computer device may be a terminal or a server.
[0066] When the modular steel structure model generation device is integrated in the server, the user needs to access the server through the terminal. For ease of understanding, the following embodiment takes the server as the execution subject to describe in detail the modular steel structure model generation method provided by the present application:
[0067] Figure 1 Schematic diagram of the process of generating a modular steel structure model provided in the embodiment of the present application. Figure 1 As shown, the method includes the following steps S110-S160.
[0068] S110. Receive a model building request input by a user, wherein the model building request includes a vector design drawing and a component information table, wherein the vector design drawing includes a plurality of vector lines having a relative position relationship and carrying corresponding component identifiers, and the component information table includes cross-sectional dimension information corresponding to each of the component identifiers.
[0069] In this embodiment, when a user needs to build a modular steel structure model, a model building request needs to be sent to the server through the corresponding user terminal.
[0070] The model building request includes a vector design drawing and a component information table. The vector design drawing is an abstract structural calculation drawing provided by the structural designer. The workload of the designer to produce the vector design drawing is much less than the workload of designing the corresponding modular steel structure model.
[0071] The vector design drawing includes multiple vector lines with relative position relationships and carrying corresponding component identifiers. The component information table includes cross-sectional dimension information corresponding to each component identifier, wherein the relative position relationship is the relative placement position between each vector line. The component identifier is a unique identifier of the component at the corresponding position, and the component identifiers of the same type of components placed in different positions are also different.
[0072] Furthermore, in addition to the cross-sectional size information of each component identification, the component information table also includes the cross-sectional form and component type mark of each component identification. Knowing the specific cross-sectional form and component type mark can make the rendered modular steel structure model more accurate.
[0073] Specifically, the vector design drawing in this embodiment may be a vector drawing such as a dwg vector design drawing or an ai vector design drawing that can carry line vector information and position information.
[0074] S120. Determine the number of segments, segment spacing, box height and box width according to the relative position relationship between the plurality of vector lines and the vector lines, and construct a box coordinate system. Generate a box frame according to the number of segments, the segment spacing, the box height and the box width. The box frame includes a plurality of box frame lines. The box frame lines have a one-to-one correspondence with the vector lines. The plurality of box frame lines include a plurality of box beam frame lines and a plurality of box column frame lines.
[0075] Specifically, the component identification in this embodiment includes a beam component identification and a column component identification, and the beam component identification includes a cross-beam component identification and a longitudinal beam component identification. This embodiment determines the number of segments according to the number of cross-beam vector lines corresponding to each cross-beam component identification, wherein the number of segments is equal to the cross-beam vector line minus one, the segment spacing is the spacing between adjacent cross-beam vector lines, the box width is the length of the cross-beam vector line, and the box height is the length of the column vector line corresponding to the column component identification.
[0076] In this embodiment, before generating the box frame, it is necessary to first construct the coordinate system of the box frame, such as Figure 2 As shown in the figure, the number of segments is 3, the segment spacing is 5940, 3600 and 2400 respectively, the box height is 2880, the box width is 2800, the (0, 0, 0) coordinate point is the box origin, the (0, 2800, 0) coordinate point is the box width positioning point, and the (0, 0, 2880) coordinate point is the box height positioning point. Then, the width positioning point and the height positioning point are connected to the coordinate origin to form two straight lines. The remaining lines are generated by using the corresponding horizontal and vertical coordinate data to generate positioning points. The corresponding adjacent points are connected to generate straight lines. The set of these straight lines is the frame line of the box.
[0077] In some implementations, the generated box frame is as follows: Figure 2 As shown, the box frame is composed of a plurality of box frame lines, and the box frame lines have a one-to-one correspondence with the vector lines, that is, each vector line in the vector design diagram corresponds to a box frame line in the box frame, and the plurality of box frame lines include a plurality of box beam frame lines and a plurality of box column frame lines. Specifically, Figure 2 As shown, the box beam frame line includes a box cross beam frame line and a box longitudinal beam frame line, wherein the beam in the x-axis direction is a cross beam, the beam in the y-axis direction is a longitudinal beam, and the z-axis direction is a column. In addition, the box frame also includes a plurality of nodes, which are the intersection points of the box frame lines in the box frame ( Figure 2 Only one node is indicated as an example).
[0078] In addition, users can also adjust the generated box frame, specifically, the number of segments, segment spacing, box height and box width. By entering the corresponding adjustment parameters, the box frame can be automatically adjusted with high adjustment efficiency.
[0079] S130, determining initial positioning coordinate lines corresponding to each box frame line.
[0080] Specifically, the corresponding initial positioning coordinate line is generated according to the coordinates of the two end points (the starting point and the ending point) of each box frame line.
[0081] S140. Determine the column cross-sectional dimension information corresponding to each of the box column frame lines from the component information table.
[0082] In this embodiment, since each positioning coordinate line is the positioning of a solid component that constitutes the modular steel structure model, however, since the solid component has a cross-sectional thickness, when generating the actual component, the components need to be cut against each other. In order to avoid cutting the components and speed up the construction progress, this embodiment needs to adjust the generated initial positioning coordinate line. The actual component is generated by the target positioning coordinate line obtained after the adjustment, which can avoid collisions between components.
[0083] For example, Figure 3 As shown, the length of the beam between the two columns is not actually Figure 2 The length of the drawn positioning coordinate line should be equal to the length of the original straight line minus the cross-sectional dimensions of the two columns. The starting point and the end point of the straight line should be moved toward the center point of the positioning coordinate line by the distance of the column cross-section to obtain the positioning coordinate line that actually controls the length of the beam. Similarly, the positioning coordinate lines of other beams also need to be shortened according to the corresponding column cross-sectional dimensions to obtain the target positioning coordinate line that actually controls the generation of each component that is not connected in the first place.
[0084] S150, adjusting the multiple initial positioning coordinate lines based on the relative position relationship and the multiple column cross-sectional dimension information to obtain multiple target positioning coordinate lines.
[0085] In this embodiment, if no corner fittings are installed for the nodes in the model, then the coordinate lines can be adjusted directly according to the corresponding column cross-sectional dimension information.
[0086] However, the node design of modular steel structure is not necessarily that the beam is directly welded to the column. Considering the on-site construction and the upper and lower connections of the module box, some structural designs will add corner pieces (such as corner pieces boxes) on both sides of the column, such as Figure 4 As shown, at this time, the reduction of the positioning coordinate line corresponding to the beam with the corner fitting is no longer around the size of the corresponding column, but needs to be reduced by the size of the corner fitting. Moreover, for the node with the corner fitting, the positioning coordinate line of the corresponding column also needs to be reduced according to the size of the corner fitting.
[0087] At this time, specifically, see Figure 5 Step S150 includes the following steps:
[0088] S1501, obtaining node corner fitting information of each node in the box frame, wherein the node is an intersection of box frame lines in the box frame, and the node corner fitting information indicates whether a corner fitting is installed at the corresponding node, and corner fitting cross-sectional size information of the installed corner fitting;
[0089] S1502, determining adjustment parameters of each node based on the relative position relationship, the plurality of column cross-sectional dimension information, and the plurality of node corner piece information, and obtaining a parameter adjustment list including the adjustment parameters of each node;
[0090] S1503: Adjust the multiple initial positioning coordinate lines according to the parameter adjustment list to obtain multiple target positioning coordinate lines.
[0091] Specifically, first obtain the node corner fitting information of each node in the box frame, wherein the corner fitting information can be obtained by analyzing the vector design drawing, or after the box frame is generated, the user can specify which node in the box frame needs to add a corner fitting and input the corresponding corner fitting cross-sectional size information.
[0092] Among them, in some embodiments, step S1502 includes: determining the column cross-sectional dimension information and the node corner fitting information corresponding to the box column frame line associated with each node based on the relative position relationship; for each of the nodes, determining whether the node is installed with a corner fitting according to the node corner fitting information; if a corner fitting is installed, determining the adjustment parameters of the node according to the corner fitting cross-sectional dimension information of the installed corner fitting; if no corner fitting is installed, determining the adjustment parameters of the node according to the column cross-sectional dimension information corresponding to the box column frame line associated with the node; determining the parameter adjustment list according to the adjustment parameters corresponding to multiple nodes, respectively, and the adjustment parameters of each node in the parameter adjustment list are sorted according to the distance between the corresponding node and the origin of the box coordinate system.
[0093] In this embodiment, whether the corresponding node is installed with a corner fitting is determined based on the node corner fitting information of each node to determine whether the adjustment data of the positioning coordinate line of each beam is determined by the cross-sectional size information of the column or the surface size information of the corner fitting.
[0094] Specifically, in general, the nodes in the box frame are symmetrical left and right, and also symmetrical up and down. Here, the four nodes located in the y-axis direction are taken as an example. Figure 6 As shown:
[0095] 1. If corner fittings need to be installed on each node, it means that the program will input the four data of "0, 0, 0, 0". Otherwise, it means that the program will input the four data of "1, 1, 1, 1". Of course, according to the actual design situation of the user, any design such as "0, 1, 0, 1" / "1, 0, 1, 0" can also be set;
[0096] 2. Define the column cross-sectional dimension information as a data list A, define the corner fitting cross-sectional dimension information as a data list B, and create a new data list C. When the internal input of the program is "0", the data at the corresponding index position (corresponding node) is taken out from the B list and put into C. When the internal input of the program is "1", the data at the corresponding index position is taken out from the A list and put into C. Finally, data list C (parameter adjustment list) is obtained. Among them, the data list C has the same length as data list A and data list B, and is a mixed data of data list A and data list B composed of the "0 / 1" sequence set in the program.
[0097] like Figure 7 As shown in a and b in (for ease of viewing, Figure 7 The box frame line corresponding to the middle crossbeam is a bold black line). The relationship between the columns on both sides of the box and the generated box frame line is that they always exist on the inside of the corresponding box frame line. However, the columns and beams located in the middle of the box can be located on the right side of the corresponding box frame line or on the left side of the box frame line. This depends on the design of the building space and needs to be manually specified according to the actual situation. Specifically, it can be specified by the user when inputting the model building request or in the vector design drawing.
[0098] In some embodiments, the initial positioning coordinate lines include multiple initial crossbeam positioning coordinate lines, multiple initial longitudinal beam positioning coordinate lines, and multiple initial column positioning coordinate lines, and the multiple target positioning coordinate lines include multiple target crossbeam positioning coordinate lines, multiple target longitudinal beam positioning coordinate lines, and multiple target column positioning coordinate lines; this embodiment provides different positioning coordinate line adjustment methods for the crossbeams, longitudinal beams, and columns in the model, wherein the adjustment of the crossbeam positioning coordinate lines is affected by whether the corresponding nodes are installed with corner fittings and the column cross-sectional size information of the corresponding nodes, and the adjustment of the longitudinal beam positioning coordinate lines is affected not only by whether the corresponding nodes are installed with corner fittings and the column cross-sectional size information of the corresponding nodes, but also by the crossbeam orientation information (such as Figure 7 a and b in the figure, the crossbeam is set on the left or right side of the corresponding box frame line), and the column positioning coordinate line is only affected by whether the corresponding node is installed with corner fittings.
[0099] See also Figure 8 , step S1503 includes:
[0100] S15031. For each of the initial beam positioning coordinate lines, shorten the initial beam positioning coordinate line according to the adjustment parameter of the corresponding node in the parameter adjustment list to obtain a plurality of target beam positioning coordinate lines.
[0101] Specifically, for each end of the initial beam positioning coordinate line, it is necessary to find the adjustment parameter of the corresponding node from the parameter adjustment list, and then shrink the length of the corresponding adjustment parameter toward the initial beam positioning coordinate line, so as to shorten the size of the initial beam positioning coordinate line. After adjusting each initial beam positioning coordinate line, multiple target beam positioning coordinate lines are obtained.
[0102] Among them, in some embodiments, since the generated box frame is stacked up and down and left and right, at this time, only the upper crossbeam needs to be adjusted, and the lower crossbeam can be adjusted accordingly.
[0103] S15032. For each of the initial longitudinal beam positioning coordinate lines, according to the adjustment parameters of the corresponding nodes in the parameter adjustment list and the corresponding beam orientation information, the initial longitudinal beam positioning coordinate line is shortened and adjusted to obtain multiple target longitudinal beam positioning coordinate lines, and the beam orientation information indicates the relative position between the box beam frame line corresponding to the node and the corresponding beam component.
[0104] In some embodiments, step S15032 includes:
[0105] For each end of each of the initial longitudinal beam positioning coordinate lines, determine whether the corresponding crossbeam component is located on the side of the box crossbeam frame line close to the initial longitudinal beam positioning coordinate line according to the crossbeam orientation information; if it is located on the side close to the initial longitudinal beam positioning coordinate line, determine the adjustment parameters of the corresponding end of the initial longitudinal beam positioning coordinate line according to the adjustment parameters of the corresponding node in the parameter adjustment list; if it is located on the side away from the initial longitudinal beam positioning coordinate line, set the adjustment parameters of the corresponding end of the initial longitudinal beam positioning coordinate line to zero; according to the adjustment parameters at both ends of each of the initial longitudinal beam positioning coordinate lines, respectively shorten the size of the corresponding initial crossbeam positioning coordinate lines to obtain a plurality of target longitudinal beam positioning coordinate lines.
[0106] Specifically, the longitudinal beams are arranged in order from near to far from the origin, and a shortening control data list N for the starting point (one end of the longitudinal beam) and a shortening control data list M for the ending point (the other end of the longitudinal beam) of the longitudinal beam are established respectively.
[0107] Because the box is divided into n sections and there will be n sections of beams, n+1 groups of columns are needed. That is to say, of the four data in list C, the first three should control the scaling size of the starting point of the longitudinal beam, and the last three should control the scaling size of the ending point of the longitudinal beam. That is, data list N is the first n data in list C; data list M is the last n data in list C.
[0108] The corresponding crossbeam is located on the left / right side of the frame line as a judgment condition (determine whether the corresponding crossbeam member is located on the side of the box crossbeam frame line close to the initial longitudinal beam positioning coordinate line according to the crossbeam orientation information, so as to determine whether the corresponding crossbeam member is located on the side of the box crossbeam frame line close to the initial longitudinal beam positioning coordinate line according to the crossbeam orientation information. Figure 7 For example, for the starting point end of the longitudinal beam (close to the origin), the crossbeam component is located on the left, which means that the corresponding crossbeam component is located on the side of the box crossbeam frame line close to the initial longitudinal beam positioning coordinate line. Conversely, when the crossbeam component is located on the right, it means that the corresponding crossbeam component is located on the side of the box crossbeam frame line away from the initial longitudinal beam positioning coordinate line; for the ending point end of the longitudinal beam (far away from the origin), the crossbeam component is located on the right, which means that the corresponding crossbeam component is located on the side of the box crossbeam frame line close to the initial longitudinal beam positioning coordinate line. Conversely, when the crossbeam component is located on the left, it means that the corresponding crossbeam component is located on the side of the box crossbeam frame line away from the initial longitudinal beam positioning coordinate line).
[0109] Then create a "0 / 1" control data list, 0 represents right alignment, 1 represents left alignment, and finally scale the corresponding size of the longitudinal beam according to the list N\M to obtain the final longitudinal beam path.
[0110] S15033. For each of the initial column positioning coordinate lines, the initial column positioning coordinate line is shortened and adjusted according to the corner fitting adjustment parameters of the corresponding nodes in the parameter adjustment list to obtain multiple target column positioning coordinate lines, wherein the corner fitting adjustment parameters are adjustment parameters obtained according to the corresponding corner fitting cross-sectional size information.
[0111] Specifically, if corner fittings are installed at the nodes corresponding to the columns, the initial column positioning coordinate lines need to be shortened and adjusted according to the corresponding corner fitting adjustment parameters; otherwise, no adjustment is required.
[0112] S160: Generate a modular steel structure model according to the plurality of target positioning coordinate lines and the component identifiers corresponding to the target positioning coordinate lines.
[0113] Specifically, in some embodiments, step S160 includes: determining the cross-sectional dimension information corresponding to each of the target positioning coordinate lines from the component information table according to the corresponding component identification; based on a preset scanning algorithm, generating a component model of each of the target positioning coordinate lines according to the corresponding cross-sectional dimension information to obtain the modular steel structure model.
[0114] That is, if the cross-sectional information (cross-sectional dimension information) and the path information (target positioning coordinate line) of a component are known, the actual 3D geometric body can be obtained by extrusion and sweeping through the "surface moving into body" method. The path information is the target positioning coordinate line required above. One end point of the target positioning coordinate line is used as the starting point of the component sweep, and the other end point is used as the end point of the component sweep to obtain the complete component information. When all the component cross-sectional information and paths are known, a complete modular steel structure model can be obtained, such as Fig. 9 As shown (without corner pieces added).
[0115] Furthermore, in order to assist in welding the interior of the box corresponding to the modular steel structure model, it is necessary to generate the surface domains of each surface, and perform welding assistance through the obtained surface domains. At this time, after generating the box frame, the method further includes:
[0116] Generate multiple initial face domains of the box frame, wherein the initial face domains are composed of four box frame lines that intersect each other in pairs in the box frame; for each of the initial face domains, the initial face domains are reduced in size according to the cross-sectional size information of the associated box frame line and the corresponding component orientation information to obtain multiple target face domains, wherein the component orientation information indicates the relative position between the box frame line and the generated component.
[0117] Specifically, the initial domain is Fig.10 As shown in the figure, the target area (such as Fig.11 As shown in the figure), this area is actually the area where the auxiliary structure needs to be welded inside the box. After the component is generated, it can be seen that this area does not overlap with the top beam at all (as shown in the figure). Fig.12 The remaining regions also need to be generated according to the same logic.
[0118] like Fig.13 As shown in a and b in (for ease of viewing, Fig.13 The box frame line corresponding to the middle crossbeam is a bold black line). Whether the crossbeam is on the left or right side of the corresponding frame line will affect the generated control surface area. Fig.13 From a and b in the figure, it can be clearly seen that because the two beams in the middle have changed their positions on the left and right sides of the frame line, the final generated surface area has also been affected. Specifically:
[0119] Each face region has four edges. Among these four edges, the two line segments in the y-axis direction are fixed and moved to the corresponding position in the center of the face region according to the cross-sectional dimensions of the two adjacent longitudinal beams, but the line segments in the x-axis direction are offset inward by 0 or the cross-sectional dimension of the cross beam.
[0120] Divide the two x-axis lines of the face region into two groups: lines closer to the origin (line segment list q) and lines farther from the origin (line segment list p). Create two data lists to serve as the offset distance control data for the closer and farther edge lines respectively. If the first three beams are on the right side of the corresponding frame line, the cross-sectional dimension data of the corresponding beams will be added to the q control data list, otherwise the list will add data "0". If the last three beams are on the right side of the corresponding frame line, the p control data list will add data "0", otherwise the cross-sectional dimension data of the beams will be added.
[0121] Based on the above embodiment, a modular steel structure model with a complete surface area is generated (such as Fig.14 As shown in the figure, when the modular steel structure model with surface information is used to guide the model production of the project, it can not only reduce unnecessary component cutting operations, but also determine the internal welding auxiliary structure of the box based on the obtained surface area, so as to achieve more efficient and accurate welding operations.
[0122] In summary, the embodiment of the present application can automatically generate a corresponding modular steel structure model according to the vector design drawing and component information table input by the user, reduce the manual operation of constructing the modular steel structure model, and thus improve the generation efficiency of the modular steel structure model.
[0123] Fig.15 1 is a schematic block diagram of a modular steel structure model generation device 1500 provided in an embodiment of the present application. Fig.15 As shown, corresponding to the above modular steel structure model generation method, the present application also provides a modular steel structure model generation device 1500. The modular steel structure model generation device 1500 includes a unit for executing the above modular steel structure model generation method, and the device can be configured in a terminal or a server. Fig.15 The modular steel structure model generation device 1500 includes a transceiver unit 1501 and a processing unit 1502 .
[0124] The transceiver unit 1501 is used to receive a model building request input by a user, wherein the model building request includes a vector design drawing and a component information table, wherein the vector design drawing includes a plurality of vector lines having a relative position relationship and carrying corresponding component identifiers, and the component information table includes cross-sectional dimension information corresponding to each component identifier;
[0125] Processing unit 1502 is used to determine the number of segments, segment spacing, box height and box width according to the relative position relationship between the multiple vector lines and the vector lines, and construct a box coordinate system, generate a box frame according to the number of segments, the segment spacing, the box height and the box width, the box frame includes multiple box frame lines, the box frame lines have a one-to-one correspondence with the vector lines, and the multiple box frame lines include multiple box beam frame lines and multiple box column frame lines; determine the initial positioning coordinate lines corresponding to each box frame line; determine the column cross-sectional size information corresponding to each box column frame line from the component information table; adjust the multiple initial positioning coordinate lines based on the relative position relationship and the multiple column cross-sectional size information to obtain multiple target positioning coordinate lines; generate a modular steel structure model according to the multiple target positioning coordinate lines and the component identification corresponding to each target positioning coordinate line.
[0126] In some embodiments, when the processing unit 1502 performs the step of adjusting the multiple initial positioning coordinate lines based on the relative position relationship and the multiple column cross-sectional size information to obtain multiple target positioning coordinate lines, it is specifically used to:
[0127] Obtain node corner fitting information of each node in the box frame, wherein the node is an intersection of box frame lines in the box frame, and the node corner fitting information indicates whether a corner fitting is installed at the corresponding node, as well as corner fitting cross-sectional size information of the installed corner fitting; based on the relative position relationship, determine adjustment parameters of each node according to a plurality of column cross-sectional size information and a plurality of node corner fitting information, and obtain a parameter adjustment list containing adjustment parameters of each node; adjust a plurality of initial positioning coordinate lines according to the parameter adjustment list to obtain a plurality of target positioning coordinate lines.
[0128] In some embodiments, the initial positioning coordinate lines include a plurality of initial crossbeam positioning coordinate lines, a plurality of initial longitudinal beam positioning coordinate lines, and a plurality of initial column positioning coordinate lines, and the plurality of target positioning coordinate lines include a plurality of target crossbeam positioning coordinate lines, a plurality of target longitudinal beam positioning coordinate lines, and a plurality of target column positioning coordinate lines; when the processing unit 1502 performs the step of adjusting the plurality of initial positioning coordinate lines according to the parameter adjustment list to obtain a plurality of target positioning coordinate lines, it is specifically used to:
[0129] For each of the initial crossbeam positioning coordinate lines, the initial crossbeam positioning coordinate lines are shortened and adjusted according to the adjustment parameters of the corresponding nodes in the parameter adjustment list to obtain a plurality of target crossbeam positioning coordinate lines; for each of the initial longitudinal beam positioning coordinate lines, the initial longitudinal beam positioning coordinate lines are shortened and adjusted according to the adjustment parameters of the corresponding nodes in the parameter adjustment list and the corresponding crossbeam orientation information to obtain a plurality of target longitudinal beam positioning coordinate lines, wherein the crossbeam orientation information indicates the relative position between the box crossbeam frame line corresponding to the node and the corresponding crossbeam member; for each of the initial column positioning coordinate lines, the initial column positioning coordinate lines are shortened and adjusted according to the corner fitting adjustment parameters of the corresponding nodes in the parameter adjustment list to obtain a plurality of target column positioning coordinate lines, wherein the corner fitting adjustment parameters are adjustment parameters obtained according to the corresponding corner fitting cross-sectional size information.
[0130] In some embodiments, when the processing unit 1502 executes the step of shortening and adjusting the initial longitudinal beam positioning coordinate line according to the adjustment parameters of the corresponding nodes in the parameter adjustment list and the corresponding beam orientation information to obtain multiple target longitudinal beam positioning coordinate lines, it is specifically used to:
[0131] For each end of each of the initial longitudinal beam positioning coordinate lines, determine whether the corresponding crossbeam component is located on the side of the box crossbeam frame line close to the initial longitudinal beam positioning coordinate line according to the crossbeam orientation information; if it is located on the side close to the initial longitudinal beam positioning coordinate line, determine the adjustment parameters of the corresponding end of the initial longitudinal beam positioning coordinate line according to the adjustment parameters of the corresponding node in the parameter adjustment list; if it is located on the side away from the initial longitudinal beam positioning coordinate line, set the adjustment parameters of the corresponding end of the initial longitudinal beam positioning coordinate line to zero; according to the adjustment parameters at both ends of each of the initial longitudinal beam positioning coordinate lines, respectively shorten the size of the corresponding initial crossbeam positioning coordinate lines to obtain a plurality of target longitudinal beam positioning coordinate lines.
[0132] In some embodiments, when the processing unit 1502 performs the step of determining the adjustment parameters of each node based on the relative position relationship, the plurality of column cross-sectional size information and the plurality of node corner piece information, and obtaining a parameter adjustment list including the adjustment parameters of each node, the processing unit 1502 is specifically used to:
[0133] Based on the relative position relationship, the column cross-sectional dimension information and the node corner fitting information corresponding to the box column frame line associated with each node are determined; for each node, whether the node is installed with a corner fitting is determined according to the node corner fitting information; if a corner fitting is installed, the adjustment parameters of the node are determined according to the corner fitting cross-sectional dimension information of the installed corner fitting; if no corner fitting is installed, the adjustment parameters of the node are determined according to the column cross-sectional dimension information corresponding to the box column frame line associated with the node; the parameter adjustment list is determined according to the adjustment parameters respectively corresponding to a plurality of nodes, and the adjustment parameters of each node in the parameter adjustment list are sorted according to the distance between the corresponding node and the origin of the box coordinate system.
[0134] In some embodiments, when the processing unit 1502 executes the step of generating a modular steel structure model according to the plurality of target positioning coordinate lines and the component identifiers respectively corresponding to the target positioning coordinate lines, it is specifically used to:
[0135] According to the corresponding component identification, the cross-sectional dimension information corresponding to each of the target positioning coordinate lines is determined from the component information table; based on the preset scanning algorithm, the component model of each of the target positioning coordinate lines is generated according to the corresponding cross-sectional dimension information to obtain the modular steel structure model.
[0136] In some embodiments, after executing the steps of determining the number of segments, the segment spacing, the box height and the box width according to the plurality of vector lines and the relative positional relationship between the vector lines, and constructing a box coordinate system, and generating a box frame according to the number of segments, the segment spacing, the box height and the box width, the processing unit 1502 is further configured to:
[0137] Generate multiple initial face domains of the box frame, wherein the initial face domains are composed of four box frame lines that intersect each other in pairs in the box frame; for each of the initial face domains, the initial face domains are reduced in size according to the cross-sectional size information of the associated box frame line and the corresponding component orientation information to obtain multiple target face domains, wherein the component orientation information indicates the relative position between the box frame line and the generated component.
[0138] It should be noted that technicians in the relevant field can clearly understand that the specific implementation process of the above-mentioned modular steel structure model generation device 1500 and each unit can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and brevity of description, it will not be repeated here.
[0139] The above-mentioned modular steel structure model generation device can be implemented in the form of a computer program. The computer program can be used in Fig.16 Runs on the computer device shown.
[0140] See also Fig.16 , Fig.16 1 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 500 may be a terminal or a server.
[0141] See also Fig.16 The computer device 500 includes a processor 502 , a memory and a network interface 505 connected via a system bus 501 , wherein the memory may include a non-volatile storage medium 503 and an internal memory 504 .
[0142] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions, and when the program instructions are executed, the processor 502 can execute a method for generating a modular steel structure model.
[0143] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .
[0144] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a method for generating a modular steel structure model.
[0145] The network interface 505 is used to communicate with other devices over the network. Fig.16The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0146] The processor 502 is used to run the computer program 5032 stored in the memory to implement the following steps:
[0147] Receive a model building request input by a user, wherein the model building request includes a vector design drawing and a component information table, wherein the vector design drawing includes a plurality of vector lines having a relative position relationship and carrying corresponding component identifiers, and the component information table includes cross-sectional dimension information corresponding to each of the component identifiers;
[0148] According to the plurality of vector lines and the relative positional relationship between the vector lines, the number of segments, the segment spacing, the box height and the box width are determined, and a box coordinate system is constructed, and a box frame is generated according to the number of segments, the segment spacing, the box height and the box width, wherein the box frame includes a plurality of box frame lines, and the box frame lines have a one-to-one correspondence with the vector lines, and the plurality of box frame lines include a plurality of box beam frame lines and a plurality of box column frame lines;
[0149] Determine the initial positioning coordinate lines corresponding to each box frame line;
[0150] Determine the column cross-sectional dimension information corresponding to each of the box column frame lines from the component information table;
[0151] Adjusting the plurality of initial positioning coordinate lines based on the relative position relationship and the plurality of column cross-sectional dimension information to obtain a plurality of target positioning coordinate lines;
[0152] A modular steel structure model is generated according to the plurality of target positioning coordinate lines and the component identifiers respectively corresponding to the target positioning coordinate lines.
[0153] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0154] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.
[0155] Therefore, the present application also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the following steps:
[0156] Receive a model building request input by a user, wherein the model building request includes a vector design drawing and a component information table, wherein the vector design drawing includes a plurality of vector lines having a relative position relationship and carrying corresponding component identifiers, and the component information table includes cross-sectional dimension information corresponding to each of the component identifiers;
[0157] According to the plurality of vector lines and the relative positional relationship between the vector lines, the number of segments, the segment spacing, the box height and the box width are determined, and a box coordinate system is constructed, and a box frame is generated according to the number of segments, the segment spacing, the box height and the box width, wherein the box frame includes a plurality of box frame lines, and the box frame lines have a one-to-one correspondence with the vector lines, and the plurality of box frame lines include a plurality of box beam frame lines and a plurality of box column frame lines;
[0158] Determine the initial positioning coordinate lines corresponding to each box frame line;
[0159] Determine the column cross-sectional dimension information corresponding to each of the box column frame lines from the component information table;
[0160] Adjusting the plurality of initial positioning coordinate lines based on the relative position relationship and the plurality of column cross-sectional dimension information to obtain a plurality of target positioning coordinate lines;
[0161] A modular steel structure model is generated according to the plurality of target positioning coordinate lines and the component identifiers respectively corresponding to the target positioning coordinate lines.
[0162] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.
[0163] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0164] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0165] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present application can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0166] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.
[0167] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for generating a modular steel structure model, characterized in that: include: Receive a model building request input by a user, wherein the model building request includes a vector design drawing and a component information table, wherein the vector design drawing includes a plurality of vector lines having a relative position relationship and carrying corresponding component identifiers, and the component information table includes cross-sectional dimension information corresponding to each of the component identifiers; According to the plurality of vector lines and the relative positional relationship between the vector lines, the number of segments, the segment spacing, the box height and the box width are determined, and a box coordinate system is constructed, and a box frame is generated according to the number of segments, the segment spacing, the box height and the box width, wherein the box frame includes a plurality of box frame lines, and the box frame lines have a one-to-one correspondence with the vector lines, and the plurality of box frame lines include a plurality of box beam frame lines and a plurality of box column frame lines; Determine the initial positioning coordinate lines corresponding to each box frame line; Determine the column cross-sectional dimension information corresponding to each of the box column frame lines from the component information table; Adjusting the plurality of initial positioning coordinate lines based on the relative position relationship and the plurality of column cross-sectional dimension information to obtain a plurality of target positioning coordinate lines; Generate a modular steel structure model according to the plurality of target positioning coordinate lines and the component identifiers respectively corresponding to the target positioning coordinate lines; The adjusting of the plurality of initial positioning coordinate lines based on the relative position relationship and the plurality of column cross-sectional dimension information to obtain a plurality of target positioning coordinate lines comprises: Obtaining node corner fitting information of each node in the box frame, wherein the node is an intersection of box frame lines in the box frame, and the node corner fitting information indicates whether a corner fitting is installed at the corresponding node, and corner fitting cross-sectional size information of the installed corner fitting; Based on the relative position relationship, the adjustment parameters of each node are determined according to the plurality of column cross-sectional dimension information and the plurality of node corner piece information, and a parameter adjustment list including the adjustment parameters of each node is obtained; Adjust the multiple initial positioning coordinate lines according to the parameter adjustment list to obtain multiple target positioning coordinate lines; The initial positioning coordinate lines include a plurality of initial crossbeam positioning coordinate lines, a plurality of initial longitudinal beam positioning coordinate lines, and a plurality of initial column positioning coordinate lines; the plurality of target positioning coordinate lines include a plurality of target crossbeam positioning coordinate lines, a plurality of target longitudinal beam positioning coordinate lines, and a plurality of target column positioning coordinate lines; the plurality of initial positioning coordinate lines are adjusted according to the parameter adjustment list to obtain a plurality of target positioning coordinate lines, including: For each of the initial beam positioning coordinate lines, shortening and adjusting the initial beam positioning coordinate line according to the adjustment parameters of the corresponding nodes in the parameter adjustment list to obtain a plurality of target beam positioning coordinate lines; For each of the initial longitudinal beam positioning coordinate lines, according to the adjustment parameters of the corresponding nodes in the parameter adjustment list and the corresponding crossbeam orientation information, the initial longitudinal beam positioning coordinate lines are shortened and adjusted to obtain a plurality of target longitudinal beam positioning coordinate lines, wherein the crossbeam orientation information indicates the relative position between the box crossbeam frame line corresponding to the node and the corresponding crossbeam member; For each of the initial column positioning coordinate lines, the initial column positioning coordinate line is shortened and adjusted according to the corner fitting adjustment parameter of the corresponding node in the parameter adjustment list to obtain a plurality of target column positioning coordinate lines, wherein the corner fitting adjustment parameter is an adjustment parameter obtained according to the corresponding corner fitting cross-sectional size information; For each of the initial longitudinal beam positioning coordinate lines, the initial longitudinal beam positioning coordinate lines are shortened and adjusted according to the adjustment parameters of the corresponding nodes in the parameter adjustment list and the corresponding crossbeam orientation information to obtain a plurality of target longitudinal beam positioning coordinate lines, including: For each end of each of the initial longitudinal beam positioning coordinate lines, determine whether the corresponding crossbeam component is located on a side of the box crossbeam frame line close to the initial longitudinal beam positioning coordinate line according to the crossbeam orientation information; If it is located on a side close to the initial longitudinal beam positioning coordinate line, then determining the adjustment parameters of the corresponding end in the initial longitudinal beam positioning coordinate line according to the adjustment parameters of the corresponding node in the parameter adjustment list; If it is located on a side far away from the initial longitudinal beam positioning coordinate line, the adjustment parameter of the corresponding end in the initial longitudinal beam positioning coordinate line is set to zero; According to the adjustment parameters at both ends of each of the initial longitudinal beam positioning coordinate lines, the corresponding initial cross beam positioning coordinate lines are respectively shortened and adjusted to obtain a plurality of target longitudinal beam positioning coordinate lines.
2. The method according to claim 1, characterized in that The step of determining the adjustment parameters of each node based on the relative position relationship, the plurality of column cross-sectional dimension information, and the plurality of node corner piece information to obtain a parameter adjustment list including the adjustment parameters of each node includes: Determine the column cross-sectional dimension information and node corner fitting information corresponding to the box column frame line associated with each node based on the relative position relationship; For each of the nodes, determining whether the node is installed with a corner fitting according to the node corner fitting information; If a corner piece is installed, determining the adjustment parameter of the node according to the cross-sectional dimension information of the installed corner piece; If the corner piece is not installed, the adjustment parameter of the node is determined according to the column cross-sectional dimension information corresponding to the box column frame line associated with the node; The parameter adjustment list is determined according to the adjustment parameters respectively corresponding to the plurality of nodes, and the adjustment parameters of each node in the parameter adjustment list are sorted according to the distance between the corresponding node and the origin of the box coordinate system.
3. The method according to claim 1, characterized in that The generating of a modular steel structure model according to the plurality of target positioning coordinate lines and the component identifiers respectively corresponding to the target positioning coordinate lines comprises: Determine the cross-sectional dimension information corresponding to each of the target positioning coordinate lines from the component information table according to the corresponding component identification; Based on the preset scanning algorithm, the component model of each target positioning coordinate line is generated according to the corresponding cross-sectional size information to obtain the modular steel structure model.
4. The method according to any one of claims 1 to 3, characterized in that According to the plurality of vector lines and the relative positional relationship between the vector lines, the number of segments, the segment spacing, the box height and the box width are determined, and a box coordinate system is constructed. After the box frame is generated according to the number of segments, the segment spacing, the box height and the box width, the method further includes: Generate a plurality of initial face regions of the box frame, wherein the initial face regions are formed by four box frame lines intersecting in pairs in the box frame; For each of the initial face regions, the initial face region is reduced in size according to the cross-sectional dimension information of the associated box frame line and the corresponding component orientation information to obtain multiple target face regions, wherein the component orientation information indicates the relative position between the box frame line and the generated component.
5. A device for generating a modular steel structure model, characterized in that: include: A transceiver unit, configured to receive a model building request input by a user, wherein the model building request includes a vector design drawing and a component information table, wherein the vector design drawing includes a plurality of vector lines having a relative position relationship and carrying corresponding component identifiers, and the component information table includes cross-sectional dimension information corresponding to each of the component identifiers; A processing unit is used to determine the number of segments, the segment spacing, the box height and the box width according to the relative position relationship between the plurality of vector lines and the vector lines, and to construct a box coordinate system; generate a box frame according to the number of segments, the segment spacing, the box height and the box width, wherein the box frame includes a plurality of box frame lines, and the box frame lines have a one-to-one correspondence with the vector lines, and the plurality of box frame lines include a plurality of box beam frame lines and a plurality of box column frame lines; determine initial positioning coordinate lines corresponding to each box frame line; determine column cross-sectional dimension information corresponding to each box column frame line from the component information table; adjust the plurality of initial positioning coordinate lines based on the relative position relationship and the plurality of column cross-sectional dimension information to obtain a plurality of target positioning coordinate lines; generate a modular steel structure model according to the plurality of target positioning coordinate lines and the component identifier corresponding to each target positioning coordinate line; When the processing unit performs the step of adjusting the multiple initial positioning coordinate lines based on the relative position relationship and the multiple column cross-sectional size information to obtain multiple target positioning coordinate lines, it is specifically used to: Obtaining node corner fitting information of each node in the box frame, wherein the node is an intersection of the box frame lines in the box frame, and the node corner fitting information indicates whether a corner fitting is installed at the corresponding node, and corner fitting cross-sectional size information of the installed corner fitting; determining adjustment parameters of each node based on the relative position relationship, according to a plurality of column cross-sectional size information and a plurality of node corner fitting information, and obtaining a parameter adjustment list including the adjustment parameters of each node; adjusting a plurality of initial positioning coordinate lines according to the parameter adjustment list, and obtaining a plurality of target positioning coordinate lines; The initial positioning coordinate lines include a plurality of initial crossbeam positioning coordinate lines, a plurality of initial longitudinal beam positioning coordinate lines, and a plurality of initial column positioning coordinate lines; the plurality of target positioning coordinate lines include a plurality of target crossbeam positioning coordinate lines, a plurality of target longitudinal beam positioning coordinate lines, and a plurality of target column positioning coordinate lines; when the processing unit executes the step of adjusting the plurality of initial positioning coordinate lines according to the parameter adjustment list to obtain a plurality of target positioning coordinate lines, it is specifically used to: For each of the initial crossbeam positioning coordinate lines, the initial crossbeam positioning coordinate lines are shortened and adjusted according to the adjustment parameters of the corresponding nodes in the parameter adjustment list to obtain a plurality of target crossbeam positioning coordinate lines; for each of the initial longitudinal beam positioning coordinate lines, the initial longitudinal beam positioning coordinate lines are shortened and adjusted according to the adjustment parameters of the corresponding nodes in the parameter adjustment list and the corresponding crossbeam orientation information to obtain a plurality of target longitudinal beam positioning coordinate lines, wherein the crossbeam orientation information indicates the relative position between the box crossbeam frame line corresponding to the node and the corresponding crossbeam member; for each of the initial column positioning coordinate lines, the initial column positioning coordinate lines are shortened and adjusted according to the corner fitting adjustment parameters of the corresponding nodes in the parameter adjustment list to obtain a plurality of target column positioning coordinate lines, wherein the corner fitting adjustment parameters are adjustment parameters obtained according to the corresponding corner fitting cross-sectional size information; When the processing unit executes the step of shortening and adjusting the initial longitudinal beam positioning coordinate lines according to the adjustment parameters of the corresponding nodes in the parameter adjustment list and the corresponding crossbeam orientation information for each of the initial longitudinal beam positioning coordinate lines to obtain a plurality of target longitudinal beam positioning coordinate lines, the processing unit is specifically used to: For each end of each of the initial longitudinal beam positioning coordinate lines, determine whether the corresponding crossbeam component is located on the side of the box crossbeam frame line close to the initial longitudinal beam positioning coordinate line according to the crossbeam orientation information; if it is located on the side close to the initial longitudinal beam positioning coordinate line, determine the adjustment parameters of the corresponding end of the initial longitudinal beam positioning coordinate line according to the adjustment parameters of the corresponding node in the parameter adjustment list; if it is located on the side away from the initial longitudinal beam positioning coordinate line, set the adjustment parameters of the corresponding end of the initial longitudinal beam positioning coordinate line to zero; according to the adjustment parameters at both ends of each of the initial longitudinal beam positioning coordinate lines, respectively shorten the size of the corresponding initial crossbeam positioning coordinate lines to obtain a plurality of target longitudinal beam positioning coordinate lines.
6. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for generating a modular steel structure model according to any one of claims 1 to 4 is implemented.
7. A storage medium, characterized in that: The storage medium stores a computer program, which includes program instructions. When the program instructions are executed by a processor, the processor executes the method for generating a modular steel structure model according to any one of claims 1 to 4.
