Method, device, equipment and storage medium for constructing building surface mesh
By setting specific nodes on the surface of the building and building a triangular manifold mesh, the problem that the surface surface mesh in the existing technology is difficult to meet the rigidity requirements, and the construction of the surface surface mesh with high stiffness and lightweight building is achieved.
Patent Information
- Application Number
- CN202111521324.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-13
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2041-12-13
AI Technical Summary
The prior art is difficult to meet the rigidity requirements when building a curved surface mesh in the building, especially when using an all-aluminum structural frame system.
By determining the main structural strip and segmented surface on the skin surface of the building, the first node, the second node and the third node are set along the main structural strip, the skin triangular manifold mesh is constructed, and the subdivided mesh edge is constructed based on the mesh to form the main structure and the slave structure.
It realizes the high stiffness and lightweightness of the building's surface surface mesh, meeting the requirements of structural strength and aesthetics.
Smart Images

Figure CN114329698B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of architectural design, and in particular to a method, device, equipment and storage medium for constructing a building surface curved mesh. Background Art
[0002] In the related art, a solution is provided for determining subdivision nodes in a complex geometric surface based on a triangular manifold mesh and constructing a surface mesh using the subdivision nodes. The surface mesh constructed using the above solution has pentagons and heptagons, and the mesh edges have a large deflection on the surface.
[0003] When adopting the above scheme, an all-aluminum frame structure system was initially selected for the skin design of a large building; however, calculations determined that the all-aluminum frame system could not meet the stiffness requirements. Summary of the invention
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a method, device, equipment and storage medium for constructing a building surface curved surface mesh.
[0005] In one aspect, the present disclosure provides a method for constructing a building surface mesh, comprising:
[0006] Determine the main structural strips on the building surface, and the segmented surfaces formed by segmenting the main structural strips;
[0007] Along the extension direction of the main structure strip, first nodes are arranged at intervals in the middle area of the main structure strip, and second nodes are arranged staggered with the first nodes at the two side edges of the main structure strip; and third nodes are arranged in each of the split curved surfaces; the spacing between adjacent first nodes, second nodes and third nodes is approximately the same;
[0008] A triangular manifold mesh of the epidermis is constructed based on the first node, the second node and the third node; the triangular manifold mesh of the epidermis includes a first mesh edge and a second mesh edge; the first mesh edge connects adjacent first nodes, or connects adjacent first nodes and second nodes; the second mesh edge connects adjacent second nodes, connects adjacent second nodes and third nodes, or connects adjacent third nodes;
[0009] Based on the midpoints of each mesh edge of the epidermis triangular manifold mesh, a corresponding epidermis subdivision node located on the epidermis curved surface of the building is determined; the epidermis subdivision node includes a first subdivision node corresponding to the first mesh edge and a second subdivision node corresponding to the second mesh edge;
[0010] Connecting the epidermis subdivision nodes corresponding to the mesh edges located on the same triangular face in the epidermis triangular manifold mesh to obtain an epidermis subdivision mesh edge; the epidermis subdivision mesh edge includes a first subdivision mesh edge and a second subdivision mesh edge; the first subdivision mesh edge is a mesh edge connecting the first subdivision node; the second subdivision mesh edge is a mesh edge connecting the first subdivision node and the second subdivision node, or connecting the second subdivision node;
[0011] The subdivided mesh edges are used to construct the epidermis surface mesh, wherein the first subdivided mesh edges are used to construct the main structure of the epidermis surface mesh, and the second subdivided mesh edges are used to construct the secondary structure of the epidermis surface mesh.
[0012] Optionally, setting a third node in each of the split curved surfaces includes:
[0013] Arranging a plurality of third nodes on each of the split curved surfaces respectively, and assigning the third nodes the same first collision radius;
[0014] A circle stacking algorithm is used to perform dynamic simulation within each of the segmented curved surfaces according to each of the third nodes and the first collision radius to determine the position of the third node.
[0015] Optionally, before constructing the building surface curved surface mesh using the subdivided mesh edge, the method further includes:
[0016] Determine polygons formed by the edges of the second subdivided grid, and determine the degree of deviation of each of the polygons from a regular polygon with a corresponding number of edges;
[0017] Selecting the polygon whose deviation degree is greater than a preset degree as the polygon to be adjusted;
[0018] Dynamic relaxation is performed on the second subdivided mesh edges constituting the polygon to be adjusted until the deviation degree is less than or equal to the preset degree.
[0019] Optionally, determining the degree of deviation of each polygon from a regular polygon having a corresponding number of sides includes:
[0020] Determine the minimum circumscribed circle of each of the polygons;
[0021] Calculate the ratio of the area of the polygon to the area of the corresponding minimum circumscribed circle;
[0022] The degree of deviation from the regular polygon having the corresponding number of sides is determined according to the area ratio.
[0023] Optionally, the method further comprises:
[0024] Selecting a local area constructed by the second subdivided grid edge, the morphological aesthetics of which does not satisfy the aesthetics judgment condition, as the local area to be adjusted;
[0025] Topological adjustment is performed on the local area to be adjusted to obtain an adjusted local grid, until the adjusted local area meets the aesthetic judgment condition.
[0026] Optionally, the aesthetic judgment conditions include:
[0027] The grid line deflection frequency of the local area is greater than a set frequency; and / or,
[0028] The number of connected hexagons in the local area is less than a set number; and / or,
[0029] The ratio of the total number of pentagons and heptagons in the local area to the total number of polygons in the local area is greater than a set ratio.
[0030] Optionally, before using the subdivided mesh edge to construct the skin surface mesh, the method further includes:
[0031] Determine a local area on the building surface surface where the subdivided mesh edge has a torsion rate greater than a preset torsion rate;
[0032] The epidermis surface morphology of the local area is adjusted, and / or the topological structure of the mesh in the local area is adjusted, and / or the subdivided mesh edge in the local area is dynamically relaxed to reduce the torsion rate of the subdivided mesh edge in the local area.
[0033] Optionally, the method further comprises: determining a lower edge line of a wall of a building, and determining an upper edge line of the wall of the building according to the main structural strip;
[0034] Determine a wall curved surface according to the lower edge line and the upper edge line;
[0035] Setting a plurality of fourth nodes on the wall surface, and assigning the fourth nodes the same second collision radius;
[0036] Using a circle stacking algorithm, according to each of the fourth nodes and the second collision radius, a dynamic simulation is performed within the wall surface to determine the position of the fourth node;
[0037] Constructing a triangular manifold mesh of the wall according to the fourth node;
[0038] Based on the midpoints of each mesh edge of the triangular manifold mesh of the wall, corresponding wall subdivision nodes are determined respectively; the wall subdivision nodes are located on the wall curved surface;
[0039] Connecting the wall subdivision nodes corresponding to the mesh edges located on the same triangular face to obtain a wall subdivision mesh edge;
[0040] Constructing a wall surface mesh using the wall subdivision mesh edges;
[0041] Align the upper endpoint of the wall surface mesh with the adjacent skin subdivision node.
[0042] Optionally, determining the upper edge line of the building wall according to the main structure strip includes: moving the main structure line in the main structure strip up by a set distance to serve as the upper edge line of the wall; the set distance is less than the second collision radius;
[0043] Before aligning the upper endpoint of the wall surface mesh with the adjacent skin subdivision node, the method includes: deleting the mesh edge of the wall subdivision mesh located above the building skin surface to obtain the deleted wall subdivision mesh;
[0044] Aligning the upper endpoint of the wall surface mesh with the adjacent skin subdivision node includes: aligning the upper endpoint of the deleted wall subdivision mesh with the adjacent skin subdivision node.
[0045] In another aspect, the present disclosure provides a device for constructing a building surface curved mesh, comprising:
[0046] A curved surface segmentation unit, used to determine the main structural strips on the building surface curved surface, and the segmented curved surfaces formed by segmenting the main structural strips;
[0047] A node determination unit is used to set first nodes at intervals in the middle area of the main structure strip along the extension direction of the main structure strip, and set second nodes staggered with the first nodes at the two side edges of the main structure strip; and set third nodes in each of the split curved surfaces; the spacing between adjacent first nodes, second nodes and third nodes is approximately the same;
[0048] An epidermal triangular manifold mesh construction unit is used to construct an epidermal triangular manifold mesh based on the first node, the second node and the third node; the epidermal triangular manifold mesh includes a first mesh edge and a second mesh edge; the first mesh edge connects adjacent first nodes, or connects adjacent first nodes and second nodes; the second mesh edge connects adjacent second nodes, connects adjacent second nodes and third nodes, or connects adjacent third nodes;
[0049] A skin subdivision node determination unit, configured to determine, based on the midpoints of each mesh edge of the skin triangular manifold mesh, corresponding skin subdivision nodes located on the skin surface of the building; the skin subdivision nodes include a first subdivision node corresponding to the first mesh edge, and a second subdivision node corresponding to the second mesh edge;
[0050] A mesh edge determination unit is configured to connect the epidermis subdivision nodes corresponding to the mesh edges located on the same triangular face in the epidermis triangular manifold mesh to obtain an epidermis subdivision mesh edge; the epidermis subdivision mesh edge includes a first subdivision mesh edge and a second subdivision mesh edge; the first subdivision mesh edge is a mesh edge connecting the first subdivision node; the second subdivision mesh edge is a mesh edge connecting the first subdivision node and the second subdivision node, or connecting the second subdivision node;
[0051] The epidermis surface mesh determination unit is used to construct the epidermis surface mesh by using the subdivided mesh edges, wherein the first subdivided mesh edges are used to construct the main structure of the epidermis surface mesh, and the second subdivided mesh edges are used to construct the secondary structure of the epidermis surface mesh.
[0052] On the other hand, the present disclosure provides an electronic device, comprising: a processor; and a memory storing a program, wherein the program comprises instructions, and when the instructions are executed by the processor, the processor executes the method as described above.
[0053] In yet another aspect, the present disclosure provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method as described in any of the preceding items.
[0054] Compared with the prior art, the technical solution provided by the present invention has the following advantages:
[0055] By using the building surface curved surface mesh construction method, device, electronic device and readable storage medium provided by the present disclosure, a surface curved surface mesh having a main structure and a subordinate structure can be constructed. The first subdivided mesh edge constituting the main structure can be made of a material with high rigidity, while the second subdivided mesh edge constituting the subordinate structure can be made of a lightweight material to ensure that the building surface curved surface mesh meets both structural strength requirements and lightweight requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0057] 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0058] Figure 1 is a flow chart of a method for constructing a building surface curved mesh provided by an embodiment of the present disclosure;
[0059] Figure 2 is a schematic diagram of a plane connection line of a main structure determined according to an embodiment of the present disclosure;
[0060] Figure 3 is a flowchart of setting a third node provided by some embodiments of the present disclosure;
[0061] Figure 4 is a schematic diagram of a triangular manifold mesh provided by some embodiments of the present disclosure;
[0062] Figure 5 is based on Figure 4 The building's skin surface mesh is constructed using a triangular manifold mesh;
[0063] Figure 6 It is a partial curved surface mesh constructed by using the building skin curved surface mesh construction method of the embodiment of the present disclosure;
[0064] Figure 7 is a flow chart of adjusting a surface mesh provided by an embodiment of the present disclosure;
[0065] Figure 8 It is a flow chart of adjusting the aesthetics of the surface mesh provided by the present disclosure;
[0066] Fig. 9 is a flow chart of a method for determining a grid structure of a supporting wall provided by an embodiment of the present disclosure;
[0067] Fig.10 is a schematic diagram of the structure of a building surface curved surface construction device provided by an embodiment of the present disclosure;
[0068] Fig.11 It is a schematic diagram of the structure of an electronic device provided by the present disclosure. DETAILED DESCRIPTION
[0069] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0070] It should be understood that the method embodiments of the present disclosure may include additional steps and / or omit performing the steps shown. The scope of the present disclosure is not limited in this respect.
[0071] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0072] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0073] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0074] Figure 1 : is a flow chart of the method for constructing a building surface mesh provided by the embodiment of the present disclosure. Figure 1 As shown, the method for constructing a building surface mesh provided by the embodiment of the present disclosure includes steps S101-S106.
[0075] Step S101: determining the main structural strips on the building surface and the segmented surfaces formed by segmenting the main structural strips.
[0076] Determining the main structural strips and segmented surfaces in the building's surface is used to subsequently determine the main structural grid and secondary structural grid of the building's surface.
[0077] In some embodiments of the present disclosure, the method for determining the main structural strips of the building surface may include steps S1011-S1014.
[0078] Step S1011: Determine the support position on the plan view.
[0079] The support position is a position used to support the curved surface grid of the building surface. The support position may include the point of the supporting column and / or the position of the supporting side wall. The support position can be based on the structural requirements and aesthetic requirements of the building, and the embodiments of the present disclosure are not particularly limited.
[0080] Step S1012: Connect the support positions to form a plane connection line of the main structure.
[0081] In some embodiments of the present disclosure, based on a preconceived main structure design, a planar connection line of the main structure may be formed by connecting the support positions in a straight line.
[0082] Figure 2 Schematic diagram of a plane connection line of a main structure determined according to an embodiment of the present disclosure. Figure 2 As shown, in one embodiment of the present disclosure, the points of the pre-set supporting columns 21 are connected by using straight connecting lines on the plan view to form a plane connecting line 22 of the main structure.
[0083] Step S1013: Project the main structural plane connection line onto the building surface curved surface to determine the main structural line located on the building surface curved surface.
[0084] In some embodiments of the present disclosure, an orthographic projection method may be used to orthographically project the connecting lines of the main structural planes onto the building's surface surface to determine the main structural lines located on the building's surface surface.
[0085] Step S1014: Determine the main structure strips according to the main structure lines.
[0086] In some embodiments of the present disclosure, the main structural strips of the building's surface can be obtained by extending the main structural line transversely on the building's surface based on the main structural line in an extension direction perpendicular to the main structural line.
[0087] In some other embodiments of the present disclosure, the method for determining the main structural strips of the building surface may include steps S1015-S1018.
[0088] Step S1015: Determine the support position on the plan view.
[0089] Step S1016: Connect the support positions to form a plane connection line of the main structure.
[0090] Steps S1015-S1016 are the same as steps S1011-S1012 in the previous text and will not be repeated here.
[0091] Step S1017: Based on the plane connection lines of the main structure, expand and determine the plane main structure strips.
[0092] In a specific embodiment, the planar main structure strip can be formed by horizontally expanding in accordance with a set size perpendicular to the extension direction of the planar connection line.
[0093] Step S1018: Project the planar main structure strip onto the building surface, and determine the main structure strip located on the building surface.
[0094] In some embodiments of the present disclosure, an orthographic projection method may be used to orthographically project the planar main structure strips onto the building surface, thereby determining the main structure strips located on the building surface.
[0095] In some embodiments of the present disclosure, in addition to forming the main structural strips of the building surface curved surface according to the aforementioned steps S1011-S1014 or steps S1015-S1018, the edges of the formed main structural strips can also be adjusted based on specific circumstances to form smoother main structural strips.
[0096] After determining the main structural strips of the building's surface, the building's surface is segmented according to the main structural strips to determine the segmented surface.
[0097] Step S102: along the extension direction of the main structure line of the main structure strip, first nodes are set at intervals on the main structure line, second nodes are set on both side edges of the main structure strip to be staggered with the first nodes; and third nodes are set in each segmentation surface.
[0098] In some embodiments of the present disclosure, a spacing distance may be set, and a first node is set in the extension direction of the main structure line according to the spacing distance; then, based on the first node set at the spacing, a second node is set at both side edges of the main structure strip, so that the second node is arranged alternately with the first node. The aforementioned spacing distance should make the spacing between adjacent first nodes and second nodes approximately the same.
[0099] In the disclosed embodiment, various existing methods can be used to set the third node in the segmentation surface. However, no matter which method is used, the spacing between adjacent third nodes, or between adjacent second nodes and third nodes should be approximately the same as the aforementioned spacing distance.
[0100] Figure 3 is a flowchart of setting a third node provided by some embodiments of the present disclosure. Figure 3 As shown, in some embodiments of the present disclosure, steps S1021-S1022 are used to set a third node within the split surface.
[0101] Step S1021: Arrange a plurality of third nodes on each segmentation surface respectively, and assign the third nodes the same first collision radius.
[0102] The arrangement of multiple third nodes on the split surface in step S1021 does not determine the positions of the third nodes, but only roughly determines the number of the third nodes, where the number of the third nodes can be determined according to the area of the split surface and the size of the first collision radius.
[0103] In the disclosed embodiment, in order to make the distance between adjacent third nodes, or the distance between adjacent second nodes and third nodes substantially the same as the aforementioned spacing distance, the first collision radius is preferably set to half of the aforementioned spacing distance.
[0104] Step S1022: using a circle stacking algorithm, and performing a dynamic simulation within the segmented surface according to the third node and the first collision radius, to determine the position of the third node.
[0105] In step S1022, a circle packing algorithm is used to perform dynamic simulation based on the third nodes and the corresponding first collision radius. Spheres with each third node as the center and the collision radius as the radius can be squeezed against each other, and the positions of each third node are adjusted by squeezing until the positions of each sphere on the entire surface are fixed; after the positions of each sphere are stabilized, the positions of each third node are also determined.
[0106] After step S102, a large number of nodes are set on the surface of the building, including the aforementioned first node, second node and third node; then step S103 can be executed.
[0107] Step S103: constructing a skin triangular manifold mesh based on the first node, the second node and the third node.
[0108] Figure 4 Schematic diagram of a triangular manifold mesh provided by some embodiments of the present disclosure. Figure 4 As shown, the triangular manifold mesh includes a first mesh edge 41 and a second mesh edge 42. The first mesh edge 41 is used to connect adjacent first nodes 43, or to connect adjacent first nodes 43 and second nodes 44. The second mesh edge 42 is used to connect adjacent second nodes 44, to connect adjacent second nodes 44 and third nodes 45, or to connect adjacent third nodes 45.
[0109] Combined with the positions of the first nodes 43 and the second nodes 44 determined in step S102 and the properties of the triangular manifold mesh, it can be determined that the first nodes 43 in the epidermal triangular manifold mesh are all hexavalent nodes, that is, each first node 43 is connected to two adjacent first nodes 43 and four second nodes 44.
[0110] Step S104: Based on the midpoints of the mesh edges of the epidermis triangular manifold mesh, the corresponding epidermis subdivision nodes located on the epidermis curved surface of the building are determined.
[0111] Because the positions of each mesh node (the first node 43, the second node 44 and the third node 45) in the epidermal triangular manifold mesh are determined, and each mesh edge of the triangular manifold mesh is formed by connecting two adjacent nodes, the midpoint of the mesh edge can be determined according to the positions of the two adjacent nodes.
[0112] In some embodiments of the present disclosure, after determining the midpoint of each mesh edge, the projection point of the midpoint on the building surface can be obtained as the surface subdivision node. In a specific embodiment, the projection point of the midpoint on the building surface can be determined by using the method of orthographic projection and normal projection, and then the surface subdivision node is determined.
[0113] In the embodiment of the present disclosure, the epidermis subdivision node includes a first subdivision node and a second subdivision node. The first subdivision node is a subdivision node corresponding to the first mesh edge, and the second subdivision node is a subdivision node corresponding to the second mesh edge.
[0114] Step S105: connecting the epidermis subdivision nodes corresponding to the mesh edges located on the same triangular face in the epidermis triangular manifold mesh to obtain the epidermis subdivision mesh edges.
[0115] Figure 5 is based on Figure 4 The building's surface mesh is constructed using a triangular manifold mesh. Figure 5 As shown, the epidermis subdivision mesh edge includes a first subdivision mesh edge 51 and a second subdivision mesh edge 52 ; the first subdivision mesh edge is a mesh edge connecting the first subdivision node 53 ; the second subdivision mesh edge is a mesh edge connecting the first subdivision node 53 and the second subdivision node 54 , or connecting the second subdivision node 54 .
[0116] Step S106: constructing the skin surface mesh of the building using subdivided mesh edges, wherein the first subdivided mesh edges are used to construct the main structure of the skin surface mesh, and the second subdivided mesh edges are used to construct the secondary structure of the skin surface mesh.
[0117] like Figure 5 As shown, the first subdivided mesh edge 51 is composed of staggered triangles and hexagons to form the main structure of the building surface mesh. The second subdivided mesh edge 52 is composed of triangles, hexagons, pentagons and heptagons to form the secondary structure of the building surface mesh.
[0118] In the embodiment of the present disclosure, the first subdivided mesh edge 51 constituting the main structure can be made of a material with higher rigidity (for example, it can be made of steel), and the second subdivided mesh edge 52 constituting the secondary structure can be made of a lightweight material (for example, it can be made of aluminum), so as to simultaneously ensure that the building surface curved surface mesh meets the structural strength requirements and lightweight requirements.
[0119] As mentioned above, in some embodiments of the present disclosure, steps S1021-S1022 are used to set the third node in each segmented surface. In practical applications, due to the setting of the main structure strip, the shape and size of the segmented surface may be long and narrow and small in area. In the case of a small size of the segmented surface, after using steps S1021-S1022, the surface mesh formed in the segmented surface may appear "flattened".
[0120] Figure 6 It is a partial surface mesh constructed by the building surface surface mesh construction method of the embodiment of the present disclosure. Figure 6 As shown, some meshes formed by the second subdivided mesh edges 52 are severely flattened meshes 61. However, such flattened meshes 61 are not conducive to the structure being subjected to omnidirectional loads, and their aesthetics are poor, so they need to be adjusted.
[0121] Figure 7 FIG. 1 is a flow chart of adjusting a surface mesh provided by an embodiment of the present disclosure. Figure 7 As shown, in order to adjust the aforementioned "flattened" surface mesh, in some embodiments of the present disclosure, after executing step S105 but before executing step S106, steps S201-S203 may also be executed.
[0122] S201: Determine polygons formed by the second subdivided mesh edges, and determine the degree of deviation of each polygon from a regular polygon with a corresponding number of edges.
[0123] In some embodiments of the present disclosure, steps S2011-S2013 may be used to determine the degree of deviation of a polygon from a regular polygon with a corresponding number of sides.
[0124] S2011: Determine the minimum circumscribed circle corresponding to each polygon.
[0125] The minimum circumscribed circle corresponding to a polygon is the minimum circumscribed circle that can contain all the vertices of the polygon.
[0126] S2012: Calculate the ratio of the area of the polygon to the area of the minimum circumscribed circle.
[0127] S2013: Determine the degree of deviation of the regular polygon with a corresponding number of sides according to the area ratio.
[0128] According to the properties of polygons, if the shape of a polygon is closer to a regular polygon, then its vertices are closer to the edge of the minimum circumscribed circle. Accordingly, the ratio of the area of the polygon to the area of the minimum circumscribed circle is larger. On the contrary, if the polygon is flattened, then some of its vertices deviate from the edge of the minimum circumscribed circle, and the area of the polygon is smaller than the area of the minimum circumscribed circle.
[0129] Therefore, the degree of deviation of the polygon from the corresponding regular polygon can be determined based on the size of the area ratio.
[0130] S202: Selecting a polygon whose deviation degree is greater than a preset degree as a polygon to be adjusted.
[0131] In some embodiments of the present disclosure, a preset degree can be set according to the shape of the polygon; if the deviation degree is greater than the preset degree, it is determined that the polygon is "flattened" to a large extent and needs to be adjusted, so it is used as the polygon to be adjusted.
[0132] S203: Dynamically relax the second subdivided mesh edges constituting the polygon to be adjusted until the degree of deviation is less than or equal to a preset degree.
[0133] In the disclosed embodiment, an existing dynamic relaxation method may be used to dynamically relax the second subdivided mesh edges constituting the polygon to be adjusted. For example, the dynamic relaxation method built into the kangaroo software may be used to dynamically relax the second subdivided mesh edges.
[0134] After dynamically relaxing the second subdivided mesh edge, steps S201 to S203 may be re-executed until the degree to which the polygon deviates from the regular polygon is less than a preset degree.
[0135] By adopting the aforementioned steps S201-S203, the polygons in the "flattened" state in the slave structure can be corrected to be close to regular polygons, thereby improving the structural performance and aesthetics of the slave structure grid in this area.
[0136] Figure 8 This is a flow chart of adjusting the aesthetics of the surface mesh provided by the present disclosure. Figure 8 As shown, in some embodiments of the present disclosure, in addition to using the aforementioned steps S201-S203 to correct some polygonal meshes, the steps of adjusting the aesthetics of the surface mesh shown in steps S301-S302 can also be performed before executing steps S201-S203.
[0137] Step S301: Select a local area constructed by the second subdivided mesh edge, whose morphological aesthetics does not meet the aesthetics judgment condition, as the local area to be adjusted.
[0138] In the disclosed embodiment, the aesthetics determination condition may be one or more of the following conditions.
[0139] 1. The grid line deflection frequency in the local area is greater than the set frequency. Grid line deflection refers to the deflection of the grid lines caused by non-hexagons in the grid. In specific applications, the grid line deflection frequency can be determined by the length of all grid lines and the number of grid line deflections; if the grid line deflection frequency in the local area is less than the set frequency, this local area needs to be used as the local area to be adjusted.
[0140] 2. The number of contiguous hexagons in a local area is less than the set number.
[0141] If there are continuous hexagons in a local area, the shape of this local area will be relatively monotonous, which affects the aesthetics. In specific implementations, a set number can be pre-set. If the number of continuous hexagons in the local area is greater than the set number, the local area needs to be adjusted.
[0142] (3) The ratio of the total number of pentagons and heptagons in the local area to the total number of polygons in the local area is greater than the set ratio.
[0143] In a specific embodiment of the present disclosure, based on steps S1021 - S1022 , the polygons in the grid of the structure area include pentagons, hexagons and heptagons.
[0144] The more pentagons and heptagons there are, the better the aesthetics of the mesh area. In the disclosed embodiment, a set ratio can be set. If the ratio of the total number of pentagons and heptagons to the total number of polygons in the local area is less than the set ratio, it indicates that the aesthetics of the local area is not good and this local area needs to be used as the local area to be adjusted.
[0145] Step S302: topologically adjust the local area to be adjusted to obtain an adjusted local mesh, until the adjusted local area meets the aesthetic judgment condition.
[0146] In step S302, the local area to be adjusted is topologically adjusted. The following methods can be used: (1) directly adjusting the second subdivision node in the area to be adjusted to achieve topological adjustment. (2) adjusting the third node of the area corresponding to the triangular manifold mesh to form a new triangular manifold mesh, and re-performing the aforementioned steps S103-S105 to obtain an adjusted local mesh.
[0147] After obtaining the adjusted local grid, the judgment step of step 301 may be re-executed until the aesthetic judgment condition is met.
[0148] In some embodiments of the present disclosure, before executing step S106, the following steps S401-S402 may also be executed.
[0149] S401: Determine a local area on the building surface where the subdivided mesh edge has a torsion rate greater than a preset torsion rate.
[0150] S402: adjusting the surface morphology of the region, and / or adjusting the topological structure of the mesh in the local region, and / or dynamically relaxing the subdivided mesh edges in the local region to reduce the torsion rate of the subdivided mesh edges.
[0151] Because the normal vectors of each skin subdivision node in the mesh are determined by the shape of the building skin surface, and the two ends of each subdivision mesh edge correspond to different skin node directions. In order to smoothly connect the subdivision mesh edges at each skin subdivision node, it is necessary to twist each subdivision mesh edge. In order to ensure the strength of the rod structure that actually forms the subdivision mesh edge, it is necessary to ensure that the torsion rate of the rod is within a reasonable range.
[0152] In the disclosed embodiment, it is determined through experimental tests that the factors affecting the torsion rate of the subdivided mesh edge include the building surface surface morphology, the topological structure of the mesh in the region, and whether the subdivided mesh edge is dynamically relaxed. Therefore, the torsion rate of the subdivided mesh edge can be reduced by adjusting the surface surface morphology of the region, adjusting the topological structure of the mesh in the region, and dynamically relaxing the subdivided mesh edge in the local region, until the torsion rate of the subdivided mesh edge is optimized.
[0153] In some embodiments of the present disclosure, the method for constructing a mesh of a building skin curved surface may include, in addition to constructing a mesh structure of the building skin curved surface, constructing a mesh structure of a supporting wall for supporting the building skin.
[0154] Fig. 9 FIG. 1 is a flow chart of a method for determining a grid structure supporting a wall provided by an embodiment of the present disclosure. Fig. 9 As shown, the method for determining the grid structure of the supporting wall includes steps S501-S508.
[0155] S501: Determine the lower edge line of the wall of the building; and determine the upper edge line of the wall of the building according to the main structural strips.
[0156] In step S501, the lower edge line of the wall can be determined based on the support position in the plan view, and the upper edge line of the wall can be determined based on the main structural strips in the building surface and the aforementioned lower edge line. Specifically, the upper edge line of the wall can be determined based on the main structural line in the main structural strips.
[0157] Step S502: Determine the wall curved surface according to the lower edge line and the upper edge line.
[0158] After determining the upper edge line and the lower edge line, a section line of the wall is then drawn, and a double-track scan is performed based on the upper edge line and the lower edge line to obtain the wall surface.
[0159] Step S503: setting a plurality of fourth nodes on the wall surface, and assigning the fourth nodes the same second collision radius.
[0160] The step S503 of arranging a plurality of fourth nodes on the wall surface does not determine the positions of the fourth nodes, but only roughly determines the number of the fourth nodes, wherein the number of the fourth nodes can be determined according to the area of the wall surface and the second collision radius.
[0161] Step S504: using a circle stacking algorithm, according to each fourth node and the second collision radius, a dynamic simulation is performed within the wall surface to determine the position of the fourth node.
[0162] In step S504, a circle packing algorithm is used to perform dynamic simulation based on the fourth node and the corresponding second collision radius. Spheres with each fourth node as the center and the collision radius as the radius can be squeezed against each other, and the positions of each third node are adjusted by squeezing until the positions of each sphere on the entire wall surface are fixed; after the positions of each sphere are stable, the positions of each fourth node are also determined.
[0163] Step S505: constructing a triangular manifold mesh of the wall according to the fourth node; and determining corresponding wall subdivision nodes based on the midpoints of each mesh edge of the triangular manifold mesh of the wall.
[0164] Because the positions of each fourth node in the triangular manifold mesh of the wall are determined, and each mesh edge of the triangular manifold mesh is formed by connecting two adjacent nodes, the midpoint of the mesh edge can be determined according to the positions of two adjacent fourth nodes.
[0165] In some embodiments of the present disclosure, after determining the midpoint of each mesh edge, the projection point of the midpoint on the wall surface can be obtained as the wall subdivision node. In a specific embodiment, the projection point of the midpoint on the wall surface can be determined by using the method of orthographic projection and normal projection, and then the wall subdivision node is determined.
[0166] Step S506: Connect the wall subdivision nodes corresponding to the mesh edges located on the same triangular face to obtain the wall subdivision mesh edges.
[0167] Step S507: constructing a wall surface mesh using the wall subdivision mesh edges.
[0168] Step S508: aligning the upper endpoint of the wall surface mesh with the adjacent skin subdivision node.
[0169] After the aforementioned steps S501-S508 are adopted, the wall curved surface mesh that can be used to support the building surface curved surface mesh.
[0170] In some embodiments of the present disclosure, determining the upper edge line of the building wall according to the main structure strip in step S501 may specifically include step S5011: moving the main structure line in the main structure strip up by a set distance to serve as the upper edge line of the wall. The set distance is less than the second collision radius. In a specific application, the set distance may be The second collision radius.
[0171] In the case of executing the aforementioned step S5011, before executing step S508, the following step S509 may also be executed: deleting the mesh edges of the wall subdivision mesh edges located above the building surface surface, to obtain the deleted wall subdivision mesh.
[0172] The corresponding step S508 may include: aligning the upper endpoint of the deleted wall subdivision grid with the adjacent skin subdivision node.
[0173] In practical applications, the more nodes that the wall surface mesh and the building skin surface mesh intersect, the more beneficial it is to the structure. By using the operations in the aforementioned steps S5011, S509 and S508, the connection nodes between the wall surface mesh and the building skin surface mesh can be increased.
[0174] In specific implementations, due to the shape of the wall surface and other reasons, there may be "flattened" polygonal meshes in the wall surface mesh. In this case, the wall subdivision mesh edges of the flattened polygonal meshes can also be dynamically relaxed to ensure the load-bearing structure requirements of the wall subdivision mesh and the aesthetics of the mesh image.
[0175] In addition to providing the aforementioned method for constructing a building surface curved surface mesh, the embodiment of the present disclosure also provides a device for constructing a building surface curved surface mesh.
[0176] Fig.10 Schematic diagram of the structure of the building surface curved surface construction device provided by the embodiment of the present disclosure. Fig.10 As shown, the building skin surface mesh construction device 100 disclosed in the present invention includes a surface segmentation unit 101, a node determination unit 102, a skin triangular manifold mesh construction unit 103, a skin subdivision node determination unit 104, a mesh edge determination unit 105 and a skin surface mesh determination unit 106.
[0177] The curved surface segmentation unit 101 is used to determine the main structural strips on the building surface curved surface and the segmented curved surfaces formed by segmenting the main structural strips.
[0178] The first node determination unit 102 is used to set first nodes at intervals in the middle area of the main structure strip along the extension direction of the main structure strip, set second nodes arranged alternately with the first nodes on both side edges of the main structure strip; and set third nodes in each split surface; the spacing between adjacent first nodes, second nodes and third nodes is approximately the same.
[0179] The epidermal triangular manifold mesh construction unit 103 is used to construct an epidermal triangular manifold mesh based on a first node, a second node and a third node; the epidermal triangular manifold mesh includes a first mesh edge and a second mesh edge; the first mesh edge connects adjacent first nodes, or connects adjacent first nodes and second nodes; the second mesh edge connects adjacent second nodes, connects adjacent second nodes and third nodes, or connects adjacent third nodes.
[0180] The epidermis subdivision node determination unit 104 is used to determine the corresponding epidermis subdivision nodes located on the epidermis surface of the building based on the midpoints of each mesh edge of the epidermis triangular manifold mesh; the epidermis subdivision nodes include a first subdivision node corresponding to the first mesh edge and a second subdivision node corresponding to the second mesh edge.
[0181] The mesh edge determination unit 105 connects the epidermis subdivision nodes corresponding to the mesh edges located on the same triangular face in the epidermis triangular manifold mesh to obtain the epidermis subdivision mesh edge; the epidermis subdivision mesh edge includes a first subdivision mesh edge and a second subdivision mesh edge; the first subdivision mesh edge is a mesh edge connecting the first subdivision node; the second subdivision mesh edge is a mesh edge connecting the first subdivision node and the second subdivision node, or connecting the second subdivision node.
[0182] The epidermis surface mesh determination unit 106 is used to construct the epidermis surface mesh by using subdivided mesh edges, wherein the first subdivided mesh edges are used to construct the main structure of the epidermis surface mesh, and the second subdivided mesh edges are used to construct the secondary structure of the epidermis surface mesh.
[0183] In some embodiments of the present disclosure, the node determination unit 102 may include a preconfiguration subunit and a dynamic simulation subunit. The preconfiguration subunit is used to respectively arrange multiple third nodes on each segmentation surface and assign the third nodes the same first collision radius. The dynamic simulation subunit is used to use a circle stacking algorithm to perform dynamic simulation in each segmentation surface according to each third node and the first collision radius to determine the position of the third node.
[0184] In some embodiments of the present disclosure, the device for constructing a building surface mesh may also include a deviation degree adjustment unit, which is used to determine polygons composed of second subdivided mesh edges, and determine the degree of deviation of each polygon from a regular polygon with a corresponding number of edges; select polygons with a deviation degree greater than a preset degree as polygons to be adjusted; and dynamically relax the second subdivided mesh edges that constitute the polygons to be adjusted until the deviation degree is less than or equal to the preset degree.
[0185] In some embodiments of the present disclosure, the deviation degree adjustment unit uses the following method to determine the deviation degree: determine the minimum circumscribed circle of each polygon; calculate the area ratio of the polygon area and the corresponding minimum circumscribed circle; determine the deviation degree of the regular polygon with the corresponding number of sides based on the area ratio.
[0186] In some embodiments of the present disclosure, a topology adjustment unit is also included, which is used to select a local area constructed by the second subdivided grid edge and whose morphological aesthetics does not meet the aesthetics judgment condition as the local area to be adjusted; topological adjustment is performed on the local area to be adjusted to obtain an adjusted local grid, until the adjusted local area meets the aesthetics judgment condition.
[0187] In some embodiments of the present disclosure, a torsion rate adjustment unit is further included, and the torsion rate adjustment unit is used to determine a local area of a subdivided mesh edge on a building surface surface where a torsion rate is greater than a preset torsion rate;
[0188] The skin surface morphology of the local area is adjusted, and / or the topological structure of the mesh in the local area is adjusted, and / or the subdivided mesh edges in the local area are dynamically relaxed to reduce the torsion rate of the subdivided mesh edges in the local area.
[0189] In some embodiments of the present disclosure, a side wall mesh construction unit includes a side wall edge unit, a side wall curved surface construction unit, a second node determination unit 102, a wall triangular manifold mesh determination unit, a wall subdivision mesh determination unit, and a wall curved surface construction unit.
[0190] The side wall edge unit is used to determine the lower edge line of the building wall, and to determine the upper edge line of the building wall based on the main structural strips.
[0191] The side wall curved surface construction unit is used to determine the wall curved surface according to the lower edge line and the upper edge line.
[0192] Set multiple fourth nodes on the wall surface, and assign the same second collision radius to the fourth nodes.
[0193] The second node determination unit 102 is used for performing a dynamic simulation in the wall surface according to each fourth node and the second collision radius by using a circle stacking algorithm to determine the position of the fourth node.
[0194] The wall triangular manifold mesh determination unit is used to construct the wall triangular manifold mesh according to the fourth node.
[0195] The wall subdivision mesh determination unit is used to determine the corresponding wall subdivision nodes based on the midpoints of each mesh edge of the wall triangular manifold mesh, and to connect the wall subdivision nodes corresponding to the mesh edges located on the same triangular face to obtain the wall subdivision mesh edges. The wall subdivision nodes are located on the wall surface.
[0196] The wall surface construction unit is used to construct a wall surface mesh using the wall subdivision mesh edge; and to align the upper endpoint of the wall surface mesh with the adjacent skin subdivision node.
[0197] In some embodiments of the present disclosure, the side wall edge unit determines the upper edge line of the building wall based on the main structural strip, including: moving the main structural line in the main structural strip up a set distance as the upper edge line of the wall; and setting the distance to be less than the second collision radius.
[0198] Correspondingly, before aligning the upper endpoint of the wall surface mesh with the adjacent skin subdivision node, the wall surface construction unit includes: deleting the mesh edge of the wall subdivision mesh that is located above the building skin surface to obtain the deleted wall subdivision mesh; the wall surface construction unit aligns the upper endpoint of the deleted wall subdivision mesh with the adjacent skin subdivision node.
[0199] Exemplary embodiments of the present disclosure also provide a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to execute the method according to an embodiment of the present disclosure.
[0200] The exemplary embodiments of the present disclosure also provide a computer program product, including a computer program, wherein the computer program is used to cause the computer to perform the method according to the embodiments of the present disclosure when executed by a processor of the computer.
[0201] Fig.11 This is a schematic diagram of the structure of the electronic device provided by the present disclosure, please refer to Fig.11, a block diagram of an electronic device 1100 that can be used as a server or client of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0202] like Fig.11 As shown, the electronic device 1100 includes a computing unit 1101, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1102 or a computer program loaded from a storage unit 1108 to a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the electronic device 1100 can also be stored. The computing unit 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.
[0203] Multiple components in the electronic device 1100 are connected to the I / O interface 1105, including: an input unit 1106, an output unit 1107, a storage unit 1108, and a communication unit 1109. The input unit 1106 can be any type of device that can input information to the electronic device 1100, and the input unit 1106 can receive input digital or character information, and generate key signal input related to user settings and / or function control of the electronic device. The output unit 1107 can be any type of device that can present information, and can include but is not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 1108 can include but is not limited to a disk, an optical disk. The communication unit 1109 allows the electronic device 1100 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and can include but is not limited to a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth™ device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.
[0204] The computing unit 1101 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1101 performs the various methods and processes described above. For example, in some embodiments, the surface mesh generation method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1108. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 1100 via the ROM 1102 and / or the communication unit 1109. In some embodiments, the computing unit 1101 may be configured to perform the surface mesh generation method in any other appropriate manner (e.g., by means of firmware).
[0205] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0206] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0207] As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and / or device (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0208] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0209] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0210] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.
[0211] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for constructing a building surface mesh, characterized in that: include: Determine the main structural strips on the building surface, and the segmented surfaces formed by segmenting the main structural strips; Along the extension direction of the main structure strip, first nodes are arranged at intervals in the middle area of the main structure strip, and second nodes are arranged staggered with the first nodes at the two side edges of the main structure strip; and third nodes are arranged in each of the split curved surfaces; the spacing between adjacent first nodes, second nodes and third nodes is approximately the same; A skin triangular manifold mesh is constructed based on the first node, the second node and the third node; the skin triangular manifold mesh includes a first mesh edge and a second mesh edge; the first mesh edge connects adjacent first nodes, or connects adjacent first nodes and second nodes; the second mesh edge connects adjacent second nodes, connects adjacent second nodes and third nodes, or connects adjacent third nodes; Based on the midpoints of each mesh edge of the epidermis triangular manifold mesh, a corresponding epidermis subdivision node located on the epidermis curved surface of the building is determined; the epidermis subdivision node includes a first subdivision node corresponding to the first mesh edge and a second subdivision node corresponding to the second mesh edge; Connecting the epidermis subdivision nodes corresponding to the mesh edges located on the same triangular face in the epidermis triangular manifold mesh to obtain an epidermis subdivision mesh edge; the epidermis subdivision mesh edge includes a first subdivision mesh edge and a second subdivision mesh edge; the first subdivision mesh edge is a mesh edge connecting the first subdivision node; the second subdivision mesh edge is a mesh edge connecting the first subdivision node and the second subdivision node, or connecting the second subdivision node; Using the subdivided mesh edges to construct the epidermis surface mesh, wherein the first subdivided mesh edges are used to construct the main structure of the epidermis surface mesh, and the second subdivided mesh edges are used to construct the secondary structure of the epidermis surface mesh; The step of determining the main structural strips on the building surface includes: Determine the support position on the plane; Connect the support positions to form the plane connection line of the main structure; Project the main structural plane connection line onto the building's surface surface to determine the main structural line located on the building's surface surface; According to the main structural line, determine the main structural strip.
2. A method for constructing a building surface mesh according to claim 1, characterized in that: The step of setting a third node in each of the split curved surfaces comprises: Arranging a plurality of third nodes on each of the split curved surfaces respectively, and assigning the third nodes the same first collision radius; A circle stacking algorithm is used to perform dynamic simulation within each of the segmented curved surfaces according to each of the third nodes and the first collision radius to determine the position of the third node.
3. A method for constructing a building surface mesh according to claim 2, characterized in that: Before using the subdivided mesh edges to construct the building surface curved surface mesh, the method further includes: Determine polygons formed by the edges of the second subdivided grid, and determine the degree of deviation of each of the polygons from a regular polygon with a corresponding number of edges; Selecting the polygon whose deviation degree is greater than a preset degree as the polygon to be adjusted; Dynamic relaxation is performed on the second subdivided mesh edges constituting the polygon to be adjusted until the deviation degree is less than or equal to the preset degree.
4. A method for constructing a building surface mesh according to claim 3, characterized in that: Determining the degree of deviation of each polygon from a regular polygon having a corresponding number of sides includes: Determine the minimum circumscribed circle of each of the polygons; Calculate the ratio of the area of the polygon to the area of the corresponding minimum circumscribed circle; The degree of deviation from the regular polygon having the corresponding number of sides is determined according to the area ratio.
5. The method for constructing a building surface mesh according to claim 3, characterized in that: Also includes: Selecting a local area constructed by the second subdivided grid edge, the morphological aesthetics of which does not satisfy the aesthetics judgment condition, as the local area to be adjusted; Topological adjustment is performed on the local area to be adjusted to obtain an adjusted local grid, until the adjusted local area meets the aesthetic judgment condition.
6. A method for constructing a building surface mesh according to claim 5, characterized in that: The aesthetic judgment conditions include: The grid line deflection frequency of the local area is greater than a set frequency; and / or, The number of connected hexagons in the local area is less than a set number; and / or, The ratio of the total number of pentagons and heptagons in the local area to the total number of polygons in the local area is greater than a set ratio.
7. The method for constructing a building surface mesh according to claim 1, characterized in that: Before using the subdivided mesh edge to construct the skin surface mesh, the method further includes: Determine a local area on the building surface surface where the subdivided mesh edge has a torsion rate greater than a preset torsion rate; The epidermis surface morphology of the local area is adjusted, and / or the topological structure of the mesh in the local area is adjusted, and / or the subdivided mesh edge in the local area is dynamically relaxed to reduce the torsion rate of the subdivided mesh edge in the local area.
8. The method for constructing a building surface mesh according to claim 1, characterized in that: Also includes: Determine the lower edge line of the wall of the building, and determine the upper edge line of the wall of the building based on the main structural strips; Determine a wall curved surface according to the lower edge line and the upper edge line; Setting a plurality of fourth nodes on the wall surface, and assigning the fourth nodes the same second collision radius; Using a circle stacking algorithm, according to each of the fourth nodes and the second collision radius, a dynamic simulation is performed within the wall surface to determine the position of the fourth node; Constructing a triangular manifold mesh of the wall according to the fourth node; Based on the midpoints of each mesh edge of the triangular manifold mesh of the wall, corresponding wall subdivision nodes are determined respectively; the wall subdivision nodes are located on the wall curved surface; Connecting the wall subdivision nodes corresponding to the mesh edges located on the same triangular face to obtain a wall subdivision mesh edge; Constructing a wall surface mesh using the wall subdivision mesh edges; Align the upper endpoint of the wall surface mesh with the adjacent skin subdivision node.
9. A method for constructing a building surface mesh according to claim 8, characterized in that: Determining the upper edge line of the building wall according to the main structure strips includes: moving the main structure line in the main structure strips upward by a set distance to serve as the upper edge line of the wall; the set distance is less than a second collision radius; Before aligning the upper endpoint of the wall surface mesh with the adjacent skin subdivision node, the method includes: deleting the mesh edge of the wall subdivision mesh located above the building skin surface to obtain the deleted wall subdivision mesh; Aligning the upper endpoint of the wall surface mesh with the adjacent skin subdivision node includes: aligning the upper endpoint of the deleted wall subdivision mesh with the adjacent skin subdivision node.
10. A device for constructing a building surface mesh, characterized in that: include: A curved surface segmentation unit, used to determine the main structural strips on the building surface curved surface, and the segmented curved surfaces formed by segmenting the main structural strips; A node determination unit is used to set first nodes at intervals in the middle area of the main structure strip along the extension direction of the main structure strip, and set second nodes staggered with the first nodes at the two side edges of the main structure strip; and set third nodes in each of the split curved surfaces; the spacing between adjacent first nodes, second nodes and third nodes is approximately the same; An epidermal triangular manifold mesh construction unit is used to construct an epidermal triangular manifold mesh based on the first node, the second node and the third node; the epidermal triangular manifold mesh includes a first mesh edge and a second mesh edge; the first mesh edge connects adjacent first nodes, or connects adjacent first nodes and second nodes; the second mesh edge connects adjacent second nodes, connects adjacent second nodes and third nodes, or connects adjacent third nodes; A skin subdivision node determination unit, configured to determine, based on the midpoints of each mesh edge of the skin triangular manifold mesh, corresponding skin subdivision nodes located on the skin surface of the building; the skin subdivision nodes include a first subdivision node corresponding to the first mesh edge, and a second subdivision node corresponding to the second mesh edge; A mesh edge determination unit is configured to connect the epidermis subdivision nodes corresponding to the mesh edges located on the same triangular face in the epidermis triangular manifold mesh to obtain an epidermis subdivision mesh edge; the epidermis subdivision mesh edge includes a first subdivision mesh edge and a second subdivision mesh edge; the first subdivision mesh edge is a mesh edge connecting the first subdivision node; the second subdivision mesh edge is a mesh edge connecting the first subdivision node and the second subdivision node, or connecting the second subdivision node; An epidermis surface mesh determination unit, configured to construct the epidermis surface mesh by using the subdivided mesh edges, wherein the first subdivided mesh edges are used to construct a main structure of the epidermis surface mesh, and the second subdivided mesh edges are used to construct a secondary structure of the epidermis surface mesh; The step of determining the main structural strips on the building surface includes: Determine the support position on the plane; Connect the support positions to form the plane connection line of the main structure; Project the main structural plane connection line onto the building's surface surface to determine the main structural line located on the building's surface surface; According to the main structural line, determine the main structural strip.
11. An electronic device, comprising: processor; as well as Memory for storing programs, The program includes instructions, which, when executed by the processor, cause the processor to perform the method according to any one of claims 1 to 9.
12. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-9.
Citation Information
Patent Citations
Multi-level subdivided mesh surface fitting method based on complicated boundary constraint
CN102867332A
Graph adjusting method and device
CN111767700A