Method and device for generating annular curved surface, electronic equipment and storage medium

By constructing a hyperbolic parabolic surface and filling the surface, the problem of the circular surface being difficult to take into account both structural stability and aesthetics, achieving efficient design and simplified construction.

CN119962062AActive Publication Date: 2025-05-09HARBIN INSTITUTE OF TECHNOLOGY (SHENZHEN) (INSTITUTE OF SCIENCE AND TECHNOLOGY INNOVATION HARBIN INSTITUTE OF TECHNOLOGY SHENZHEN)
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510447019.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-10
Publication Date
2025-05-09
Estimated Expiration
2045-04-10

AI Technical Summary

Technical Problem

The circular curved surface is difficult to take into account both structural stability and free and beautiful appearance.

Method used

By constructing upper and lower ring polygons with parallel corresponding sides, and constructing a hyperbolic parabolic surface based on their corresponding vertices and target points. The target point is the only surface intersection point between adjacent surfaces and conforms to the principle of coplanarity, iterates through all surface intersection points and fills new surfaces on the basis of diagonal adjacent surfaces until a new surface cannot be formed, creating a ring surface.

Benefits of technology

It achieves a balance between structural stability and visual smoothness and continuity, improves design efficiency, and simplifies the construction process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119962062A_ABST
    Figure CN119962062A_ABST
Patent Text Reader

Abstract

The invention relates to a method and device for generating an annular curved surface, electronic equipment and a storage medium, and the method comprises the steps: constructing an upper ring polygon and a lower ring polygon with parallel corresponding edges according to preset polygon parameters, and the numbers of the edges of the upper ring polygon and the lower ring polygon are the same; a curved surface is constructed according to the corresponding vertexes of the upper ring polygon and the lower ring polygon and closest target points on the two sides of the corresponding vertexes, the target points are located on the central axis formed by the midpoints of the corresponding edges of the upper ring polygon and the lower ring polygon, and the curved surface is a hyperbolic paraboloid; the adjacent curved surfaces take the target point as a unique curved surface intersection point and conform to a coplanar principle, and the coplanar principle means that all straight lines intersecting at one point between the diagonal adjacent curved surfaces are always coplanar; and traversing all curved surface intersection points, and filling a new curved surface on the basis of diagonally adjacent curved surfaces until the new curved surface cannot be formed, thereby generating an annular curved surface. The generated annular curved surface is stable in structure, free and attractive.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of computer systems, and in particular to a method, device, electronic device and storage medium for generating annular surfaces. Background Art

[0002] In modern architectural design and structural engineering, annular curved structures are used in various construction projects due to their unique form and function, especially in scenes such as square shading facilities, landmark structures, and exhibition centers. Annular structures usually have self-supporting characteristics, which allow them to remain stable without external support. At the same time, due to the geometric symmetry of the annular structure, the load can be effectively dispersed to various parts of the structure, reducing local stress concentration and improving the stability and wind resistance of the overall structure. Therefore, annular structures have been widely used in the design of large-span buildings and open spaces, especially in modern buildings that pursue visual impact.

[0003] The traditional design method of annular surface structures usually includes preliminary morphological design, mechanical analysis and optimization, structural division and modular design, mechanical verification and other steps. Through the use of symmetry and standardized modules, the traditional design method ensures the stability and load-bearing capacity of the structure, but due to the geometric complexity, the annular structure also brings many technical challenges to the 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 free and beautiful surface design while maintaining structural stability. Summary of the invention

[0004] The present application provides a method, device, electronic device and storage medium for generating annular surfaces, so as to solve the problem that it is difficult for annular surfaces to have both structural stability and freedom and beauty.

[0005] In the first aspect, the present application provides a method for generating an annular surface, the method comprising: constructing an upper ring polygon and a lower ring polygon with parallel corresponding sides according to preset polygon parameters, wherein 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 the two sides of the corresponding vertices, wherein the target point is located on the central axis formed by the midpoints of the corresponding sides of the upper ring polygon and the lower ring polygon, and the surface is a hyperbolic parabola, and the target point is the only surface intersection point between adjacent surfaces and complies with the coplanarity principle, which means that all straight lines intersecting at one point between diagonally adjacent surfaces are always coplanar; traversing all surface intersection points, and filling new surfaces on the basis of diagonally adjacent surfaces until no new surfaces can be formed, thereby generating an annular surface.

[0006] Optionally, the polygon parameters include: the radius of the ring polygon, the number of edges, the offset distance, height difference and shift axis vector between the upper and lower ring polygons and the lower ring polygon, and the eccentricity ratio, wherein the offset distance refers to the distance that the edge of the lower ring polygon is offset inward or outward relative to the corresponding edge of the upper ring polygon, the shift axis 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 in 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.

[0007] Optionally, the surface constructed based on the vertices and the target point is a diagonally adjacent surface, and the diagonally adjacent surfaces comply with the coplanar principle, including: searching for two first vertices that have no connection with the surface intersection point among all the vertices of the two diagonally adjacent surfaces, and searching for four second vertices that have a connection 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 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 comply with the coplanar principle.

[0008] Optionally, traversing all surface intersection points and filling new surfaces based on diagonally adjacent surfaces until no new surface can be formed includes: constructing a surface set based on the surface between the upper ring polygon and the lower ring polygon; traversing all surface intersection points in the surface set, using a fill surface 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 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.

[0009] Optionally, traversing all the surface intersection points in the surface set and using the fill surface 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 points; using the fill surface tool to determine any filling area formed between the diagonally adjacent surfaces; determining two curves of each of the diagonally adjacent surfaces associated with the filling area, wherein the intersection point of the two curves of the surface is the neighboring 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, wherein 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 points, wherein the filling surface and the two adjacent surfaces conform to the coplanar principle.

[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 annular polygon; or, adjusting the smoothness of the annular surface by adjusting the number of edges of the upper annular 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 degree of offset of the central axis of the annular surface relative to the vertical direction by adjusting the axis shift 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 extension trend of the annular surface by adjusting the eccentricity ratio includes: by adjusting the eccentricity ratio to decrease, the number of surfaces extending upward of the annular surface is reduced, and the number of surfaces extending downward is increased; by adjusting the eccentricity ratio to increase, the number of surfaces extending upward of the annular surface is increased, and the number of surfaces extending downward is reduced.

[0012] In the second aspect, the present application provides a device for generating annular surfaces, the device comprising: a first construction module, used to construct an upper ring polygon and a lower ring polygon with parallel corresponding sides according to preset polygon parameters, wherein the number of sides of the upper ring polygon and the lower ring polygon is the same; a second construction module, used 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 the two sides of the corresponding vertices, wherein the target point is located on the central axis formed by the midpoints of the corresponding sides of the upper ring polygon and the lower ring polygon, and the surface is a hyperbolic parabola, and the target point is the only surface intersection point between adjacent surfaces and complies with the coplanarity principle, which means that all straight lines intersecting at one point between diagonally adjacent surfaces are always coplanar; a filling module, used to traverse all surface intersection points, and fill new surfaces on the basis of diagonally adjacent surfaces until no new surface can be formed, thereby generating an annular surface.

[0013] In a third aspect, the present application provides an electronic device comprising: 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, wherein the computer executable instructions are used to execute the method for generating annular surfaces as described in any one of the above items of the present application.

[0015] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the present application constructs the initial curved surface through the upper ring polygon and the lower ring polygon, and then continuously generates curved surfaces based on the 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 force, achieving extremely high force transmission efficiency and strong structural stability; the spliced ​​hyperbolic paraboloids constitute an annular curved surface structure, achieving visual smoothness and continuity. The annular curved surface generated by the present application takes into account both structural stability and free beauty. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0017] 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.

[0018] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0019] Figure 1 A flow chart of a method for generating annular surfaces provided in an embodiment of the present application; Figure 2A A schematic diagram of a vertex set and a midpoint set provided in an embodiment of the present application; Figure 2B A schematic diagram of a central axis set provided in an embodiment of the present application; Figure 2C A schematic diagram of a target point set provided in an embodiment of the present application; Figure 2D A schematic diagram of a surface set provided in an embodiment of the present application; Figure 3A A schematic diagram of a filling curved surface between diagonally adjacent curved surfaces provided in an embodiment of the present application; Figure 3B A schematic diagram of generating an annular surface provided in an embodiment of the present application; Figure 4 A schematic diagram of an offset distance x and a height difference h provided in an embodiment of the present application; Figure 5 A schematic diagram of the axis shift vector provided in an embodiment of the present application; Figure 6 A schematic diagram of the eccentricity ratio provided in an embodiment of the present application; Fig. 7A A schematic diagram of coplanarity of diagonally adjacent hyperbolic paraboloids provided in an embodiment of the present application; Figure 7B A schematic diagram of the coplanarity of the diagonal hyperbolic paraboloid after adding auxiliary lines provided in an embodiment of the present application; Figure 8 A schematic diagram of generating a filled surface using a filled surface tool provided in an embodiment of the present application; Fig. 9 A schematic diagram of adjusting the radius of the upper ring polygon provided in an embodiment of the present application; Fig.10 A schematic diagram of adjusting the number of edges of an upper ring polygon provided in an embodiment of the present application; Fig.11 A schematic diagram of adjusting the offset distance provided in an embodiment of the present application; Fig.12 A schematic diagram of adjusting the height difference provided in an embodiment of the present application; Fig.13 A schematic diagram of adjusting the axis shift vector provided in an embodiment of the present application; Fig.14 A schematic diagram of adjusting the eccentricity ratio provided in an embodiment of the present application; Fig.15 A schematic diagram of the structure of a device for generating annular curved surface provided in an embodiment of the present application; Fig.16 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0021] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0022] The present application provides a method for generating annular surfaces, which is applied to a server to ensure that the generated annular surfaces have both structural stability and free and beautiful appearance. Figure 1 As shown, the method comprises the following steps: Step 101: constructing an upper ring polygon and a lower ring polygon with parallel corresponding sides according to preset polygon parameters, wherein the number of sides of the upper ring polygon and the number of sides of the lower ring polygon are the same; Step 102: constructing a surface according to corresponding vertices of the upper ring polygon and the lower ring polygon and the nearest target points on both sides of the corresponding vertices, wherein the target point is 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 target point is the only intersection point between adjacent surfaces and complies with the coplanar principle, which means that all straight lines intersecting at one point between diagonally adjacent surfaces are always coplanar; Step 103: Traverse all the intersection points of the surfaces and fill in new surfaces based on the diagonally adjacent surfaces until no new surfaces can be formed, thereby generating a toroidal surface.

[0023] The system constructs two upper ring polygons and lower ring polygons with the same number of sides and parallel corresponding sides, and then constructs a circle of multiple hyperbolic paraboloids connected diagonally end to end between the upper ring polygon and the lower ring polygon. There is a surface intersection point between adjacent surfaces and they comply with the coplanarity principle. The system traverses all surface intersection points and continues to fill in new surfaces based on diagonally adjacent surfaces until no new surfaces can be formed, thereby obtaining the final annular surface.

[0024] Optionally, the sum of the internal angles of the annular polygon is equal to 360 degrees, and all vertices of the annular polygon are cocircular. In addition, the annular polygon usually has a certain symmetry. For example, regular pentagons, regular hexagons, etc. are all annular polygons. The annular polygon in the embodiment of the present application has at least three sides.

[0025] Optionally, the process of constructing a surface between the upper ring polygon and the lower ring polygon is: (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 edge in the upper ring polygon is M={M1, M2, ..., Mn}, and the midpoint set of each edge in the lower ring polygon is N={N1, N2, ..., Nn}. Figure 2A Schematic diagram of the vertex set and midpoint set of the upper ring polygon and the lower ring polygon.

[0026] (2) By connecting the points in M ​​and N, we can obtain the central axis set W. Figure 2B Schematic diagram of the central axis set of the upper ring polygon and the lower ring polygon.

[0027] (3) The target points on the central axis are set to be the set O = {O1, O2, ..., On}, where O does not coincide with M or N. Figure 2C Schematic diagram of the target point set of the upper ring polygon and the lower ring polygon.

[0028] (4) Connect An, On, Bn, and On-1 in sequence to generate a surface. Figure 2D Schematic diagram of the 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 point, O6 is equivalent to the previous point of O1.

[0029] Figure 3A Schematic diagram of filling curved surfaces between diagonally adjacent curved surfaces. It can be seen that there are two filling areas between diagonally adjacent curved surfaces, and a curved surface is filled in each filling area to form a combination of four curved surfaces. Each curved surface intersection point in the embodiment of the present application connects at most four curved surfaces.

[0030] Figure 3B This is a schematic diagram of generating a ring surface. It can be seen that Figure 3B In the first figure, according to Figure 3A In the method of filling the surface, a layer of surface is grown upwards on the basis of the original circle of surface between the upper ring polygon and the lower ring polygon, forming two layers of surface; Figure 3B In the second figure, a layer of surface grows downward and upward based on the first figure, forming four layers of surface; Figure 3B In the third figure, based on the second figure, a layer of curved surface grows downward and upward respectively, forming six layers of curved surfaces.

[0031] All the curved surfaces mentioned in the embodiments of the present application are quadrilateral hyperbolic paraboloids. The curved surfaces on the same layer intersect at a point and are connected end to end. The hyperbolic paraboloid itself has axial symmetry, which helps to maintain structural consistency and uniformity during splicing. By following the coplanarity principle, the present application realizes splicing multiple hyperbolic paraboloids together, and the axes of symmetry of all hyperbolic paraboloids are located in the same plane. The generated curved surface only bears axial force but does not generate bending moment, thereby achieving extremely high force transmission efficiency and strong structural stability.

[0032] The present application constructs the initial curved surface through the upper ring polygon and the lower ring polygon, and then continuously generates curved surfaces based on the curved surface to form a ring-shaped 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 force, achieving extremely high force transmission efficiency and strong structural stability; the spliced ​​hyperbolic paraboloids form a ring-shaped curved surface structure, achieving visual smoothness and continuity. The present application realizes the generation of a ring-shaped curved surface that takes into account both structural stability and free and beautiful appearance.

[0033] In addition, when generating annular surface structures, the prior art often consumes a lot of time and resources manually to balance the surface form and mechanical properties, resulting in low design efficiency. The present application uses a system to automatically construct annular surfaces. The generated annular surfaces conform to the surface form, and the hyperbolic paraboloid that conforms to the coplanar principle has structural stability. The system automatically balances the surface form and mechanical properties during the annular surface construction process, thereby improving design efficiency compared to manual work.

[0034] In addition, in an annular structure, construction accuracy control is crucial to achieve a continuous and smooth free-form surface. However, existing construction technologies, such as template splicing and steel structure welding, are difficult to maintain high accuracy on large-scale complex surfaces, which can easily lead to the accumulation of construction errors, thereby affecting the integrity and stability of the entire structure. The complexity of the construction process also leads to increased costs and extended construction periods. This application utilizes the unique geometric and mechanical properties of hyperbolic paraboloids, and through the accumulation of hyperbolic paraboloids, simplifies the construction process while ensuring the controllability of the design form and the stability of the structure, meeting the design requirements for annular curved surface structures in modern buildings.

[0035] Optionally, the polygon parameters include: the radius of the ring polygon, the number of edges, the offset distance, height difference and shift vector between the upper and lower ring polygons and the lower ring polygon, and the eccentricity ratio, wherein the offset distance refers to the distance that the edge of the lower ring polygon is offset inward or outward relative to the corresponding edge of the upper ring polygon, the shift 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.

[0036] The user inputs the radius of the ring polygon, the number of sides, the offset distance, height difference, axis shift vector, and eccentricity ratio between the upper and lower ring polygons and the lower ring polygon in advance in the terminal, and constructs the upper ring polygon and the lower ring polygon with parallel corresponding sides. The construction steps include the following.

[0037] Construct two ring polygons with parallel corresponding sides and a certain height difference between them (called upper ring polygon and lower ring polygon). The following parameters need to be entered.

[0038] 1. The radius and number of edges of the upper ring polygon. The polygon radius controls the radius of the ring surface at that location, and the number of edges controls the smoothness of the ring surface. The more edges there are, the closer the cross section of the surface is to a circle. Among them, the number of edges of the lower ring polygon is the same as that of the upper ring polygon, so there is no need to enter the number of edges of the lower ring polygon; the radius of the lower ring polygon will be reflected at the offset distance, so there is no need to enter the radius of the lower ring polygon here.

[0039] 2. The offset distance x and height difference h of the lower ring polygon relative to the upper ring polygon. Figure 4 This is a schematic diagram of the offset distance x and the height difference h. The offset distance x refers to the distance that the edge of the lower ring polygon is offset inward or outward relative to the corresponding edge of the upper ring polygon. It is used to control the upper and lower openings of the annular surface. The height difference h affects the height of the annular surface. The value of h must be greater than 0, otherwise the hyperbolic parabola cannot be constructed.

[0040] 3. The shift vector of the lower ring polygon relative to the upper ring polygon. If an XY coordinate system is established in the horizontal direction, with the vertical direction as the Z axis, the shift vector refers to the direction and distance in which the center point of the lower ring polygon is translated relative to the center point of the upper ring polygon on the XY plane, such as Figure 5 As shown, the line connecting the center point of the lower ring polygon and the center point of the upper ring polygon should be parallel to the Z axis. After translation, the central axis presents a certain angle with the Z axis. Figure 5 A schematic diagram of the axial displacement vector.

[0041] 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, such as Figure 6 As 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, point O can move on the central axis MN, the default eccentricity ratio is 0.5, 0.5 corresponds to the midpoint of the central axis MN, when point O slides from point M to point N, the value range of the eccentricity ratio is [0,1], but point O cannot coincide with points M and N.

[0042] As an optional implementation, the surface constructed based on the vertices and the target point is a diagonally adjacent surface, and the diagonally adjacent surfaces comply with the coplanar principle, including: searching for two first vertices that have no connection with the surface intersection point among all the vertices of the two diagonally adjacent surfaces, and searching for four second vertices that have a connection 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 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 comply with the coplanar principle.

[0043] Fig. 7A is a schematic diagram of the coplanarity of diagonally adjacent hyperbolic paraboloids, such as Fig. 7A As shown, there are two diagonally adjacent surfaces: surface ABCD and surface DEFG, the midpoint of line segment AE is O, the midpoint of line segment CG is O", point D is on line segment OO", and point D is also the intersection point of the surfaces. Among all the vertices of the diagonally adjacent surfaces, the two first vertices that are not connected to point D are point B and point F, and the four second vertices that are connected to point D are point A, C, G, and E. Point B and point F constitute line segment BF, and points A, C, G, and E constitute plane ACGE. If line segment BF is parallel to plane ACGE and point D is in plane ACGE (that is, 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.

[0044] The following auxiliary lines are used 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 coplanar principle.

[0045] Figure 7B To add the coplanar diagram of the diagonal hyperbolic paraboloids after the auxiliary lines are added, the requirement for diagonally adjacent hyperbolic paraboloids to meet the coplanar principle is that two diagonally adjacent hyperbolic paraboloids can find a unique solution in the remaining space (which can be solved using the Fill Surface tool). In the figure, assuming that point P represents this unique solution, its solution process is: draw a straight line through point M on the extended line BC l 1, l 1 parallel to DC, through point N on the extended line of FG l 2, l 2 is parallel to DG (the ratio of CM to BC is equal to the ratio of GN to FG). l 1 and l 2 In the same plane, it is necessary to satisfy that BF is parallel to AEGC. The proof process is: connect MN, because l 1 parallel DC, l2 parallel DG, that is to say l 1 and l 2 are parallel to plane AEGC. If MN is parallel to AEGC, then l 1.l 2. If the three lines MN are on the same plane, then l 1 and l 2 has an intersection point P, at this time l 1 and l 2 is on a plane AEGC and has a unique intersection point, that is, there is a unique solution P. Therefore, the hyperbolic paraboloid ABCD and the hyperbolic paraboloid DEFG meet the coplanar principle. And BF parallel to AEGC can be transformed into MN parallel to AEGC.

[0046] According to the above analysis, the diagonally adjacent hyperbolic paraboloids can obtain a unique solution in the remaining space, so the diagonally adjacent hyperbolic paraboloids meet the coplanar principle, and the surfaces directly filled and generated using the fill surface tool are coplanar with the two diagonally adjacent hyperbolic paraboloids respectively, so that each newly filled surface meets the coplanar principle with the diagonally adjacent surface, and finally all adjacent surfaces meet the coplanar principle. This application only needs to calculate the coplanar principle based on the diagonally adjacent hyperbolic paraboloids, and other surfaces that meet the coplanar principle are directly generated using the fill surface tool.

[0047] In step 103, all surface intersections are traversed, and new surfaces are filled on the basis of diagonally adjacent surfaces until no new surface can be formed. The process is as follows: a surface set is constructed based on the surface between the upper ring polygon and the lower ring polygon; all surface intersections in the surface set are traversed, a new surface is filled between two adjacent surfaces using the fill surface tool, and the new surface is added to the existing surface set; the surface intersections in the newly generated surface set are traversed, and a target intersection point with three surfaces at the surface intersection point and an angle of less than 180° in the remaining space is found, and a new surface is continued to be filled in the remaining space according to the target intersection point until no new surface can be formed.

[0048] The specific process is: 1. Construction of the initial surface set.

[0049] 1. Construct the initial surface.

[0050] The system constructs a circle of surfaces between the upper ring polygon and the lower ring polygon. These surfaces constitute the initial surface set. There is a surface intersection point between every two adjacent surfaces. These intersection points are the key points for subsequent filling operations.

[0051] 2. Traverse the initial surface set.

[0052] The system traverses each surface intersection point in the initial surface set. Each surface intersection point already has two surfaces intersecting, and there are two empty filling areas between the two surfaces, such as Figure 3A As shown in the first figure.

[0053] 2. The first filling operation.

[0054] Fill the first surface: The system uses the Fill Surface tool to fill a new surface in any fill area. After filling the surface, the number of surfaces at each surface intersection increases from two to three, such as Figure 3A The system adds the newly generated surface to the initial surface set to obtain a new surface set.

[0055] 3. Continue traversal and filling.

[0056] 1. Traverse the newly generated surface set.

[0057] The system continues to traverse each surface intersection point in the newly generated surface set, looking for a target intersection point where there are three surfaces and the angle of the remaining space is less than 180°.

[0058] 2. Fill the new surface.

[0059] For the target intersection point found, the system continues to fill a new surface in the remaining space. After filling, the number of surfaces at the intersection point increases from three to four, such as Figure 3A The system adds the newly generated surface to the current surface set and updates the surface set.

[0060] 4. Repeat the operation until no new surface can be formed.

[0061] 1. Repeat the filling operation.

[0062] The system continues to traverse each surface intersection point in the updated surface set, repeatedly searching for target intersection points where there are three surfaces at the surface intersection point and the angle of the remaining space is less than 180°. For each target intersection point found, continue to fill the remaining space with new surfaces and add the newly generated surfaces to the current surface set.

[0063] 2. Termination conditions.

[0064] When the system cannot find the target intersection point that meets the conditions, that is, when the remaining space angle at all surface intersection points is not less than 180°, the filling operation ends. At this time, the system has constructed a complete annular surface without gaps.

[0065] In the present application, there are at most four curved surfaces at the intersection of the curved surfaces, thus forming a four-sided combination, which refers to a solid composed of four faces, and its diagonal axis is usually a straight line connecting the diagonal vertices. Observing or projecting upward along this diagonal axis, the main curve obtained will reflect the outline or shape of the solid along this direction. If there is no point with zero curvature on this main curve, it means that in this direction, the shape of the solid is continuously and consistently curved, without mutations or inflection points, and the diagonal axial curve of the four-sided combination does not have a point with zero curvature, ensuring the continuous curvature of the curve.

[0066] Optionally, traversing all surface intersection points in the surface set and using the fill surface tool to fill a new surface between two adjacent surfaces includes: traversing all surface intersection points in the surface set to determine the diagonally adjacent surfaces associated with the set intersection points; using the fill surface tool to determine any filling area formed between the diagonally adjacent surfaces; determining two curves of each of the diagonally adjacent surfaces associated with the filling area, wherein the intersection point of the two curves of the surface is the neighboring 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, wherein the adjacent edge vector is 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.

[0067] In order to ensure the integrity and smoothness of the surface model, the system needs to traverse all surface intersections and use the fill surface tool to fill new surfaces between diagonally adjacent surfaces. The surface generated by the fill surface tool is coplanar with the two adjacent surfaces. The following are detailed steps and explanations.

[0068] 1. Traverse all surface intersection points in the surface collection.

[0069] The system traverses each surface intersection point in the initial surface set and checks the surface conditions around each surface intersection point. The traversal operation ensures that all possible gaps are filled to form a complete surface model.

[0070] 2. Determine the diagonally adjacent surfaces associated with the set intersection point.

[0071] The system takes any surface intersection point as the set intersection point, and determines two diagonally adjacent surfaces directly associated with the set intersection point. These two surfaces are the existing surfaces at the intersection point, for example Figure 8 In FIG. 1 , it is assumed that the intersection point currently being processed is D, and the two surfaces associated with D are surface ABCD and surface DEFG. The system identifies the specific surfaces around each surface intersection point in order to determine the filling areas K1 and K2.

[0072] 3. Use the Fill Surface tool to define any fill area between diagonally adjacent surfaces.

[0073] The system uses the Fill Surface tool to identify the gap area between surface ABCD and surface DEFG. These areas are the parts that need to be filled, usually the angle area between two diagonally adjacent surfaces. Two diagonally adjacent surfaces will generate two fill areas, and the surface can be filled in any fill area.

[0074] 4. Determine the two curves for each of the diagonally adjacent surfaces to which the filled region is associated.

[0075] For one of the filling areas K1, there are two adjacent points of the set intersection point associated with the filling area, 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 regarded as the four curves associated with the filling area K1.

[0076] 5. Determine the two adjacent edge vectors of the filled surface based on the directed vectors of the four associated curves.

[0077] The system calculates the directed vectors of the four curves BC, DC, DG and FG. The directed vectors represent the direction and length of the curves. The system calculates the four directed vectors according to the preset formula to obtain the adjacent edge vectors of the two edges of the filled surface. and , these two adjacent edge vectors determine the boundary conditions of the filling surface.

[0078] 6. Determine the position and shape of the filling surface based on the two adjacent edge vectors of the filling surface and the set intersection point.

[0079] The system uses the edge vector and The intersection point D is set as a reference, and the system generates a filling surface CDGH. The generated filling surface CDGH complies with the coplanar principle and smoothly transitions with the existing surfaces ABCD and DEFG, without obvious seams or mutations.

[0080] Add the generated filling surface CDGH to the surface collection and update the surface model.

[0081] Figure 8 To generate a filled surface diagram using the Filled Surface tool, Figure 8It can be seen that the two sides of the diagonally adjacent surfaces ABCD and DEFG form a filling area K1 and K2 respectively. If a quadrilateral surface is to be filled in the filling area K1 below, then two sides of the filling surface are known, namely DC and DG, but there are two unknown sides. If the other two sides are known, then the filling surface can be generated. Specifically, in any filling area, the filling area involves the four sides of the diagonally adjacent surfaces on the medial axis curve. For example, the filling area K1 involves the four sides of the two surfaces, namely BC, DC, DG, and FG. Then the adjacent edge vectors of the two sides CH and GH of the filling surface can be determined based on the directed vectors of the four sides. Finally, the adjacent edge vectors can be used to determine the adjacent edge vectors. , and the coordinates of point D determine the position and shape of the filling surface CDGH.

[0082] according to Figure 8 In the example in , the calculation formulas for the two adjacent edge vectors of the filled surface are: As an optional implementation, after the annular surface is generated, different surface forms can be obtained by adjusting the polygon parameters to form the final annular surface. The following are examples of adjustment of different parameters.

[0083] 1. Adjust the radius of the annular surface by adjusting the radius of the upper ring polygon. Fig. 9 This is a schematic diagram for adjusting the radius of the upper ring polygon. It can be seen that the radius of the upper ring polygon is proportional to the radius of the annular surface. The larger the radius of the upper ring polygon is, the larger the radius of the annular surface is.

[0084] 2. Adjust the smoothness of the annular surface by adjusting the number of edges of the upper ring polygon. Fig.10 A schematic diagram for adjusting the number of edges of the upper ring polygon. It can be seen that the number of edges of the upper ring polygon is proportional to the smoothness of the annular surface. The more edges of the upper ring polygon, the smoother the annular surface.

[0085] 3. The opening ratio between the upper opening and the lower opening of the annular surface is adjusted by adjusting the offset distance. Fig.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.

[0086] 4. Adjust the height of the annular surface by adjusting the height difference. Fig.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.

[0087] 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. Fig.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. Fig.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.

[0088] 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.

[0089] Fig.14 Schematic diagram for adjusting the eccentricity ratio. Fig.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.

[0090] 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. Fig.14 In the figure, the surfaces in the initial surface set are bold linear and dot markers.

[0091] Based on the same technical concept, the present application provides an overall process for generating annular surfaces, including the following steps: Step S1: Obtaining preset polygon parameters, the polygon parameters include the radius of the ring polygon, the number of edges, the offset distance between the upper and lower ring polygons and the lower ring polygon, the height difference and the axis shift vector, and the eccentricity ratio.

[0092] Step S2: constructing an upper ring polygon and a lower ring polygon with parallel corresponding sides according to the polygon parameters.

[0093] Step S3: constructing multiple diagonally adjacent curved surfaces between the upper ring polygon and the lower ring polygon, including the following steps: 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 edge of the upper ring polygon is M={M1, M2, ..., Mn}, and the midpoint set of each edge of the lower ring polygon is N={N1, N2, ..., Nn}.

[0094] Step S32: The central axis set W can be obtained by correspondingly connecting the points in M ​​and N.

[0095] Step S33: The target points on the central axis are set to be a set O={O1, O2, ..., On}.

[0096] Step S34: sequentially connect An, On, Bn, On-1 to generate a surface.

[0097] Step S4: Using a fill surface tool to generate a new surface based on diagonally adjacent surfaces, including the following steps: Step S41: traverse all surface intersection points, use the fill surface tool to supplement a surface between two diagonally adjacent surfaces, and add the newly generated surface to the surface set.

[0098] Step S42: Traverse the intersection points of the new set of surfaces. If there are three surfaces at an intersection point, determine the remaining spatial angle. If it is less than 180°, use the fill surface tool to generate the remaining surfaces and add the newly generated surfaces to the surface set. If it is greater than or equal to 180°, skip it.

[0099] Step S43: Repeat step S42 until no new surface can be generated.

[0100] Step S5: Adjust polygon parameters to generate the final annular surface.

[0101] In this application, on the one hand, the SPHS (Smooth Poly-HyparSurface) structure is proposed, and a smooth composite hyperbolic parabola is used to construct an annular surface structure, which not only retains the superior structural performance of the hyperbolic parabola, but also realizes the visual smoothness and continuity of the annular structure. At the same time, the annular surface structure is constructed by two ring polygons with parallel corresponding sides, which simplifies the design process and can generate annular surface structures with complex forms, stable structures and simple construction. On the other hand, based on the coplanar principle, a generation algorithm for automatically generating SPHS structures is proposed. On the basis of the combination of annular diagonal hyperbolic paraboloids, the remaining surfaces are automatically generated, thereby 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 needs.

[0102] Based on the same technical concept, the present application provides a device for generating annular surfaces, such as Fig.15 As shown, the device comprises: A first construction module 1501 is used to construct an upper ring polygon and a lower ring polygon with parallel corresponding sides according to preset polygon parameters, wherein the number of sides of the upper ring polygon and the number of sides of the lower ring polygon are the same; The second construction module 1502 is used to construct 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, wherein the target point is 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 target point is the only intersection point between adjacent surfaces and complies with the coplanar principle, which means that all straight lines intersecting at one point between diagonally adjacent surfaces are always coplanar; The filling module 1503 is used to traverse all the intersection points of the surfaces and fill new surfaces based on the diagonally adjacent surfaces until no new surfaces can be formed, thereby generating a ring-shaped surface.

[0103] Optionally, the polygon parameters include: the radius of the ring polygon, the number of edges, the offset distance, height difference and shift vector between the upper and lower ring polygons and the lower ring polygon, and the eccentricity ratio, wherein the offset distance refers to the distance that the edge of the lower ring polygon is offset inward or outward relative to the corresponding edge of the upper ring polygon, the shift 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.

[0104] Optionally, the curved surface constructed according to the vertex and the target point is a diagonally adjacent curved surface, and the second construction module 1502 is used to: Find two first vertices that are not connected to the intersection point of the surfaces among all the vertices of two diagonally adjacent surfaces, and find four second vertices that are connected to the intersection point of the surfaces; If the intersection point of the curved surfaces 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 curved surfaces meet the coplanar principle.

[0105] Optionally, the filling module 1503 is used to: Construct a surface set based on the surface between the upper ring polygon and the lower ring polygon; Traverse all the intersection points of the surfaces 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 point where there are three surfaces and the 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 point until no new surface can be formed.

[0106] Optionally, the filling module 1503 is used to: Traverse all the surface intersection points in the surface set and determine the diagonally adjacent surfaces associated with the set intersection points; Use the Fill Surface tool to determine any fill area between diagonally adjacent surfaces; Determine two curves of each of the diagonally adjacent surfaces associated with the fill area, wherein the intersection point of the two curves of the surface is the neighboring 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, wherein the adjacent edge vectors are used to indicate the direction and boundary of the filling surface; The position and shape of the filling surface are determined according to two adjacent edge vectors of the filling surface and a set intersection point, wherein the filling surface and the two adjacent surfaces comply with the coplanar principle.

[0107] Optionally, the device is also used for: Adjust the radius of the torus by adjusting the radius of the upper ring polygon; or, Adjust the roundness of the ring surface by adjusting the number of edges 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, 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; or, The upward or downward extension tendency of the annular surface can be adjusted by adjusting the eccentricity ratio.

[0108] Optionally, the device is also used for: By adjusting the eccentricity ratio to decrease, the number of curved surfaces extending upward of the annular curved surface is reduced, and the number of curved surfaces extending downward is increased; By increasing the eccentricity ratio, the number of the annular curved surfaces extending upward is increased, and the number of the curved surfaces extending downward is reduced.

[0109] like Fig.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, wherein the processor 1601, the communication interface 1602, and the memory 1603 communicate with each other through the communication bus 1604.

[0110] The memory 1603 is used to store computer programs.

[0111] In one embodiment of the present application, the processor 1601 is used to implement the method for generating annular surfaces provided by any one of the aforementioned method embodiments when executing the program stored in the memory 1603.

[0112] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method for generating annular surfaces provided in any of the aforementioned method embodiments are implemented.

[0113] The device embodiments described above are merely illustrative, wherein 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 distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0114] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution, in essence, or the part that contributes to the relevant technology, can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for 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 embodiment.

[0115] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0116] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. 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 invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for generating annular surfaces, characterized in that: The method comprises: Constructing an upper ring polygon and a lower ring polygon with parallel corresponding sides according to preset polygon parameters, wherein the number of sides of the upper ring polygon and the number of sides of the lower ring polygon are the same; Constructing a surface according to corresponding vertices of the upper ring polygon and the lower ring polygon and the nearest target points on both sides of the corresponding vertices, wherein the target point is 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 target point is the only intersection point between adjacent surfaces and complies with the coplanar principle, which means that all straight lines intersecting at one point between diagonally adjacent surfaces are always coplanar; Traverse all the intersection points of the surfaces and fill in new surfaces based on the diagonally adjacent surfaces until no new surfaces can be formed, generating a ring surface.

2. The method according to claim 1, characterized in that The polygon parameters include: the radius of the ring polygon, the number of sides, the offset distance between the upper and lower ring polygons and the lower ring polygon, the height difference and the axis shift vector, and the eccentricity ratio; Among them, the offset distance refers to the distance that the edge of the lower ring polygon is offset inward or outward relative to the corresponding edge of the upper ring polygon, the shift axis 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.

3. The method according to claim 1, characterized in that The surfaces constructed according to the vertices and the target point are diagonally adjacent surfaces, and the diagonally adjacent surfaces comply with the coplanar principle including: Find two first vertices that are not connected to the intersection point of the two diagonally adjacent curved surfaces among all the vertices of the two diagonally adjacent curved surfaces, and find four second vertices that are connected to the intersection point of the curved surfaces; If the intersection point of the curved surfaces 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, it is determined that the two diagonally adjacent curved surfaces meet the coplanar principle.

4. The method according to claim 1, characterized in that: Traverse all the intersection points of the surfaces and fill in new surfaces based on the diagonally adjacent surfaces until no new surfaces can be formed, including: 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 fill surface tool to fill a new surface between two adjacent surfaces, and adding the new surface to the existing surface set; Traverse the surface intersection points in the newly generated surface set, find the target intersection point where there are three surfaces and the 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 point until no new surface can be formed.

5. The method according to claim 4, characterized in that Traversing all the surface intersection points in the surface set, and using the fill surface 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 points; Determine any filling area formed between the diagonally adjacent surfaces using the filling surface tool; Determine two curves of each of the diagonally adjacent curved surfaces associated with the filling area, wherein the intersection point of the two curves of the curved surface is the neighboring 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, wherein the adjacent edge vectors are used to indicate the direction and boundary of the filling surface; The position and shape of the filling curved surface are determined according to the two adjacent edge vectors of the filling curved surface and the set intersection point, wherein the filling curved surface and the two adjacent curved surfaces both comply with the coplanar principle.

6. The method according to claim 2, characterized in that After generating the annular surface, the method further comprises: The radius of the annular surface is adjusted by adjusting the radius of the upper annular polygon; or, The smoothness of the annular surface is adjusted by adjusting the number of edges of the upper annular polygon; or, The opening ratio between the upper opening and the lower opening of the annular surface is adjusted by adjusting the offset distance; or, The height of the annular curved surface is adjusted by adjusting the height difference; or, 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; or, The upward or downward extension trend of the annular curved surface is adjusted by adjusting the eccentricity ratio.

7. The method according to claim 6, characterized in that Adjusting the upward or downward extension trend of the annular curved surface by adjusting the eccentricity ratio includes: By adjusting the eccentricity ratio to decrease, the number of the curved surfaces extending upward of the annular curved surface is reduced, and the number of the curved surfaces extending downward is increased; By adjusting the eccentricity ratio to increase, the number of the annular curved surfaces extending upward is increased, and the number of the curved surfaces extending downward is reduced.

8. A device for generating annular surfaces, characterized in that: The device comprises: A first construction module is used to construct an upper ring polygon and a lower ring polygon with parallel corresponding sides according to preset polygon parameters, wherein the upper ring polygon and the lower ring polygon have the same number of sides; A second construction module is used to construct a curved surface according to corresponding vertices of the upper ring polygon and the lower ring polygon and the nearest target points on both sides of the corresponding vertices, wherein the target point is located on the central axis formed by the midpoints of the corresponding sides of the upper ring polygon and the lower ring polygon, and the curved surface is a hyperbolic paraboloid, and the target point is the only intersection point between adjacent curved surfaces and complies with the coplanar principle, and the coplanar principle means that all straight lines intersecting at one point between diagonally adjacent curved surfaces are always coplanar; The filling module is used to traverse all the intersection points of the surfaces and fill new surfaces based on the diagonally adjacent surfaces until no new surfaces can be formed, thus generating a ring surface.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 1-7 when executing a program stored in a memory.

10. 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 a processor, the method according to any one of claims 1 to 7 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

  • Method for meshing a curved surface

    US20090058853A1