Grasshopper-based building facade joint graph parameterized drawing method, computer equipment and storage medium
Through the parameterized drawing method based on Grasshopper, the building facade sewing drawing is automatically generated and quickly modified, which solves the problems of cumbersome and inefficient calculations in the traditional manual drawing method, and realizes efficient and accurate drawing and modification of building facade sewing drawing.
Patent Information
- Application Number
- CN202411868638.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-18
- Publication Date
- 2025-05-16
AI Technical Summary
Traditional manual drawing of building facade splitting drawings requires tedious calculations and a lot of time, and it is difficult to predict the overall effect after the drawing is completed, resulting in slow drawing speed and low work efficiency.
The parameterized drawing method based on Grasshopper is adopted to automatically generate the building facade split drawing by inputting basic parameters of the building facade, such as the number of building floors, floor height, beam height, seam spacing and seam width, and allow the model to be quickly modified by adjusting the parameters.
It realizes rapid generation and efficient modification of building facade splitting drawings, improves modeling speed and accuracy, reduces designers' work costs, and greatly improves the work efficiency of the architectural design industry.
Smart Images

Figure CN120014097A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of visual modeling, and in particular to a parametric drawing method of a building facade seam diagram based on Grasshopper, a computer device and a storage medium. Background Art
[0002] In architectural design, the building facade joint diagram is often designed based on the building facade outline and doors and windows, combined with the mechanical properties of the materials and architectural aesthetics. The traditional drawing method is manual drawing through the Autodesk Autocad software platform. However, the traditional manual drawing of the building facade joint diagram often requires tedious calculations and a lot of time, and it is difficult to foresee the overall effect after the joint diagram is drawn. The traditional drawing method is not only slow in drawing speed, but also leads to a large number of repeated calculations and modifications in the later optimization and adjustment process, which makes the drawing time cycle long and the work efficiency low.
[0003] Grasshopper is a visual modeling plug-in that runs on the Rhino platform. It is a parametric modeling plug-in that generates models by programming algorithms. It models through the basic logic of input, calculation processing and output, providing a convenient and efficient way for architectural designers to use programming to build models. Summary of the invention
[0004] The purpose of the present invention is to overcome the shortcomings of the above-mentioned background technology and provide a parametric drawing method of building facade seam diagram based on Grasshopper.
[0005] The technical solution adopted by the present invention is: the present invention provides a parametric drawing method of a building facade seam diagram based on Grasshopper, comprising the following steps:
[0006] S1: Pick up the horizontal outline of the building;
[0007] S2: Input the basic parameters of the building facade, including the number of building floors F, building floor height H, beam height h, odd-numbered floor joint spacing w1, even-numbered floor joint spacing w2, horizontal joint width w3, and vertical joint width w4;
[0008] S3: According to the number of building floors F and the building floor height H, the inter-floor line is obtained;
[0009] S4: According to the beam height h, the beam line is obtained;
[0010] S5: Generate horizontal slits V1 according to the transverse slit width w3;
[0011] S6: Pick up the vertical contour line of the building;
[0012] S7: Divide the vertical contour lines into odd-numbered floors and even-numbered floors according to the number of floors of the building;
[0013] S8: Obtain odd-numbered layer and even-numbered layer splitting according to odd-numbered layer splitting spacing w1 and even-numbered layer splitting spacing w2;
[0014] S9: Generate vertical split seams V2 according to the vertical seam width W4;
[0015] S10: Bake the generated horizontal seams V1 and vertical seams V2 in corresponding layers.
[0016] As a preferred embodiment, in step S3, according to the number of building floors F and the building floor height H, the picked building transverse contour lines are arranged according to the arithmetic progression a n =(n-1)H for offset, where n=F, to obtain the interlayer line.
[0017] As a preferred implementation, in step S4, the interlayer line is offset vertically, and the offset is equal to the beam height h to obtain the beam line.
[0018] As a preferred implementation, in step S5, the obtained interlayer lines and beam lines are offset according to the transverse seam width w3, and the offset is equal to the seam width w3, so as to generate a horizontal split seam V1.
[0019] As a preferred implementation, in step S8, according to the odd-numbered layer slit spacing w1 and the even-numbered layer slit spacing w2, the vertical contour lines are offset according to the slit spacings to obtain odd-numbered layer slits and even-numbered layer slits.
[0020] As a preferred embodiment, in the step S9, vertical slits V2 are generated according to the vertical slit width W4 by alternating odd-numbered layers and even-numbered layers of slits.
[0021] As a preferred implementation method, when the building facade plan needs to be adjusted, by adjusting the parameters of the building storey F, building storey height H, beam height h, odd-numbered layer joint spacing w1, even-numbered layer joint spacing w2, horizontal joint width w3, and vertical joint width w4, the adjusted facade joint diagram model Vx with different characteristics is obtained.
[0022] The present invention also provides a computer device, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the parametric drawing method of the building facade seam diagram based on Grasshopper as described above is implemented.
[0023] The present invention also provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the parametric drawing method of a building facade seam diagram based on Grasshopper as described above is implemented.
[0024] Compared with the prior art, the present invention has the following advantages:
[0025] Firstly, the present invention uses the building number of floors F, building floor height H, beam height h, odd-numbered floor joint spacing w1, even-numbered floor joint spacing w2, horizontal joint width w3, vertical joint width w4 and other dimensions as input parameters to automatically and quickly generate a building facade joint diagram. During the modification process of the building facade joint diagram, the corresponding parameters can be directly adjusted to change the effect of the facade joint diagram.
[0026] Secondly, the present invention breaks through the traditional manual modeling technology and applies the writing of visual compilation programs to the drawing of building facade joint diagrams, which not only improves the modeling speed and accuracy and the drawing efficiency, but also avoids a large number of repeated calculations as the building facade plan is adjusted and modified in the later stage. The model can be quickly modified by directly adjusting the parameters in the program, which reduces the designer's work cost, greatly improves the work efficiency of the architectural design industry, and provides designers with a set of effective drawing methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a schematic diagram of the process of the parametric drawing method of the building facade joint diagram based on Grasshopper of the present invention;
[0028] Figure 2 It is a plug-in connection diagram of a building facade seam diagram provided by an embodiment of the present invention;
[0029] Figure 3 It is a schematic diagram of a building facade seam diagram provided by an embodiment of the present invention;
[0030] Figure 4 It is a building facade joint diagram generated by adjusting parameters provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0031] The specific embodiments of the present invention are further described below in conjunction with the accompanying drawings. It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0032] like Figure 1 As shown in the figure, a parametric drawing method of building facade seam diagram based on Grasshopper includes the following steps:
[0033] S1: Pick up the horizontal outline of the building;
[0034] S2: Input the basic parameters of the building facade, including the number of building floors F, building floor height H, beam height h, odd-numbered floor joint spacing w1, even-numbered floor joint spacing w2, horizontal joint width w3, and vertical joint width w4;
[0035] S3: According to the number of building floors F and the building floor height H, the picked building horizontal contour lines are arranged according to the arithmetic progression a n =(n-1)H for offset, where n=F, to obtain the interlayer line;
[0036] S4: offset the interlayer line vertically, the offset amount is equal to the beam height h, and obtain the beam line;
[0037] S5: according to the transverse seam width w3, the obtained interlayer line and beam line are offset, and the offset is equal to the seam width w3, to generate the horizontal direction split seam V1;
[0038] S6: Pick up the vertical contour line of the building;
[0039] S7: Divide the vertical contour lines into odd-numbered floors and even-numbered floors according to the number of floors of the building;
[0040] S8: According to the odd-numbered layer split spacing w1 and the even-numbered layer split spacing w2, the vertical contour lines are offset according to the split spacing to obtain the odd-numbered layer split spacing and the even-numbered layer split spacing;
[0041] S9: In the step S9, according to the vertical seam width W4, vertical seams V2 are generated by alternating odd-numbered layers and even-numbered layers of seams;
[0042] S10: Bake the generated horizontal seams V1 and vertical seams V2 in corresponding layers.
[0043] When the building facade plan needs to be adjusted, the adjusted facade joint diagram model Vx with different characteristics is obtained by adjusting the parameters of the building number of floors F, building floor height H, beam height h, odd-numbered floor joint spacing w1, even-numbered floor joint spacing w2, horizontal joint width w3, and vertical joint width w4.
[0044] The present invention also provides a computer device, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the parametric drawing method of the building facade seam diagram based on Grasshopper as described above is implemented.
[0045] The present invention also provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the parametric drawing method of a building facade seam diagram based on Grasshopper as described above is implemented.
[0046] The parametric drawing method of building facade joint diagram based on Grasshopper can greatly improve the drawing speed and accuracy of building facade joint diagram and improve design efficiency by inputting relevant parameters of building facade joint diagram and quickly generating vertical and horizontal joints of building facade. By utilizing the basic logic of the parametric modeling technology and adjusting the parameters in the program algorithm, the corresponding visualization model can be efficiently generated.
[0047] The present invention breaks through the traditional manual modeling technology and applies the writing of visual compilation programs to the drawing of building facade joint drawings. It not only improves the modeling speed and accuracy and the drawing efficiency, but also avoids a large number of repeated calculations with the adjustment and modification of the building facade plan in the later stage. The model can be quickly modified by directly adjusting the parameters in the program, which reduces the work cost of designers, greatly improves the work efficiency of the architectural design industry, and provides designers with a set of effective drawing methods.
[0048] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. The contents not described in detail in this specification belong to the prior art known to professional and technical personnel in the field.
Claims
1. A parametric drawing method for building facade seam diagram based on Grasshopper, characterized by: The steps include: S1: Pick up the horizontal outline of the building; S2: Input the basic parameters of the building facade, including the number of building floors F, building floor height H, beam height h, odd-numbered floor joint spacing w1, even-numbered floor joint spacing w2, horizontal joint width w3, and vertical joint width w4; S3: According to the number of building floors F and the building floor height H, the inter-floor line is obtained; S4: According to the beam height h, the beam line is obtained; S5: Generate horizontal slits V1 according to the transverse slit width w3; S6: Pick up the vertical contour line of the building; S7: Divide the vertical contour lines into odd-numbered floors and even-numbered floors according to the number of floors of the building; S8: Obtain odd-numbered layer and even-numbered layer splitting according to odd-numbered layer splitting spacing w1 and even-numbered layer splitting spacing w2; S9: Generate vertical split seams V2 according to the vertical seam width W4; S10: Bake the generated horizontal seams V1 and vertical seams V2 in corresponding layers.
2. The parametric drawing method of building facade seam diagram based on Grasshopper according to claim 1 is characterized in that: In step S3, according to the number of building floors F and the building floor height H, the picked building transverse contour lines are arranged according to the arithmetic progression a n =(n-1)H for offset, where n=F, to obtain the interlayer line.
3. The parametric drawing method of building facade seam diagram based on Grasshopper according to claim 2 is characterized in that: In step S4, the interlayer line is offset vertically, and the offset is equal to the beam height h to obtain the beam line.
4. The parametric drawing method of building facade seam diagram based on Grasshopper according to claim 3 is characterized in that: In the step S5, according to the transverse seam width w3, the obtained interlayer lines and beam lines are offset, and the offset is equal to the seam width w3, so as to generate the horizontal direction seam V1.
5. The parametric drawing method of building facade seam diagram based on Grasshopper according to claim 4 is characterized in that: In the step S8, according to the odd-numbered layer split spacing w1 and the even-numbered layer split spacing w2, the vertical contour lines are offset according to the split spacing to obtain the odd-numbered layer split spacing and the even-numbered layer split spacing.
6. The parametric drawing method of building facade seam diagram based on Grasshopper according to claim 5 is characterized in that: In the step S9, vertical slits V2 are generated according to the vertical slit width W4 by alternating odd-numbered layers and even-numbered layers of slits.
7. The parametric drawing method of building facade seam diagram based on Grasshopper according to any one of claims 1 to 6, characterized in that: When the building facade plan needs to be adjusted, the adjusted facade joint diagram model Vx with different characteristics is obtained by adjusting the parameters of the building number of floors F, building floor height H, beam height h, odd-numbered floor joint spacing w1, even-numbered floor joint spacing w2, horizontal joint width w3, and vertical joint width w4.
8. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the parametric drawing method of building facade seam diagram based on Grasshopper as described in any one of claims 1 to 7 when executing the computer program.
9. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method for parametric drawing of a building facade seam diagram based on Grasshopper according to any one of claims 1 to 7 is implemented.