Method, apparatus, electronic device, and storage medium for generating a ring-shaped curved surface
The method constructs dual-elliptical surfaces between parallel polygonal rings to balance structural stability and aesthetic freedom, achieving high efficiency and simplifying construction in ring-shaped curved surfaces.
Patent Information
- Application Number
- CN202510447019.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-10
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2045-04-10
AI Technical Summary
The prior art is difficult to achieve free and beautiful design while maintaining the stability of the annular curved surface structure, resulting in inadequate design and construction efficiency.
By constructing upper and lower ring polygons with parallel corresponding sides, using hyperbolic parabolic as the basic surface, and generating ring surfaces according to the principle of coplanarity, a system automated construction method is adopted to ensure smooth continuity and structural stability between surfaces.
The annular curved surface is visually smooth, continuous and stable in structure, improving design efficiency, simplifying the construction process, and reducing construction costs and cycles.
Smart Images

Figure CN119962062B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of computer systems, and in particular, to a method, device, electronic device, and storage medium for generating a ring-shaped surface. Background Art
[0002] In modern architectural design and structural engineering, ring-shaped surface structures are applied to various building projects due to their unique forms and functions, especially in scenarios such as square shading facilities, landmark structures, and exhibition centers. Ring-shaped structures usually have self-supporting characteristics, which enable them to remain stable without external support. At the same time, due to the geometric symmetry of the ring-shaped structure, loads can be effectively distributed to all parts of the structure, reducing local stress concentration and improving the overall structural stability and wind resistance. Therefore, ring-shaped structures are widely used in the design of large-span buildings and open spaces, especially in modern buildings that pursue visual impact.
[0003] Traditional design methods for ring-shaped surface structures usually include steps such as preliminary form design, mechanical analysis and optimization, structural division and modular design, and mechanical verification. By using symmetry and standardized modules, traditional design methods ensure the stability and load-bearing capacity of the structure. However, due to geometric complexity, ring-shaped structures also pose many technical challenges in design and construction. In the design of free-form surface structures, designers are often limited by existing geometric forms and construction methods, and it is difficult to achieve a free and beautiful surface design while maintaining structural stability. Summary of the Invention
[0004] This application provides a method, device, electronic device, and storage medium for generating a ring-shaped surface to solve the problem that it is difficult to balance structural stability and freedom and beauty of the ring-shaped surface.
[0005] In a first aspect, this application provides a method for generating a ring-shaped surface. The method includes: constructing an upper ring polygon and a lower ring polygon with corresponding sides parallel according to preset polygon parameters, where the number of sides of the upper ring polygon and the lower ring polygon is the same; constructing a surface according to the corresponding vertices of the upper ring polygon and the lower ring polygon and the target points closest to both sides of the corresponding vertices, where the target points are located on the central axis formed by the midpoints of the corresponding sides of the upper ring polygon and the lower ring polygon, the surface is a hyperbolic paraboloid, and the adjacent surfaces intersect at the target points as the only surface intersection points and conform to the coplanarity principle, and the coplanarity principle means that all the straight lines where the diagonally adjacent surfaces intersect at one point are always coplanar; traversing all the surface intersection points, and filling new surfaces based on the diagonally adjacent surfaces until no new surfaces can be formed, thereby generating a ring-shaped surface.
[0006] Optionally, the polygon parameters include: the radius of the loop polygon, the number of sides, the offset distance, the height difference, and the shift vector between the upper and lower loop polygons, and the eccentricity ratio. The offset distance refers to the distance by which the sides of the lower loop polygon are offset inward or outward relative to the corresponding sides of the upper loop polygon. The shift vector refers to the translation direction and translation distance of the center point of the lower loop polygon relative to the center point of the upper loop polygon on the horizontal plane. The eccentricity ratio refers to the ratio of the distance from the target point on the central axis to the first end point of the central axis to the distance from the target point to the second end point of the central axis.
[0007] Optionally, the surface constructed based on the vertex and the target point is a diagonally adjacent surface. The principle of coplanarity between diagonally adjacent surfaces includes: finding two first vertices among all the vertices of two diagonally adjacent surfaces that have no connection relationship with the surface intersection point, and finding four second vertices that have a connection relationship with the surface intersection point; if the surface intersection point lies in the plane formed by the four second vertices and the line segment connecting the two first vertices is parallel to the plane formed by the four second vertices, it is determined that the two diagonally adjacent surfaces conform to the coplanarity principle.
[0008] Optionally, traverse all the surface intersection points and fill new surfaces based on diagonally adjacent surfaces until no new surfaces can be formed, including: constructing a surface set based on the surfaces between the upper loop polygon and the lower loop polygon; traversing all the surface intersection points in the surface set, using the surface filling tool to fill a new surface between two adjacent surfaces, and adding the new surface to the existing surface set; traversing the surface intersection points in the newly generated surface set, finding the target intersection point where there are three surfaces at the surface intersection point and the included angle of the remaining space is less than 180°, and continuing to fill a new surface in the remaining space based on the target intersection point until no new surfaces can be formed.
[0009] Optionally, traversing all the surface intersection points in the surface set and using the surface filling tool to fill a new surface between two adjacent surfaces includes: traversing all the surface intersection points in the surface set to determine the diagonally adjacent surfaces associated with the set intersection point; using the surface filling tool to determine any one of the filling regions formed between the diagonally adjacent surfaces; determining two curves of each of the diagonally adjacent surfaces associated with the filling region, where the intersection point of the two curves of the surface is the adjacent point of the set intersection point; determining two adjacent edge vectors of the filling surface based on the directed vectors of the four associated curves, where the adjacent edge vectors are used to indicate the direction and boundary of the filling surface; determining the position and shape of the filling surface based on the two adjacent edge vectors of the filling surface and the set intersection point, where the filling surface conforms to the coplanarity principle with the two adjacent surfaces.
[0010] Optionally, after generating the annular surface, the method further includes: adjusting the radius of the annular surface by adjusting the radius of the upper ring polygon; or, adjusting the smoothness of the annular surface by adjusting the number of sides of the upper ring polygon; or, adjusting the opening ratio between the upper opening and the lower opening of the annular surface by adjusting the offset distance; or, adjusting the height of the annular surface by adjusting the height difference; or, adjusting the offset degree of the central axis of the annular surface relative to the vertical direction by adjusting the shift axis vector; or, adjusting the upward or downward surface extension trend of the annular surface by adjusting the eccentricity ratio.
[0011] Optionally, adjusting the upward or downward surface extension trend of the annular surface by adjusting the eccentricity ratio includes: adjusting the reduction of the eccentricity ratio to reduce the number of surfaces extending upward of the annular surface and increase the number of surfaces extending downward; adjusting the increase of the eccentricity ratio to increase the number of surfaces extending upward of the annular surface and reduce the number of surfaces extending downward.
[0012] In a second aspect, the present application provides an apparatus for generating an annular surface, the apparatus including: a first construction module for constructing an upper ring polygon and a lower ring polygon with corresponding sides parallel according to preset polygon parameters, where the number of sides of the upper ring polygon and the lower ring polygon is the same; a second construction module for constructing a surface according to the corresponding vertices of the upper ring polygon and the lower ring polygon and the target points closest to both sides of the corresponding vertices, where the target points are located on the central axis formed by the midpoints of the corresponding sides of the upper ring polygon and the lower ring polygon, the surface is a hyperbolic paraboloid, and the adjacent surfaces intersect at the target points as the only surface intersection points and comply with the coplanarity principle, and the coplanarity principle means that all the straight lines where the diagonally adjacent surfaces intersect at a point are always coplanar; a filling module for traversing all the surface intersection points and filling new surfaces on the basis of the diagonally adjacent surfaces until no new surfaces can be formed to generate an annular surface.
[0013] In a third aspect, the present application provides an electronic device, including: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus.
[0014] In a fourth aspect, the present application further provides a computer storage medium storing computer-executable instructions for executing the method for generating an annular surface according to any one of the above of the present application.
[0015] The above technical solution provided by the embodiments of the present application has the following advantages compared with the prior art: The present application constructs the initial surface through the upper ring polygon and the lower ring polygon, and then continuously generates surfaces on the basis of this surface to form an annular surface structure. Since the surface is a hyperbolic paraboloid and the diagonally adjacent surfaces conform to the coplanarity principle, the spliced hyperbolic paraboloid only bears axial force, achieving extremely high force transmission efficiency and strong structural stability; the spliced hyperbolic paraboloid constitutes an annular surface structure, realizing visual smooth continuity. The present application realizes the generation of an annular surface that takes into account both structural stability and freedom and beauty. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present invention and, together with the specification, are used to explain the principles of the present invention.
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0018] One or more embodiments are exemplarily illustrated by the pictures in the corresponding accompanying drawings. These exemplary illustrations do not limit the embodiments. Elements with the same reference numerals in the drawings represent similar elements. Unless otherwise stated, the drawings in the figures do not constitute a proportional limitation.
[0019] Figure 1 It is a flowchart of a method for generating an annular surface provided by the embodiments of the present application;
[0020] Figure 2A It is a schematic diagram of a vertex set and a midpoint set provided by the embodiments of the present application;
[0021] Figure 2B It is a schematic diagram of a central axis set provided by the embodiments of the present application;
[0022] Figure 2C It is a schematic diagram of a target point set provided by the embodiments of the present application;
[0023] Figure 2D It is a schematic diagram of a surface set provided by the embodiments of the present application;
[0024] Figure 3A It is a schematic diagram of the filled surface between diagonally adjacent surfaces provided by the embodiments of the present application;
[0025] Figure 3B It is a schematic diagram of generating an annular surface provided by the embodiments of the present application;
[0026] Figure 4 Schematic diagram of the offset distance x and height difference h provided by an embodiment of the present application;
[0027] Figure 5 Schematic diagram of the translation vector provided by an embodiment of the present application;
[0028] Figure 6 Schematic diagram of the eccentricity ratio provided by an embodiment of the present application;
[0029] Figure 7A Schematic diagram of the coplanarity of diagonally adjacent hyperbolic paraboloids provided by an embodiment of the present application;
[0030] Figure 7B Schematic diagram of the coplanarity of the diagonal hyperbolic paraboloid after adding auxiliary lines provided by an embodiment of the present application;
[0031] Figure 8 Schematic diagram of generating a filled surface using a filled surface tool provided by an embodiment of the present application;
[0032] Figure 9 Schematic diagram of adjusting the radius of the upper ring polygon provided by an embodiment of the present application;
[0033] Figure 10 Schematic diagram of adjusting the number of sides of the upper ring polygon provided by an embodiment of the present application;
[0034] Figure 11 Schematic diagram of adjusting the offset distance provided by an embodiment of the present application;
[0035] Figure 12 Schematic diagram of adjusting the height difference provided by an embodiment of the present application;
[0036] Figure 13 Schematic diagram of adjusting the translation vector provided by an embodiment of the present application;
[0037] Figure 14 Schematic diagram of adjusting the eccentricity ratio provided by an embodiment of the present application;
[0038] Figure 15 Schematic diagram of the structure of a device for generating an annular surface provided by an embodiment of the present application;
[0039] Figure 16 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0040] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the following will clearly and completely describe the technical solutions in the embodiments of this application with reference to the accompanying drawings in the embodiments of this application. Apparently, the described embodiments are only a part rather than all of the embodiments of this application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this application without creative efforts shall fall within the scope of protection of this application.
[0041] The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. To simplify the disclosure of the present invention, components and settings of specific examples are described below. Of course, they are only examples and are not intended to limit the present invention. In addition, the present invention may repeat reference numerals and / or letters in different examples. Such repetition is for the purpose of simplification and clarity and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0042] This application provides a method for generating an annular surface, which is applied to a server and is used to ensure that the generated annular surface takes into account both structural stability and free beauty. As Figure 1 shown, the method includes the following steps:
[0043] Step 101: Construct an upper ring polygon and a lower ring polygon with corresponding sides parallel according to preset polygon parameters, where the number of sides of the upper ring polygon and the lower ring polygon is the same;
[0044] Step 102: Construct a surface according to the corresponding vertices of the upper ring polygon and the lower ring polygon and the target points closest to both sides of the corresponding vertices, where the target points are located on the central axis formed by the midpoints of the corresponding sides of the upper ring polygon and the lower ring polygon, the surface is a hyperbolic paraboloid, and there is a unique surface intersection point between adjacent surfaces and it conforms to the coplanarity principle. The coplanarity principle means that all the straight lines where the diagonal adjacent surfaces intersect at a point are always coplanar;
[0045] Step 103: Traverse all the surface intersection points, and fill in new surfaces based on the diagonal adjacent surfaces until no new surfaces can be formed, thus generating an annular surface.
[0046] The system constructs two upper ring polygons and lower ring polygons with the same number of sides and corresponding sides parallel, and then constructs a circle of hyperbolic paraboloids with diagonal ends connected between the upper ring polygon and the lower ring polygon. There is one surface intersection point between adjacent surfaces and it conforms to the coplanarity principle. The system traverses all the surface intersection points, and thus continues to fill in new surfaces based on the diagonal adjacent surfaces until no new surfaces can be formed, obtaining the final annular surface.
[0047] Optionally, the sum of the interior angles of the ring polygon is equal to 360 degrees, and all the vertices of the ring polygon are concyclic. In addition, the ring polygon usually has a certain symmetry. For example, a regular pentagon, a regular hexagon, etc. are all ring polygons. The ring polygon in the embodiments of the present application has at least three sides.
[0048] Optionally, the process of constructing a curved surface between the upper ring polygon and the lower ring polygon is as follows:
[0049] (1) Assume that the vertex set of the upper ring polygon is A = {A1, A2,..., An}, the vertex set of the lower ring polygon is B = {B1, B2,..., Bn}, the midpoint set of each side in the upper ring polygon is M = {M1, M2,..., Mn}, and the midpoint set of each side in the lower ring polygon is N = {N1, N2,..., Nn}. Figure 2A It is a schematic diagram of the vertex sets and midpoint sets of the upper ring polygon and the lower ring polygon.
[0050] (2) Connecting the points in M and N correspondingly can obtain the central axis set W. Figure 2B It is a schematic diagram of the central axis set of the upper ring polygon and the lower ring polygon.
[0051] (3) The target points on the central axis are set as the set O = {O1, O2,..., On}, where O does not coincide with M and N. Figure 2C It is a schematic diagram of the target point set of the upper ring polygon and the lower ring polygon.
[0052] (4) Connect An, On, Bn, and On-1 in sequence to generate a curved surface. Figure 2D It is a schematic diagram of the curved surface set of the upper ring polygon and the lower ring polygon. For example, A2 - O2 - B2 - O1, A1 - O1 - B1 - O6. At the connection, O6 is equivalent to the previous point of O1.
[0053] Figure 3A It is a schematic diagram of filling a curved surface between diagonally adjacent curved surfaces. It can be seen that there are two filling areas between diagonally adjacent curved surfaces. Fill a curved surface in each filling area to form a combination of four curved surfaces. In the embodiments of the present application, each intersection point of the curved surfaces is connected to at most four curved surfaces.
[0054] Figure 3B It is a schematic diagram of generating a ring-shaped curved surface. It can be seen that in Figure 3B the first figure, according to the Figure 3A way of filling the curved surface, a layer of curved surface grows upward on the basis of the original circle of curved surfaces between the upper ring polygon and the lower ring polygon, forming two layers of curved surfaces; in Figure 3B the second figure, a layer of curved surface grows downward and upward respectively on the basis of the first figure, forming four layers of curved surfaces; inFigure 3B In the third figure, a layer of curved surfaces grows downward and upward respectively on the basis of the second figure, forming six layers of curved surfaces.
[0055] All the curved surfaces mentioned in the embodiments of the present application are hyperbolic paraboloids in the shape of quadrilaterals. The curved surfaces in the same layer intersect at a point and are connected end to end. The hyperbolic paraboloid itself has axial symmetry, and this symmetry helps to maintain the consistency and uniformity of the structure during splicing. By following the coplanar principle, the present application realizes the splicing of multiple hyperbolic paraboloids. The axes of symmetry of all hyperbolic paraboloids are located in the same plane. In this way, only axial forces are borne inside the generated curved surface, and no bending moment is generated, achieving extremely high force transmission efficiency and strong structural stability.
[0056] The present application constructs the initial curved surface through the upper ring polygon and the lower ring polygon, and then continuously generates curved surfaces on the basis of this curved surface to form an annular curved surface structure. Since the curved surface is a hyperbolic paraboloid and the diagonally adjacent curved surfaces conform to the coplanar principle, the spliced hyperbolic paraboloid only bears axial forces, achieving extremely high force transmission efficiency and strong structural stability; the spliced hyperbolic paraboloids form an annular curved surface structure, realizing visual smooth continuity. The present application realizes the generation of an annular curved surface that takes into account both structural stability and freedom and beauty.
[0057] In addition, when the prior art generates an annular curved surface structure, it often takes a large amount of time and resources for manual labor to balance the curved surface form and mechanical properties, resulting in low design efficiency. The present application uses systematic automation to construct the annular curved surface. The generated annular curved surface conforms to the curved surface form, and the hyperbolic paraboloid that conforms to the coplanar principle has structural stability. The system automatically balances the curved surface form and mechanical properties during the construction of the annular curved surface, improving the design efficiency compared with manual labor.
[0058] In addition, in the annular structure, in order to achieve a continuous and smooth free-form surface, the control of construction accuracy is crucial. However, existing construction technologies, such as template splicing and steel structure welding, are difficult to maintain high precision on large-scale complex curved surfaces, and it is easy to cause the accumulation of construction errors, which in turn affects the integrity and stability of the entire structure. The complexity of the construction process also leads to an increase in cost and an extension of the construction period. The present application utilizes the unique geometric and mechanical properties of the hyperbolic paraboloid. Through the accumulation of hyperbolic paraboloids, the construction process is simplified while ensuring that the design form is controllable and the structure is stable, meeting the design requirements for annular curved surface structures in modern architecture.
[0059] Optionally, the polygon parameters include: the radius of the loop polygon, the number of sides, the offset distance, height difference, and translation vector between the upper and lower loop polygons, and the eccentricity ratio. Here, the offset distance refers to the distance by which the sides of the lower loop polygon are offset inwards or outwards relative to the corresponding sides of the upper loop polygon; the translation vector refers to the translation direction and distance of the center point of the lower loop polygon relative to the center point of the upper loop polygon on the horizontal plane; and the eccentricity ratio refers to the ratio of the distance from a target point on the central axis to the first endpoint of the central axis to the distance from the target point to the second endpoint of the central axis.
[0060] The user inputs in advance at the terminal the radius of the loop polygon, the number of sides, the offset distance, height difference, and translation vector between the upper and lower loop polygons, and the eccentricity ratio to construct upper and lower loop polygons with corresponding parallel sides. The construction steps include the following.
[0061] To construct two loop polygons with corresponding parallel sides and a certain height difference between them (referred to as the upper and lower loop polygons), the following parameters need to be input.
[0062] 1. The radius and number of sides of the upper loop polygon. The polygon radius controls the radius of the annular surface at that point, and the number of sides controls the smoothness of the annular surface. The more sides there are, the closer the cross-section of the surface is to a circle. Here, the number of sides of the lower loop polygon is the same as that of the upper loop polygon, so there is no need to input the number of sides of the lower loop polygon; the radius of the lower loop polygon is reflected in the offset distance, and there is no need to input the radius of the lower loop polygon here either.
[0063] 2. The offset distance x and height difference h of the lower loop polygon relative to the upper loop polygon. Figure 4 is a schematic diagram of the offset distance x and height difference h. The offset distance x refers to the distance by which the sides of the lower loop polygon are offset inwards or outwards relative to the corresponding sides of the upper loop polygon, and is used to control the upper and lower openings of the annular surface. The height difference h affects the height of the annular surface, and the value of h must be greater than 0, otherwise a hyperbolic paraboloid cannot be constructed.
[0064] 3. The translation vector of the lower loop polygon relative to the upper loop polygon. If an XY coordinate system is established in the horizontal direction with the vertical direction as the Z axis, the translation vector refers to the translation direction and distance of the center point of the lower loop polygon relative to the center point of the upper loop polygon on the XY plane. As Figure 5 shown, originally the line connecting the center points of the lower and upper loop polygons should be parallel to the Z axis. After translation by the translation vector , the central axis forms a certain angle with the Z axis. Figure 5 is a schematic diagram of the translation vector.
[0065] 4. Eccentricity ratio. The eccentricity ratio can refer to the ratio of the distance between the target point and the first endpoint of the central axis to the distance between the target point and the second endpoint of the central axis, or the ratio of the distance between the target point and the upper endpoint to the length of the central axis, or the ratio of the distance between the target point and the lower endpoint to the length of the central axis. Figure 6 is a schematic diagram of the eccentricity ratio, as Figure 6 shown. Point M is the midpoint of AB, point N is the midpoint of CD, O is the intersection point of adjacent diagonal hyperbolic paraboloids, and point O can move on the central axis MN. The default eccentricity ratio is 0.5, and 0.5 corresponds to the midpoint of the central axis MN. When point O slides from point M to point N, the corresponding value range of the eccentricity ratio is [0, 1], but point O cannot coincide with points M and N.
[0066] As an alternative implementation, the surfaces constructed based on the vertices and the target point are diagonally adjacent surfaces. The coplanarity principle between diagonally adjacent surfaces includes: finding two first vertices among all the vertices of two diagonally adjacent surfaces that have no connection relationship with the surface intersection point, and finding four second vertices that have a connection relationship with the surface intersection point; if the surface intersection point is located in the plane formed by the four second vertices, and the line segment formed by the two first vertices is parallel to the plane formed by the four second vertices, then it is determined that the two diagonally adjacent surfaces conform to the coplanarity principle.
[0067] Figure 7A is a coplanarity schematic diagram of diagonally adjacent hyperbolic paraboloids, as Figure 7A shown. There are two diagonally adjacent surfaces: surface ABCD and surface DEFG. The midpoint of line segment AE is O, and the midpoint of line segment CG is O". Point D is located on line segment OO", and point D is also the surface intersection point. Among all the vertices of the diagonally adjacent surfaces, the two first vertices that have no connection relationship with point D are point B and point F, and the four second vertices that have a connection relationship with point D are points A, C, G, and E. Points B and F form line segment BF, and points A, C, G, and E form plane ACGE. If line segment BF is parallel to plane ACGE and point D is in plane ACGE (i.e., line segments AD, CD, ED, and GD are in the same plane), then it can be ensured that the diagonally adjacent hyperbolic paraboloids comply with the coplanarity principle.
[0068] The following uses auxiliary lines to illustrate: If line segment BF is parallel to plane ACGE and point D is in plane ACGE, then the hyperbolic paraboloid ABCD and the hyperbolic paraboloid DEFG conform to the coplanarity principle.
[0069] Figure 7BSchematic diagram of the coplanarity of a skew hyperbolic paraboloid after adding auxiliary lines. The requirement for two diagonally adjacent hyperbolic paraboloids to satisfy the coplanarity principle is that a unique solution can be obtained in the remaining space for the two diagonally adjacent hyperbolic paraboloids (which can be solved using the fill surface tool). In the figure, assume that point P represents this unique solution, and its solution process is as follows: draw a straight line through point M on the extension of BC l 1, l parallel to DC, and draw a line through point N on the extension of FG l 2, l parallel to DG (the ratio of CM to BC is equal to the ratio of GN to FG). In order to make l 1 and l 2 lie in the same plane, it is necessary to satisfy that BF is parallel to AEGC. The proof process is as follows: connect MN. Since l 1 is parallel to DC and l2 is parallel to DG, that is to say l 1 and l 2 are both parallel to the plane AEGC. If MN is parallel to AEGC, then l 1, l 2, and MN are in the same plane, then l 1 and l 2 have an intersection point P. At this time l 1 and l 2 are in a plane AEGC and have a unique intersection point, that is, there is a unique solution P. Therefore, the hyperbolic paraboloid ABCD and the hyperbolic paraboloid DEFG conform to the coplanarity principle. And BF being parallel to AEGC can be converted to MN being parallel to AEGC.
[0070] According to the above analysis, a unique solution can be obtained in the remaining space for diagonally adjacent hyperbolic paraboloids. Then, diagonally adjacent hyperbolic paraboloids conform to the coplanarity principle. The surfaces directly filled and generated using the fill surface tool are coplanar with the two diagonally adjacent hyperbolic paraboloids respectively. In this way, each newly filled surface conforms to the coplanarity principle with the diagonally adjacent surface, and finally all adjacent surfaces conform to the coplanarity principle. This application only needs to calculate the coplanarity principle based on diagonally adjacent hyperbolic paraboloids, and other surfaces that conform to the coplanarity principle are directly generated using the fill surface tool.
[0071] In step 103, the process of traversing all surface intersection points and filling new surfaces based on diagonally adjacent surfaces until no new surface can be formed is as follows: construct a surface set according to the surfaces between the upper ring polygon and the lower ring polygon; traverse all surface intersection points in the surface set, use the fill surface tool to fill a new surface between two adjacent surfaces, and add the new surface to the existing surface set; traverse the surface intersection points in the newly generated surface set, find the target intersection points where there are three surfaces at the surface intersection points and the included angle in the remaining space is less than 180°, and continue to fill a new surface in the remaining space according to the target intersection points until no new surface can be formed.
[0072] The specific process is as follows:
[0073] I. Construction of the initial surface set.
[0074] 1. Construction of the initial surface.
[0075] The system constructs a set of surfaces between the upper and lower ring polygons, and these surfaces form the initial surface set. There is a surface intersection point between every two adjacent surfaces, and these intersection points are the key points for subsequent filling operations.
[0076] 2. Traversal of the initial surface set.
[0077] The system traverses each surface intersection point in the initial surface set. Each surface intersection point already has two intersecting surfaces, and there are two empty filling areas between these two surfaces, as shown in the first figure of Figure 3A as follows.
[0078] II. The first filling operation.
[0079] Filling the first surface: The system uses the filling surface tool to fill a new surface in any one of the filling areas. After filling the surface, the number of surfaces at each surface intersection point increases from two to three, as shown in the second figure of Figure 3A as follows. The system adds the newly generated surface to the initial surface set to obtain a new surface set.
[0080] III. Continuing traversal and filling.
[0081] 1. Traversal of the newly generated surface set.
[0082] The system continues to traverse each surface intersection point in the newly generated surface set to find the target intersection point where there are three surfaces at the surface intersection point and the included angle of the remaining space is less than 180°.
[0083] 2. Filling the new surface.
[0084] For the found target intersection point, the system continues to fill a new surface in the remaining space. After filling, the number of surfaces at this intersection point increases from three to four, as shown in the third figure of Figure 3A as follows. The system adds the newly generated surface to the current surface set to update the surface set.
[0085] IV. Repeating the operation until no new surface can be formed.
[0086] 1. Repeating the filling operation.
[0087] The system continues to traverse each surface intersection point in the updated set of surfaces, and repeatedly searches for target intersection points where there are three surfaces at the surface intersection point and the included angle of the remaining space is less than 180°. For each found target intersection point, new surfaces are continuously filled in the remaining space, and the newly generated surfaces are added to the current set of surfaces.
[0088] 2. Termination condition.
[0089] When the system cannot find a target intersection point that meets the conditions, that is, when the included angle of the remaining space at all surface intersection points is not less than 180°, the filling operation terminates. At this time, the system has constructed a complete and gapless annular surface.
[0090] In this application, there are at most four surfaces at the surface intersection point, thus forming a tetrahedral combination. A tetrahedral combination refers to a solid composed of four faces, and its diagonal axis is usually a straight line connecting the diagonal vertices. Looking up or projecting along this diagonal axis, the main curve obtained will reflect the contour or shape of this solid in this direction. If there are no points with zero curvature on this main curve, it means that in this direction, the shape of the solid is continuously and uniformly curved, without sudden changes or inflection points. The diagonal axis curve of the tetrahedral combination having no points with zero curvature ensures the continuous curvature of the curve.
[0091] Optionally, traversing all surface intersection points in the set of surfaces and filling a new surface between two adjacent surfaces using the surface filling tool includes: traversing all surface intersection points in the set of surfaces, determining the diagonally adjacent surfaces associated with the set intersection point; using the surface filling tool to determine any one filling area formed between the diagonally adjacent surfaces; determining two curves of each surface in the diagonally adjacent surfaces associated with the filling area, where the intersection point of the two curves of the surface is the adjacent point of the set intersection point; determining two adjacent edge vectors of the filling surface according to the directed vectors of the four curves associated, where the adjacent edge vectors are used to indicate the direction and boundary of the filling surface; determining the position and shape of the filling surface according to the two adjacent edge vectors of the filling surface and the set intersection point.
[0092] To ensure the integrity and smoothness of the surface model, the system needs to traverse all surface intersection points and use the surface filling tool to fill new surfaces between diagonally adjacent surfaces. The surfaces generated using the surface filling tool conform to the coplanarity principle with the two adjacent surfaces. The following are the detailed steps and explanations.
[0093] 1. Traverse all surface intersection points in the set of surfaces.
[0094] The system traverses each surface intersection point in the initial set of surfaces and checks the surface conditions around each surface intersection point. The traversal operation can ensure that all possible gaps are filled, thus forming a complete surface model.
[0095] 2. Determine the diagonally adjacent surfaces associated with the set intersection point.
[0096] The system takes any surface intersection point as the set intersection point, and the system determines two diagonally adjacent surfaces directly associated with this set intersection point. These two surfaces are the surfaces that already exist at the intersection point. For example Figure 8 in, assume that the currently processed intersection point is D, and the two surfaces associated with D are surface ABCD and surface DEFG respectively. The system identifies the specific surfaces around each surface intersection point to determine the filling regions K1 and K2.
[0097] 3. Use the fill surface tool to determine any filling region formed between the diagonally adjacent surfaces.
[0098] The system uses the fill surface tool to identify the void regions between surface ABCD and surface DEFG. These regions are the parts that need to be filled, usually the angular regions between two diagonally adjacent surfaces. Two diagonally adjacent surfaces will generate two filling regions, and a surface can be filled in any one of the filling regions.
[0099] 4. Determine two curves of each surface in the diagonally adjacent surfaces associated with the filling region.
[0100] For one of the filling regions K1, there are two adjacent points of the set intersection point associated with this filling region, namely point C and point G. Point C is the intersection point of curve BC and curve DC in surface ABCD, and point G is the intersection point of curve DG and curve FG in surface DEFG. Then, curves BC, DC, DG, and FG are used as the four curves associated with filling region K1.
[0101] 5. Determine two adjacent edge vectors of the fill surface according to the directed vectors of the four associated curves.
[0102] The system calculates the directed vectors of the four curves BC, DC, DG, and FG. The directed vector represents the direction and length of the curve, and calculates these four directed vectors according to a preset formula to obtain the adjacent edge vectors of the two edges of the fill surface and , and these two adjacent edge vectors determine the boundary conditions of the fill surface.
[0103] 6. Determine the position and shape of the fill surface according to the two adjacent edge vectors of the fill surface and the set intersection point.
[0104] The system uses the adjacent edge vectors and And taking the set intersection point D as a reference, the system generates a filled surface CDGH. The generated filled surface CDGH complies with the coplanarity principle and smoothly transitions with the existing surfaces ABCD and DEFG, without obvious seams or mutations.
[0105] Add the generated filled surface CDGH to the surface set and update the surface model.
[0106] Figure 8 For a schematic diagram of generating a filled surface using the filled surface tool, as can be seen from Figure 8 On both sides of the diagonally adjacent surfaces ABCD and DEFG, a filled area K1 and a filled area K2 are respectively formed. If a quadrilateral surface is to be filled in the lower filled area K1, then two sides of the filled surface are known, which are DC and DG respectively, but the other two sides are unknown. If the other two sides are known, then the filled surface can be generated. Specifically, in any filled area, the filled area involves four sides of the diagonally adjacent surfaces on the central axis curve. For example, the filled area K1 involves four sides of two surfaces, which are BC, DC, DG, and FG respectively. Then, the adjacent edge vectors of the two sides CH and GH of the filled surface can be determined according to the directed vectors of these four sides. Finally, the position and shape of the filled surface CDGH can be determined according to the adjacent edge vectors 、 and the coordinates of point D.
[0107] According to Figure 8 in the example, the calculation formulas for the two adjacent edge vectors of the filled surface are: ; As an alternative implementation, after generating the annular surface, different surface forms can be obtained by adjusting the polygon parameters to form the final annular surface. The following are examples of different parameter adjustments.
[0108] 1. Adjust the radius of the annular surface by adjusting the radius of the upper ring polygon. Figure 9 For a schematic diagram of adjusting the radius of the upper ring polygon, it can be seen that the radius of the upper ring polygon is directly proportional to the radius of the annular surface. The larger the radius of the upper ring polygon, the larger the radius of the annular surface.
[0109] 2. Adjust the smoothness of the annular surface by adjusting the number of sides of the upper ring polygon. Figure 10 For a schematic diagram of adjusting the number of sides of the upper ring polygon, it can be seen that the number of sides of the upper ring polygon is directly proportional to the smoothness of the annular surface. The more the number of sides of the upper ring polygon, the smoother the annular surface.
[0110] 3. Adjust the opening ratio between the upper opening and the lower opening of the annular surface by adjusting the offset distance.Figure 11 Schematic diagram for adjusting the offset distance. If the edge of the lower ring polygon is offset inward, the opening ratio of the upper opening to the lower opening increases; if the edge of the lower ring polygon is offset outward, the opening ratio of the upper opening to the lower opening decreases.
[0111] 4. Adjust the height of the annular surface by adjusting the height difference. Figure 12 Schematic diagram for adjusting the height difference. The height difference between the upper ring polygon and the lower ring polygon is proportional to the height of the annular surface. The greater the height difference, the higher the height of the annular surface, and the smaller the height difference, the lower the height of the annular surface.
[0112] 5. The degree of deviation of the central axis of the annular surface relative to the vertical direction is adjusted by adjusting the axis shift vector. Figure 13 The diagram for adjusting the axis shift vector is that the size of the axis shift vector is proportional to the degree of offset, and the direction of the axis shift vector determines the offset direction of the central axis of the annular surface. Figure 13 It can be seen that by controlling the degree of deviation of the central axis relative to the vertical direction, the annular surface can present a non-centrally symmetrical form.
[0113] 6. The upward or downward extension trend of the annular surface can be adjusted by adjusting the eccentricity ratio. The eccentricity ratio can be the ratio of the distance between the target point and the upper end point to the distance between the target point and the lower end point, or the ratio of the distance between the target point and the lower end point to the distance between the target point and the upper end point.
[0114] Figure 14 Schematic diagram for adjusting the eccentricity ratio. Figure 14 The eccentricity ratio in is the ratio of the distance between the target point and the upper endpoint to the distance between the target point and the lower endpoint. It can be seen that as the target point gradually moves downward, the eccentricity ratio gradually increases, the number of surfaces extending upward from the annular surface increases, and the number of surfaces extending downward decreases. Conversely, as the target point gradually moves upward, the eccentricity ratio gradually decreases, the number of surfaces extending upward from the annular surface decreases, and the number of surfaces extending downward increases.
[0115] Among them, adjusting the form of the annular surface is actually adjusting the form of a circle of surfaces in the initial surface set. Figures 9 to 12 In the figure, the surfaces in the initial surface set are bold linear markers. Figure 14 In the figure, the surfaces in the initial surface set are bold linear and dot markers.
[0116] Based on the same technical concept, the present application provides an overall process for generating annular surfaces, including the following steps:
[0117] Step S1: Obtain the preset polygon parameters, which include the radius of the ring polygon, the number of sides, the offset distance, height difference, and shift vector between the upper and lower ring polygons, and the eccentricity ratio.
[0118] Step S2: Construct the upper and lower ring polygons with corresponding parallel sides according to the polygon parameters.
[0119] Step S3: Construct multiple diagonally adjacent surfaces between the upper and lower ring polygons, including the following steps:
[0120] Step S31: Assume that the vertex set of the upper ring polygon is A = {A1, A2,..., An}, the vertex set of the lower ring polygon is B = {B1, B2,..., Bn}, the midpoint set of each side of the upper ring polygon is M = {M1, M2,..., Mn}, and the midpoint set of each side of the lower ring polygon is N = {N1, N2,..., Nn}.
[0121] Step S32: Connect the points in M and N correspondingly to obtain the central axis set W.
[0122] Step S33: Set the target points on the central axis as the set O = {O1, O2,..., On}.
[0123] Step S34: Connect An, On, Bn, and On-1 in sequence to generate a surface.
[0124] Step S4: Use the filling surface tool to generate new surfaces based on the diagonally adjacent surfaces, including the following steps:
[0125] Step S41: Traverse all surface intersection points, use the filling surface tool to supplement a surface between two diagonally adjacent surfaces, and add the newly generated surface to the surface set.
[0126] Step S42: Traverse the intersection points of the new surface set. If there are three surfaces at an intersection point, judge the remaining space angle. If it is less than 180°, use the filling surface tool to generate the remaining surface and add the newly generated surface to the surface set. If it is greater than or equal to 180°, skip it.
[0127] Step S43: Repeat Step S42 until no new surfaces can be generated.
[0128] Step S5: Adjust the polygon parameters to generate the final ring-shaped surface.
[0129] In this application, on the one hand, a SPHS (Smooth Poly-Hypar Surface) structure is proposed. The smooth poly-hypar surface is used to construct an annular surface structure, which not only retains the excellent structural performance of the hyperbolic paraboloid but also realizes the smooth continuity of the annular structure visually. At the same time, the annular surface structure is constructed by two ring polygons with corresponding parallel sides, simplifying the design process and enabling the generation of an annular surface structure with complex forms, stable structures, and simple construction. On the other hand, based on the coplanarity principle, a generation algorithm for automatically generating the SPHS structure is proposed. Based on the combination of annular diagonal hyperbolic paraboloids, the automatic generation of the remaining surfaces is realized, improving the design efficiency. At the same time, this method can quickly adjust and optimize the annular surface structure by adjusting the input polygon parameters, making the design process more flexible and meeting different architectural requirements.
[0130] Based on the same technical concept, this application provides a device for generating an annular surface, as Figure 15 shown. The device includes:
[0131] A first construction module 1501, configured to construct an upper ring polygon and a lower ring polygon with corresponding parallel sides according to preset polygon parameters, where the number of sides of the upper ring polygon and the lower ring polygon is the same;
[0132] A second construction module 1502, configured to construct a surface according to the corresponding vertices of the upper ring polygon and the lower ring polygon and the target points closest to both sides of the corresponding vertices, where the target points are located on the central axis formed by the midpoints of the corresponding sides of the upper ring polygon and the lower ring polygon, the surface is a hyperbolic paraboloid, and the adjacent surfaces intersect at the target points as the only surface intersection points and conform to the coplanarity principle. The coplanarity principle means that all the straight lines where the diagonal adjacent surfaces intersect at a point are always coplanar;
[0133] A filling module 1503, configured to traverse all the surface intersection points and fill new surfaces based on the diagonal adjacent surfaces until no new surfaces can be formed, generating an annular surface.
[0134] Optionally, the polygon parameters include: the radius of the ring polygon, the number of sides, the offset distance, the height difference, and the translation vector, and the eccentricity ratio between the upper and lower ring polygons. The offset distance refers to the distance by which the side of the lower ring polygon is offset inward or outward relative to the corresponding side of the upper ring polygon. The translation vector refers to the translation direction and translation distance of the center point of the lower ring polygon relative to the center point of the upper ring polygon on the horizontal plane. The eccentricity ratio refers to the ratio of the distance from the target point on the central axis to the first end point of the central axis to the distance from the target point to the second end point of the central axis.
[0135] Optionally, the surfaces constructed according to the vertices and the target points are diagonal adjacent surfaces. The second construction module 1502 is configured to:
[0136] Find two first vertices among all the vertices of two diagonally adjacent surfaces that have no connection relationship with the surface intersection points, and find four second vertices that have a connection relationship with the surface intersection points;
[0137] If the surface intersection point is located in the plane formed by the four second vertices, and the line segment connecting the two first vertices is parallel to the plane formed by the four second vertices, then it is determined that the two diagonally adjacent surfaces conform to the coplanarity principle.
[0138] Optionally, the filling module 1503 is used for:
[0139] Construct a surface set according to the surface between the upper ring polygon and the lower ring polygon;
[0140] Traverse all the surface intersection points in the surface set, use the filling surface tool to fill a new surface between two adjacent surfaces, and add the new surface to the existing surface set;
[0141] Traverse the surface intersection points in the newly generated surface set, find the target intersection points where there are three surfaces at the surface intersection points and the included angle of the remaining space is less than 180°, and continue to fill a new surface in the remaining space according to the target intersection points until no new surface can be formed.
[0142] Optionally, the filling module 1503 is used for:
[0143] Traverse all the surface intersection points in the surface set to determine the diagonally adjacent surfaces associated with the set intersection points;
[0144] Use the filling surface tool to determine any filling area formed between the diagonally adjacent surfaces;
[0145] Determine two curves of each surface in the diagonally adjacent surfaces associated with the filling area, where the intersection point of the two curves of the surface is the adjacent point of the set intersection point;
[0146] Determine two adjacent edge vectors of the filling surface according to the directed vectors of the four associated curves, where the adjacent edge vectors are used to indicate the direction and boundary of the filling surface;
[0147] Determine the position and shape of the filling surface according to the two adjacent edge vectors of the filling surface and the set intersection point, where the filling surface conforms to the coplanarity principle with the two adjacent surfaces.
[0148] Optionally, the device is further used for:
[0149] Adjust the radius of the annular surface by adjusting the radius of the upper ring polygon; or,
[0150] Adjust the smoothness of the annular surface by adjusting the number of sides of the upper ring polygon; or,
[0151] Adjust the opening ratio between the upper opening and the lower opening of the annular surface by adjusting the offset distance; or,
[0152] Adjust the height of the annular surface by adjusting the height difference; or,
[0153] Adjust the offset degree of the central axis of the annular surface relative to the vertical direction by adjusting the shift vector; or,
[0154] Adjust the upward or downward surface extension trend of the annular surface by adjusting the eccentricity ratio.
[0155] Optionally, the device is further configured to:
[0156] By reducing the adjustment of the eccentricity ratio, the number of surfaces extending upward of the annular surface is reduced, and the number of surfaces extending downward is increased;
[0157] By increasing the adjustment of the eccentricity ratio, the number of surfaces extending upward of the annular surface is increased, and the number of surfaces extending downward is reduced.
[0158] As Figure 16 As shown, an embodiment of the present application provides an electronic device, including a processor 1601, a communication interface 1602, a memory 1603, and a communication bus 1604. Among them, the processor 1601, the communication interface 1602, and the memory 1603 complete mutual communication through the communication bus 1604.
[0159] The memory 1603 is used to store computer programs.
[0160] In an embodiment of the present application, when the processor 1601 is used to execute the program stored on the memory 1603, it implements the method for generating an annular surface provided in any one of the foregoing method embodiments.
[0161] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the steps of the method for generating an annular surface provided in any one of the foregoing method embodiments.
[0162] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0163] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the essence of the above technical solution, or the part that contributes to the related technology, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0164] It should be understood that the terms used herein are for the purpose of describing specific example embodiments only and are not intended to be limiting. Unless the context clearly indicates otherwise, as used herein, the singular forms "a", "an", and "the" may also include the plural forms. The terms "include", "comprise", "contain", and "have" are inclusive and thus specify the presence of the stated features, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and / or their combinations. The method steps, processes, and operations described herein are not to be construed as necessarily requiring them to be performed in the particular order described or illustrated, unless the order of performance is explicitly stated. It should also be understood that additional or alternative steps may be used.
[0165] The above are only specific embodiments of the present invention, enabling those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to these embodiments shown herein, but rather will conform to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for generating an annular curved surface, characterized in that, The method includes: Constructing an upper ring polygon and a lower ring polygon with parallel corresponding sides according to preset polygon parameters, where the number of sides of the upper ring polygon and the lower ring polygon is the same; Constructing a surface according to the corresponding vertices of the upper ring polygon and the lower ring polygon and the target points closest to both sides of the corresponding vertices, where the target points are located on the central axis formed by the midpoints of the corresponding sides of the upper ring polygon and the lower ring polygon, the surface is a hyperbolic paraboloid, and the adjacent surfaces intersect at the target points as the only surface intersection points and conform to the coplanarity principle, and the coplanarity principle means that all the straight lines intersecting at a point between diagonally adjacent surfaces are always coplanar; Traversing all the surface intersection points and filling new surfaces based on the diagonally adjacent surfaces until no new surface can be formed, generating an annular surface, where the annular surface belongs to the structure in architecture; Among them, the polygon parameters include: the radius of the ring polygon, the number of sides, the offset distance, the height difference, the translation vector, and the eccentricity ratio between the upper and lower ring polygons; Among them, the offset distance refers to the distance that the side of the lower ring polygon is offset inward or outward relative to the corresponding side of the upper ring polygon, the translation vector refers to the translation direction and translation distance of the center point of the lower ring polygon relative to the center point of the upper ring polygon on the horizontal plane, and the eccentricity ratio refers to the ratio of the distance from the target point on the central axis to the first end point of the central axis to the distance from the target point to the second end point of the central axis; 2. The method according to claim 1, wherein The surfaces constructed according to the vertices and the target points are diagonally adjacent surfaces, and the coplanarity principle between diagonally adjacent surfaces includes: Searching for two first vertices that have no connection relationship with the surface intersection point among all the vertices of two diagonally adjacent surfaces, and searching for four second vertices that have a connection relationship with the surface intersection point; If the surface intersection point is located in the plane formed by the four second vertices, and the line segment connected by the two first vertices is parallel to the plane formed by the four second vertices, it is determined that the two diagonally adjacent surfaces conform to the coplanarity principle.
3. The method according to claim 1, wherein Traversing all the surface intersection points and filling new surfaces based on the diagonally adjacent surfaces until no new surface can be formed includes: Constructing a surface set according to the surface between the upper ring polygon and the lower ring polygon; Traversing all the surface intersection points in the surface set, using a surface filling tool to fill a new surface between two adjacent surfaces, and adding the new surface to the existing surface set; Traversing the surface intersection points in the newly generated surface set, searching for a target intersection point where there are three surfaces at the surface intersection point and the included angle of the remaining space is less than 180°, and continuing to fill a new surface in the remaining space according to the target intersection point until no new surface can be formed.
4. The method according to claim 3, characterized in that, Traversing all the surface intersection points in the surface set and using a surface filling tool to fill a new surface between two adjacent surfaces includes: Traversing all the surface intersection points in the surface set and determining the diagonally adjacent surfaces associated with the set intersection point; Use the filling surface tool to determine any filling area formed between the diagonally adjacent surfaces; Determine two curves of each surface among the diagonally adjacent surfaces associated with the filling area, where the intersection point of the two curves of the surface is the adjacent point of the set intersection point; Determine two adjacent edge vectors of the filling surface according to the directed vectors of the four associated curves, where the adjacent edge vectors are used to indicate the direction and boundary of the filling surface; Determine the position and shape of the filling surface according to the two adjacent edge vectors of the filling surface and the set intersection point, where the filling surface and the two adjacent surfaces both conform to the coplanarity principle.
5. The method according to claim 1, characterized in that, After generating the annular surface, the method further includes: Adjust the radius of the annular surface by adjusting the radius of the upper ring polygon; or, Adjust the smoothness of the annular surface by adjusting the number of sides of the upper ring polygon; or, Adjust the opening ratio between the upper opening and the lower opening of the annular surface by adjusting the offset distance; or, Adjust the height of the annular surface by adjusting the height difference; or, Adjust the offset degree of the central axis of the annular surface relative to the vertical direction by adjusting the shift vector; or, Adjust the upward or downward surface extension trend of the annular surface by adjusting the eccentricity ratio.
6. The method according to claim 5, wherein Adjusting the upward or downward surface extension trend of the annular surface by adjusting the eccentricity ratio includes: Adjust the eccentricity ratio to decrease, so that the number of upward-extending surfaces of the annular surface decreases and the number of downward-extending surfaces increases; Adjust the eccentricity ratio to increase, so that the number of upward-extending surfaces of the annular surface increases and the number of downward-extending surfaces decreases.
7. A device for generating a toroidal surface, characterized in that, The device includes: A first construction module for constructing an upper ring polygon and a lower ring polygon with corresponding sides parallel according to preset polygon parameters, where the number of sides of the upper ring polygon and the lower ring polygon is the same; A second construction module for constructing a surface according to the corresponding vertices of the upper ring polygon and the lower ring polygon and the nearest target points on both sides of the corresponding vertices, where the target points are located on the central axis formed by the midpoints of the corresponding sides of the upper ring polygon and the lower ring polygon, the surface is a hyperbolic paraboloid, and the adjacent surfaces intersect at the target point as the only surface intersection point and conform to the coplanarity principle, and the coplanarity principle means that all straight lines intersecting at a point between diagonally adjacent surfaces are always coplanar; A filling module for traversing all surface intersection points and filling new surfaces on the basis of diagonally adjacent surfaces until no new surface can be formed, generating an annular surface, where the annular surface belongs to a structure in architecture; Wherein, the polygon parameters include: the radius of the ring polygon, the number of sides, the offset distance, the height difference, the shift vector, and the eccentricity ratio between the upper and lower ring polygons. Wherein, the offset distance refers to the distance by which the side of the lower ring polygon is offset inward or outward relative to the corresponding side of the upper ring polygon, the translation vector refers to the translation direction and translation distance on the horizontal plane of the center point of the lower ring polygon relative to the center point of the upper ring polygon, and the eccentricity ratio refers to the ratio of the distance from the target point on the central axis to the first end point of the central axis to the distance from the target point to the second end point of the central axis.
8. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete communication with each other through the communication bus; The memory is used for storing computer programs; The processor is used for implementing the method according to any one of claims 1-6 when executing the programs stored on the memory.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the method according to any one of claims 1-6 is implemented.
Citation Information
Patent Citations
Curved surface mesh generation method and device, electronic equipment and storage medium
CN118364641A
Flat trumpet-shaped multiple complex curved surface space grid structure
CN217352894U