A general parametric modeling implementation method for various truss forms based on Grasshopper

Through the parametric modeling method of the Grasshopper platform, basic points and logical relationships are used to generate multiple truss forms, which solves the problems of low design speed and efficiency in the existing technology, realizes rapid modeling and flexible selection of truss design, and improves Improve construction efficiency.

CN114254424BActive Publication Date: 2024-09-03ZHENGZHOU UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202111680872.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-09-03
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

It is difficult to quickly improve the design speed and modeling efficiency when designing trusses with the existing technology, and it is difficult to freely control the truss selection and web rod position, which limits the efficiency of building construction.

Method used

A general parametric modeling method for multiple truss forms based on Grasshopper is used to form different types of trusses by creating basic points, connecting chords, equal divisions, and groupings. Logical relationships and mathematical operations are used to achieve the generation and selection of multiple truss forms.

Benefits of technology

It achieves rapid modeling efficiency and flexibility in multiple selections when designing trusses, significantly improves design speed and work efficiency, and facilitates truss selection in building construction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114254424B
    Figure CN114254424B
Patent Text Reader

Abstract

The present invention belongs to the technical field of auxiliary building design, and specifically relates to a general parametric modeling implementation method for multiple truss forms based on Grasshopper, comprising the following steps: creating three basic points; connecting the three points to form a truss lower chord and offsetting along the z-axis to obtain an offset endpoint and an offset mid-span node; dividing the upper and lower chords into equal segments with the mid-span node as the boundary; grouping and dividing the upper and lower equally divided points, and then connecting the rod segments to obtain an inclined web member; representing the web member form by numbers 1-5 through a logical relationship, thereby obtaining a plane truss; based on the plane truss, connecting the rod segments and the web members in the same way to obtain five trusses of other different forms; deleting the invalid rod segments; and representing the generated six trusses by numbers 1-6 respectively with the help of mathematical logic operations. The present invention can freely control the truss selection and the web member position, and achieves the purpose of greatly improving the design speed and modeling efficiency of the truss in the truss design.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of auxiliary building design, and in particular relates to a Grasshopper-based universal parametric modeling implementation method for various truss forms. Background Art

[0002] The truss is composed of chords and webs, and is mostly used in roof structures. It can also be used in structures such as curtain walls that bear large lateral loads. The shape of the truss can be triangular, trapezoidal, arc-shaped, parallel chord-shaped, etc. The type of truss can be plane truss, regular triangular space truss, inverted triangular space truss, rectangular space truss, etc. Different types of trusses have different characteristics and are used in different buildings. When designing a truss, it is often necessary to select and optimize the truss according to the building shape, building function, structural stress, etc., so as to obtain a safe, reliable and satisfactory solution. In order to greatly improve the design speed and modeling efficiency of the truss, a general parametric modeling implementation method for multiple truss forms based on Grasshopper is proposed. Summary of the invention

[0003] In view of the above-mentioned deficiencies in the prior art, the present invention provides a general parametric modeling implementation method for various truss forms based on Grasshopper. Using this modeling method, the user can freely control the truss selection and the web position according to actual needs, and can also modify various parameters while realizing various truss forms, thereby achieving the purpose of greatly improving the design speed and modeling efficiency of the truss in truss design.

[0004] In order to solve the above technical problems, the present invention adopts the following technical solution: a method for implementing universal parametric modeling of various truss forms based on Grasshopper, characterized in that it includes the following steps:

[0005] 1) Create three basic points, two of which are endpoints and the third point is the midpoint between the two endpoints;

[0006] 2) Connect the three points to form the lower chord of the truss and offset them along the z-axis to obtain two offset endpoints and an offset mid-span node, and connect the three offset points to generate the upper chord of the truss;

[0007] 3) Divide the upper and lower chords into equal segments with the mid-span node as the boundary;

[0008] 4) The upper and lower equally divided points are divided into groups and blocks through the Partition List operator, and then the rod segments are connected to obtain the inclined web rod;

[0009] 5) The web member forms are represented by numbers 1-5 through logical relationships, and then the plane truss is obtained;

[0010] 6) Based on the plane truss, the members and the equally divided points are offset according to the topological relationship between different trusses, and the segments and webs are connected in the same way to obtain five other different forms of trusses;

[0011] 7) Delete invalid rod sections;

[0012] 8) The six generated trusses are represented by numbers 1-6 respectively through mathematical logic operations.

[0013] Furthermore, the specific steps for creating points in step 1) are: create three basic points P1, P2, and P3, where P1 is the origin and P2 is the distal end point; the coordinate of P1 on the x-axis is xP1, the coordinate of P2 on the x-axis is xP2, the coordinate of P1 on the z-axis is zP1, the coordinate of P2 on the z-axis is zP2, the distance between P1 and P2 is the difference between the x-axis coordinate of P1 and the x-axis coordinate of P2, and the difference is the truss span L, P3 is the midpoint between P1 and P2, xP3 is the coordinate of P3 on the x-axis, and zP3 is the coordinate of P3 on the z-axis, that is, xP3=0.5*(xP1+xP2), zP3=0.5*(zP1+zP2).

[0014] Furthermore, in the step 2), P1 and P2 are connected to P3 respectively to form the lower chord of the truss, and P1, P2, and P3 are offset along the z-axis to obtain an offset endpoint P1', an offset endpoint P2', and an offset mid-span node P3'; the distance between P1 and P1', and between P2 and P2' is the endpoint offset, and the two endpoint offsets are the same, and the endpoint offset is the end height H1; the distance between P3 and P3' is the mid-span offset, and the mid-span offset is the mid-span height H2, and then P1' and P2' are connected to P3' respectively to generate the upper chord of the truss.

[0015] Furthermore, in step 3), the upper and lower chords are divided into left and right parts with P3-P3' as the boundary, and each part is equally divided into the same number of segments and the maximum number of segments does not exceed 10. The number of segments is controlled by the operator number slider, and the number of equally divided segments is the number N of half-span intervals.

[0016] Further, in step 4), the specific steps of grouping are: based on the plane truss, starting from the end of the truss to the mid-span node, the upper and lower chords are divided into groups of four, that is, each group of divided points is numbered (0, 1, 2, 3), and odd-span inclined web members are obtained, that is, the grouping method is {2; 2; 2; 2; 2}; based on the plane truss, starting from the end of the truss, the second column of divided points, until the mid-span node, the upper and lower chords are divided into groups of four, that is, the upper and lower chords at the end are numbered (0, 1) as a separate group, Starting from the second column of the end, the equally divided points are numbered (0, 1, 2, 3) as a group, thus obtaining an even-span inclined web member, that is, the grouping method is {1; 2; 2; 2; 2; 2}. If the number of equally divided segments is increased, the number of number 2 in the grouping method can be expanded so that the sum of their numbers is greater than or equal to the number of segments or the number of half-span internodes; after the grouping is completed, except for the even-span end, each group of upper and lower chords has a total of four equally divided points, which are sorted clockwise. The sorting method on the left side of the mid-span node is {0; 1; 3; 2}, and the sorting method on the right side of the mid-span node is {0; 2; 3; 1}. Use the operator List Item to select, connect nodes 0 and 3 to form an outward-inclined web member, and the top of the outward-inclined web member is connected to the upper chord node of the group far away from the mid-span node; connect nodes 1 and 2 to form an inward-inclined web member, and the top of the inward-inclined web member is connected to the upper chord node of the group close to the mid-span node.

[0017] Furthermore, in the step 5), the specific steps of representing the belly member form by numbers 1-5 through logical relationships are as follows: by means of the operator equality and the operator cull pattern, the operator equality A end is connected to the belly member modeling parameter variable output by the operator List Item, the B end is connected to five numbers 1-5 respectively, and the "=" end is connected to the operator cull pattern, when the belly member modeling parameter variable is equal to the value, the belly member modeling represented by the value will be calculated and drawn, and the other belly member models will not be calculated and generated, so that each parameter has only one modeling corresponding to it;

[0018] 1) When the web member modeling parameter variable = 1, the web member modeling is two identical trapezoids combined into a truss, the lower chord of the truss is a straight line, the lower base of the trapezoid coincides, and a plurality of equally spaced vertical web members are arranged between the upper and lower chords of the truss. From the upper base of the trapezoid to the mid-span node, a node is formed between every two adjacent vertical web members, and the left end point of the upper chord and the right end point of the lower chord in each node are connected by a rod segment to form a left-leaning web member, and the right end point of the upper chord and the left end point of the lower chord in each node are connected by a rod segment to form a right-leaning web member. A left-leaning web member is arranged in each node of the left trapezoidal truss, and a right-leaning web member is arranged in each node of the right trapezoidal truss;

[0019] 2) When the web member modeling parameter variable = 2, the web member modeling is two identical trapezoids combined into a truss, the lower chord of the truss is a straight line, the lower base of the trapezoid coincides, and a plurality of equally spaced vertical web members are arranged between the upper and lower chords of the truss. From the upper base of the trapezoid to the mid-span node, a node is formed between every two adjacent vertical web members, and the left end point of the upper chord and the right end point of the lower chord in each node are connected by a rod segment to form a left-leaning web member, and the right end point of the upper chord and the left end point of the lower chord in each node are connected by a rod segment to form a right-leaning web member, and each node of the left trapezoidal truss is fixedly connected with a right-leaning web member, and each node of the right trapezoidal truss is fixedly connected with a left-leaning web member;

[0020] 3) When the web member modeling parameter variable = 3, the web member modeling is two identical trapezoids combined into a truss, the lower chord of the truss is a straight line, the lower base of the trapezoid coincides, and a plurality of equally spaced vertical web members are arranged between the upper and lower chords of the truss. From the upper base of the trapezoid to the mid-span node, an internode is formed between every two adjacent vertical web members, and the left end point of the upper chord and the right end point of the lower chord in each internode are connected by a rod segment to form a left-leaning web member, and the right end point of the upper chord and the left end point of the lower chord in each internode are connected by a rod segment to form a right-leaning web member, and every two adjacent internodes form a large group, and the two internodes of a large group are respectively fixedly connected with a left-leaning web member and a right-leaning web member, the top ends of the left-leaning web member and the right-leaning web member are connected, and the left-leaning web member, the right-leaning web member and the lower chords of the two internodes form a triangle together;

[0021] 4) When the web member modeling parameter variable = 4, the web member modeling is two identical trapezoids combined into a truss, the lower chord of the truss is a straight line, the lower base of the trapezoid coincides, and a plurality of equally spaced vertical web members are arranged between the upper and lower chords of the truss. From the upper base of the trapezoid to the mid-span node, an internode is formed between every two adjacent vertical web members, and the left end point of the upper chord and the right end point of the lower chord in each internode are connected by a rod segment to form a left-leaning web member, and the right end point of the upper chord and the left end point of the lower chord in each internode are connected by a rod segment to form a right-leaning web member, and every two adjacent internodes form a large group, and the two internodes of a large group are respectively fixedly connected with a left-leaning web member and a right-leaning web member, the bottom ends of the left-leaning web member and the right-leaning web member are connected, and the left-leaning web member, the right-leaning web member and the lower chords of the two internodes form an inverted triangle together;

[0022] 5) When the web member modeling parameter variable = 5, the web member modeling is a truss composed of two completely identical trapezoids, the lower chord of the truss is a straight line, the lower base of the trapezoid coincides, and a plurality of equally spaced vertical web members are arranged between the upper and lower chords of the truss. From the upper base of the trapezoid to the mid-span node, an internode is formed between every two adjacent vertical web members, and in each internode, the left end point of the upper chord and the right end point of the lower chord are connected by a rod segment to form a left-leaning web member, and in each internode, the right end point of the upper chord and the left end point of the lower chord are connected by a rod segment to form a right-leaning web member, and both left-leaning and right-leaning web members are arranged in each internode.

[0023] Furthermore, in step 6), the specific steps of creating other trusses are:

[0024] 1) The points dividing the upper and lower chords of the plane truss are offset in the positive direction of the y-axis, and the rod segments and web members are connected in the same way as above. The connected truss is mirror-copied with the XZ plane as the reference plane, and the corresponding nodes of the single-piece truss before and after the copy are connected with transverse rod segments to obtain a rectangular space truss;

[0025] 2) The equidistant points of the upper chord of the plane truss are offset along the positive direction of the y-axis, and the rod segments and web members are connected in the same way as above. The connected truss is mirrored with the XZ plane as the reference plane, and the corresponding nodes of the single-piece truss before and after the copy are connected with transverse rod segments to obtain an inverted triangular truss;

[0026] 3) The equal division point of the lower chord of the plane truss is offset along the positive direction of the y-axis, and the rod segments and web members are connected in the same way as above. The connected truss is mirrored with the XZ plane as the reference plane, and the corresponding nodes of the single-piece truss before and after the copy are connected with transverse rod segments to obtain an equilateral triangle truss;

[0027] 4) Draw an arc with two offset endpoints and the offset mid-span point as boundary points, and divide it equally according to the above method, and connect the rod segments and the web members to obtain an arched plane truss;

[0028] 5) The points dividing the upper and lower chords of the arch plane truss are offset in the positive direction of the y-axis, and the segments and webs are connected in the same way as above. The connected truss is mirrored with the XZ plane as the reference plane, and the corresponding nodes of the single-piece truss before and after the copy are connected with transverse segments to obtain the arch space truss.

[0029] Furthermore, in step 7), the specific steps of deleting invalid rod segments are: using the operator Length to display the rod segment lengths of the six types of trusses respectively, deleting invalid rods with a rod segment length of 0, and outputting the deleted rod segments.

[0030] Furthermore, in step 8), the specific steps of using mathematical logic operations to represent the six types of trusses generated with numbers 1-6 are as follows: using the operator equality and the operator cull pattern, the operator equality A end is connected to the truss selection parameter variable, the B end is connected to the six numbers 1-6 respectively, and the "=" end is connected to the operator cull pattern. Only when the selection parameter variable is equal to the value, the truss shape represented by the value will be calculated and drawn, and the other truss shapes will not be calculated and generated, so that each parameter has only one shape corresponding to it;

[0031] 1) When the selection parameter variable = 1, the truss is a plane truss;

[0032] 2) When the selection parameter variable = 2, the truss is a rectangular space truss;

[0033] 3) When the selected parameter variable = 3, the truss is an inverted triangle space truss;

[0034] 4) When the selected parameter variable = 4, the truss is an equilateral triangular space truss;

[0035] 5) When the selection parameter variable = 5, the truss is an arched plane truss;

[0036] 6) When the selection parameter variable = 6, the truss is an arched space truss.

[0037] Compared with the prior art, the present invention has the following beneficial effects:

[0038] The present invention is based on the topological relationship between various structural forms of trusses and is implemented through a program; users can freely control the truss selection and the position of the web according to actual needs, and can modify various parameters while realizing various truss forms; the design speed and modeling efficiency of the truss are greatly improved, the determination of the truss selection during the construction process is convenient, the design time is shortened, and the work efficiency is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is the arrangement and combination of the web member form and the parameter display diagram of the present invention;

[0040] Figure 2 This is a schematic diagram of the odd-number straddle grouping of the present invention, Figure 2 a is a schematic diagram of the grouping of odd-span outward-inclined web trusses when the number of half-span intervals is even. Figure 2 b is a schematic diagram of the grouping of odd-span outward-inclined web trusses when the number of half-span intervals is an odd number;

[0041] Figure 3 This is a schematic diagram of the even-numbered straddle grouping of the present invention, Figure 3 a is a schematic diagram of the grouping of even-span outward-inclined web trusses when the number of half-span intervals is even. Figure 3 b is a schematic diagram of the grouping of even-span outward-inclined trusses when the number of half-span intervals is an odd number;

[0042] Figure 4 is a schematic diagram of the inward-inclined web bar of the present invention, Figure 4 a is a schematic diagram of the grouping of even-span inward-inclined web members. Figure 4 b is a schematic diagram of the grouping of odd-span inward-inclined web members;

[0043] Figure 5 It is a schematic diagram of a plane truss structure of the present invention;

[0044] Figure 6 It is a schematic diagram of the space truss structure of the present invention;

[0045] Figure 7 It is a schematic diagram of the inverted triangle space truss structure of the present invention;

[0046] Figure 8 It is a schematic diagram of the regular triangular space truss structure of the present invention;

[0047] Fig. 9 It is a schematic diagram of the arched plane truss structure of the present invention;

[0048] Fig.10 It is a schematic diagram of the arched space truss structure of the present invention;

[0049] Fig.11 It is a schematic diagram of the process of deleting a rod segment of the present invention;

[0050] Fig.12 It is a truss selection control program and parameter display diagram of the present invention;

[0051] Fig.13 Generate plug-in connection diagrams for plane trusses;

[0052] Fig.14 a is the connection diagram between the plug-in battery and the geometric battery, Fig.14 b is a truss selection diagram of the model embodiment 1 of the present invention;

[0053] Fig.15 a is a schematic diagram of the input parameters of the plane truss. Fig.15 b is Fig.15 The result of a is shown in Fig.

[0054] Fig.16 a is Fig.15 Add the web parameters to the plane truss input end parameters based on a. Fig.16 b is Fig.16 The result of a is shown in Fig.

[0055] Fig.17 Create a rectangular space truss flow chart for the second model embodiment of the present invention, Fig.17 a is the generated plug-in connection diagram of the rectangular cross-section space truss, Fig.17 b is the connection diagram between the plug-in battery and the geometric battery;

[0056] Fig.18 This is a truss selection diagram for the second model embodiment;

[0057] Fig.19 a is a schematic diagram of the input parameters of a rectangular cross-section space truss. Fig.19 b is Fig.19 a Schematic diagram of the results;

[0058] Fig. 20 a is Fig.19 Add web parameters to the rectangular space truss input end parameters diagram based on a. Fig. 20 b is Fig. 20a Schematic diagram of the results;

[0059] Fig.21 The belly bar form of the present invention has a belly bar modeling parameter variable equal to 1;

[0060] Fig. 22 The web form of the present invention in which the web modeling parameter variable is equal to 2;

[0061] Fig.23 The web form of the present invention in which the web modeling parameter variable is equal to 3;

[0062] Fig.24 The web form of the present invention in which the web modeling parameter variable is equal to 4;

[0063] Fig.25 It is a web form in which the web shaping parameter variable of the present invention is equal to 5. DETAILED DESCRIPTION

[0064] In order to enable those skilled in the art to better understand the present invention, the technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0065] like Figure 1-12 As shown in the figure, a general parametric modeling implementation method of various truss forms based on Grasshopper includes the following steps:

[0066] 1) Create three basic points, two of which are endpoints and the third point is the midpoint between the two endpoints;

[0067] 2) Connect the three points to form the lower chord of the truss and offset them along the z-axis to obtain two offset endpoints and an offset mid-span node, and connect the three offset points to generate the upper chord of the truss;

[0068] 3) Divide the upper and lower chords into equal segments with the mid-span node as the boundary;

[0069] 4) The upper and lower equally divided points are divided into groups and blocks through the Partition List operator, and then the rod segments are connected to obtain the inclined web rod;

[0070] 5) The web member forms are represented by the numbers 15 through logical relationships, and then the plane truss is obtained;

[0071] 6) Based on the plane truss, the members and the equally divided points are offset according to the topological relationship between different trusses, and the segments and webs are connected in the same way to obtain five other different forms of trusses;

[0072] 7) Delete invalid rod sections;

[0073] 8) The six generated trusses are represented by the number 16 respectively through mathematical logic operations.

[0074] The specific steps for creating points in step 1) are as follows: create three basic points P1, P2, and P3, where P1 is the origin and P2 is the distal end point; the coordinate of P1 on the x-axis is xP1, the coordinate of P2 on the x-axis is xP2, the coordinate of P1 on the z-axis is zP1, the coordinate of P2 on the z-axis is zP2, the distance between P1 and P2 is the difference between the x-axis coordinate of P1 and the x-axis coordinate of P2, and the difference is the truss span L, P3 is the midpoint between P1 and P2, xP3 is the coordinate of P3 on the x-axis, and zP3 is the coordinate of P3 on the z-axis, that is, xP3=0.5*(xP1+xP2), zP3=0.5*(zP1+zP2).

[0075] In step 2), P1 and P2 are connected to P3 respectively to form the lower chord of the truss, and P1, P2, and P3 are offset along the z-axis to obtain the offset endpoint P1', the offset endpoint P2', and the offset mid-span node P3'; the distance between P1 and P1', and between P2 and P2' is the endpoint offset, and the two endpoint offsets are the same, and the endpoint offset is the end height H1; the distance between P3 and P3' is the mid-span offset, and the mid-span offset is the mid-span height H2, and then P1' and P2' are connected to P3' respectively to generate the upper chord of the truss.

[0076] In step 3), the upper and lower chords are divided into two parts, left and right, with P3P3' as the boundary. Each part is divided into the same number of segments, and the maximum number of segments does not exceed 10. If the number of segments of each part is greater than 10, it is necessary to expand the number of groups of the size as list port of the operator Partition List in the grouping program segment. The number of segments is controlled by the operator number slider, and the number of equal segments is the number of half-span intervals N.

[0077] like Figure 2a, 2b, 3a, 3b, 4a and 4b, in step 4), the specific steps of grouping are: based on the plane truss, starting from the end of the truss to the mid-span node, the upper and lower chords are divided into groups of four, that is, each group of divided points is numbered (0, 1, 2, 3), and odd-span inclined web members are obtained, that is, the grouping method is {2; 2; 2; 2; 2}; based on the plane truss, starting from the end of the truss, the second column of divided points, until the mid-span node, the upper and lower chords are divided into groups of four, that is, the upper and lower chords at the end are numbered (0, 1) It is a separate group, starting from the second column at the end, and the equally divided points are numbered (0, 1, 2, 3) as a group, so as to obtain an even-span inclined web member, that is, the grouping method is {1; 2; 2; 2; 2; 2}. If the number of equally divided segments is increased, the number of numbers 2 in the grouping method can be expanded so that the sum of their numbers is greater than or equal to the number of segments or the number of half-span internodes; after the grouping is completed, except for the even-span end, each group of upper and lower chords has a total of four equally divided points, which are sorted clockwise. The sorting method on the left side of the mid-span node is {0; 1; 3; 2}, and the sorting method on the right side of the mid-span node is {0; 2; 3; 1}. Use the operator List Item to select, connect nodes 0 and 3 to form an outward-inclined web member, and the top of the outward-inclined web member is connected to the upper chord node of the group far away from the mid-span node; connect nodes 1 and 2 to form an inward-inclined web member, and the top of the inward-inclined web member is connected to the upper chord node of the group close to the mid-span node.

[0078] By grouping the truss nodes, after grouping, the web member can change with the change of the number of internodes, which ensures that the web member can maintain normal connection when the number of internodes is different, and there will be no rod connection errors due to the increase or decrease of the number of internodes, that is, the equal-dividing points. Two web member forms can be added, which is equivalent to enriching the shape. If it is simply offset to achieve outward or inward inclination, there will be two fewer web member forms. If all points are simply selected for connection, although there can be five shapes, the number of internodes is fixed. Once the number of internodes is changed, errors will occur in the rod segment connection. Therefore, grouping can take both into account.

[0079] like Figure 1 As shown, in step 5), the specific steps of representing the belly member form by the number 15 through the logical relationship are: by means of the operator equality and the operator cull pattern, the operator equality A end is connected to the belly member modeling parameter variable output by the operator ListItem, the B end is connected to the five numbers 15 respectively, and the "=" end is connected to the operator cullpattern. When the belly member modeling parameter variable is equal to the value, the belly member modeling represented by the value will be calculated and drawn, and the other belly member models will not be calculated and generated, so that each parameter has only one modeling corresponding to it;

[0080] 1) If Fig.21As shown in the figure, when the web member modeling parameter variable = 1, the web member modeling is two completely identical trapezoids combined into a truss, the lower chord of the truss is a straight line, the lower base of the trapezoid coincides, and a plurality of equally spaced vertical web members are arranged between the upper and lower chords of the truss. From the upper base of the trapezoid to the mid-span node, a span is formed between every two adjacent vertical web members, and the left end point of the upper chord and the right end point of the lower chord in each span are connected by a rod segment to form a left-leaning web member, and the right end point of the upper chord and the left end point of the lower chord in each span are connected by a rod segment to form a right-leaning web member, and each span of the left trapezoidal truss is provided with a left-leaning web member, and each span of the right trapezoidal truss is provided with a right-leaning web member;

[0081] 2) If Fig. 22 As shown in the figure, when the web member modeling parameter variable = 2, the web member modeling is two completely identical trapezoids combined into a truss, the lower chord of the truss is a straight line, the lower base of the trapezoid coincides, and a plurality of equally spaced vertical web members are arranged between the upper and lower chords of the truss. From the upper base of the trapezoid to the mid-span node, a span is formed between every two adjacent vertical web members, and the left end point of the upper chord and the right end point of the lower chord in each span are connected by a rod segment to form a left-leaning web member, and the right end point of the upper chord and the left end point of the lower chord in each span are connected by a rod segment to form a right-leaning web member, and each span of the left trapezoidal truss is fixedly connected with a right-leaning web member, and each span of the right trapezoidal truss is fixedly connected with a left-leaning web member;

[0082] 3) If Fig.23 As shown in the figure, when the web member modeling parameter variable = 3, the web member modeling is two completely identical trapezoids combined into a truss, the lower chord of the truss is a straight line, the lower base of the trapezoid coincides, and a plurality of equally spaced vertical web members are arranged between the upper and lower chords of the truss. From the upper base of the trapezoid to the mid-span node, an internode is formed between every two adjacent vertical web members, and the left end point of the upper chord and the right end point of the lower chord in each internode are connected by a rod segment to form a left-leaning web member, and the right end point of the upper chord and the left end point of the lower chord in each internode are connected by a rod segment to form a right-leaning web member, and every two adjacent internodes form a large group, and the two internodes of a large group are respectively fixedly connected with a left-leaning web member and a right-leaning web member, the top ends of the left-leaning web member and the right-leaning web member are connected, and the left-leaning web member, the right-leaning web member and the lower chords of the two internodes form a triangle together;

[0083] 4) If Fig.24As shown, when the web member modeling parameter variable = 4, the web member modeling is two completely identical trapezoids combined into a truss, the lower chord of the truss is a straight line, the lower base of the trapezoid coincides, and a plurality of equally spaced vertical web members are arranged between the upper and lower chords of the truss. From the upper base of the trapezoid to the mid-span node, a node is formed between every two adjacent vertical web members, and the left end point of the upper chord and the right end point of the lower chord in each node are connected by a rod segment to form a left-leaning web member, and the right end point of the upper chord and the left end point of the lower chord in each node are connected by a rod segment to form a right-leaning web member, and every two adjacent nodes form a large group, and the two nodes of a large group are respectively fixedly connected with a left-leaning web member and a right-leaning web member, the bottom ends of the left-leaning web member and the right-leaning web member are connected, and the left-leaning web member, the right-leaning web member and the lower chords of the two nodes together form an inverted triangle;

[0084] 5) If Fig.25 As shown in the figure, when the web member modeling parameter variable = 5, the web member modeling is two completely identical trapezoids combined into a truss, the lower chord of the truss is a straight line, the lower base of the trapezoid coincides, and a plurality of equally spaced vertical web members are arranged between the upper and lower chords of the truss. From the upper base of the trapezoid to the mid-span node, an internode is formed between every two adjacent vertical web members, and in each internode, the left end point of the upper chord and the right end point of the lower chord are connected by a rod segment to form a left-leaning web member, and in each internode, the right end point of the upper chord and the left end point of the lower chord are connected by a rod segment to form a right-leaning web member, and both left-leaning and right-leaning web members are arranged in each internode.

[0085] In step 6), the specific steps to create other trusses are:

[0086] 1) If Figure 6 As shown, the points dividing the upper and lower chords of the plane truss are offset along the positive direction of the y-axis, and the segments and webs are connected in the same way as above. The connected truss is mirror-copied with the XZ plane as the reference plane, and the corresponding nodes of the single-piece truss before and after the copy are connected by transverse segments to obtain a rectangular space truss;

[0087] 2) If Figure 7 As shown, the equidistant points of the upper chord of the plane truss are offset along the positive direction of the y-axis, and the rod segments and web members are connected in the same way as above, the connected truss is mirror-copied with the XZ plane as the reference plane, and the corresponding nodes of the single-piece truss before and after the copy are connected by transverse rod segments to obtain an inverted triangular truss;

[0088] 3) If Figure 8 As shown, the equal division point of the lower chord of the plane truss is offset along the positive direction of the y-axis, and the rod segments and web members are connected in the same way as above, the connected truss is mirror-copied with the XZ plane as the reference plane, and the corresponding nodes of the single-piece truss before and after the copy are connected by transverse rod segments to obtain an equilateral triangle truss;

[0089] 4) If Fig. 9 As shown, an arc is drawn with two offset end points and the offset mid-span point as boundary points, and the arc is equally divided according to the above method, and the rod segments and the web members are connected to obtain an arched plane truss;

[0090] 5) If Fig.10 As shown, the points dividing the upper and lower chords of the arch plane truss are offset in the positive direction of the y-axis, and the segments and webs are connected in the same way as above. The connected truss is mirrored with the XZ plane as the reference plane, and the corresponding nodes of the single-piece truss before and after the copy are connected with transverse segments to obtain the arch space truss.

[0091] like Fig.11 As shown, in step 7), the specific steps of deleting invalid rod segments are: using the Length cell to display the rod segment lengths of the six types of trusses respectively, deleting the invalid rods with a rod segment length of 0, and outputting the deleted rod segments.

[0092] In the step 8), the specific steps of using mathematical logic operations to represent the six types of trusses are as follows: using the operator equality and the operator cull pattern, the operator equality A end is connected to the truss selection parameter variable, the B end is connected to the six numbers 16 respectively, and the "=" end is connected to the operator cull pattern. Only when the selection parameter variable is equal to the value, the truss shape represented by the value will be calculated and drawn, and the other truss shapes will not be calculated and generated, so that each parameter has only one shape corresponding to it;

[0093] 1) If Figure 5 As shown, when the selection parameter variable = 1, the truss is a plane truss;

[0094] 2) If Figure 6 As shown, when the selection parameter variable = 2, the truss is a rectangular space truss;

[0095] 3) If Figure 7 As shown, when the selection parameter variable = 3, the truss is an inverted triangle space truss;

[0096] 4) If Figure 8 As shown, when the selection parameter variable = 4, the truss is an equilateral triangular space truss;

[0097] 5) If Fig. 9 As shown, when the selection parameter variable = 5, the truss is an arched plane truss;

[0098] 6) If Fig.10 As shown, when the selection parameter variable = 6, the truss is an arched space truss.

[0099] Model Example 1

[0100] like Figure 13-16 As shown, use the above modeling implementation method to create a plane truss; press Fig.13The plane truss generation plug-in connection diagram shown is set up, and the specific steps for generating a plane truss are:

[0101] 1) If Fig.14 As shown in a, create the plug-in battery and connect the plug-in battery to the geometric battery;

[0102] 2) If Fig.14 As shown in b, input the number 1 at the input port "Truss Selection" to select the plane truss;

[0103] 3) If Fig.15 a. Fig.15 As shown in Figure 2, enter the required truss parameters at the input end to generate a plane truss with truss type 1, span of 30m, number of half-span sections of 8, end height H1 of 3m, mid-span height H2 of 5m, frame width of 5m, and support height difference of 1m. The above parameters are all required parameters. If there is no parameter, the parameter is set to 0.

[0104] 4) If Fig.16 a. Fig.16 As shown in Figure 2, enter the number 2 in the input "web member form" port, and enter the corresponding truss parameters in other ports to generate a plane truss with a truss type of 1, a web member shape of 2, a span of 30m, 8 half-span nodes, an end height H1 of 3m, a mid-span height H2 of 5m, a frame width of 5m, and a support height difference of 1m.

[0105] Model Example 2

[0106] like Figure 17-20 As shown, use the above modeling implementation method to create a plane truss; follow the Fig.17 The generation plug-in connection diagram of the rectangular cross-section space truss shown in a is set up. The specific steps for generating the space truss are:

[0107] 1) If Fig.17 As shown in b, the plug-in battery is connected to the geometric battery;

[0108] 2) If Fig.18 As shown, input the number 2 at the input end "Truss Selection Port", indicating that a rectangular cross-section space truss is selected;

[0109] 3) If Fig.19 a. Fig.19 As shown in Figure 2, enter the required truss parameters at the input end to generate a rectangular cross-section space truss with a truss type of 2, a span of 30m, 8 half-span sections, an end height H1 of 3m, a mid-span height H2 of 5m, a frame width of 5m, and a horizontal height difference of 0m. The above parameters are all required parameters. If a parameter is missing, the parameter is set to 0.

[0110] 4) If Fig. 20 a. Fig. 20 As shown in Figure 2, enter the number 4 in the input "web member form" port, and enter the corresponding truss parameters in other ports to generate a rectangular cross-section space truss with a truss type of 2, a web member shape of 4, a span of 30m, 8 half-span nodes, an end height H1 of 3m, a mid-span height H2 of 5m, a frame width of 5m, and a horizontal height difference of 0m.

[0111] The above description is only used to illustrate the technical solution of the present invention rather than to limit it. Other modifications or equivalent substitutions made to the technical solution of the present invention by ordinary technicians in this field should be included in the scope of the claims of the present invention as long as they do not depart from the spirit and scope of the technical solution of the present invention.

Claims

1. A general parametric modeling implementation method for various truss forms based on Grasshopper, It is characterized in that The steps include: 1) Create three basic points, two of which are endpoints and the third point is the midpoint between the two endpoints; 2) Connect the three points to form the lower chord of the truss and offset them along the z-axis to obtain two offset endpoints and an offset mid-span node, and connect the three offset points to generate the upper chord of the truss; 3) Divide the upper and lower chords into equal segments with the mid-span node as the boundary; 4) The upper and lower equally divided points are divided into groups and blocks through the Partition List operator, and then the rod segments are connected to obtain the inclined web rod; 5) The web member forms are represented by numbers 1-5 through logical relationships, and then the plane truss is obtained; 6) Based on the plane truss, the members and equally divided points are offset according to the topological relationship between different trusses, and the segments and webs are connected in the same way to obtain five other different forms of trusses; the specific steps are: The points dividing the upper and lower chords of the plane truss are offset in the positive direction of the y-axis, and the rod segments and web members are connected in the same way as above. The connected truss is mirror-copied with the XZ plane as the reference plane, and the corresponding nodes of the single-piece truss before and after the copy are connected with transverse rod segments to obtain a rectangular space truss; The equidistant points of the upper chord of the plane truss are offset in the positive direction of the y-axis, and the rod segments and web members are connected in the same way as above. The connected truss is mirror-copied with the XZ plane as the reference plane, and the corresponding nodes of the single-piece truss before and after the copy are connected with transverse rod segments to obtain an inverted triangular truss; The equal division point of the lower chord of the plane truss is offset along the positive direction of the y-axis, and the rod segments and web members are connected in the same way as above, the connected truss is mirror-copied with the XZ plane as the reference plane, and the corresponding nodes of the single-piece truss before and after the copy are connected with transverse rod segments to obtain an equilateral triangle truss; An arc is drawn with two offset end points and the offset mid-span point as boundary points, and the arc is equally divided according to the above method, and the rod segments and the web members are connected to obtain an arched plane truss; The points dividing the upper and lower chords of the arch plane truss are offset in the positive direction of the y-axis, and the rod segments and web members are connected in the same way as above. The connected truss is mirror-copied with the XZ plane as the reference plane, and the corresponding nodes of the single truss before and after the copy are connected with transverse rod segments to obtain the arch space truss; 7) Delete invalid rod sections; 8) The six generated trusses are represented by numbers 1-6 respectively through mathematical logic operations.

2. According to claim 1, a method for implementing universal parametric modeling of various truss forms based on Grasshopper, Features: The specific steps of creating points in step 1) are: creating three basic points P1, P2, and P3, where P1 is the origin and P2 is the far end point; the coordinate of P1 on the x-axis is x P1 , the coordinate of P2 on the x-axis is x P2 , the coordinate of P1 on the z-axis is z P1 , the coordinate of P2 on the z-axis is z P2 , the distance between P1 and P2 is the difference between the x-axis coordinate of P1 and the x-axis coordinate of P2, the difference is the truss span L, P3 is the midpoint between P1 and P2, x P3 is the coordinate of P3 on the x-axis, z P3 is the coordinate of P3 on the z-axis, that is, x P3 =0.5*(x P1 +x P2 ),z P3 =0.5*(z P1 +z P2 ).

3. According to the Grasshopper-based general parametric modeling implementation method for various truss forms as described in claim 1, Features: In the step 2), P1 and P2 are connected to P3 respectively to form the lower chord of the truss, and P1, P2, and P3 are offset along the z-axis to obtain an offset endpoint P1', an offset endpoint P2', and an offset mid-span node P3'; the distance between P1 and P1', and between P2 and P2' is the endpoint offset, and the two endpoint offsets are the same, and the endpoint offset is the end height H1; the distance between P3 and P3' is the mid-span offset, and the mid-span offset is the mid-span height H2, and then P1' and P2' are connected to P3' respectively to generate the upper chord of the truss.

4. According to claim 1, a Grasshopper-based universal parametric modeling implementation method for various truss forms, Features: In the step 3), the upper and lower chords are divided into two parts with P3-P3' as the boundary, and each part is divided into the same number of segments and the maximum number of segments does not exceed 10. The number of segments is controlled by the operator number slider, and the number of equal segments is the number N of half span intervals.

5. A Grasshopper-based universal parametric modeling implementation method for various truss forms according to claim 1 or 4, Features: In step 4), the specific steps of grouping are as follows: based on the plane truss, starting from the end of the truss to the mid-span node, the upper and lower chords are divided into groups of four, that is, each group of divided points is numbered (0, 1, 2, 3), and odd-span inclined web members are obtained, that is, the grouping method is {2; 2; 2; 2; 2}; based on the plane truss, starting from the end of the truss, the second column of divided points is divided into groups of four, and the upper and lower chords are divided into groups of four, that is, the upper and lower chords at the end are numbered (0, 1) separately. A group, starting from the second column at the end, the equally divided points are numbered (0, 1, 2, 3) as a group, so as to obtain the inclined web members of even spans, that is, the grouping method is {1; 2; 2; 2; 2; 2}. If the number of equally divided segments is increased, the number of numbers 2 in the grouping method can be expanded so that the sum of their numbers is greater than or equal to the number of segments or the number of half-span internodes; after the grouping is completed, except for the end of the even span, each group of upper and lower chords has a total of four equally divided points, which are arranged in a clockwise order. The order on the left side of the mid-span node is {0; 1; 3; 2}, and the order on the right side of the mid-span node is {0; 2; 3; 1}, select with operator List Item, connect nodes 0 and 3 to form an outward-inclined web member, the top of which is connected to the upper chord node of the group far from the mid-span node; connect nodes 1 and 2 to form an inward-inclined web member, the top of which is connected to the upper chord node of the group close to the mid-span node.

6. According to the Grasshopper-based general parametric modeling implementation method for various truss forms as described in claim 1, Features: In the step 5), the specific steps of representing the belly member form by numbers 1-5 through logical relationships are as follows: by means of the operator equality and the operator cull pattern, the operator equality A end is connected to the belly member modeling parameter variable output by the operator List Item, the B end is connected to five numbers 1-5 respectively, and the "=" end is connected to the operator cull pattern. When the belly member modeling parameter variable is equal to the value, the belly member modeling represented by the value will be calculated and drawn, and the other belly member models will not be calculated and generated, so that each parameter has only one modeling corresponding to it; 1) When the web member modeling parameter variable = 1, the web member modeling is two identical trapezoids combined into a truss, the lower chord of the truss is a straight line, the lower base of the trapezoid coincides, and a plurality of equally spaced vertical web members are arranged between the upper and lower chords of the truss. From the upper base of the trapezoid to the mid-span node, a node is formed between every two adjacent vertical web members, and the left end point of the upper chord and the right end point of the lower chord in each node are connected by a rod segment to form a left-leaning web member, and the right end point of the upper chord and the left end point of the lower chord in each node are connected by a rod segment to form a right-leaning web member. A left-leaning web member is arranged in each node of the left trapezoidal truss, and a right-leaning web member is arranged in each node of the right trapezoidal truss; 2) When the web member modeling parameter variable = 2, the web member modeling is two identical trapezoids combined into a truss, the lower chord of the truss is a straight line, the lower base of the trapezoid coincides, and a plurality of equally spaced vertical web members are arranged between the upper and lower chords of the truss. From the upper base of the trapezoid to the mid-span node, a node is formed between every two adjacent vertical web members, and the left end point of the upper chord and the right end point of the lower chord in each node are connected by a rod segment to form a left-leaning web member, and the right end point of the upper chord and the left end point of the lower chord in each node are connected by a rod segment to form a right-leaning web member, and each node of the left trapezoidal truss is fixedly connected with a right-leaning web member, and each node of the right trapezoidal truss is fixedly connected with a left-leaning web member; 3) When the web member modeling parameter variable = 3, the web member modeling is two identical trapezoids combined into a truss, the lower chord of the truss is a straight line, the lower base of the trapezoid coincides, and a plurality of equally spaced vertical web members are arranged between the upper and lower chords of the truss. From the upper base of the trapezoid to the mid-span node, an internode is formed between every two adjacent vertical web members, and the left end point of the upper chord and the right end point of the lower chord in each internode are connected by a rod segment to form a left-leaning web member, and the right end point of the upper chord and the left end point of the lower chord in each internode are connected by a rod segment to form a right-leaning web member, and every two adjacent internodes form a large group, and the two internodes of a large group are respectively fixedly connected with a left-leaning web member and a right-leaning web member, the top ends of the left-leaning web member and the right-leaning web member are connected, and the left-leaning web member, the right-leaning web member and the lower chords of the two internodes form a triangle together; 4) When the web member modeling parameter variable = 4, the web member modeling is two identical trapezoids combined into a truss, the lower chord of the truss is a straight line, the lower base of the trapezoid coincides, and a plurality of equally spaced vertical web members are arranged between the upper and lower chords of the truss. From the upper base of the trapezoid to the mid-span node, an internode is formed between every two adjacent vertical web members, and the left end point of the upper chord and the right end point of the lower chord in each internode are connected by a rod segment to form a left-leaning web member, and the right end point of the upper chord and the left end point of the lower chord in each internode are connected by a rod segment to form a right-leaning web member, and every two adjacent internodes form a large group, and the two internodes of a large group are respectively fixedly connected with a left-leaning web member and a right-leaning web member, the bottom ends of the left-leaning web member and the right-leaning web member are connected, and the left-leaning web member, the right-leaning web member and the lower chords of the two internodes form an inverted triangle together; 5) When the web member modeling parameter variable = 5, the web member modeling is a truss composed of two completely identical trapezoids, the lower chord of the truss is a straight line, the lower base of the trapezoid coincides, and a plurality of equally spaced vertical web members are arranged between the upper and lower chords of the truss. From the upper base of the trapezoid to the mid-span node, an internode is formed between every two adjacent vertical web members, and in each internode, the left end point of the upper chord and the right end point of the lower chord are connected by a rod segment to form a left-leaning web member, and in each internode, the right end point of the upper chord and the left end point of the lower chord are connected by a rod segment to form a right-leaning web member, and both left-leaning and right-leaning web members are arranged in each internode.

7. According to the Grasshopper-based universal parametric modeling implementation method for various truss forms as described in claim 1, Features: In the step 7), the specific steps of deleting invalid rod segments are: using the operator Length to display the rod segment lengths of the six types of trusses respectively, deleting invalid rods with a rod segment length of 0, and outputting the deleted rod segments.

8. According to the Grasshopper-based general parametric modeling implementation method for various truss forms as described in claim 1 or 6, Features: In the step 8), the specific steps of using mathematical logic operations to represent the six types of trusses generated with numbers 1-6 are as follows: using the operator equality and the operator cullpattern, the operator equality A end is connected to the truss selection parameter variable, the B end is connected to the six numbers 1-6 respectively, and the "=" end is connected to the operator cullpattern. Only when the selection parameter variable is equal to the value, the truss shape represented by the value will be calculated and drawn, and the other truss shapes will not be calculated and generated, so that each parameter has only one shape corresponding to it; 1) When the selection parameter variable = 1, the truss is a plane truss; 2) When the selection parameter variable = 2, the truss is a rectangular space truss; 3) When the selected parameter variable = 3, the truss is an inverted triangle space truss; 4) When the selected parameter variable = 4, the truss is an equilateral triangular space truss; 5) When the selection parameter variable = 5, the truss is an arched plane truss; 6) When the selection parameter variable = 6, the truss is an arched space truss.

Citation Information

Cited By

  • Landscape ground node parametric modeling method based on Rhino and Grasshopper

    CN115563667A

  • A Parametric Modeling Method for Landscape Ground Nodes Based on Rhino and Grasshopper

    CN115563667B