A large-scale generative design method for rural houses based on 3D shape rule reasoning

Through a large-scale rural housing generative design method oriented to three-dimensional shape rule reasoning, using design auxiliary tool coding and tree structure logic, the high cost and complexity problems in the design, development and construction of rural housing are solved, and automatic generation of diversified design plans is achieved. , to meet a large number of sexual housing needs.

CN113158311BActive Publication Date: 2024-09-27SHANDONG JIANZHU UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110443210.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-23
Publication Date
2024-09-27
Estimated Expiration
2041-04-23

AI Technical Summary

Technical Problem

Rural residential design, development and construction face problems of high cost and design complexity, and the existing standardized design model is difficult to meet the large and diverse residential needs.

Method used

Adopting a large-scale rural residential generative design method oriented to three-dimensional shape rule reasoning, the initial prototype of the homestead is established through design auxiliary tool coding, and different types of homestead and residential courtyard layouts are generated, using tree structure logic and programming languages ​​​​such as Python, C++, etc. , automatically generate diversified residential design plans.

Benefits of technology

It achieves low design cost, quickly generates a large number of diversified rural residential design plans, provides flexibility and applicability, and meets the design task requirements of "small size, large quantity, and heterogeneity".

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113158311B
    Figure CN113158311B
Patent Text Reader

Abstract

The present invention relates to the field of digital architectural design technology, and in particular to a large-scale rural residential generation design method for three-dimensional shape rule reasoning. The present invention adopts tree structure logic to determine the rural residential design generation rules of 6 stages, namely, homestead prototype, opening direction, homestead area, homestead aspect ratio, courtyard layout, and suite-room-courtyard module. Each rule corresponds to a shape constituting a residential plane or section, and a shape-action graph is used to represent the index and mapping relationship between each node graphic and its constituent elements in the process of automatic reasoning of shape rules, thereby respectively constructing a graphic corpus corresponding to the above 6-stage hierarchy for all sub-level node graphics in the tree structure. The present invention provides a computational solution with flexibility and applicability for rural residential design tasks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of digital building design, and in particular to a large-scale rural residential generation design method oriented to three-dimensional shape rule reasoning. Background Art

[0002] Compared with the characteristics of "high-rise, high-density, and large volume" of urban housing in China, rural housing with the characteristics of "low-rise, low-density, small volume and large volume" has the "three life" characteristics of taking into account life, generation, and ecology that urban housing does not have in terms of function. Therefore, the design, development and construction of rural housing will face more challenges than urban housing: on the one hand, facing the large-scale residential demand, rural housing of the same area and scale will have several times more task units and workload than urban housing, which means that the cost of carrying out the same "fast construction, high quality and low price" design, development and construction tasks will be higher than the latter; on the other hand, facing the differentiated residential needs, the situation of rural families is more complicated than that of urban families, which means that the standardized design, development and construction mode and experience of urban housing cannot be directly applied to rural housing. In view of the above problems, it is necessary to explore a large-scale rural housing generation design method for three-dimensional shape rule reasoning that takes into account the large-scale residential needs, improve the current standardized mode of rural housing design, development and construction, and automatically and quickly generate a large number of diverse rural housing design solutions with low design costs. Summary of the invention

[0003] The present invention provides a large-scale rural residential design method for three-dimensional shape rule reasoning. It explores a rural residential plan and section collaborative design method that takes into account the needs of large-scale residential housing, improves the current standardized model of rural residential design, development and construction, and automatically and quickly generates a large number of diversified rural residential design solutions at a low design cost.

[0004] The technical solution of the present invention is:

[0005] A large-scale rural residential generative design method for three-dimensional shape rule reasoning includes the following steps:

[0006] 1) Using a design-aided tool to encode, establish an initial prototype of a homestead as the root node of the rule; the design-aided tool is used to encode and store shapes and shape rules through a programming language, and then import the encoded shapes and shape rules into a computer-aided design tool for rule reasoning and visual expression of the generated results, and finally construct the visualized generated results into a corresponding corpus; the programming language is any one of Python, C, C++, Java, and Lisp, and the computer-aided design tool is any one of Excel, AutoCAD, ArchiCAD, Rhino, Grasshopper, Revit, and SketchUp;

[0007] 2) Taking the initial prototype of the homestead as the parent node, the design auxiliary tool is used to encode, generate the child node homestead type with the location where the main gate can be opened and construct a corpus;

[0008] 3) Taking the homestead marked with the location where the main gate can be opened as the parent node, the design auxiliary tool is used to encode, generate child node homestead types of different areas and construct a corpus;

[0009] 4) Taking homesteads of different sizes as parent nodes, use the design auxiliary tool to encode, generate child node homestead types with different aspect ratios and construct a corpus;

[0010] 5) Taking homesteads with different aspect ratios as parent nodes, design-assisted tools are used to encode residential courtyard layout rules to generate child node types of various residential courtyard layouts, in which four sub-stage rules are encoded: core residential rules; north courtyard rules; south courtyard rules; optimization and adjustment rules. Design-assisted tools are used to perform rule reasoning and automatically identify residential courtyard layout attributes to generate graphical results of various residential courtyard layouts and construct a residential courtyard layout corpus;

[0011] 6) Taking the residential courtyard layout as the parent node, the design auxiliary tool is used to encode the suite-room-courtyard module rules to generate a variety of sub-node types of residential plans and three-dimensional sections, in which two sub-stage rules are encoded: residential plan rules; residential section rules. The design auxiliary tool is used to perform rule reasoning and automatically identify plan and three-dimensional section attributes to generate a residential plan corpus and a corresponding residential section corpus.

[0012] As a preferred solution, in the above step 1), the initial prototype of the homestead is generated by coding using a design auxiliary tool according to the rectangular plane form that the rural homestead usually presents.

[0013] As a preferred solution, in the above step 2), based on the adjacent relationship between the rural residential homestead and the road, the initial prototype of the homestead is used as the parent node, and the location where the main gate can be opened is encoded and labeled using a design auxiliary tool, which is used as a child node, and the graphical result is constructed as a homestead corpus with main gate location labels.

[0014] As a preferred solution, in the above step 3), according to the different areas of rural homesteads, the homestead with the main gate location label is used as the parent node, and the design auxiliary tool is used to encode and generate child nodes of homestead types of different areas, and the graphical results are constructed into a corpus of homesteads of different areas.

[0015] As a preferred solution, in the above step 4), based on the common aspect ratio of rural homesteads, homestead types of different areas are used as parent nodes, and design auxiliary tools are used to encode and generate child nodes of homestead types with different aspect ratios, and the graphical results are constructed into a corpus of homesteads with different aspect ratios.

[0016] As a preferred solution, in the above step 5), according to the form of rural residential courtyards, homestead types with different aspect ratios are used as parent nodes, and four sub-stage rules describing the layout types of residential courtyards are encoded using design auxiliary tools, including core residential rules; north courtyard rules; south courtyard rules; and termination rules. The design auxiliary tools are used for rule reasoning to generate a large number of residential courtyard graphics as child nodes, and the generated graphics results are constructed into a residential courtyard layout corpus. The samples in the corpus have residential courtyard layout attributes automatically identified by the design auxiliary tools.

[0017] The core housing rules encode several rules that can generate the core housing plan shapes through design assistance tools. These rules can transform shapes, assign, replace and delete labels.

[0018] The North Courtyard Rules encode several rules that can generate the North Courtyard plan shape through design aids. These rules can transform shapes, assign, replace and delete labels.

[0019] The South Courtyard Rules, through design assistance tools, encode several rules that can generate the combined plan shapes of the courtyard and auxiliary rooms. These rules can transform shapes, assign, replace and delete labels.

[0020] The optimization and adjustment rules, through the design auxiliary tool, encode several rules that can merge the same label shapes in the core residence, the north courtyard, and the south courtyard. These rules can transform shapes, assign, replace, and delete labels.

[0021] The method of constructing the generated graphic results into a residential courtyard layout corpus comprises the following steps: first, encoding the three-dimensional section prototype through a design auxiliary tool; second, generating a large number of residential courtyard layout graphics by reasoning using the above rules through the design auxiliary tool, and corresponding the three-dimensional section prototype with the residential courtyard layout; then, automatically identifying the residential courtyard layout attributes through the design auxiliary tool; and finally, constructing the generated graphic results and the identified graphic attributes together into a residential courtyard layout corpus.

[0022] As a preferred solution, in the above step 6), according to the functional rooms and section forms of rural houses, with the residential courtyard layout as the parent node, the design auxiliary tool is used to encode the suite-room-courtyard module rules, which include two levels: residential plan rules and residential section rules; the residential plan rules ultimately generate suite modules and courtyard module types, and the residential section rules ultimately generate room module types; the design auxiliary tool is used to perform rule reasoning to generate a large number of residential plan and three-dimensional section graphic child nodes, and the design auxiliary tool is used to automatically identify the plane and three-dimensional section attributes, and the generated graphic results are constructed as a residential plan corpus and a residential section corpus.

[0023] The residential floor plan rules, through design assistance tools, encode several rules that can generate the shapes of living rooms, stairwells, bathrooms, kitchens, dining rooms, bedrooms, and optional function rooms, as well as optimization and adjustment rules. These rules can transform shapes, assign, replace, and delete labels.

[0024] The residential section rules are encoded by the design auxiliary tool to generate three-dimensional section prototype variants of 1F auxiliary room, 1F core residence and 2F core residence, where F represents the number of floors.

[0025] The generated graphic results are constructed into a residential plan corpus and a residential section corpus, wherein the construction of the residential plan corpus includes the following steps: first, encoding a three-dimensional section prototype through a design auxiliary tool; second, using the design auxiliary tool to use residential plan rules to generate a large number of residential plan graphics by reasoning, and corresponding the three-dimensional section prototype to the residential plan; then, automatically identifying the residential plan attributes through the design auxiliary tool; finally, the generated graphic results and the identified graphic attributes are constructed together into a residential plan corpus.

[0026] The construction of the residential section corpus includes the following steps: first, the three-dimensional section prototype variants of the 1F auxiliary room, 1F core residence, and 2F core residence are retrieved through the design auxiliary tool; second, the three-dimensional section prototypes in the residential plan corpus are identified through the design auxiliary tool and replaced with the corresponding three-dimensional prototype variants; then, the three-dimensional section attributes are automatically identified through the design auxiliary tool; finally, the generated graphic results and the identified graphic attributes are used together to construct the residential section corpus.

[0027] The above-mentioned design auxiliary tools include programming languages ​​and computer-aided design tools, that is, large-scale rural residential generation design for three-dimensional shape rule reasoning is realized through programming languages ​​and computer-aided design tools, shapes and shape rules are encoded and stored through programming languages, and then the encoded shapes and shape rules are imported into computer-aided design tools for rule reasoning and visualization of the generated results, and finally the visualized generated results are constructed into a corresponding corpus. There are many existing programming languages, such as Python, C, C++, Java, Lisp, etc. There are also many computer-aided design tools, such as Excel, AutoCAD, ArchiCAD, Rhino, Grasshopper, Revit, SketchUp, etc. As long as the design auxiliary tools that can achieve the above functions are within the protection scope of the present invention.

[0028] The present invention proposes a large-scale rural housing generation design method for three-dimensional shape rule reasoning, which improves the current standardized mode of rural housing design, development and construction, so as to automatically and quickly generate a large number of diversified rural housing design schemes with low design cost. Using tree structure logic, the rural housing design generation rules of 6 stages, including homestead prototype, opening direction, homestead area, homestead aspect ratio, courtyard layout, and suite-room-courtyard module, are determined. Each rule corresponds to a shape that constitutes the residential plan or section, and the shape-action graph is used to represent the index and mapping relationship between each node graph and its constituent elements in the process of automatic reasoning of shape rules, and then the graphic corpus corresponding to the above 6 stages is constructed for all sub-level node graphs in the tree structure.

[0029] The beneficial effects of the present invention are:

[0030] The present invention is an effective method for generating large-scale rural residential designs; the shape rules of each stage are encoded by a design auxiliary tool for reasoning and graphic recognition, expressed logically through a tree structure, and a corpus is established by the design auxiliary tool for generating a variety of graphic samples.

[0031] The present invention realizes automated design and automatically generates residential samples through rule application with the help of design auxiliary tools, providing a flexible and applicable computational solution for the design task of rural residential buildings that are "small in size, large in quantity, and heterogeneous". BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0033] Figure 1 It is the prototype of the homestead;

[0034] Figure 2 It is an example of the direction of the homestead opening;

[0035] Figure 3 It is an example of homesteads of various sizes;

[0036] Figure 4 These are examples of various length-to-width ratios of homesteads;

[0037] Figure 5 It is an example of the core residential rules using one type of homestead as an example;

[0038] Figure 6 This is an example of the North Courtyard Rules using one type of homestead as an example;

[0039] Figure 7 This is an example of the South Courtyard Rules using one type of homestead as an example;

[0040] Figure 8 This is an example of optimization and adjustment rules using one type of homestead as an example;

[0041] Fig. 9 The rule reasoning is carried out by taking two types of homesteads as examples;

[0042] Fig.10 It is the functional room size based on one type of homestead as an example;

[0043] Fig.11 This is an example of the rules for dividing living rooms based on a type of homestead;

[0044] Fig.12 This is an example of the rules for dividing stairwells using a type of homestead as an example;

[0045] Fig.13 This is an example of bathroom division rules based on one type of homestead;

[0046] Fig.14 This is an example of the kitchen division rules based on a type of homestead;

[0047] Fig.15 It is an example of restaurant division rules based on one type of homestead;

[0048] Fig.16 This is an example of bedroom division rules based on one type of homestead;

[0049] Fig.17 This is an example of the room division rules for optional functions, taking a type of homestead as an example;

[0050] Fig.18This is an example of optimization and adjustment rules using one type of homestead as an example;

[0051] Fig.19 It is an example of the prototype and variants of the three-dimensional section rules of a house, taking a type of homestead as an example;

[0052] Fig. 20 A type of homestead is taken as an example to carry out plane rule reasoning and section variant correspondence. DETAILED DESCRIPTION

[0053] In the example, Python is used as the programming language, which is implemented through the GhPython module in Grasshopper. That is, the GhPython module in Grasshopper encodes and stores shapes and shape rules, performs rule reasoning and visualizes the generated results, and finally constructs the visualized generated results into a corresponding corpus.

[0054] Large-scale rural housing generative design method for 3D shape rule reasoning:

[0055] First, use the GhPython module in Grasshopper to build the initial prototype of the homestead as the root node of the rule;

[0056] Second, the initial prototype of the homestead was used as the parent node, and the GhPython module in Grasshopper was used to generate the child node homestead type that marked the location where the main gate could be opened and construct a corpus;

[0057] Third, the homesteads marked with the location where the main gate can be opened are used as parent nodes, and the GhPython module in Grasshopper is used to generate child node homestead types of different areas and build a corpus;

[0058] Fourthly, with homesteads of different sizes as parent nodes, the GhPython module in Grasshopper is used to generate child node homestead types with different aspect ratios and construct a corpus;

[0059] Fifth, with homesteads of different length-to-width ratios as parent nodes, the GhPython module in Grasshopper is used to encode residential courtyard layout rules to generate child node types of various residential courtyard layouts, in which four sub-stage rules are encoded: core residential rules; north courtyard rules; south courtyard rules; optimization and adjustment rules. The GhPython module in Grasshopper is used to perform rule reasoning and automatically identify residential courtyard layout attributes to generate various residential courtyard layout graphic results and build a corpus.

[0060] Finally, taking the residential courtyard layout as the parent node, the GhPython module in Grasshopper is used to encode the suite-room-courtyard module rules to generate a large number of child node types of residential plans and three-dimensional sections. Two sub-stage rules are encoded: residential plan rules; residential section rules. The GhPython module in Grasshopper is used to perform rule reasoning and automatically identify plan and three-dimensional section attributes to generate a residential plan corpus and a corresponding residential section corpus.

[0061] Specifically:

[0062] For the initial prototype of the homestead, the initial prototype of the homestead was determined according to the rectangular plane form usually presented by the rural homestead, and coded using the GhPython module in Grasshopper.

[0063] As for the location of the main gate, the location where the main gate can be opened was determined based on the adjacent relationship between the rural residential land and the road, and coded using the GhPython module in Grasshopper.

[0064] The types of homesteads of different sizes were determined according to the different areas of rural homesteads and coded using the GhPython module in Grasshopper.

[0065] The length-to-width ratio of homesteads of different sizes was determined according to the common length-to-width ratio of rural homesteads and coded using the GhPython module in Grasshopper.

[0066] For the layout rules of residential courtyards, first, the basic modulus of the building module is determined, so that the shape rules correspond to the building modules (materials, components, rooms) of rural houses.

[0067] For the core house rules, several rules were identified that can generate the core house plan shapes. These rules can transform shapes, assign, replace and delete labels, and are encoded and stored using the GhPython module in Grasshopper.

[0068] For the North Courtyard rules, several rules that can generate the plane shape of the North Courtyard were determined. These rules can transform shapes, assign, replace and delete labels, and are coded and stored using the GhPython module in Grasshopper.

[0069] For the South Courtyard rules, several rules were identified that can generate the combined plan shapes of the courtyard and auxiliary rooms. These rules can transform shapes, assign, replace, and delete labels, and are coded and stored using the GhPython module in Grasshopper.

[0070] For the optimization and adjustment rules, several rules were identified that can merge the shapes with the same labels in the core residence, north courtyard, and south courtyard. These rules can transform shapes, assign, replace, and delete labels, and are encoded and stored using the GhPython module in Grasshopper.

[0071] For rule reasoning and automatic identification of residential courtyard layout attributes, the GhPython module in Grasshopper is used to retrieve the core residential, north courtyard, south courtyard, and optimization adjustment rules for automatic reasoning. The generated graphic results are constructed as a residential courtyard layout corpus, and the GhPython module in Grasshopper is used to automatically identify the area and form of the core residential, north courtyard, south courtyard, and auxiliary rooms in the generated results as sample attributes.

[0072] To determine the suite-room-courtyard module rules, first of all, the functional room size is determined. According to the size requirements of the functional rooms of rural houses, the sizes of the living room, dining room, kitchen, bedroom, bathroom, stairs, optional functional modules, corridors and other spaces are determined, and the GhPython module in Grasshopper is used to encode and store them.

[0073] For residential floor plan rules, the living room division rules, stairwell division rules, bathroom division rules, kitchen division rules, dining room division rules, bedroom division rules, optional function room division rules, and optimization and adjustment rules are determined.

[0074] For the living room division rules, several rules that can generate the plan shapes of the living room are determined. These rules can transform shapes, assign, replace and delete labels, and are coded and stored using the GhPython module in Grasshopper.

[0075] For the stairwell division rules, several rules that can generate the plan shape of the stairwell are determined. These rules can transform the shape, assign, replace and delete labels, and are encoded and stored using the GhPython module in Grasshopper.

[0076] For the bathroom division rules, several rules that can generate the plane shape of the bathroom are determined. These rules can transform the shape, assign, replace and delete labels, and are coded and stored using the GhPython module in Grasshopper.

[0077] For the kitchen division rules, several rules that can generate the kitchen plan shape were determined. These rules can transform shapes, assign, replace and delete labels, and are encoded and stored using the GhPython module in Grasshopper.

[0078] For the restaurant division rules, several rules that can generate the restaurant's plane shape are determined. These rules can transform shapes, assign, replace and delete labels, and are encoded and stored using the GhPython module in Grasshopper.

[0079] For bedroom division rules, several rules that can generate bedroom plan shapes are determined. These rules can transform shapes, assign, replace and delete labels, and are encoded and stored using the GhPython module in Grasshopper.

[0080] For the optional function partitioning rules, several rules that can generate optional function plane shapes are determined. These rules can transform shapes, assign, replace and delete labels, and are encoded and stored using the GhPython module in Grasshopper.

[0081] For the optimization and adjustment rules, several rules for optimizing the functional shapes of planes were determined. These rules can transform shapes, assign, replace and delete labels, and are coded and stored using the GhPython module in Grasshopper.

[0082] For the residential section rules, the 1F auxiliary room variant, 1F core residential variant and 2F core residential variant were determined and coded and stored using the GhPython module in Grasshopper.

[0083] For rule reasoning and automatic recognition of plane and section attributes, a residential plane corpus and a corresponding residential section corpus are generated. To construct a residential plane corpus, first, the three-dimensional section prototype is encoded through the GhPython module in Grasshopper; second, a large number of residential plane graphics are generated by reasoning using the residential plane rules through the GhPython module in Grasshopper, and the three-dimensional section prototype is corresponded to the residential plane; then, the residential plane attributes are automatically recognized through the GhPython module in Grasshopper; finally, the generated graphics results and the recognized graphics attributes are constructed together as a residential plane corpus.

[0084] A residential section corpus is constructed; firstly, the three-dimensional section prototype variants of 1F auxiliary rooms, 1F core residences and 2F core residences are retrieved through the GhPython module in Grasshopper; secondly, the three-dimensional section prototypes corresponding to the residential plan are identified through the GhPython module in Grasshopper, and replaced with prototype variants; then, the section attributes are automatically identified through the GhPython module in Grasshopper; finally, the generated graphic results and the identified graphic attributes are used together to construct a residential section corpus.

[0085] Example 1

[0086] Taking a village in Shandong Province as an example, we investigated and obtained 5 different homestead prototypes, which were generated by coding with the GhPython module in Grasshopper. Figure 1 shown.

[0087] Take a prototype of a homestead as an example, determine its opening position, mark it, and generate it through the GhPython module in Grasshopper, see Figure 2 shown.

[0088] Taking the current homestead prototype as an example, determine other homestead types of different areas and generate them through GhPython module coding in Grasshopper, see Figure 3 shown.

[0089] Taking a certain area of ​​homestead as an example, determine the types of homesteads with different aspect ratios and generate them through the GhPython module in Grasshopper. Figure 4 shown.

[0090] In order to facilitate the correspondence between the customization rules and the building modules (materials, components, rooms) of rural houses, it is determined that all graphics in the customization rules are based on 300mm as the basic module, and the module sizes are multiples of this module.

[0091] Identify the core residential rules, including 12 groups of rules, encoded by the GhPython module in Grasshopper. Identify the labels i, i', o, where i (inside zone) marks the starting indoor bay, where the living room is located, i' marks the remaining indoor bays, and o (outside zone) marks the outdoor terrace bay formed by the second floor. Label▼ indicates the location where the rectangular shape will be added. See Figure 5 As shown: Rule 1-2 introduces the initial shape of 1F and 2F; Rule 3-8 increases the bays of 1F and 2F; Rule 9-10 defines the possible outdoor space on the second floor; the outdoor space on the second floor is used as a terrace, and Rule 11 replaces the label o with t (terrace); there is no living room on the second floor, so Rule 12 replaces the label i of 2F with i'.

[0092] Determine the North Courtyard rules, including 2 sets of rules, coded through the GhPython module in Grasshopper, see Figure 6As shown: Rule 13 extends a 1.2m×3.3m rectangle to the north of the core residential bay and is marked as o; considering that the northern space of the residential land facing the road on the north side is used as an external industrial function, the rectangle extending outward in Rule 14 is marked with ▼, indicating that rectangles can continue to be added outward.

[0093] Determine the South Courtyard rules, including 12 groups of rules, coded through the GhPython module in Grasshopper, see Figure 7 As shown: To meet the lighting needs of the core residence, Rule 15-18 adds a rectangular south courtyard adjacent to the core residence, each rectangle is 3.3m×3.3m in size, and controls the assignment of o or i' labels. Rule 19-23 generates the remaining rectangular south courtyards and marks them as o or i', and controls the outline and rationality of the generated south courtyards; the south courtyard storage space is usually used as a terrace on the second floor, and Rule 24 replaces the label i' of 2F with t; there is currently a storage space in the core residence that extends from the living space to the south courtyard, and Rule 25 combines a bay of the 1F core residence with an indoor space of the south courtyard; Rule 26 controls the north courtyard marked with ▼ to add a rectangle outward and mark it as i'.

[0094] Determine the optimization adjustment rules, including 6 sets of rules, coded by the GhPython module in Grasshopper, see Figure 8 As shown: Rule 27-28 merges the rectangles marked o in the south and north courtyards; Rule 29-30 merges the rectangles marked i' and t in the south courtyard; Rule 31-32 illustrates the generation of the main gate mark g.

[0095] The GhPython module in Grasshopper is used to retrieve the core residential buildings, north courtyards, south courtyards, and optimization adjustment rules for automatic reasoning. The generated graphical results are constructed as a residential courtyard corpus, and the area and form of the core residential buildings, north courtyards, south courtyards, and auxiliary rooms in the generated results are automatically identified as sample attributes through the GhPython module in Grasshopper. Fig. 9 shown.

[0096] Based on the above content, taking a type of homestead as an example, according to the size requirements of the functional rooms of the rural residence, the sizes of the living room, dining room, kitchen, bedroom, bathroom, staircase, optional function, corridor, etc. are determined, and coded through the GhPython module in Grasshopper, refer to Fig.10 In order to facilitate the production and transportation of the above functional rooms in a modular form, it is necessary to limit the length of all functional rooms, that is, d≤3.3m, where d refers to the length of the room.

[0097] Determine the living room division rules, including 2 sets of rules, coded by the GhPython module in Grasshopper, see Fig.11 As shown: the living room is located in the bay where label i is located in 1F, Rule 33 replaces the entire bay as the living room label i with label li (living room); Rule 34 divides out a smaller living room, and the remaining shape is marked as i.

[0098] Determine the stairwell division rules, including 7 groups of rules, coded by the GhPython module in Grasshopper, see Fig.12 As shown in the figure: the staircase runs through 1F and 2F. First, the staircase location is determined in 1F. Rule35 uses the label i area in the bay where li is located as the staircase; Rules36-40 control the division of stairs in different positions of the rectangle; Rule41 controls the copying of the staircase label and shape of 1F to the corresponding area of ​​2F, and the divided staircase is marked as st (stair, staircase)

[0099] Determine the bathroom division rules, including 10 groups of rules, coded through the GhPython module in Grasshopper, see Fig.13 As shown: Bathrooms are usually located adjacent to stairs. Rules 42-50 divide the bathrooms in the 1F adjacent to the stairs. Rule 51 controls the copying of the 1F bathroom label and shape to the corresponding area on the 2F. The divided bathroom is marked as ba (bathroom).

[0100] Determine the kitchen division rules, including 6 groups of rules, coded by the GhPython module in Grasshopper, see Fig.14 As shown: The kitchen is located at the end of the first floor. Rule 52-57 controls the division of the kitchen. The divided kitchen is marked as ki (kitchen).

[0101] Determine the restaurant division rules, including 4 sets of rules, coded by the GhPython module in Grasshopper, see Fig.15 As shown: The dining room is usually set up next to the kitchen, and can also be used in conjunction with the living room, so the area labeled i on the north side of the living room can be used as a dining room or the dining room function can be chosen not to be divided. Rule58-61 controls the generation of the dining room, and the divided dining room is marked as di (dining room, dining room)

[0102] Determine the bedroom division rules, including 6 groups of rules, coded by the GhPython module in Grasshopper, see Fig.16As shown: Rule 62-67 controls the division of bedrooms, where bedrooms can be set up on both the 1st and 2nd floors and require lighting from the south or north. The divided bedrooms are marked as be (bedroom)

[0103] Determine the optional functional space partitioning rules, including 4 sets of rules, coded through the GhPython module in Grasshopper, see Fig.17 As shown: After the above functional room division, the remaining area of ​​the house will be used as a self-selected functional space. The self-selected functional room (Multi-function room) can be used as an activity room, sun room, tea room, balcony, storage room, study room, etc. Users can flexibly choose according to their family needs. Rule68-70 controls the replacement of the label i' with mu; Rule71 controls the division of the i' area into a self-selected functional space, and the divided self-selected functional space is marked as mu (multi-function room)

[0104] Determine the optimization adjustment rules, including 15 groups of rules, coded by the GhPython module in Grasshopper, see Fig.18 As shown: Rule 72-74 divides the corridor of the bathroom and stairs; Rule 75 meets the need of opening the kitchen door; Rule 76 meets the ventilation need of the kitchen; Rule 77 divides the kitchen corridor; Rule 78-81 divides the bedroom corridor; Rule 82-85 divides the corridor of optional functions; finally, the connected corridor spaces are merged, such as Rule 86, and the divided corridor is marked as co (corridor)

[0105] For the residential section rules, the 1F auxiliary room variant, 1F core residential variant and 2F core residential variant were determined and coded and stored using the GhPython module in Grasshopper.

[0106] See also Fig.19As shown in the figure, Type 1 and Type 2 are the three-dimensional section forms of auxiliary rooms, including two prototypes: flat roof and sloping roof. The change rules of their prototypes include reducing the depth, adding outdoor stairs, reducing the floor height, adding greenhouses, etc. Type 3-Type 6 are the three-dimensional section forms when the core residence is 1F, and also include two prototypes: flat roof and sloping roof. Among them, the sloping roof is divided into three types according to the different positions of the ridge: equal slope, long and short slope, and short and long slope; the change rules of the prototype include the south side is partially used for greenhouse, the greenhouse is expanded to the south, and the balcony is projected to the south or north. Type 7-Type 9 are the three-dimensional section forms when the core residence is 2F, and are also divided into three prototypes: equal slope, long and short slope, and short and long slope. The change rules of their prototypes include the south side of 1F is partially used for greenhouse, the south or north side of 2F is partially used for balcony, the greenhouse is expanded to the south, and the balcony is projected to the south or north. The room plan generated by the two-dimensional customized rules can correspond to a variety of section samples in the three-dimensional section rule corpus. For example, the area on the south side of the bedroom can be divided inward into a greenhouse or expanded outward into a greenhouse or a balcony; and a greenhouse can also be added to the south side of the living room.

[0107] Finally, rule inference is performed and the plane and section attributes are automatically identified to generate a residential plan corpus and a corresponding residential section corpus, which is coded by the GhPython module in Grasshopper. Fig. 20 As shown in the figure: a large number of residential plan graphics are generated by reasoning with residential plan rules through the GhPython module in Grasshopper, and the pre-coded 3D section prototypes are matched with the residential plan; the residential plan attributes are automatically identified through the GhPython module in Grasshopper; the generated graphic results and the identified graphic attributes are constructed together as a residential plan corpus through the GhPython module in Grasshopper; the generated 3D section prototype variants of 1F auxiliary rooms, 1F core residences, and 2F core residences are retrieved through the GhPython module in Grasshopper; the 3D section prototype corresponding to the residential plan is identified through the GhPython module in Grasshopper, and replaced with the 3D prototype variant; the 3D section attributes are automatically identified through the GhPython module in Grasshopper; the generated graphic results and the identified attributes are constructed together as a residential section corpus.

[0108] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.

Claims

1. A large-scale rural residential generation design method for three-dimensional shape rule reasoning, comprising the following steps: 1) Use the design auxiliary tool to encode and establish the initial prototype of the homestead as the root node of the rule; the design auxiliary tool is used to encode and store shapes and shape rules through programming language, and then import the encoded shapes and shape rules into the computer-aided design tool for rule reasoning and visual expression of the generated results, and finally construct the visualized generated results into the corresponding corpus; 2) Taking the initial prototype of the homestead as the parent node, the design auxiliary tool is used to encode, generate the child node homestead type with the location where the main gate can be opened and construct the homestead corpus with the location of the main gate marked; 3) Taking the homestead marked with the location where the main gate can be opened as the parent node, the design auxiliary tool is used to encode, generate child node homestead types of different areas, and construct a corpus of homesteads of different areas based on the graphical results; 4) Taking homesteads of different sizes as parent nodes, use the design auxiliary tool to encode, generate child node homestead types with different aspect ratios, and construct the homestead corpus with different aspect ratios based on the graphical results; 5) Taking homesteads with different aspect ratios as parent nodes, design-assisted tools are used to encode residential courtyard layout rules to generate child node types of various residential courtyard layouts, in which four sub-stage rules are encoded: core residential rules; north courtyard rules; south courtyard rules; optimization and adjustment rules. Design-assisted tools are used to perform rule reasoning and automatically identify residential courtyard layout attributes to generate graphical results of various residential courtyard layouts, and the generated graphical results are constructed as a residential courtyard layout corpus; 6) Taking the residential courtyard layout as the parent node, the design auxiliary tool is used to encode the suite-room-courtyard module rules to generate a variety of sub-node types of residential plans and three-dimensional sections, in which two sub-stage rules are encoded: residential plan rules; residential section rules. The design auxiliary tool is used to perform rule reasoning and automatically identify plan and three-dimensional section attributes to generate a residential plan corpus and a corresponding residential section corpus.

2. The large-scale rural residential generation design method for three-dimensional shape rule reasoning as claimed in claim 1 is characterized by: In the step 1), the initial prototype of the homestead is determined based on the rectangular plane form that a rural homestead usually presents.

3. The large-scale rural residential generation design method for three-dimensional shape rule reasoning as claimed in claim 1 is characterized by: In step 2), the location of the main entrance can be determined based on the proximity between the rural residential land and the road.

4. The large-scale rural residential generation design method for three-dimensional shape rule reasoning as claimed in claim 1 is characterized by: In step 3), the types of homesteads of different sizes are determined according to the different sizes of rural homesteads.

5. The large-scale rural residential generation design method for three-dimensional shape rule reasoning as claimed in claim 1 is characterized by: In step 4), the length-to-width ratio of homesteads of different sizes is determined based on the general length-to-width ratio of rural homesteads.

6. The large-scale rural residential generation design method for three-dimensional shape rule reasoning as claimed in claim 1 is characterized by: In step 5), various residential courtyard layouts are determined according to the rural residential courtyard forms.

7. The large-scale rural residential generation design method for three-dimensional shape rule reasoning as claimed in claim 1 is characterized by: In step 5), The core housing rules, through the design aid tool, determine a number of rules that can generate the core housing plan shape, and these rules can transform the shape, assign, replace and delete labels; The North Courtyard rules determine a number of rules that can generate the plan shape of the North Courtyard through design auxiliary tools, and these rules can transform the shape, assign, replace and delete labels; The South Courtyard Rules determine a number of rules that can generate a combined plan shape of the courtyard and the auxiliary rooms through design auxiliary tools. These rules can transform the shape and assign, replace and delete labels. The optimization and adjustment rules determine a number of rules that can merge the same label shapes in the core residence, north courtyard, and south courtyard through design auxiliary tools. These rules can transform shapes, assign, replace, and delete labels.

8. The large-scale rural residential generation design method for three-dimensional shape rule reasoning as claimed in claim 1 is characterized by: In step 5), the step of constructing the generated graphic results into a residential courtyard layout corpus includes the following steps: first, encoding a three-dimensional section prototype through a design auxiliary tool; Secondly, a large number of residential courtyard layout graphics are generated by reasoning with the above rules through design auxiliary tools, and the three-dimensional section prototype is matched with the residential courtyard layout; then, the residential courtyard layout attributes are automatically identified through design auxiliary tools; finally, the generated graphic results and the identified graphic attributes are constructed together into a residential courtyard layout corpus.

9. The large-scale rural residential generation design method for three-dimensional shape rule reasoning as claimed in claim 1 is characterized by: In step 6), the residential plane rule finally generates a suite module and a courtyard module type, and the residential section rule finally generates a room module type; a design auxiliary tool is used to perform rule reasoning to generate a large number of residential plane and three-dimensional section graphic sub-nodes, and the residential plane and three-dimensional section attributes are automatically identified, and the generated graphic results are constructed into a residential plane corpus and a corresponding residential section corpus; The residential plan rules, through design assistance tools, encode several rules that can generate the shapes of living rooms, stairwells, bathrooms, kitchens, dining rooms, bedrooms, and optional function rooms, as well as optimization and adjustment rules, which can transform shapes, assign, replace, and delete labels; The residential section rules are encoded through design auxiliary tools to generate three-dimensional section prototype variants of 1F auxiliary rooms, 1F core residences, and 2F core residences.

10. The large-scale rural residential generation design method for three-dimensional shape rule reasoning as claimed in claim 9, characterized in that: The construction of the residential plan corpus comprises the following steps: first, encoding a three-dimensional section prototype by a design aid tool; Secondly, a large number of residential plan graphics are generated by reasoning using residential plan rules through design auxiliary tools, and the three-dimensional section prototype is matched with the residential plan; then, the residential plan attributes are automatically identified through design auxiliary tools; finally, the generated graphic results and the identified graphic attributes are constructed together into a residential plan corpus.

11. The large-scale rural residential generation design method for three-dimensional shape rule reasoning as claimed in claim 9, characterized in that: The construction of the residential section corpus includes the following steps: using a design auxiliary tool to retrieve the generated section prototype variants of the 1F auxiliary room, the 1F core residence, and the 2F core residence; secondly, using the design auxiliary tool to identify the three-dimensional section prototype corresponding to the residential plan and replace it with the prototype variant; then, automatically identifying the three-dimensional section attributes; finally, constructing the residential section corpus together with the generated graphic results and the identified graphic attributes.

12. The large-scale rural residential generation design method for three-dimensional shape rule reasoning according to any one of claims 1 to 11, characterized in that: The programming language is any one of Python, C, C++, Java, and Lisp, and the computer-aided design tool is any one of Excel, AutoCAD, ArchiCAD, Rhino, Grasshopper, Revit, and SketchUp.