Method and device for unfolding surface of three-dimensional model, electronic equipment and storage medium

By determining the intersection point of the curved wall and the circular hole, and using the arc length and height of the intersection point as two-dimensional plane coordinates to draw the edge development lines of the hole, the problem of the inability to intuitively represent the projection relationship between the curved wall and the hole in the three-dimensional model is solved, thus improving the user's drawing efficiency.

CN119379961BActive Publication Date: 2026-07-07NUCLEAR POWER INSTITUTE OF CHINA +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NUCLEAR POWER INSTITUTE OF CHINA
Filing Date
2024-08-30
Publication Date
2026-07-07

Smart Images

  • Figure CN119379961B_ABST
    Figure CN119379961B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of three-dimensional model, and discloses a three-dimensional model curved surface unfolding method and device, electronic equipment and a storage medium; the method comprises the following steps: determining n intersection points of the circular hole and the circular-arc wall curved surface, wherein n is an integer greater than 1; determining the arc length of each intersection point to the same elevation of a first reference line of the circular-arc wall curved surface based on the n intersection points; displaying the n intersection points on a two-dimensional plane by taking the arc length of each intersection point as an x value and taking the distance of each intersection point from a second reference line of the circular-arc wall curved surface as a y value; and generating an edge line of the intersection of the circular hole and the circular-arc wall curved surface based on the n intersection points. The application realizes the conversion of the three-dimensional graphic data information of the circular-arc wall and the hole on the wall into a two-dimensional drawing form.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of three-dimensional model technology, and more specifically, to a method and apparatus for unfolding a three-dimensional model surface, an electronic device, and a storage medium. Background Technology

[0002] In civil engineering design, curved walls are often used as a basis for drilling holes or installing tray supports. However, current 3D models can only show the three-dimensional relationship between the curved wall and the holes, and cannot intuitively show the positional projection relationship between the curved wall and the holes, which brings inconvenience to users' observation. Summary of the Invention

[0003] In view of the above situation, this application provides a method and apparatus for unfolding a three-dimensional model surface, an electronic device, and a storage medium, which aim to solve the above problems or at least partially solve the above problems.

[0004] In a first aspect, embodiments of this application provide a method for unfolding a three-dimensional model surface, characterized in that the three-dimensional model surface is an arc wall, and the arc wall has a circular hole. The method includes: determining n intersection points between the circular hole and the arc surface of the arc wall, where n is an integer greater than 1; based on the n intersection points, determining the arc length of each of the n intersection points at the same elevation as a first reference line of the arc surface of the arc wall; using the arc lengths of the n intersection points as x values ​​and the distances of the n intersection points from a second reference line of the arc surface of the arc wall as y values, displaying the n intersection points on a two-dimensional plane; and generating the edge line where the circular hole intersects the arc surface of the arc wall based on the n intersection points.

[0005] In some embodiments, determining the n intersection points between the circular hole and the arc surface of the circular wall includes: determining the equation of the circle of the arc surface of the circular wall; establishing n straight line equations through the coordinates of n points on the inner arc surface of the circular hole; and combining the n straight line equations with the circle equation to determine the n intersection points between the circular hole and the arc surface of the circular wall.

[0006] In some embodiments, determining the n linear equations of the circular hole includes: dividing the central circular cross-section of the circular hole into n equal parts, and determining the coordinates of the n division points where the circular cross-section intersects the inner arc surface of the circular hole; using the z-axis of the local coordinate system of the circular hole as the direction vector, and establishing n linear equations through the coordinates of the n division points respectively.

[0007] In some embodiments, determining the coordinates of the n equally spaced points where the circular cross-section intersects the inner arc surface of the circular hole includes: determining the coordinates of the n equally spaced points in the local coordinate system through the local coordinate system of the circular hole; and converting the coordinates of the n equally spaced points in the local coordinate system to the coordinates of the n equally spaced points in the global coordinate system based on a coordinate system transformation function.

[0008] In some embodiments, determining the circular equation of the arc surface of the circular wall includes: obtaining the radius and center coordinates of the arc surface of the circular wall through the properties of the circular wall model; and establishing the circular equation of the arc surface of the circular wall based on the radius and the center coordinates.

[0009] In some embodiments, determining the arc length from each of the n intersection points to the same elevation as the first baseline of the arc surface of the circular wall, based on the n intersection points, includes: obtaining a horizontal line formed by connecting the center of each intersection point to the center of the circle at the same elevation of the circular wall; and determining the arc length from the intersection point to the same elevation as the first baseline of the arc surface of the circular wall based on the angle and phase angle between the horizontal line and the X-axis of the three-dimensional model.

[0010] Secondly, this application also provides a device for unfolding a three-dimensional model surface. The device includes: a processing module, configured to determine n intersection points between the circular hole and the arc surface of the circular wall, where n is an integer greater than 1; based on the n intersection points, determine the arc length of each of the n intersection points at the same elevation as the first reference line of the arc surface of the circular wall; a display module, configured to display the n intersection points on a two-dimensional planar view of the unfolded arc wall, using the arc lengths of the n intersection points as x-values ​​and the heights of the n intersection points from the second reference line of the arc surface of the circular wall as y-values; and based on the n intersection points, generate the edge lines where the circular hole intersects with the arc surface of the circular wall.

[0011] In some embodiments, the processing module is used to determine the circular equation of the arc surface of the circular wall; establish n straight line equations through the coordinates of n points on the inner arc surface of the circular hole; and determine the n intersection points of the circular hole and the arc surface of the circular wall by combining the n straight line equations with the circular equation.

[0012] In some embodiments, the processing module 201 is used to divide the central circular cross-section of the circular hole into n equal parts, determine the coordinates of the n equal division points where the circular cross-section intersects the inner arc surface of the circular hole, and establish n straight line equations through the coordinates of the n equal division points, using the z-axis of the local coordinate system of the circular hole as the direction vector.

[0013] In some embodiments, the processing module 201 is used to determine the coordinates of n equally divided points in the local coordinate system through the local coordinate system of the circular hole; and to convert the coordinates of the n equally divided points in the local coordinate system into the coordinates of the n equally divided points in the global coordinate system based on the coordinate system transformation function.

[0014] In some embodiments, the processing module 201 is configured to obtain the radius and center coordinates of the arc surface of the arc wall through the properties of the arc wall model; and establish the circle equation of the arc surface of the arc wall based on the radius and center coordinates. In some embodiments of this application, in the above-described apparatus,

[0015] In some embodiments, the processing module 201 is used to obtain the horizontal line formed by connecting the center of each intersection point with the center of the circular arc wall at the same elevation; and to determine the arc length from the intersection point to the first reference line of the arc surface of the circular arc wall at the same elevation based on the angle between the horizontal line and the X-axis of the three-dimensional model and the phase angle.

[0016] Thirdly, embodiments of this application also provide an electronic device, including: a processor; and a memory arranged to store computer-executable instructions, which, when executed, cause the processor to perform the steps described in the first aspect.

[0017] Fourthly, embodiments of this application also provide a computer-readable storage medium that stores one or more programs, which, when executed by an electronic device including multiple applications, cause the electronic device to perform the steps described in the first aspect.

[0018] The above-mentioned at least one technical solution adopted in the embodiments of this application can achieve the following beneficial effects: by determining the intersection point of the arc wall and the circular hole, the arc length of the intersection point along the same height of the arc wall is used as the x value of the two-dimensional plan view, and the height of the intersection point is used as the y value to draw on the two-dimensional plan view. By connecting the intersection points in sequence, the edge development lines of the hole can be obtained, thereby realizing the conversion of the three-dimensional graphic data information of the arc wall and the hole on the wall into the form of two-dimensional drawings, which greatly facilitates the user's drawing display and planar observation, thereby improving work efficiency. Attached Figure Description

[0019] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments of this application and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0020] Figure 1 A three-dimensional schematic diagram of the arc wall model provided in an embodiment of this application is shown;

[0021] Figure 2 A flowchart illustrating the method for unfolding a three-dimensional model surface provided in an embodiment of this application is shown.

[0022] Figure 3 A three-dimensional schematic diagram of the intersection of the arc wall and the circular hole provided in an embodiment of this application is shown;

[0023] Figure 4A two-dimensional schematic diagram of the intersection of the arc wall and the circular hole provided in an embodiment of this application is shown;

[0024] Figure 5 A two-dimensional schematic diagram of the arc wall and circular hole provided in an embodiment of this application is shown;

[0025] Figure 6 A schematic diagram showing the linear equation of a circular hole provided in an embodiment of this application is illustrated.

[0026] Figure 7 A schematic diagram showing the intersection of the linear equation of the circular hole and the circular equation of the arc wall provided in the embodiments of this application is shown;

[0027] Figure 8 A structural diagram of the unfolding device for a three-dimensional model surface provided in an embodiment of this application is shown;

[0028] Figure 9 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown. Detailed Implementation

[0029] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0030] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such use can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the term "comprising" and its variations should be interpreted as open-ended terms meaning "including but not limited to."

[0031] As described in the background section, in civil engineering design, curved walls are often used as a basis for drilling holes or installing tray supports on curved walls. However, current 3D models can only present the three-dimensional relationship between curved walls and holes, and cannot intuitively show the positional projection relationship between curved walls and holes, which brings inconvenience to users' observation.

[0032] Based on this, this application proposes a method for unfolding a three-dimensional model surface. By determining the intersection point of the arc wall and the circular hole, the arc length of the intersection point along the same height of the arc wall is used as the x-value of the two-dimensional planar drawing, and the height of the intersection point is used as the y-value. By sequentially connecting the intersection points, the edge unfolding lines of the hole can be obtained. This realizes the conversion of the three-dimensional graphic data information of the arc wall and the hole on the wall into a two-dimensional drawing, which greatly facilitates the user's drawing display and planar observation, thereby improving work efficiency.

[0033] In some embodiments, this application is applied to the AVEVA Everything3D and AVEVA PDMS system software, such as... Figure 1 As shown, Figure 1 The image shows a curved wall model displayed in AVEVA Everything3D software, featuring horizontal circular holes.

[0034] The present application will now be described in detail through specific embodiments.

[0035] Figure 2 This paper illustrates a flowchart of a method for unfolding a three-dimensional model surface according to an embodiment of this application. Figure 2 It can be seen that this application includes at least steps S101-S104:

[0036] Step S101: Determine the n intersection points of the circular hole and the arc surface of the circular wall, where n is an integer greater than 1.

[0037] like Figure 3 As shown, the intersection point is the point on the line where the edge of the circular hole intersects the curved surface of the circular wall. Figure 3 Only the intersection of one side of the circular hole and the outer arc surface of the circular wall is shown. It should be understood that the other side of the circular hole also intersects with the inner arc surface of the circular wall.

[0038] Step S102: Based on the n intersection points, determine the arc length of each intersection point to the same elevation as the first baseline of the arc surface of the circular arc wall.

[0039] The first baseline is Figure 3 The left edge line of the curved surface of the medium-circular arc wall. In other embodiments, the first reference line may also be... Figure 3 The right edge line of the curved surface of the medium circular arc wall is described using the left edge line as an example in this embodiment.

[0040] Step S103: Using the arc length of each of the n intersection points as the x value and the height of each of the n intersection points from the second baseline of the arc surface of the circular arc wall as the y value, display the n intersection points on the two-dimensional plane unfolded by the circular arc wall.

[0041] In this embodiment, the second reference line is the lower edge line of the outer arc surface of the circular arc wall. In other embodiments, the second reference line can be the upper edge line of the outer arc surface of the circular arc wall; the lower edge line is used as an example in this application embodiment.

[0042] In step S103, the coordinate system to which the x and y values ​​belong refers to a coordinate system established based on the two-dimensional plan view of the circular arc wall. For example... Figure 4 As shown, the rectangle is a two-dimensional plan view of the unfolded arc wall. A coordinate system is established with the bottom edge of the unfolded arc wall as the x-axis and the left side as the y-axis, and n intersection points are displayed in the rectangle.

[0043] Step S104: Based on n intersection points, generate the edge line where the circular hole intersects with the arc surface of the circular wall.

[0044] like Figure 5 As shown, connecting the n intersection points sequentially forms the edge line where the circular hole intersects with the outer arc surface of the circular wall, which is also the two-dimensional planar view of the circular wall and the circular hole after unfolding.

[0045] In this embodiment, by determining the intersection point of the arc wall and the circular hole, the arc length of the intersection point along the same height of the arc wall is used as the x-value of the two-dimensional plan view, and the height of the intersection point is used as the y-value to draw on the two-dimensional plan view. By connecting the intersection points in sequence, the edge development lines of the hole can be obtained. This realizes the conversion of the three-dimensional graphic data information of the arc wall and the hole on the wall into the form of two-dimensional drawings, which greatly facilitates the user's drawing display and planar observation, thereby improving work efficiency.

[0046] In some embodiments of this application, in the above method, step S102 determines n intersection points between the circular hole and the arc surface of the circular wall based on the following method:

[0047] Determine the equation of the circle on the curved surface of the circular wall. Establish n straight line equations through the coordinates of n points on the inner curved surface of the circular hole. Solve the system of n straight line equations and the circle equation simultaneously to determine the n intersection points between the circular hole and the curved surface of the circular wall.

[0048] like Figure 6 As shown, the circular arc wall and the circular hole have multiple intersection points. The coordinates of the intersection points can be solved by using the equation of the circle of the arc wall and the equation of the straight line passing through the circular hole.

[0049] In some embodiments, the radius and center coordinates of the arc surface of the arc wall are obtained through the properties of the arc wall model; based on the radius and center coordinates, the circle equation of the arc surface of the arc wall is established.

[0050] In some embodiments, the central circular cross-section of the circular hole is divided into n equal parts, and the coordinates of the n division points where the circular cross-section intersects the inner arc surface of the circular hole are determined; using the z-axis of the local coordinate system of the circular hole as the direction vector, n straight line equations are established through the coordinates of the n division points respectively. Figure 7 As shown, the red dashed line is the equation of the straight line.

[0051] Specifically, the coordinates of n equally divided points in the local coordinate system are determined using the local coordinate system of the circular hole; based on the coordinate system transformation function, the coordinates of the n equally divided points in the local coordinate system are converted into the coordinates of the n equally divided points in the global coordinate system.

[0052] The coordinate system transformation function is provided by AVEVAEverything3D or AVEVA PDMS software.

[0053] In some embodiments, AVEVA Everything3D and AVEVA PDMS software provide intersection functions for line and arc objects, which can be used to determine the coordinates of n intersection points.

[0054] In some embodiments of this application, in the above method, step S104 determines the arc length of each of the n intersection points to the same elevation as the first baseline of the arc surface of the circular arc wall based on the following method:

[0055] Obtain the horizontal line formed by connecting the centers of the circles at the same elevation as the circular wall at each intersection point;

[0056] Based on the angle between the horizontal line and the X-axis of the global coordinate system of the 3D model, as well as the phase angle, the arc length from the intersection point to the same elevation as the first baseline of the arc surface of the circular wall is determined.

[0057] In some embodiments of this application, a device for unfolding a three-dimensional model surface is provided, which corresponds one-to-one with the unfolding method for the three-dimensional model surface in the above embodiments. For example... Figure 8 As shown, the device for unfolding the surface of the 3D model includes a processing module 201 and a display module 202. Detailed descriptions of each functional module are as follows:

[0058] Processing module 201 is used to determine n intersection points between the circular hole and the arc surface of the circular wall, where n is an integer greater than 1; based on the n intersection points, it determines the arc length of each intersection point to the same elevation as the first baseline of the arc surface of the circular wall.

[0059] The display module 202 is used to display n intersection points on a two-dimensional plan view of the arc wall, with the arc length of each of the n intersection points as the x value and the height of each of the n intersection points from the second baseline of the arc surface of the arc wall as the y value; and to generate the edge line of the circular hole intersecting with the arc surface of the arc wall based on the n intersection points.

[0060] In some embodiments of this application, in the above-described apparatus, the processing module 201 is used to determine the circular equation of the arc surface of the circular wall; to establish n straight line equations through the coordinates of n points on the inner arc surface of the circular hole; and to determine the n intersection points of the circular hole and the arc surface of the circular wall by combining the n straight line equations with the circular equation.

[0061] In some embodiments of this application, in the above-described apparatus, the processing module 201 is used to divide the central circular cross-section of the circular hole into n equal parts, determine the coordinates of n equal division points where the circular cross-section intersects the inner arc surface of the circular hole; and establish n straight line equations by taking the z-axis of the local coordinate system of the circular hole as the direction vector and passing through the coordinates of the n equal division points respectively.

[0062] In some embodiments of this application, in the above-described apparatus, the processing module 201 is used to determine the coordinates of n equally divided points in the local coordinate system through the local coordinate system of the circular hole; and to convert the coordinates of the n equally divided points in the local coordinate system into the coordinates of the n equally divided points in the global coordinate system based on the coordinate system transformation function.

[0063] In some embodiments of this application, in the above-described apparatus, the processing module 201 is used to obtain the radius and center coordinates of the arc surface of the arc wall through the properties of the arc wall model; and to establish the circle equation of the arc surface of the arc wall based on the radius and center coordinates. In some embodiments of this application, in the above-described apparatus,

[0064] In some embodiments of this application, in the above-described apparatus, the processing module 201 is used to obtain the horizontal line formed by connecting the center of each intersection point with the center of the circular arc wall at the same elevation; and to determine the arc length from the intersection point to the first reference line of the arc surface of the circular arc wall at the same elevation based on the angle between the horizontal line and the X-axis of the three-dimensional model and the phase angle.

[0065] It should be noted that any of the above-mentioned three-dimensional model surface unfolding devices can implement the aforementioned three-dimensional model surface unfolding method one by one, which will not be elaborated here.

[0066] Figure 9 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown. Figure 9 As shown, at the hardware level, this electronic device includes a processor, and optionally also includes an internal bus, a network interface, and memory. The memory may include main memory, such as high-speed random-access memory (RAM), or it may include non-volatile memory, such as at least one disk drive. Of course, this electronic device may also include other hardware required for other business operations.

[0067] The processor, network interface, and memory can be interconnected via an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 9 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.

[0068] Memory is used to store programs. Specifically, programs may include program code, which includes computer operation instructions. Memory may include main memory and non-volatile memory, and provides instructions and data to the processor.

[0069] The processor reads the corresponding computer program from non-volatile memory into main memory and then runs it, forming a three-dimensional model surface unfolding device at the logical level. The processor executes the program stored in memory and specifically performs the aforementioned method.

[0070] The processor may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in the memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the above method.

[0071] This electronic device can execute the three-dimensional model surface unfolding method provided in several embodiments of this application, and implement it as a three-dimensional model surface unfolding device. Figure 8 The functions of the embodiments shown are not described in detail here.

[0072] This application also proposes a computer-readable storage medium that stores one or more programs, the programs including instructions that, when executed by an electronic device including multiple applications, enable the electronic device to perform the three-dimensional model surface unfolding method provided in several embodiments of this application.

[0073] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0074] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0075] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0076] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0077] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0078] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0079] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0080] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0081] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0082] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method of developing a three-dimensional model surface, characterized by, The three-dimensional model surface is an arc wall, and circular holes are provided on the arc wall. The method includes: Determine n intersection points between the circular hole and the arc surface of the circular wall, where n is an integer greater than 1; Based on the n intersection points, determine the arc length from each of the n intersection points to the same elevation as the first baseline of the arc surface of the circular wall; the first baseline is the left edge line or the right edge line of the arc surface of the circular wall. The arc lengths of the n intersection points are respectively used as x values, and the heights of the n intersection points from the second baseline of the arc surface of the circular arc wall are respectively used as y values. The n intersection points are displayed on the two-dimensional plan view of the circular arc wall. The second baseline is the lower edge line or the upper edge line of the outer arc surface of the circular arc wall. After connecting the n intersection points in sequence, the edge line of the circular hole intersecting with the arc surface of the circular wall is generated, and the edge line is a two-dimensional plan view of the circular hole.

2. The method of claim 1, wherein, Determining the n intersection points between the circular hole and the arc surface of the circular wall includes: Determine the equation of the circle on the arc surface of the circular arc wall; Establish n straight line equations through the coordinates of n points on the inner arc surface of the circular hole; By combining the equations of the n straight lines with the equation of the circle, the n intersection points of the circular hole and the arc surface of the circular wall are determined.

3. The method of claim 2, wherein, Determining the equations of the n straight lines for the circular hole includes: Divide the central circular cross-section of the circular hole into n equal parts, and determine the coordinates of the n points where the circular cross-section intersects the inner arc surface of the circular hole; Using the z-axis of the local coordinate system of the circular hole as the direction vector, establish n straight line equations through the coordinates of the n equally divided points.

4. The method of claim 3, wherein, Determining the coordinates of the n equally divided points where the circular cross-section intersects the inner arc surface of the circular hole includes: Determine the coordinates of n equally divided points in the local coordinate system using the local coordinate system of the circular hole; Based on the coordinate system transformation function, the coordinates of n equally divided points in the local coordinate system are converted into the coordinates of n equally divided points in the global coordinate system.

5. The method according to claim 2, characterized in that, Determining the circle equation of the arc surface of the circular wall includes: The radius and center coordinates of the arc surface of the arc wall are obtained through the properties of the arc wall model; Based on the radius of the circle and the coordinates of the center of the circle, the equation of the circle for the arc surface of the circular wall is established.

6. The method according to any one of claims 1 to 5, characterized in that, The step of determining the arc length from each of the n intersection points to the same elevation as the first baseline of the arc surface of the circular wall, based on the n intersection points, includes: Obtain the horizontal line formed by connecting the center of each intersection point with the center of the circle at the same elevation as the arc wall; Based on the angle between the horizontal line and the X-axis of the three-dimensional model, as well as the phase angle, the arc length from the intersection point to the same elevation as the first baseline of the arc surface of the circular wall is determined.

7. A device for unfolding a three-dimensional model surface, characterized in that, The device includes: The processing module is used to determine n intersection points between the circular hole and the arc surface of the circular wall, where n is an integer greater than 1; based on the n intersection points, it determines the arc length of each intersection point to the same elevation as the first baseline of the arc surface of the circular wall; the first baseline is the left edge line or the right edge line of the arc surface of the circular wall. The display module is used to display the n intersection points on a two-dimensional planar view of the arc wall, with the arc length of each of the n intersection points as the x-value and the height of each of the n intersection points from the second baseline of the arc surface of the arc wall as the y-value; the second baseline is the lower edge line or the upper edge line of the outer arc surface of the arc wall; after connecting the n intersection points in sequence, the edge line of the circular hole intersecting with the arc surface of the arc wall is generated, and the edge line is a two-dimensional planar view of the circular hole.

8. An electronic device, comprising: processor; as well as A memory configured to store computer-executable instructions, which, when executed, cause the processor to perform the steps of the unfolding method for a three-dimensional model surface as described in any one of claims 1-6.

9. A computer-readable storage medium storing one or more programs, which, when executed by an electronic device including a plurality of applications, cause the electronic device to perform the steps of the unfolding method for a three-dimensional model surface as described in any one of claims 1-6.