A method for deepening the three-dimensional process of garden landscaping based on Python algorithm

CN117132707BActive Publication Date: 2024-10-29ARCHITECTURAL DESIGN & RES INST OF SOUTH CHINA UNIV OF TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311002137.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-10
Publication Date
2024-10-29
Estimated Expiration
2043-08-10

AI Technical Summary

Technical Problem

[0003]由于前期方案的“高艺术化构思”与后期施工的“高落地性优化”,导致目前园林行业内存在非参数化异形造景的概念方案设计与施工端口严重脱节现象:一方面从事园林异形造景的概念设计师不具备数字化处理及自动化出图技术,难以在确保艺术造型的同时,可较好衔接深化及施工落地;另一方面,衔接施工端口的工程师不具备艺术造型思维,在模数合理化及结构合理化过程中,易大量损失异形造景建构筑物其艺术造型的美观程度,因此在不引入二次深化顾问的前提下,设计方对设计落地把控难以到位

Benefits of technology

[0032] 1. The present invention can realize non-parametric, complex special-shaped customized garden structures or garden building units, complete digital control of the entire process from design to construction, and has the advantages of simple operation, high visualization, and automatic module processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117132707B_ABST
    Figure CN117132707B_ABST
Patent Text Reader

Abstract

The invention discloses a three-dimensional process deepening method for garden landscaping based on a python algorithm, comprising the following steps in order: analyzing a conceptual model of a special-shaped rockery to determine deepening control elements; the control elements are divided into original data of a graphic class and original data of a data class; on the premise that the number of rows and columns of a rough material facade are confirmed, combining the core parameters of the conceptual model of the special-shaped rockery, generating a cutting facade, and constructing a grasshopper parameterized deepening framework, inputting the cutting facade into the grasshopper parameterized deepening framework to obtain a cutting facade drawing; inputting the cutting facade drawing, and after removing the internal structure of the mountain model, performing data integration and shape optimization of the special-shaped rockery module; realizing automatic export of the deepening model and drawing; encapsulating the above algorithm as a data visualization plug-in; using the automatic drawing material, combining with subsequent forward modeling software, and cooperating with the manufacturer's process for proofing and production.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automated auxiliary design and digital construction, and in particular to a three-dimensional process deepening method for garden landscaping based on a Python algorithm. Background Art

[0002] Although there are many practices in domestic construction projects that use digital technology to deepen the technology of special-shaped buildings, and there are also a series of research and practices in 3D printing and construction robot technology; however, there are fewer studies and practices in the garden landscape industry. In addition, there are many artistically conceived, non-parametric, non-data-logical, special-shaped, and extremely difficult to deepen structures or garden building units in garden landscaping, but there are few relevant garden design platforms and construction technology organizations in China that are engaged in the practice of "the whole process from conceptual plan to construction implementation". Therefore, there is an urgent need to use more convenient computer algorithms to optimize the modeling data and form a three-dimensional model that can be deepened and adjusted easily.

[0003] Due to the "highly artistic conception" of the early plan and the "highly implementable optimization" of the later construction, there is a serious disconnect between the conceptual design of non-parametric special-shaped landscaping and the construction port in the current garden industry: on the one hand, the conceptual designers engaged in garden special-shaped landscaping do not have digital processing and automated drawing technology, and it is difficult to ensure artistic modeling while better connecting the deepening and construction implementation; on the other hand, the engineers connecting the construction port do not have artistic modeling thinking, and in the process of modular rationalization and structural rationalization, it is easy to lose a lot of the aesthetic degree of the artistic modeling of the special-shaped landscaping structures. Therefore, without the introduction of secondary deepening consultants, it is difficult for the design party to fully control the design implementation. Summary of the invention

[0004] The purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art and provide a three-dimensional garden landscaping process deepening method based on Python algorithm.

[0005] The purpose of the present invention is achieved through the following technical solutions:

[0006] The method for deepening the three-dimensional process of garden landscaping based on Python algorithm includes the following steps in order:

[0007] S1. Analyze the conceptual model of the special-shaped rockery to determine the deepening control elements; the control elements are divided into the original data of the graphic class and the original data of the data class; the original data of the graphic class includes the mountain model, the mountain facade contour line, the mountain facade bottom edge line, the cutting control line, the internal structure, and the layout map expansion point; the original data of the data class includes the mountain height, the mountain length, the mountain one-way depth, the rough material length, the rough material height, and the rough material depth;

[0008] S2. On the premise that the number of rows and columns of the rough material facade is confirmed, the cutting facade is generated in combination with the core parameters of the conceptual model of the special-shaped rockery, and a grasshopper parametric deepening framework is constructed. The cutting facade is input into the grasshopper parametric deepening framework to obtain a cutting facade drawing; the core parameters of the conceptual model of the special-shaped rockery include the mountain facade contour line, the mountain facade bottom line, the cutting control line, and the layout diagram expansion point;

[0009] S3. Input the cut elevation drawing, remove the internal structure of the mountain model, and then use the Python algorithm to integrate the data and optimize the shape of the special-shaped rockery module;

[0010] S4. Use Python algorithm and Grasshopper to automatically export the detailed model and output the drawing;

[0011] S5. Use Python algorithms and software to create plug-ins, encapsulate the grasshopper tool components and process logic involved in steps S2 to S4, and package the whole into a data visualization plug-in;

[0012] S6. Use automated drawing materials, combined with subsequent forward modeling software, and cooperate with the manufacturer's process to carry out proofing and production.

[0013] In step S1, the deepening control elements of the conceptual model of the special-shaped rockery are: it is expected to use control lines to hide the vertical seam lines of the special-shaped rockery as much as possible in the valley, and it is expected to use python programming algorithms and parametric design platforms to achieve automatic detection of rationality and regularity of the cutting control lines by manually inputting them, and finally output a series of automated drawing drawings and produce a three-dimensional model with a high degree of modifiability.

[0014] In step S2, the grasshopper parametric deepening refers to using the grasshopper plug-in (a visual programming plug-in) in the modeling software rhino to perform shape refinement.

[0015] In step S2, constructing the parametric deepening framework of Grasshopper means: in this plug-in interface, using the officially packaged syntax block as a tool, first perform node connection (recommended visual programming), and decompose the modeling steps into several steps (similar to object-oriented programming, first design the relationship framework between class objects, then encapsulate the methods and define the interfaces, and finally determine the parameters and input them for operation); when the node connection framework is completed in Grasshopper, finally input the core parameters of the conceptual model of the special-shaped rockery into the parametric design framework to initialize the deepening design.

[0016] The step S3 is specifically as follows: after determining the deepening control elements, the three core data groups are optimized using the python algorithm in the process of formulating the parametric design framework:

[0017] (1) The first core data group is the vertical seam control points: the horizontal coordinates of the vertical seam control points of a single block are randomly offset using the Python algorithm;

[0018] (2) The second core data group is the horizontal seam control points: for the horizontal coordinates of the vertical seam control points of the single block after random offset and dislocation, if the length between the horizontal coordinates of two adjacent vertical seam control points (i.e., the length of the single block) is not an integer, the horizontal coordinates of the vertical seam control points of the single block are automatically corrected with the help of Python algorithm, and finally the horizontal rough material length is automatically regularized into two specifications of 50 mm and 100 mm;

[0019] The operation here is to increase the visual illusion of the cut pieces in the vertical direction. After ensuring sufficient displacement, step (2) is to ensure that the length of the single cut piece itself is an integer, so that even if the machine is not used for automatic generation in the later stage, it can be convenient for workers to manually process it.

[0020] (3) The third core data group is the data integration of each component after removing the structure (including weight and size):

[0021] After introducing the control line and completing the preliminary cutting (single facade), the python algorithm was also used for data analysis when considering the removal of the internal reinforced concrete structure (white block) and feeding back the loads of each part to the structural engineer for review calculation;

[0022] Use the code and the volume of the stone to calculate the weight of each block and the total weight, and render the data visually (different colors represent blocks of different stone weights, and the calculation results can be found in the final plug-in interface).

[0023] The method of using the Python algorithm to randomly offset the horizontal coordinates of the vertical seam control points of a single block is implemented in the Rhino built-in compiler, specifically: traverse all the rows of the cut elevation drawing; traverse each vertical seam control point in each row; define a random horizontal offset value dex, where y is the upper limit of the offset; extract the horizontal coordinate ix of the vertical control point, and add it to the offset value dex; after adding the horizontal coordinate of the seam point to the random offset value, encapsulate the vertical seam control points of each row and column, and replace the original seam control point list with this newly encapsulated list.

[0024] The method uses a python algorithm to automatically correct the horizontal coordinates of the vertical seam control points of a single cut block, specifically: traverse all the rows of the cut elevation drawing; traverse each vertical seam control point in each row, and determine whether this point is the first or last point in the row: if not, then the horizontal coordinate difference dex between it and the previous control point (i.e., the length of the single cut block) is regularized based on the minimum modulus y (50mm) to remove the remainder; after regularization, the horizontal coordinates of the two points are readjusted; after the horizontal coordinates of the seam points are regularized, the vertical seam control points of each row and column are packaged, and the original seam control point list is replaced with the newly packaged list.

[0025] The step S4 is specifically as follows: utilizing the inherent advantages of the python code encapsulation method and traversal of objects, the four major automated model export and drawing steps of "shape cutting", "reinforced concrete inner cavity structure cutting", "volume and weight statistics of each cut body", and "layout and dimension drawing of each cut body" are pre-written in the form of code methods to realize calculation and automated drawing.

[0026] In step S5, the software production plug-in is humanUIIDE.

[0027] In step S6, the forward modeling software includes Solidworks, Pro-E, Catia, Sketchup, Openscad, Rhino, Maya, Zbrush, Tinkercad, Culptris, Autocad, and 3Dmax.

[0028] At the same time, the present invention provides:

[0029] A server comprises a processor and a memory, wherein the memory stores at least one program, and the program is loaded and executed by the processor to implement the above-mentioned garden landscaping three-dimensional process deepening method based on Python algorithm.

[0030] A computer-readable storage medium stores at least one program, which is loaded and executed by a processor to implement the above-mentioned garden landscaping three-dimensional process deepening method based on Python algorithm.

[0031] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0032] 1. The present invention can realize non-parametric, complex and special-shaped customized garden structures or garden construction units, complete the digital control of the entire process from design to construction, and has the advantages of simple operation, high visualization, and modular automation processing.

[0033] 2. The present invention is based on data optimization processing of Python computer language and visualization software packaging to provide designers of complex garden landscaping structures with an easy-to-operate software environment for deepening landscaping shapes: while using Python algorithm to optimize data, it can greatly visualize and accurately manage various data in the process of deepening landscaping monomers, and use programming knowledge to make a plug-in that can be copied, quantified, and easily modified in terms of shape and data, making it an efficient tool that can be used by designers at different levels (including garden main creative scheme designers, garden construction drawing deepening designers, structural engineers, manufacturer process makers, etc.) to deepen and produce drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 This is a schematic diagram of an irregular rockery (such as a scenic stone mountain).

[0035] Figure 2 This is a schematic diagram of a 1:1 virtual Jingshi Mountain model combined with the construction site.

[0036] Figure 3 Schematic diagram of rough material of the order of 1-2m.

[0037] Figure 4 This is a schematic diagram of the Jingshi Mountain model using the traditional cutting pattern simulated in ShetchUp.

[0038] Figure 5 Schematic diagram of the Jingshi Mountain model with manual input of cutting control lines.

[0039] Figure 6 Schematic diagram of the reinforced concrete foundation structure inside the rockery.

[0040] Figure 7 Schematic diagram of the model before the horizontal coordinates of the vertical seam control points of a single block are randomly offset.

[0041] Figure 8 Schematic diagram of the model after the horizontal coordinates of the vertical seam control points of a single block are randomly offset.

[0042] Fig. 9 Schematic diagram of the model before automatic correction of the horizontal coordinates of the vertical seam control points of a single block.

[0043] Fig.10 Schematic diagram of the model after automatic correction of the horizontal coordinates of the vertical seam control points of a single block.

[0044] Fig.11 Schematic diagram of the model after introducing control lines and completing preliminary cutting, now showing the single-facade exterior.

[0045] Fig.12Schematic diagram of the model after introducing control lines and completing preliminary cutting, now showing the interior of a single facade.

[0046] Fig.13 Rendering of the elevation after incorporating weight load partitions.

[0047] Fig.14 This is a vertical view of the three-dimensional model after cutting and grouping. DETAILED DESCRIPTION

[0048] The present invention is further described in detail below in conjunction with embodiments and drawings, but the embodiments of the present invention are not limited thereto.

[0049] The method for deepening the three-dimensional process of garden landscaping based on Python algorithm includes the following steps in order:

[0050] S1. Analyze the conceptual model of the special-shaped rockery to determine the deepening control elements; the control elements are divided into the original data of the graphic class and the original data of the data class; the original data of the graphic class includes the mountain model, the mountain facade contour line, the mountain facade bottom edge line, the cutting control line, the internal structure, and the layout map expansion point; the original data of the data class includes the mountain height, the mountain length, the mountain one-way depth, the rough material length, the rough material height, and the rough material depth;

[0051] S2. Determine the number of rows of rough blocks required based on the parameter relationship between the mountain height and rough block height;

[0052] The number of rows of rough blocks is equal to the height of the mountain divided by the height of the rough blocks plus 1;

[0053] The cutting control line is determined by the parameter relationship between the length of the mountain and the length of the rough blocks, that is, the number of rough block rows is confirmed;

[0054] The number of rough blocks is equal to the length of the mountain divided by the rough block length plus 1;

[0055] On the premise that the number of rows and columns of the rough material facade is confirmed, the cutting facade is generated by combining the core parameters of the conceptual model of the special-shaped rockery, and the Grasshopper parametric deepening framework is constructed. The cutting facade is input into the Grasshopper parametric deepening framework to obtain the cutting facade drawing;

[0056] Based on the mountain elevation contour line and the mountain bottom line, the outer contour of the rough material is cut to arrange the elevation (first filter out the unnecessary rough material outside the mountain contour), and then the cutting control line is used as the vertical seam basis to subdivide the width of each rough material, and then generate the cutting elevation (such as Fig.10 ).

[0057] The core parameters of the conceptual model of the special-shaped rockery include the mountain elevation contour line, the mountain elevation bottom edge line, the cutting control line, and the layout map expansion point;

[0058] S3. Input the cut elevation drawing, and then use the Python algorithm to remove the internal structure of the mountain model to integrate the data and optimize the shape of the special-shaped rockery module;

[0059] S4. Use Python algorithm and Grasshopper to automatically export the detailed model and output the drawing;

[0060] Based on the relationship between the one-way depth of the mountain and the depth of the rough material, the number of blocks in the depth direction is determined (similarly, the one-way depth of the mountain is divided by the depth of the rough material to get the number of blocks in the depth direction).

[0061] Only after confirming the number of blocks in the depth direction, can we make the block layout expansion diagram mentioned in s4.

[0062] S5. Use Python algorithms and software to create plug-ins, encapsulate the grasshopper tool components and process logic involved in steps S2 to S4, and package the whole into a data visualization plug-in;

[0063] S6. Use automated drawing materials, combined with subsequent forward modeling software, and cooperate with the manufacturer's process to carry out proofing and production.

[0064] In step S1, the deepening control elements of the conceptual model of the special-shaped rockery are: it is expected to use control lines to hide the vertical seam lines of the special-shaped rockery as much as possible in the valley, and it is expected to use python programming algorithms and parametric design platforms to achieve automatic detection of rationality and regularity of the cutting control lines by manually inputting them, and finally output a series of automated drawing drawings and produce a three-dimensional model with a high degree of modifiability.

[0065] In step S2, the grasshopper parametric deepening refers to using the grasshopper plug-in (a visual programming plug-in) in the modeling software rhino to perform shape refinement.

[0066] In step S2, constructing the parametric deepening framework of Grasshopper means: in this plug-in interface, using the officially packaged syntax block as a tool, first perform node connection (recommended visual programming), and decompose the modeling steps into several steps (similar to object-oriented programming, first design the relationship framework between class objects, then encapsulate the methods and define the interfaces, and finally determine the parameters and input them for operation); when the node connection framework is completed in Grasshopper, finally input the core parameters of the conceptual model of the special-shaped rockery into the parametric design framework to initialize the deepening design.

[0067] The step S3 is specifically as follows: after determining the deepening control elements, the three core data groups are optimized using the python algorithm in the process of formulating the parametric design framework:

[0068] (1) The first core data group is the vertical seam control points: the horizontal coordinates of the vertical seam control points of a single block are randomly offset using the Python algorithm;

[0069] (2) The second core data group is the horizontal seam control points: for the horizontal coordinates of the vertical seam control points of the single block after random offset and dislocation, if the length between the horizontal coordinates of two adjacent vertical seam control points (i.e., the length of the single block) is not an integer, the horizontal coordinates of the vertical seam control points of the single block are automatically corrected with the help of Python algorithm, and finally the horizontal rough material length is automatically regularized into two specifications of 50 mm and 100 mm;

[0070] The operation here is to increase the visual illusion of the cut pieces in the vertical direction. After ensuring sufficient displacement, step (2) is to ensure that the length of the single cut piece itself is an integer, so that even if the machine is not used for automatic generation in the later stage, it can be convenient for workers to manually process it.

[0071] (3) The third core data group is the data integration of each component after removing the structure (including weight and size):

[0072] After introducing the control line and completing the preliminary cutting (single facade), the python algorithm was also used for data analysis when considering the removal of the internal reinforced concrete structure (white block) and feeding back the loads of each part to the structural engineer for review calculation;

[0073] Use the code and the volume of the stone to calculate the weight of each block and the total weight, and render the data visually (different colors represent blocks of different stone weights, and the calculation results can be found in the final plug-in interface).

[0074] The random offset of the horizontal coordinates of the vertical seam control points of a single block by using the Python algorithm is implemented in the Rhino built-in compiler, specifically:

[0075] (1) Traverse all the rows of the cut elevation diagram;

[0076] For I in range(0,x.BranchCount);

[0077] (2) Traverse each vertical seam control point in each row;

[0078] For J in range(0, Len(x.Branch(i)));

[0079] (3) Define the random lateral offset value dex, where y is the upper limit of the offset;

[0080] dex=random.randint(0,y);

[0081] (4) extract the horizontal coordinate ix of the vertical control point and add it to the offset value dex;

[0082] Ix+=-dex;

[0083] (5) After adding the horizontal coordinate of the seam point to the random offset value, the vertical seam control points of each row and column are packaged, and the new packaged list is used to replace the original seam control point list.

[0084] The python algorithm is used to automatically correct the horizontal coordinates of the vertical seam control points of the single block, specifically:

[0085] (1) Traverse all the rows of the cut elevation diagram;

[0086] For I in range(0,x.BranchCount);

[0087] (2) Traverse each vertical seam control point in each row and determine whether this point is the first or last point in the row;

[0088] For J in range(0, Len(x.Branch(i)));

[0089] If J==0or J==Len(x.Branch(i));

[0090] If not, the difference between its horizontal coordinate and the previous control point, dex (i.e., the length of a single cut block), is regularized based on the minimum modulus y (50 mm) to remove the remainder;

[0091] ix=rs.PointCoordinates(x.Branch(i)[j])[0]

[0092] ix_1=rs.PointCoordinates(x.Branch(i)[j-1])[0]

[0093] dex=(int((ix-ix_1) / y))*y

[0094] (3) Re-adjust the horizontal coordinates of the two points after regularization;

[0095] (4) After the horizontal coordinates of the seam points are regularized, the vertical seam control points of each row and column are packaged, and the original seam control point list is replaced with the newly packaged list.

[0096] The step S4 is specifically as follows: utilizing the inherent advantages of the python code encapsulation method and traversal of objects, the four major automated model export and drawing steps of "shape cutting", "reinforced concrete inner cavity structure cutting", "volume and weight statistics of each cut body", and "layout and dimension drawing of each cut body" are pre-written in the form of code methods to realize calculation and automated drawing.

[0097] In step S5, the software production plug-in is humanUIIDE.

[0098] In step S6, the forward modeling software includes Solidworks, Pro-E, Catia, Sketchup, Openscad, Rhino, Maya, Zbrush, Tinkercad, Culptris, Autocad, and 3Dmax.

[0099] In the Rhino 3D modeling software, Python programming language is used in its built-in compiler and Grasshopper parametric modeling plug-in to perform parametric deepening of the 3D landscape model for artistic non-parametric landscape structures, optimize and analyze relevant data, automatically generate drawings, and guide the process;

[0100] On the premise of having a large-scale (large amount of materials are needed for assembly) and complex-shaped landscaping unit concept plan, we can connect the technology, optimize the shape and deepen it for the second time. The whole process can be used for repeated modification and debugging by the early-stage plan designers.

[0101] At the same time, this embodiment provides:

[0102] A server comprises a processor and a memory, wherein the memory stores at least one program, and the program is loaded and executed by the processor to implement the above-mentioned garden landscaping three-dimensional process deepening method based on Python algorithm.

[0103] A computer-readable storage medium stores at least one program, which is loaded and executed by a processor to implement the above-mentioned garden landscaping three-dimensional process deepening method based on Python algorithm.

[0104] Take an artistic rockery as an example:

[0105] 1. Preparation

[0106] 1.1 Preliminary Concept Research

[0107] In the early conceptual design stage, the maximum size of the three scenic stone mountains was 7.6m high, 15m long, and 5.8m deep. Figure 1 .

[0108] like Figure 2 During the deepening process, combined with the 1:1 virtual construction site, considering the huge scale of the landscape stone mountain, the load on the lower basement is heavy, and the later processing and production process is more complicated, so fine CNC is required.

[0109] At the same time, we contacted material manufacturers. Because the rockery is huge, and the stones available to stone manufacturers are mostly 1-2m-scale rough materials (such as Figure 3 ), therefore, the deepening process also needs to consider the reasonable cutting of stones.

[0110] like Figure 4 Compared with the traditional cutting mode simulated in ShetchUp, the seams are more obvious, and the seam lines are inconsistent with the free mountain curves. At the same time, the steps for modifying the size of the rough materials are more cumbersome, and the steps for systematic drawing are complicated. At the same time, it is more difficult to work with structural professionals (there must be a reinforced concrete structure inside the stone as the main support).

[0111] 1.2 After analyzing the original model, it is hoped that the control line can be used to hide the vertical seam line in the valley as much as possible, and it is hoped that the Python programming algorithm and parametric design platform can be used to manually input the cutting control line (such as Figure 5 Vertical lines) can be automatically detected for rationality, the purpose of regularizing the fragmented numbers can be achieved, and finally a series of automated drawing drawings and highly modifiable 3D models can be output.

[0112] like Figure 6 The control lines need to be refined separately according to the different modeling logics of the front and back facades, and the final cutting needs to take into account the internal reinforced concrete structure.

[0113] 2. Extract key input parameters in special-shaped rockery landscaping

[0114] After analyzing the conceptual scheme model and the characteristics of the rough materials, the controlling elements were classified into two categories: graphic and data.

[0115] 3. Use Python algorithm to automatically integrate data of rockery cutting module

[0116] After determining the 12 input parameters, the three core data groups were optimized using Python algorithms during the parametric design framework formulation process:

[0117] 3.1 The first core data group - vertical joint control points

[0118] like Figure 7 , 8The control curve trajectory input by the chief designer is too obvious, and the seam pattern can be easily seen in the appearance. The python algorithm is used to randomly offset the coordinates to increase the sense of dislocation.

[0119] 3.2 The second core data group - horizontal seam control points

[0120] like Fig. 9 , 10 Due to the need for random misaligned seam coordinates in the drawing and post-production, if they are non-integers, they are automatically corrected with the help of Python algorithm, and finally the horizontal rough material length is automatically regularized into two specifications of 50mm and 100mm.

[0121] 3.3 The third core data group - data integration of each component after removing the structure (weight, size)

[0122] like Fig.11 , 12 After introducing the control line and completing the preliminary cutting (single facade), the python algorithm is also used for data analysis when considering the removal of the internal reinforced concrete structure (white block) and feeding back the loads of each part to the structural engineer for review calculation.

[0123] According to the volume of the stone, calculate the weight of each block and the total weight, and render the data visually (different colors represent blocks of different stone weights, and the calculation results can be seen in the final plug-in interface). Fig.13 .

[0124] 4. Automated drawing of special-shaped rockery

[0125] Quickly output a series of parametric results (including hundreds of volume layouts, cut-to-group models, and dimensioned elevations).

[0126] After cutting, the groups of precise 3D models and elevations (such as Fig.14 ) and can be imported into various 3D software for post-production.

[0127] 5. Use Python algorithms and interface design tools to package plug-ins to facilitate repeated modification of solutions

[0128] At the same time, Python and humanUI interface design plug-ins are used to encapsulate the full process parametric design into plug-ins, which is convenient for repeated debugging and allows designers and manufacturers to have a more intuitive way to modify, input and observe model parameters.

[0129] 6. Combined with the results of automated drawing, cooperate with manufacturers for post-production proofing and physical production

[0130] Finally, this result can be used to conduct 1:10 proofing and partial 1:1 proofing research and seam matching work with manufacturers.

[0131] The key points of the technical solution of the present invention are:

[0132] 1. Use Python code to optimize data and automatically verify the data in modular regularization for data that cannot be processed by Grasshopper's native cluster. The existing technology only uses Grasshopper's original battery and has poor data integration capabilities.

[0133] 2. Create a software platform to make the in-depth plan highly visual and directly transfer the data input process to a simple operation interface. The operation is extremely simple and friendly, and the data such as the number of blocks and module weight are comprehensively integrated. The existing technology cannot be packaged into a simple and easy-to-operate software interface by itself, which is not very friendly to designers with non-programmer backgrounds.

[0134] The advantages of the present invention are:

[0135] ① Since all valid control elements are limited to input at the beginning of the process, only the curve and material core data need to be simply defined, the operation is relatively simple and friendly, providing a more user-friendly design environment for early concept designers.

[0136] ②Due to the secondary development using Python code, data optimization was performed on the data that the Rhino software originally could not optimize and process.

[0137] ③ Since the code is written and run directly, its computing efficiency is higher than that of the parametric plug-in Grasshopper in Rhino. Therefore, it can more efficiently connect to various drawing software such as Rhino, Sketchup, and CAD, and automatically export.

[0138] ④ Due to the use of humanUI's software interface production plug-in, the in-depth plan is highly visualized, and the data input process is directly transferred to the simple operation interface, which makes the operation extremely simple and friendly.

[0139] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.

Claims

1. A three-dimensional process deepening method for garden landscaping based on Python algorithm, characterized in that: The steps include the following sequence: S1. Analyze the conceptual model of the special-shaped rockery to determine the deepening control elements; the control elements are divided into the original data of the graphic class and the original data of the data class; the original data of the graphic class includes the mountain model, the mountain facade contour line, the mountain facade bottom edge line, the cutting control line, the internal structure, and the layout map expansion point; the original data of the data class includes the mountain height, the mountain length, the mountain one-way depth, the rough material length, the rough material height, and the rough material depth; S2. On the premise that the number of rows and columns of the rough material facade is confirmed, the cutting facade is generated in combination with the core parameters of the conceptual model of the special-shaped rockery, and a grasshopper parametric deepening framework is constructed. The cutting facade is input into the grasshopper parametric deepening framework to obtain a cutting facade drawing; the core parameters of the conceptual model of the special-shaped rockery include the mountain facade contour line, the mountain facade bottom line, the cutting control line, and the layout diagram expansion point; The grasshopper parametric deepening refers to the use of the grasshopper plug-in in the modeling software rhino to perform shape refinement; The construction of the grasshopper parametric deepening framework means: in this plug-in interface, using the official packaged syntax block as a tool, first connect the nodes and decompose the modeling steps into several steps; when the node connection framework is completed in grasshopper, finally input the core parameters of the conceptual model of the special-shaped rockery into the parametric design framework to initialize the deepening design; S3. Input the cut elevation drawing, remove the internal structure of the mountain model, and then use the Python algorithm to integrate the data and optimize the shape of the special-shaped rockery module; The step S3 is specifically as follows: after determining the deepening control elements, the three core data groups are optimized using the python algorithm in the process of formulating the parametric design framework: (1) The first core data group is the vertical seam control points: the horizontal coordinates of the vertical seam control points of a single block are randomly offset using the Python algorithm; (2) The second core data group is the horizontal seam control points: for the horizontal coordinates of the vertical seam control points of the single block after random offset and dislocation, if the length between the horizontal coordinates of two adjacent vertical seam control points is not an integer, the horizontal coordinates of the vertical seam control points of the single block are automatically corrected with the help of Python algorithm, and finally the horizontal rough material length is automatically regularized into two specifications of 50 mm and 100 mm; (3) The third core data group is the data integration of each component after removing the structure: After the control line is introduced and the initial cutting is completed, the Python algorithm is also used for data analysis when considering the removal of the internal reinforced concrete structure and feeding back the loads of each part to the structural engineer for review calculation; Use the code and the volume of the stone to calculate the weight of each block and the total weight, and render the data visually; S4. Use Python algorithm and Grasshopper to automatically export the detailed model and output the drawing; S5. Use Python algorithms and software to create plug-ins, encapsulate the grasshopper tool components and process logic involved in steps S2 to S4, and package the whole into a data visualization plug-in; S6. Use automated drawing materials, combined with subsequent forward modeling software, and cooperate with the manufacturer's process to carry out proofing and production.

2. According to claim 1, the method for deepening the three-dimensional process of garden landscaping based on Python algorithm is characterized in that: In step S1, the deepening control elements of the conceptual model of the special-shaped rockery are: it is expected to use control lines to hide the vertical seam lines of the special-shaped rockery as much as possible in the valley, and it is expected to use python programming algorithms and parametric design platforms to achieve automatic detection of rationality and regularity of the cutting control lines by manually inputting them, and finally output a series of automated drawing drawings and produce a three-dimensional model with a high degree of modifiability.

3. According to the method for deepening the three-dimensional process of garden landscaping based on Python algorithm in claim 1, it is characterized in that: The method of using the Python algorithm to randomly offset the horizontal coordinates of the vertical seam control points of a single block is implemented in the Rhino built-in compiler, specifically: traverse all the rows of the cut elevation drawing; traverse each vertical seam control point in each row; define a random horizontal offset value dex, where y is the upper limit of the offset; extract the horizontal coordinate ix of the vertical control point, and add it to the offset value dex; after adding the horizontal coordinate of the seam point to the random offset value, encapsulate the vertical seam control points of each row and column, and replace the original seam control point list with this newly encapsulated list.

4. According to claim 1, the method for deepening the three-dimensional process of garden landscaping based on Python algorithm is characterized in that: The method uses a python algorithm to automatically correct the horizontal coordinates of the vertical seam control points of a single block, specifically: traverse all rows of the cut elevation drawing; traverse each vertical seam control point in each row, and determine whether this point is the first or last point in the row: if not, the horizontal coordinate difference dex between it and the previous control point is regularized based on the minimum modulus y to remove the remainder; after regularization, the horizontal coordinates of the two points are readjusted; after the horizontal coordinates of the seam points are regularized, the vertical seam control points of each row and column are packaged, and the new packaged list is used to replace the original seam control point list.

5. According to claim 1, the method for deepening the three-dimensional process of garden landscaping based on Python algorithm is characterized in that: The step S4 is specifically as follows: utilizing the inherent advantages of the python code encapsulation method and traversal of objects, the four major automated model export and drawing steps of "shape cutting", "reinforced concrete inner cavity structure cutting", "volume and weight statistics of each cut body", and "layout and dimension drawing of each cut body" are pre-written in the form of code methods to realize calculation and automated drawing.

6. A server, characterized in that: The server includes a processor and a memory, wherein at least one program is stored in the memory, and the program is loaded and executed by the processor to implement the garden landscaping three-dimensional process deepening method based on Python algorithm as described in any one of claims 1 to 5.

7. A computer-readable storage medium, characterized in that: At least one program is stored in the storage medium, and the program is loaded and executed by the processor to implement the three-dimensional process deepening method of garden landscaping based on Python algorithm as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Application method of BIM modeling in design and construction of special-shaped curved surface structural body

    CN110826130A

  • Parameterized model construction method for building multi-environment performance index simulation

    CN111861244A