A method, device and readable storage medium for generating insulation layer model
By automatically identifying and generating insulation layer models in three-dimensional modeling software and transcending them, the problem of low efficiency in creating insulation layer models in the existing technology is solved, and efficient and accurate insulation layer model generation is achieved to meet the actual situation Business needs and improve design efficiency.
Patent Information
- Application Number
- CN202210764520.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-29
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2042-06-29
AI Technical Summary
When creating insulation layer models, existing three-dimensional modeling software is difficult to meet actual business needs, which leads to designers spending a lot of effort on creating and adjusting models, reducing design efficiency.
By receiving generation instructions, the insulation layer model is automatically identified and generated in the preset building model, the layer element is used to cover the outer surface of the target component, and the intersection is transitioned to eliminate gaps and overlaps, and batch insulation is generated according to the preset mapping table. layer model.
It realizes efficient and accurate generation of insulation model in building models, reduces designer manual workload, meets actual business needs, and provides flexibility and accuracy in the design process.
Smart Images

Figure CN115098924B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer-aided design, and in particular to a method, a device and a readable storage medium for generating a thermal insulation layer model. Background Art
[0002] In the process of architectural design, as an important part of the building, the insulation layer needs to be modeled and expressed in the model; the insulation layer model has the following functions: 1) The insulation layer must be considered in energy-saving design. The location, material and thickness of the insulation layer need to be expressed in the drawings and models to determine whether the energy-saving specifications are met; 2) When calculating the building area, floor area, and building spacing, the area of the insulation layer needs to be included in the floor area; 3) In sunlight analysis, the insulation layer has an impact on the building outline size, thereby affecting the accuracy of sunlight calculation; therefore, if the insulation layer model is not created, the above business needs cannot be met.
[0003] The 3D modeling software currently available on the market has the function of adding a structural layer to a specific component. However, the insulation layer model created by this function does not conform to the actual business scenario, causing designers to waste a lot of energy on creating and adjusting the insulation layer model, reducing design efficiency. Therefore, how to efficiently and accurately automatically generate the insulation layer model in the building model according to the actual business needs has become a technical problem that technicians in this field need to solve urgently. Summary of the invention
[0004] The purpose of the present invention is to provide a method, device and readable storage medium for generating an insulation layer model, which can efficiently and accurately automatically generate an insulation layer model in a building model according to actual business needs.
[0005] According to one aspect of the present invention, a method for generating a thermal insulation layer model is provided, the method comprising:
[0006] Receiving a generation instruction, and determining a target component requiring an insulation layer to be arranged in a preset building model according to the generation instruction;
[0007] Generating a layer graphic element for covering the outer surface of the target component in the preset building model; wherein the layer graphic element is used to represent the thermal insulation layer;
[0008] For any two intersecting target components, transition processing is performed on two layer graphics elements located on the two intersecting target components, so that the two layer graphics elements after the transition processing have no gap and do not overlap at the intersection.
[0009] Optionally, receiving a generation instruction and determining a target component requiring an insulation layer to be arranged in a preset building model according to the generation instruction includes:
[0010] When the generating instruction is received, each component in the preset building model is traversed in turn, and it is determined whether the outer surface of the currently traversed component belongs to the preset surface type, and if so, the currently traversed component is set as the target component;
[0011] The preset surface types include at least one of the following: facade, roof, elevated floor, thermal bridge and surrounding of opening.
[0012] Optionally, generating a layer graphic element for covering the outer surface of the target component in the preset building model; wherein the layer graphic element is used to characterize the thermal insulation layer, includes:
[0013] Obtaining a preset mapping table; wherein the preset mapping table includes: various preset surface types and thermal insulation layer parameter information corresponding to each preset surface type;
[0014] Traverse each target component in turn, determine the target preset surface type to which the outer surface of the currently traversed target component belongs, and generate layer primitives on the outer surface of the currently traversed target component according to the insulation layer parameter information corresponding to the target preset surface type in the preset mapping table.
[0015] Optionally, for any two intersecting target components, performing transition processing on two layer graphics elements located on the two intersecting target components so that the two layer graphics elements after the transition processing have no gap and do not overlap at the intersection, includes:
[0016] When the two layer elements are located at the positive angle formed by the two intersecting target components, determining a gap formed by the two layer elements at the intersection, and extending one of the two layer elements until the gap is filled;
[0017] When the two layer graphics elements are located at the inner corner formed by the two intersecting target components, the overlapping area formed by the two layer graphics elements at the intersection is determined, and one of the two layer graphics elements is shrunk until there is no overlapping area between the two layer graphics elements.
[0018] Optionally, when the two layer elements are located at the positive angle formed by the two intersecting target components, determining a gap formed by the two layer elements at the intersection, and extending one of the two layer elements until the gap is filled, comprises:
[0019] When the first target component of the two intersecting target components is parallel to the ground and the second target component is perpendicular to the ground, and the first target component is a floor or a roof, the surface of the layer element on the second target component close to the notch is extended outward by a first extension distance; wherein the first extension distance is the thickness of the layer element on the first target component; or
[0020] When the first target component of the two intersecting target components is parallel to the ground and the second target component is perpendicular to the ground, and the first target component does not belong to a floor or a roof, the surface of the layer element on the first target component close to the notch is extended outward by a second extension distance; wherein the second extension distance is the thickness of the layer element on the second target component.
[0021] Optionally, when the two layer elements are located at the positive angle formed by the two intersecting target components, determining a gap formed by the two layer elements at the intersection, and extending one of the two layer elements until the gap is filled, comprises:
[0022] When the two layer elements are both perpendicular to the ground and the two layer elements are perpendicular to each other, if the vertical heights of the two layer elements are inconsistent, the surface of the layer element with a lower vertical height close to the notch is extended outward by a third extension distance; wherein the third extension distance is the thickness of the layer element with a higher vertical height; or,
[0023] If the vertical heights of the two layer primitives are consistent but the material deduction values are inconsistent, the surface of the layer primitive with the smaller material deduction value close to the notch is extended outward by a fourth extension distance; wherein the fourth extension distance is the thickness of the layer primitive with the larger material deduction value; or
[0024] If the vertical heights and material deduction values of the two layer primitives are consistent but the thicknesses are inconsistent, the surface of the layer primitive with smaller thickness close to the notch is extended outward by a fifth extension distance; wherein the fifth extension distance is the thickness of the layer primitive with larger thickness; or
[0025] If the vertical heights, material deduction values and thicknesses of the two layer graphics elements are consistent but the areas are inconsistent, the surface of the layer graphics element with a smaller area close to the notch is extended outward by a sixth extension distance; wherein the sixth extension distance is the thickness of the layer graphics element with a larger area.
[0026] Optionally, when the two layer graphics elements are located at the inner corner formed by the two intersecting target components, determining the overlapped area formed by the two layer graphics elements at the intersection, and shrinking one of the two layer graphics elements until there is no overlapped area between the two layer graphics elements, comprises:
[0027] When the first target component of the two intersecting target components is parallel to the ground and the second target component is perpendicular to the ground, and the first target component is a floor or a roof, the surface of the layer element on the second target component located in the overlapped area is shrunk inward by a first shrinkage distance; wherein the first shrinkage distance is the thickness of the layer element on the first target component; or
[0028] When the first target component of the two intersecting target components is parallel to the ground and the second target component is perpendicular to the ground, and the first target component does not belong to a floor or a roof, the surface of the layer element on the first target component located in the overlapping area is shrunk inward by a second shrinkage distance; wherein the second shrinkage distance is the thickness of the layer element on the second target component.
[0029] Optionally, when the two layer graphics elements are located at the inner corner formed by the two intersecting target components, determining the overlapped area formed by the two layer graphics elements at the intersection, and shrinking one of the two layer graphics elements until there is no overlapped area between the two layer graphics elements, comprises:
[0030] When the two layer elements are both perpendicular to the ground and the two layer elements are perpendicular to each other, if the vertical heights of the two layer elements are inconsistent, the surface of the layer element with a lower vertical height located in the overlapping area is shrunk inward by a third shrinkage distance; wherein the third shrinkage distance is the thickness of the layer element with a higher vertical height; or,
[0031] If the vertical heights of the two layer primitives are consistent but the material deduction values are inconsistent, the surface of the layer primitive with the smaller material deduction value located in the overlapped area is shrunk inward by a fourth shrinkage distance; wherein the fourth shrinkage distance is the thickness of the layer primitive with the larger material deduction value; or,
[0032] If the vertical heights and material deduction values of the two layer primitives are consistent but the thicknesses are inconsistent, the surface of the layer primitive with smaller thickness located in the overlapped area is shrunk inward by a fifth shrinkage distance; wherein the fifth shrinkage distance is the thickness of the layer primitive with larger thickness; or,
[0033] If the vertical heights, material deduction values and thicknesses of the two layer graphics elements are consistent but the areas are inconsistent, the surface of the layer graphics element with a larger area located in the overlapping area will be shrunk inward by a sixth shrinkage distance; wherein the sixth shrinkage distance is the thickness of the layer graphics element with a smaller area.
[0034] In order to achieve the above-mentioned purpose, the present invention also provides a computer device, which specifically includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the method for generating an insulation layer model introduced above are implemented.
[0035] In order to achieve the above object, the present invention also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method for generating an insulation layer model introduced above are implemented.
[0036] The method, device and readable storage medium for generating an insulation layer model provided by the present invention can automatically identify the outer surface positions of components where an external insulation layer needs to be arranged in a preset building model, and directly generate insulation layer models in batches according to a set mapping table, thereby reducing the workload of designers in manually creating insulation layer models; in addition, transition processing can be performed on the connections of the created insulation layer models, so that the insulation layer models after the transition processing can meet actual business scenarios; in addition, the insulation layer model can be added at any stage of the design, and the addition will not affect the logic of the original components that have been created, thereby reducing adjustments caused by non-standard modeling. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0038] Figure 1 An optional flow chart of the method for generating a thermal insulation layer model provided in the first embodiment;
[0039] Figure 2 A schematic flow chart of two methods for generating a thermal insulation layer model provided in Example 1;
[0040] Figure 3 A schematic diagram showing a gap at the intersection of two adjacent layer graphic elements provided in Example 1;
[0041] Figure 4 A schematic diagram showing that two adjacent layer graphics elements will have overlapping areas at the intersection provided in the first embodiment;
[0042] FIG5(a) is a schematic diagram of a transition process in which a gap appears at the intersection of two adjacent layer graphics elements provided in the first embodiment;
[0043] FIG5( b ) is a schematic diagram of a transition process in which a gap appears at the intersection of two adjacent layer graphics elements provided in the first embodiment;
[0044] FIG6(a) is a schematic diagram of another transition process in which a gap appears at the intersection of two adjacent layer graphics elements provided in the first embodiment;
[0045] FIG6( b ) is a schematic diagram of another transition process in which a gap appears at the intersection of two adjacent layer graphics elements provided in the first embodiment;
[0046] FIG. 7( a ) is a schematic diagram of a transition process in which overlapping areas appear at the intersection of two adjacent layer graphics elements provided in the first embodiment;
[0047] FIG. 7( b ) is a schematic diagram of a transition process in which overlapping areas appear at the intersection of two adjacent layer graphics elements provided in the first embodiment;
[0048] FIG8(a) is a schematic diagram of another transition process in which two adjacent layer graphics elements have overlapping areas at their intersections provided in the first embodiment;
[0049] FIG8( b ) is a schematic diagram of another transition process in which two adjacent layer graphics elements have overlapping areas at their intersections provided in the first embodiment;
[0050] Fig. 9 A schematic diagram of an optional composition structure of the device for generating a thermal insulation layer model provided in the second embodiment;
[0051] Fig.10 A schematic diagram of an optional hardware architecture of a computer device provided in Example 3. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0053] Embodiment 1
[0054] The embodiment of the present invention provides a method for generating a thermal insulation layer model. Figure 1 As shown, the method specifically comprises the following steps:
[0055] Step S101: receiving a generation instruction, and determining a target component that needs to be arranged with an insulation layer in a preset building model according to the generation instruction.
[0056] Among them, the preset building model is a BIM model; the BIM model is a data information model that can carry and reflect the entire process of building design, construction, operation and maintenance, and includes multiple components in the BIM model, such as: beam components, plate components, column components, etc.; in addition, the insulation layer is a structural layer based on the outer surface of the building body and has the function of maintaining indoor heat.
[0057] Preferably, the components suitable for arranging the thermal insulation layer include:
[0058] 1) Architectural components: eaves, parapets, building walls, building columns, building floors, building beams, and building roofs;
[0059] 2) Structural components: structural walls, structural columns, structural beams, structural floor slabs, and structural roofs.
[0060] Specifically, step S101 includes:
[0061] When the generating instruction is received, each component in the preset building model is traversed in turn, and it is determined whether the outer surface of the currently traversed component belongs to the preset surface type, and if so, the currently traversed component is set as the target component;
[0062] The preset surface types include at least one of the following: facade, roof, elevated floor, thermal bridge and surrounding of opening.
[0063] In this embodiment, when the user triggers a generation instruction for generating an insulation layer model, the target components suitable for arranging the insulation layer can be automatically identified from the preset building model according to the preset recognition algorithm; in combination with the business scenarios in actual applications, in this embodiment, insulation layers are arranged around the facade, roof, elevated floor, thermal bridge and opening; wherein, the facade, roof, elevated floor, thermal bridge and opening are defined as follows: the outer surfaces of all building walls with horizontal normal directions, the outer surfaces of building columns and the outer surfaces of building floor slabs are set as facades; the outer surfaces of all roofs are set as roofs; the outer surfaces of all structural walls with horizontal normal directions, the outer surfaces of structural columns and the outer surfaces of structural floor slabs are set as thermal bridges; the outer surfaces around door and window openings are set as openings; the bottom surfaces of building floors, the bottom surfaces of building roofs, the bottom surfaces of structural floors and the bottom surfaces of structural roofs are set as elevated floors. In addition, the recognition algorithm can be generated based on the above-mentioned definitions of facades, roofs, elevated floors, thermal bridges and the surroundings of openings, or information on whether each component belongs to the facades, roofs, elevated floors, thermal bridges and the surroundings of openings can be added in advance to the attribute information of each component, thereby identifying the target component from the preset building model through the attribute information.
[0064] Preferably, the correspondence between each surface (top surface, vertical surface, bottom surface) of each target component and the preset surface type (facade, roof, overhead floor, thermal bridge, around the opening) is shown in Table 1:
[0065] Table 1
[0066]
[0067] In addition, in this embodiment, the user is also supported to manually pick up the target component for arranging the insulation layer; specifically, the user can manually pick up the surface area of the target component in the building plan or the building 3D map to generate the insulation layer model in the surface area; in actual applications, the target components for arranging the insulation layer include: eaves, parapets, building walls, building columns, building floors, building beams, building roofs, structural walls, structural columns, structural beams, structural floors, and building roofs. It should also be noted that in the building plan, the range that the user can pick up is: the faces of all the cut components in the building plan; in the building 3D map, the range that the user can pick up is: the faces seen by all the supporting components in the building 3D map.
[0068] Therefore, step S101 further includes:
[0069] When a generation instruction generated by the user clicking on the target surface area of the target component in the preset building model is detected, the subsequent step S102 is performed based on the target surface area of the target component.
[0070] like Figure 2 As shown, two methods of generating the insulation layer model are provided in this embodiment; the first method is: the user manually picks the model surface to create the insulation layer model on the picked model surface; the second method is: the surfaces of all components outside the contact room are automatically identified to create the insulation layer model on all automatically identified surfaces. In addition, the difference between the above two methods of generating the insulation layer model is that in the first method, the user can pick the local surface area of the target component according to business needs to create the insulation layer model in the picked local surface area.
[0071] Step S102: generating layer primitives for covering the outer surface of the target component in the preset building model; wherein the layer primitives are used to represent the thermal insulation layer.
[0072] It should be noted that the length and width of the layer element are consistent with the length and width of the target outer surface of the target component, that is, the layer element is generated according to the length and width of the target outer surface of the target component and the preset thickness, wherein the target outer surface is the surface of the target component belonging to the preset surface type.
[0073] Specifically, step S102 includes:
[0074] Step A1: obtaining a preset mapping table; wherein the preset mapping table includes: various preset surface types and thermal insulation layer parameter information corresponding to each preset surface type;
[0075] It should be noted that the preset mapping table is pre-set by the user and is used to limit the parameter information of the insulation layer at different positions; preferably, the insulation layer parameter information includes: insulation layer material (i.e., insulation layer type) and thickness; for example, as shown in Table 2, it is an example of the preset mapping table:
[0076] Table 2
[0077] Serial number Preset Face Types Insulation type thickness 1 External facade Rock wool board 100 2 roof Rock wool board 100 3 Raised floor Inorganic fiber spraying 120 4 Thermal bridges Insulation mortar 50 5 Around the cave Insulation mortar 20
[0078] Step A2: traverse each target component in turn, determine the target preset surface type to which the outer surface of the currently traversed target component belongs, and generate layer graphics on the outer surface of the currently traversed target component according to the insulation layer parameter information corresponding to the target preset surface type in the preset mapping table.
[0079] Preferably, the step A2 comprises:
[0080] A layer primitive is generated according to the length and width of the target outer surface of the currently traversed target component and the thickness in the insulation layer parameter information; wherein the target outer surface is a surface of the target component that belongs to the target preset surface type.
[0081] It should also be noted that in the scenario where the user automatically picks a surface, the user can set the various parameter information of the insulation layer model according to business needs. In step S102, a layer primitive can be generated on the picked surface based on the length and width of the surface area picked by the user and the parameter information (thickness) set by the user.
[0082] Step S103: for any two intersecting target components, perform transition processing on two layer graphics elements located on the two intersecting target components, so that the two layer graphics elements after the transition processing have no gap and do not overlap at the intersection.
[0083] Since the length and width of the outer surface of the target component are used as the length and width of the layer element in step S102, and the transition between two adjacent layer elements at the intersection (or connection) is not considered, Figure 3 As shown, there will be a gap at the intersection of two adjacent layer elements, or, as shown in Figure 4 As shown in FIG. 1 , there will be an overlapped area at the intersection of two adjacent layer graphics. Therefore, in order to more accurately reflect the layout position of the insulation layer, it is necessary to filter the intersection of two adjacent layer graphics to eliminate gaps and overlapped areas.
[0084] Specifically, step S103 includes:
[0085] Step B1: when the two layer elements are located at the positive angle formed by the two intersecting target components, determining the gap formed by the two layer elements at the intersection, and extending one of the two layer elements until the gap is filled;
[0086] like Figure 3 As shown, the positive angle is a protruding angle formed by two components. When two adjacent layer elements are located outside the positive angle, a gap will appear. Therefore, one of the layer elements needs to be extended outward to fill the gap.
[0087] Step B2: When the two layer graphics elements are located at the inner corner formed by the two intersecting target components, determine the overlapping area formed by the two layer graphics elements at the intersection, and shrink one of the two layer graphics elements until there is no overlapping area between the two layer graphics elements.
[0088] like Figure 4 As shown, the inner angle is a recessed inner angle formed by two components. When two adjacent layer elements are located on the inner side of the inner angle, an overlapping area will appear. Therefore, one of the layer elements needs to be shrunk inward so that there is no overlapping area between the two adjacent layer elements.
[0089] In this embodiment, transition processing refers to: when there is a gap at the connection between two layer elements located on two intersecting target components, one of the layer elements is extended until the gap is filled; or, when there is an overlapping area at the connection between two layer elements located on two intersecting target components, one of the layer elements is contracted until the two layer elements do not have an overlapping area. Preferably, in order to determine which of the two layer elements is extended or contracted in the transition processing, this embodiment also provides a corresponding determination method based on the relative position relationship of the two layer elements. Specifically, the relative position relationship of the two layer elements includes: relative position relationship one, one of the two layer elements is parallel to the ground and the other layer element is perpendicular to the ground; relative position relationship two, both layer elements are perpendicular to the ground and the two layer elements are perpendicular to each other.
[0090] Further, with respect to the above relative position relationship 1, the target layer element that needs to be adjusted is determined according to the component types of the two target components corresponding to the two layer elements. At this time, the step B1 specifically includes:
[0091] When the first target component of the two intersecting target components is parallel to the ground and the second target component is perpendicular to the ground, and the first target component is a floor or a roof, the surface of the layer element on the second target component close to the notch is extended outward by a first extension distance; wherein the first extension distance is the thickness of the layer element on the first target component; or
[0092] When the first target component of the two intersecting target components is parallel to the ground and the second target component is perpendicular to the ground, and the first target component does not belong to a floor or a roof, the surface of the layer element on the first target component close to the notch is extended outward by a second extension distance; wherein the second extension distance is the thickness of the layer element on the second target component.
[0093] In this embodiment, when the positional relationship between the two target components is as follows Figure 3 As shown in FIG5(a), when one is parallel to the ground and the other is perpendicular to the ground, and the first target component in parallel is a floor or a roof, as shown in FIG5(a), the top surface of the upper element of the second target component is extended upward until it is coplanar with the top surface of the upper element of the first target component, or, as shown in FIG5(b), the bottom surface of the upper element of the second target component is extended downward until it is coplanar with the bottom surface of the upper element of the first target component. In addition, when the positional relationship of the two target components is as shown in FIG5(b), the upper element of the second target component is extended downward until it is coplanar with the bottom surface of the upper element of the first target component. Figure 3 As shown, when one is parallel to the ground and the other is perpendicular to the ground, and the first target component that is parallel is not a floor and a roof, as shown in FIG6(a), the left vertical surface of the upper element of the horizontal first target component is extended to the left until it is coplanar with the left vertical surface of the upper element of the second target component, or, as shown in FIG6(b), the right vertical surface of the upper element of the first target component is extended to the right until it is coplanar with the right vertical surface of the upper element of the second target component.
[0094] Furthermore, for the second relative position relationship, four judgment parameters with different priorities are set: vertical height>material deduction value>thickness>area. At this time, step B1 further includes:
[0095] When the two layer elements are both perpendicular to the ground and the two layer elements are perpendicular to each other, if the vertical heights of the two layer elements are inconsistent, the surface of the layer element with a lower vertical height close to the notch is extended outward by a third extension distance; wherein the third extension distance is the thickness of the layer element with a higher vertical height; or,
[0096] If the vertical heights of the two layer primitives are consistent but the material deduction values are inconsistent, the surface of the layer primitive with the smaller material deduction value close to the notch is extended outward by a fourth extension distance; wherein the fourth extension distance is the thickness of the layer primitive with the larger material deduction value; or
[0097] If the vertical heights and material deduction values of the two layer primitives are consistent but the thicknesses are inconsistent, the surface of the layer primitive with smaller thickness close to the notch is extended outward by a fifth extension distance; wherein the fifth extension distance is the thickness of the layer primitive with larger thickness; or
[0098] If the vertical heights, material deduction values and thicknesses of the two layer graphics elements are consistent but the areas are inconsistent, the surface of the layer graphics element with a smaller area close to the notch is extended outward by a sixth extension distance; wherein the sixth extension distance is the thickness of the layer graphics element with a larger area.
[0099] In addition, further, with respect to the above relative position relationship 1, the target layer element that needs to be adjusted is determined according to the component types of the two target components corresponding to the two layer elements. At this time, the step B2 specifically includes:
[0100] When the first target component of the two intersecting target components is parallel to the ground and the second target component is perpendicular to the ground, and the first target component is a floor or a roof, the surface of the layer element on the second target component located in the overlapped area is shrunk inward by a first shrinkage distance; wherein the first shrinkage distance is the thickness of the layer element on the first target component; or
[0101] When the first target component of the two intersecting target components is parallel to the ground and the second target component is perpendicular to the ground, and the first target component does not belong to a floor or a roof, the surface of the layer element on the first target component located in the overlapping area is shrunk inward by a second shrinkage distance; wherein the second shrinkage distance is the thickness of the layer element on the second target component.
[0102] In this embodiment, when the positional relationship between the two target components is as follows Figure 3 As shown in FIG7(a), when one is parallel to the ground and the other is perpendicular to the ground, in the case where the first target component in parallel is a floor or a roof, as shown in FIG7(a), the top surface of the upper layer element of the vertical second target component is shrunk downward until it is coplanar with the bottom surface of the upper layer element of the first target component, or, as shown in FIG7(b), the bottom surface of the upper layer element of the second target component is shrunk upward until it is coplanar with the top surface of the upper layer element of the first target component. In addition, when the positional relationship of the two target components is as shown in FIG7(b), the bottom surface of the upper layer element of the second target component is shrunk upward until it is coplanar with the top surface of the upper layer element of the first target component. Figure 3 As shown, when one is parallel to the ground and the other is perpendicular to the ground, when the parallel first target component is not a floor or a roof, as shown in FIG8(a), the left vertical surface of the upper element of the horizontal first target component is extended to the right until it is coplanar with the right vertical surface of the upper element of the second target component, or, as shown in FIG8(b), the right vertical surface of the upper element of the first target component is extended to the left until it is coplanar with the left vertical surface of the upper element of the second target component.
[0103] In addition, further, for the above relative position relationship 2, four judgment parameters with different priorities are set: vertical height>material deduction value>thickness>area. At this time, the step B2 further includes:
[0104] When the two layer elements are both perpendicular to the ground and the two layer elements are perpendicular to each other, if the vertical heights of the two layer elements are inconsistent, the surface of the layer element with a lower vertical height located in the overlapping area is shrunk inward by a third shrinkage distance; wherein the third shrinkage distance is the thickness of the layer element with a higher vertical height; or,
[0105] If the vertical heights of the two layer primitives are consistent but the material deduction values are inconsistent, the surface of the layer primitive with the smaller material deduction value located in the overlapped area is shrunk inward by a fourth shrinkage distance; wherein the fourth shrinkage distance is the thickness of the layer primitive with the larger material deduction value; or,
[0106] If the vertical heights and material deduction values of the two layer primitives are consistent but the thicknesses are inconsistent, the surface of the layer primitive with smaller thickness located in the overlapped area is shrunk inward by a fifth shrinkage distance; wherein the fifth shrinkage distance is the thickness of the layer primitive with larger thickness; or,
[0107] If the vertical heights, material deduction values and thicknesses of the two layer graphics elements are consistent but the areas are inconsistent, the surface of the layer graphics element with a larger area located in the overlapping area will be shrunk inward by a sixth shrinkage distance; wherein the sixth shrinkage distance is the thickness of the layer graphics element with a smaller area.
[0108] In the preset building model, after the above manual and automatic creation of the insulation layer and the transition processing of the insulation layer, the generated insulation layer model can already meet the actual business scenarios. The manual creation method is more flexible, and the outer surfaces of a variety of components can be selected for direct creation. In the automatic creation method, the location of the required external insulation layer can be identified through the program, and the insulation layer model can be directly generated in batches according to the set mapping table, reducing the workload of designers to manually create the insulation layer model. The insulation layer models created by both methods can be automatically transitioned, which is in line with the actual business scenarios and improves the design efficiency and accuracy. In addition, there is a weak correlation between the created insulation layer and the wall, and the insulation layer will not be automatically modified due to modifications or adjustments to the base structure, so as to ensure the flexibility of creation and adjustment of the two. In this embodiment, insulation layers can be added to various types of target components, including: eaves, parapets, building walls, building columns, building floors, building beams, building roofs, structural walls, structural columns, structural beams, structural floors, and structural roofs, and subsequent support for dynamic addition of target component types has strong expandability; in addition, the insulation layer can be added at any stage of the design, and the addition will not affect the logic of the original component that has been created, reducing adjustments caused by non-standard modeling.
[0109] Embodiment 2
[0110] The embodiment of the present invention provides a device for generating a thermal insulation layer model, such as Fig. 9 As shown, the device specifically includes the following components:
[0111] The receiving module 901 is used to receive a generation instruction and determine a target component that needs to be arranged with an insulation layer in a preset building model according to the generation instruction;
[0112] A generating module 902 is used to generate a layer graphic element for covering the outer surface of the target component in the preset building model; wherein the layer graphic element is used to represent the thermal insulation layer;
[0113] The transition module 903 is used to perform transition processing on two layer graphics elements located on any two intersecting target components, so that the two layer graphics elements after the transition processing have no gap and do not overlap at the intersection.
[0114] Specifically, the receiving module 901 is used to:
[0115] When the generating instruction is received, each component in the preset building model is traversed in turn, and it is determined whether the outer surface of the currently traversed component belongs to the preset surface type, and if so, the currently traversed component is set as the target component;
[0116] The preset surface types include at least one of the following: facade, roof, elevated floor, thermal bridge and surrounding of opening.
[0117] Specifically, the generating module 902 is used to:
[0118] Obtaining a preset mapping table; wherein the preset mapping table includes: various preset surface types and thermal insulation layer parameter information corresponding to each preset surface type;
[0119] Traverse each target component in turn, determine the target preset surface type to which the outer surface of the currently traversed target component belongs, and generate layer primitives on the outer surface of the currently traversed target component according to the insulation layer parameter information corresponding to the target preset surface type in the preset mapping table.
[0120] Specifically, the transition module 903 includes:
[0121] A positive angle unit, used for determining a gap formed at the intersection of the two layer elements when the two layer elements are located at the positive angle formed by the two intersecting target components, and extending one of the two layer elements until the gap is filled;
[0122] The inner corner unit is used to determine the overlapping area formed by the two layer elements at the intersection when the two layer elements are located at the inner corner formed by the two intersecting target components, and to shrink one of the two layer elements until there is no overlapping area between the two layer elements.
[0123] Furthermore, the external corner unit is specifically used for:
[0124] When the first target component of the two intersecting target components is parallel to the ground and the second target component is perpendicular to the ground, and the first target component is a floor or a roof, the surface of the layer element on the second target component close to the notch is extended outward by a first extension distance; wherein the first extension distance is the thickness of the layer element on the first target component; or
[0125] When the first target component of the two intersecting target components is parallel to the ground and the second target component is perpendicular to the ground, and the first target component does not belong to a floor or a roof, the surface of the layer element on the first target component close to the notch is extended outward by a second extension distance; wherein the second extension distance is the thickness of the layer element on the second target component.
[0126] Furthermore, the external corner unit is also specifically used for:
[0127] When the two layer elements are both perpendicular to the ground and the two layer elements are perpendicular to each other, if the vertical heights of the two layer elements are inconsistent, the surface of the layer element with a lower vertical height close to the notch is extended outward by a third extension distance; wherein the third extension distance is the thickness of the layer element with a higher vertical height; or,
[0128] If the vertical heights of the two layer primitives are consistent but the material deduction values are inconsistent, the surface of the layer primitive with the smaller material deduction value close to the notch is extended outward by a fourth extension distance; wherein the fourth extension distance is the thickness of the layer primitive with the larger material deduction value; or
[0129] If the vertical heights and material deduction values of the two layer primitives are consistent but the thicknesses are inconsistent, the surface of the layer primitive with smaller thickness close to the notch is extended outward by a fifth extension distance; wherein the fifth extension distance is the thickness of the layer primitive with larger thickness; or
[0130] If the vertical heights, material deduction values and thicknesses of the two layer graphics elements are consistent but the areas are inconsistent, the surface of the layer graphics element with a smaller area close to the notch is extended outward by a sixth extension distance; wherein the sixth extension distance is the thickness of the layer graphics element with a larger area.
[0131] Furthermore, the internal angle unit is specifically used for:
[0132] When the first target component of the two intersecting target components is parallel to the ground and the second target component is perpendicular to the ground, and the first target component is a floor or a roof, the surface of the layer element on the second target component located in the overlapped area is shrunk inward by a first shrinkage distance; wherein the first shrinkage distance is the thickness of the layer element on the first target component; or
[0133] When the first target component of the two intersecting target components is parallel to the ground and the second target component is perpendicular to the ground, and the first target component does not belong to a floor or a roof, the surface of the layer element on the first target component located in the overlapping area is shrunk inward by a second shrinkage distance; wherein the second shrinkage distance is the thickness of the layer element on the second target component.
[0134] Furthermore, the internal angle unit is also specifically used for:
[0135] When the two layer elements are both perpendicular to the ground and the two layer elements are perpendicular to each other, if the vertical heights of the two layer elements are inconsistent, the surface of the layer element with a lower vertical height located in the overlapping area is shrunk inward by a third shrinkage distance; wherein the third shrinkage distance is the thickness of the layer element with a higher vertical height; or,
[0136] If the vertical heights of the two layer primitives are consistent but the material deduction values are inconsistent, the surface of the layer primitive with the smaller material deduction value located in the overlapped area is shrunk inward by a fourth shrinkage distance; wherein the fourth shrinkage distance is the thickness of the layer primitive with the larger material deduction value; or,
[0137] If the vertical heights and material deduction values of the two layer primitives are consistent but the thicknesses are inconsistent, the surface of the layer primitive with smaller thickness located in the overlapped area is shrunk inward by a fifth shrinkage distance; wherein the fifth shrinkage distance is the thickness of the layer primitive with larger thickness; or,
[0138] If the vertical heights, material deduction values and thicknesses of the two layer graphics elements are consistent but the areas are inconsistent, the surface of the layer graphics element with a larger area located in the overlapping area will be shrunk inward by a sixth shrinkage distance; wherein the sixth shrinkage distance is the thickness of the layer graphics element with a smaller area.
[0139] Embodiment 3
[0140] This embodiment also provides a computer device, such as a smart phone, tablet computer, laptop computer, desktop computer, rack server, blade server, tower server or cabinet server (including an independent server or a server cluster composed of multiple servers) that can execute programs. Fig.10As shown, the computer device 100 of this embodiment includes at least but not limited to: a memory 1001 and a processor 1002 that can communicate with each other via a system bus. It should be noted that Fig.10 The computer device 100 is shown only with components 1001 - 1002 , but it should be understood that implementing all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.
[0141] In this embodiment, the memory 1001 (i.e., a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 1001 may be an internal storage unit of the computer device 100, such as a hard disk or a memory of the computer device 100. In other embodiments, the memory 1001 may also be an external storage device of the computer device 100, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the computer device 100. Of course, the memory 1001 may also include both the internal storage unit of the computer device 100 and its external storage device. In this embodiment, the memory 1001 is generally used to store an operating system and various application software installed on the computer device 100. In addition, the memory 1001 can also be used to temporarily store various types of data that have been output or are to be output.
[0142] In some embodiments, the processor 1002 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other chips for generating a thermal insulation layer model. The processor 1002 is generally used to control the overall operation of the computer device 100.
[0143] Specifically, in this embodiment, the processor 1002 is used to execute the program of the method for generating the thermal insulation layer model stored in the memory 1001, and the program of the method for generating the thermal insulation layer model implements the following steps when being executed:
[0144] Receiving a generation instruction, and determining a target component requiring an insulation layer to be arranged in a preset building model according to the generation instruction;
[0145] Generating a layer graphic element for covering the outer surface of the target component in the preset building model; wherein the layer graphic element is used to represent the thermal insulation layer;
[0146] For any two intersecting target components, transition processing is performed on two layer graphics elements located on the two intersecting target components, so that the two layer graphics elements after the transition processing have no gap and do not overlap at the intersection.
[0147] The specific implementation process of the above method steps can be found in Example 1, and this embodiment will not be repeated here.
[0148] Embodiment 4
[0149] This embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, a server, an App application store, etc., on which a computer program is stored. When the computer program is executed by a processor, the following method steps are implemented:
[0150] Receiving a generation instruction, and determining a target component requiring an insulation layer to be arranged in a preset building model according to the generation instruction;
[0151] Generating a layer graphic element for covering the outer surface of the target component in the preset building model; wherein the layer graphic element is used to represent the thermal insulation layer;
[0152] For any two intersecting target components, transition processing is performed on two layer graphics elements located on the two intersecting target components, so that the two layer graphics elements after the transition processing have no gap and do not overlap at the intersection.
[0153] The specific implementation process of the above method steps can be found in Example 1, and this embodiment will not be repeated here.
[0154] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0155] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0156] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method.
[0157] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for generating an insulation layer model, characterized in that: The method comprises: Receiving a generation instruction, and determining a target component requiring an insulation layer to be arranged in a preset building model according to the generation instruction; Generating a layer graphic element for covering the outer surface of the target component in the preset building model; wherein the layer graphic element is used to represent the thermal insulation layer; For any two intersecting target components, two layer graphics elements located on the two intersecting target components are subjected to transition processing, so that the two layer graphics elements after the transition processing have no gap and do not overlap at the intersection, specifically: When the two layer elements are located at the positive angle formed by the two intersecting target components, determining a gap formed by the two layer elements at the intersection, and extending one of the two layer elements until the gap is filled; When the two layer graphics elements are located at the inner corner formed by the two intersecting target components, the overlapping area formed by the two layer graphics elements at the intersection is determined, and one of the two layer graphics elements is shrunk until there is no overlapping area between the two layer graphics elements.
2. The method for generating a thermal insulation layer model according to claim 1, characterized in that: The receiving of the generation instruction and determining the target component requiring the arrangement of the insulation layer in the preset building model according to the generation instruction includes: When the generating instruction is received, each component in the preset building model is traversed in turn, and it is determined whether the outer surface of the currently traversed component belongs to the preset surface type, and if so, the currently traversed component is set as the target component; The preset surface types include at least one of the following: facade, roof, elevated floor, thermal bridge and surrounding of opening.
3. The method for generating a thermal insulation layer model according to claim 2, characterized in that: The step of generating a layer graphic element for covering the outer surface of the target component in the preset building model; wherein the layer graphic element is used to represent the thermal insulation layer, comprises: Obtaining a preset mapping table; wherein the preset mapping table includes: various preset surface types and thermal insulation layer parameter information corresponding to each preset surface type; Traverse each target component in turn, determine the target preset surface type to which the outer surface of the currently traversed target component belongs, and generate layer primitives on the outer surface of the currently traversed target component according to the insulation layer parameter information corresponding to the target preset surface type in the preset mapping table.
4. The method for generating a thermal insulation layer model according to claim 1, characterized in that: When the two layer elements are located at the positive angle formed by the two intersecting target components, determining a gap formed by the two layer elements at the intersection, and extending one of the two layer elements until the gap is filled, including: When the first target component of the two intersecting target components is parallel to the ground and the second target component is perpendicular to the ground, and the first target component is a floor or a roof, the surface of the layer element on the second target component close to the notch is extended outward by a first extension distance; wherein the first extension distance is the thickness of the layer element on the first target component; or When the first target component of the two intersecting target components is parallel to the ground and the second target component is perpendicular to the ground, and the first target component does not belong to a floor or a roof, the surface of the layer element on the first target component close to the notch is extended outward by a second extension distance; wherein the second extension distance is the thickness of the layer element on the second target component.
5. The method for generating a thermal insulation layer model according to claim 1, characterized in that: When the two layer elements are located at the positive angle formed by the two intersecting target components, determining a gap formed by the two layer elements at the intersection, and extending one of the two layer elements until the gap is filled, including: When the two layer elements are both perpendicular to the ground and the two layer elements are perpendicular to each other, if the vertical heights of the two layer elements are inconsistent, the surface of the layer element with a lower vertical height close to the notch is extended outward by a third extension distance; wherein the third extension distance is the thickness of the layer element with a higher vertical height; or, If the vertical heights of the two layer primitives are consistent but the material deduction values are inconsistent, the surface of the layer primitive with the smaller material deduction value close to the notch is extended outward by a fourth extension distance; wherein the fourth extension distance is the thickness of the layer primitive with the larger material deduction value; or If the vertical heights and material deduction values of the two layer primitives are consistent but the thicknesses are inconsistent, the surface of the layer primitive with smaller thickness close to the notch is extended outward by a fifth extension distance; wherein the fifth extension distance is the thickness of the layer primitive with larger thickness; or If the vertical heights, material deduction values and thicknesses of the two layer graphics elements are consistent but the areas are inconsistent, the surface of the layer graphics element with a smaller area close to the notch is extended outward by a sixth extension distance; wherein the sixth extension distance is the thickness of the layer graphics element with a larger area.
6. The method for generating a thermal insulation layer model according to claim 1, characterized in that: When the two layer primitives are located at the inner corner formed by the two intersecting target components, determining the overlapped area formed by the two layer primitives at the intersection, and shrinking one of the two layer primitives until there is no overlapped area between the two layer primitives, including: When the first target component of the two intersecting target components is parallel to the ground and the second target component is perpendicular to the ground, and the first target component is a floor or a roof, the surface of the layer element on the second target component located in the overlapped area is shrunk inward by a first shrinkage distance; wherein the first shrinkage distance is the thickness of the layer element on the first target component; or When the first target component of the two intersecting target components is parallel to the ground and the second target component is perpendicular to the ground, and the first target component does not belong to a floor or a roof, the surface of the layer element on the first target component located in the overlapping area is shrunk inward by a second shrinkage distance; wherein the second shrinkage distance is the thickness of the layer element on the second target component.
7. The method for generating a thermal insulation layer model according to claim 1, characterized in that: When the two layer primitives are located at the inner corner formed by the two intersecting target components, determining the overlapped area formed by the two layer primitives at the intersection, and shrinking one of the two layer primitives until there is no overlapped area between the two layer primitives, including: When the two layer elements are both perpendicular to the ground and the two layer elements are perpendicular to each other, if the vertical heights of the two layer elements are inconsistent, the surface of the layer element with a lower vertical height located in the overlapping area is shrunk inward by a third shrinkage distance; wherein the third shrinkage distance is the thickness of the layer element with a higher vertical height; or, If the vertical heights of the two layer primitives are consistent but the material deduction values are inconsistent, the surface of the layer primitive with the smaller material deduction value located in the overlapped area is shrunk inward by a fourth shrinkage distance; wherein the fourth shrinkage distance is the thickness of the layer primitive with the larger material deduction value; or, If the vertical heights and material deduction values of the two layer primitives are consistent but the thicknesses are inconsistent, the surface of the layer primitive with smaller thickness located in the overlapped area is shrunk inward by a fifth shrinkage distance; wherein the fifth shrinkage distance is the thickness of the layer primitive with larger thickness; or, If the vertical heights, material deduction values and thicknesses of the two layer graphics elements are consistent but the areas are inconsistent, the surface of the layer graphics element with a larger area located in the overlapping area will be shrunk inward by a sixth shrinkage distance; wherein the sixth shrinkage distance is the thickness of the layer graphics element with a smaller area.
8. A computer device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 7 when executing the computer program.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
