A curved surface unfolding method and device, electronic equipment and storage medium

By selecting target points from the curved boundary lines of the 3D surface model, creating a vertical reference surface, obtaining the intersecting line features, determining the surface type, and unfolding, the problem of low efficiency in surface unfolding in existing technologies is solved, and efficient and accurate automated unfolding is achieved.

CN122391387APending Publication Date: 2026-07-14CHINA RAILWAY JIUJIANG BRIDGE ENG

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA RAILWAY JIUJIANG BRIDGE ENG
Filing Date
2026-05-27
Publication Date
2026-07-14

AI Technical Summary

Technical Problem

In existing technologies, the surface unfolding process relies on manual operation, which is inefficient and prone to errors.

Method used

By selecting target points from the curved boundary lines of the surface 3D model, creating a reference surface perpendicular to the tangent direction, obtaining the geometric features of the intersecting lines, determining the surface type, and generating a planar 3D model and a 2D drawing based on a pre-associated unfolding strategy.

Benefits of technology

It improves the efficiency and accuracy of surface unfolding, avoids the inefficiency and errors caused by manual judgment, and realizes automated differentiated unfolding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122391387A_ABST
    Figure CN122391387A_ABST
Patent Text Reader

Abstract

The application provides a curved surface unfolding method and device, electronic equipment and storage medium, and relates to the technical field of computer-aided design. The method comprises the following steps: selecting a target point from a curved boundary line of a curved surface three-dimensional model, and creating a reference surface according to the target point; obtaining an intersection line corresponding to the reference surface and the curved surface three-dimensional model, and determining a curved surface type corresponding to the curved surface three-dimensional model according to the geometric characteristics of the intersection line; unfolding the curved surface three-dimensional model based on an unfolding strategy associated with the curved surface type in advance, generating a planar three-dimensional model, and creating a corresponding two-dimensional drawing. The application can efficiently and accurately identify the curved surface type, and can also automatically unfold the curved surface based on the characteristics of different curved surface types, which is beneficial to improving the curved surface unfolding efficiency and the unfolding precision.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer-aided design technology, and more specifically, to a surface development method, apparatus, electronic device, and storage medium. Background Technology

[0002] With the continuous advancement of engineering technology, bridge engineering is no longer limited to traditional regular shapes. In pursuit of unique visual effects and rich spatial experiences, more and more bridges are adopting complex forms such as irregular shapes and curved surfaces. While these complex bridge structures bring visual impact, they also pose enormous challenges to design and construction.

[0003] Accurate unfolding of irregular surfaces is a crucial step in transforming three-dimensional surface shapes into two-dimensional drawings or manufacturing data. However, currently, the surface unfolding process largely relies on manual operation, which is extremely inefficient. Summary of the Invention

[0004] The problem addressed by this invention is how to improve the efficiency of surface unfolding.

[0005] To address the above problems, the present invention provides a surface unfolding method, comprising: Select any point on the curve boundary line of the acquired 3D surface model as the target point, and create a reference surface based on the target point; wherein the target point is located within the reference surface, and the reference surface is perpendicular to the tangent direction of the target point; Obtain the intersection line between the reference surface and the three-dimensional surface model, and determine the surface type corresponding to the three-dimensional surface model based on the geometric characteristics of the intersection line; The surface 3D model is unfolded based on the pre-associated unfolding strategy of the surface type to generate a planar 3D model, and a corresponding 2D graph is created for the planar 3D model.

[0006] Optionally, the surface type includes any one of ruled surface, two-way surface, and cylindrical surface; determining the surface type corresponding to the three-dimensional model of the surface based on the geometric characteristics of the intersecting lines includes: When the geometric feature is a straight line, the surface type is the ruled surface; When the geometric feature is a curve, the surface type is the bidirectional surface; When the geometric feature consists of two parallel lines, the surface type is the cylindrical surface.

[0007] Optionally, unfolding the 3D model of the surface based on the pre-associated unfolding strategy of the surface type includes: The deployment input information is determined based on the deployment strategy; wherein, the deployment input information includes a reference point and a reference direction; The unfolding input information is mapped to a preset unfolding engine module to generate the planar 3D model.

[0008] Optionally, determining the expansion input information based on the expansion strategy includes: When the surface type is ruled surface, any endpoint on the boundary line corresponding to the ruled surface is selected as the reference point, and the reference direction is determined based on the generatrix direction of the ruled surface.

[0009] Optionally, determining the expansion input information based on the expansion strategy includes: When the surface type is a bidirectional surface, the reference point is determined based on the center point of the corresponding bounding box of the bidirectional surface, and the reference direction is determined according to the direction of the line connecting the two endpoints on the longest boundary line of the bidirectional surface.

[0010] Optionally, the expanded input information further includes a disconnected curve; determining the expanded input information based on the expanded strategy includes: When the surface type is the cylindrical surface, any point on the corresponding boundary line of the cylindrical surface is selected as the reference point, the reference direction is determined based on the axial direction of the cylindrical surface, and a break curve is created; wherein, the two endpoints of the break curve are respectively located on the two boundary lines corresponding to the cylindrical surface, and the break curve is parallel to the axial direction of the cylindrical surface.

[0011] Optionally, creating a two-dimensional drawing corresponding to the planar three-dimensional model includes: Create an unfolding plane, and designate any point on the unfolding plane as the unfolding origin; The reference point corresponding to the planar 3D model is aligned with the unfolding origin, and the maximum plane of the planar 3D model is constrained to coincide with the unfolding plane; The two-dimensional diagram is obtained by projecting the planar three-dimensional model onto the unfolded plane.

[0012] In this invention, selecting a target point on the curved boundary line of the 3D surface model and constructing a reference surface perpendicular to the tangent direction at that point facilitates accurate capture of the spatial attitude of the surface at the boundary, laying a reliable benchmark for subsequent geometric feature extraction. Furthermore, different types of surfaces intersecting with the reference surface will produce intersection lines with different characteristics. By analyzing the geometric features of these intersection lines, the surface type corresponding to the 3D surface model can be identified efficiently and accurately, while also avoiding the inefficiency or error-prone problems that can easily occur when relying on manual judgment of the surface type. After determining the surface type corresponding to the 3D surface model, this invention unfolds the 3D surface model based on a pre-associated unfolding strategy for the surface type to obtain a planar 3D model, thereby obtaining the corresponding 2D image. This facilitates differentiated automatic unfolding operations based on the characteristics of different surface types, significantly improving unfolding efficiency while ensuring unfolding accuracy.

[0013] The present invention also provides a surface unfolding device, comprising: A creation module is used to select any point as a target point from the curve boundary line of the acquired 3D surface model, and create a reference surface based on the target point; wherein the target point is located within the reference surface, and the reference surface is perpendicular to the tangent direction of the target point; The determination module is used to obtain the intersection line between the reference surface and the three-dimensional surface model, and to determine the surface type corresponding to the three-dimensional surface model based on the geometric characteristics of the intersection line; The unfolding module is used to unfold the surface 3D model based on the unfolding strategy pre-associated with the surface type, generate a planar 3D model, and create a 2D graph corresponding to the planar 3D model.

[0014] The surface unfolding device and the surface unfolding method provided by this invention have essentially the same advantages over the prior art, and will not be repeated here.

[0015] The present invention also provides an electronic device, including a memory and a processor; The memory is used to store computer programs; The processor is used to implement the surface unfolding method as described above when executing the computer program.

[0016] The electronic device provided by this invention has essentially the same advantages as the surface unfolding method compared to the prior art, and will not be repeated here.

[0017] The present invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the surface unfolding method described above.

[0018] The computer-readable storage medium provided by this invention has essentially the same advantages as the surface unfolding method compared to the prior art, and will not be repeated here. Attached Figure Description

[0019] Figure 1 This is a schematic flowchart of the surface unfolding method according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the surface unfolding device according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Detailed Implementation

[0020] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Although some embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the accompanying drawings and embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of protection of the present invention.

[0021] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0022] The term "comprising" and its variations as used herein are open-ended, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". Definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc., mentioned in this invention are used only to distinguish different devices, modules, or units, and are not intended to limit the order of functions performed by these devices, modules, or units or their interdependencies.

[0023] It should be noted that the terms "a" and "a plurality of" used in this invention are illustrative rather than restrictive. Those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0024] like Figure 1 As shown in the figure, an embodiment of the present invention provides a surface unfolding method, which includes the following steps: S1: Select any point on the curve boundary line of the acquired 3D surface model as the target point, and create a reference surface based on the target point; wherein, the target point is located inside the reference surface, and the reference surface is perpendicular to the tangent direction of the target point; Specifically, the curved surface 3D model referred to in this embodiment refers to a 3D digital model of the curved parts of a steel bridge, which can depict the spatial morphology of the curved parts of the steel bridge, such as the 3D model of the arched beams, arched structures, and other parts of the steel bridge. The curved boundary line referred to in this embodiment refers to the line whose edge of the curved surface 3D model has a curved shape. The target point referred to in this embodiment refers to a point randomly selected from the curved boundary line, which is used to construct a reference surface to provide a reference for subsequently determining the surface type. The reference surface referred to in this embodiment refers to a plane constructed based on the target point, where the target point is located within the reference surface, and the reference surface is perpendicular to the tangent direction of the curved boundary line at the target point.

[0025] In one embodiment, in 3D modeling software (such as CATIA), the point selection function of the software can be invoked to select a point on the curve boundary line as the target point. Using the curve analysis tools provided by the software, the tangent direction of the curve boundary line at the target point is obtained, and the plane creation function of the software is used to generate a reference plane that passes through the target point and is perpendicular to the tangent direction.

[0026] S2: Obtain the intersection line between the reference surface and the 3D model of the surface, and determine the surface type corresponding to the 3D model of the surface based on the geometric characteristics of the intersection line.

[0027] Specifically, in this embodiment, the intersecting line refers to the line formed by the intersection of the reference surface and the 3D curved surface model. The geometric features referred to in this embodiment represent the quantifiable and describable characteristics of the intersecting line, which may include features such as shape (e.g., straight line, circle, ellipse, irregular curve, etc.) and closure. By analyzing these geometric features, the type of curved surface can be determined.

[0028] In one embodiment, the intersection analysis function of 3D modeling software can be invoked to obtain the intersection line between the reference surface and the 3D model of the curved surface. Based on this, the software's geometric measurement and analysis tools can be used to extract the geometric feature parameters of the intersection line, such as calculating the curvature, measuring the length, and determining closure. The extracted geometric feature parameters are then compared with pre-defined surface feature standards to determine the surface type.

[0029] S3: Based on the pre-associated unfolding strategy of surface type, unfold the surface 3D model to generate a planar 3D model, and create a corresponding 2D graph of the planar 3D model.

[0030] Specifically, the unfolding strategy referred to in this embodiment represents the pre-defined methods and steps for unfolding a 3D surface model into a planar 3D model for different surface types. Different features can be created using custom functions in the software (such as UDFs) and saved as unfolding strategies for quick reuse in subsequent surface unfolding. For example, assuming the surface type is a ruled surface, its corresponding unfolding strategy UDF can be: Input: 3D surface model, reference point, reference direction; Output: unfolded planar 3D model.

[0031] In one embodiment, after determining the surface type corresponding to the 3D surface model based on the geometric features of the intersecting lines, the UDF corresponding to the pre-associated unfolding strategy of the surface type can be obtained to unfold the 3D surface model, resulting in the corresponding planar 3D model. Based on this, a corresponding 2D diagram can be created according to the projection view of the planar 3D model. Optionally, this embodiment can utilize the built-in EKL functions of the software to write rule scripts corresponding to the above method, calling different functions of the software to achieve automated surface unfolding.

[0032] In this embodiment, selecting a target point on the curved boundary line of the 3D surface model and constructing a reference surface perpendicular to the tangent direction at that point is beneficial for accurately capturing the spatial attitude of the surface at the boundary, laying a reliable benchmark for subsequent geometric feature extraction. Furthermore, different types of surfaces intersecting with the reference surface will produce intersection lines with different characteristics. By analyzing the geometric features of these intersection lines, the surface type corresponding to the 3D surface model can be identified efficiently and accurately, while also avoiding the inefficiency or error-prone problems that can easily occur when relying on manual judgment of the surface type. After determining the surface type corresponding to the 3D surface model, this embodiment unfolds the 3D surface model based on a pre-associated unfolding strategy for the surface type to obtain a planar 3D model, thereby obtaining the corresponding 2D image. This facilitates differentiated automatic unfolding operations based on the characteristics of different surface types, significantly improving unfolding efficiency while ensuring unfolding accuracy.

[0033] Optionally, the surface type includes any one of ruled surface, two-way surface, and cylindrical surface; the surface type corresponding to the 3D model of the surface is determined based on the geometric characteristics of the intersecting lines, including: When the geometric feature is a straight line, the surface type is a ruled surface; When the geometric feature is a curve, the surface type is a two-way surface; When the geometric feature consists of two parallel lines, the surface type is a cylindrical surface.

[0034] Specifically, in this embodiment, a ruled surface refers to a surface that can be formed by moving a straight line along two guide curves. For example, some bridge tower side components in cable-stayed bridges may exhibit a ruled surface shape. A bidirectional surface refers to a surface with curvature changes in two different directions. In steel bridges, some streamlined structures may employ bidirectional surface designs to meet both mechanical performance and aesthetic requirements. A cylindrical surface refers to a surface that resembles the surface of a cylinder but is hollow inside. In steel bridges, components such as support rods typically have cylindrical surfaces.

[0035] In this embodiment, after obtaining the intersection line between the reference surface and the 3D model of the curved surface, geometric analysis tools can be used to analyze the geometric features of the intersection line, such as curvature, parallelism, and whether it is closed. When the geometric feature is a straight line, the surface type is determined to be a ruled surface, making full use of the inherent geometric characteristics of ruled surfaces generated by the movement of straight generatrices. When the geometric feature is a curve, the surface type is determined to be a bidirectional surface, making full use of the geometric characteristic of bidirectional surfaces corresponding to non-zero Gaussian curvature. When the geometric feature is two parallel lines, the surface type is determined to be a cylindrical surface, making full use of the structural characteristics of cylindrical surfaces where the corresponding straight generatrices are parallel and axially symmetrical, thereby achieving efficient and accurate identification of the surface type corresponding to the 3D model of the curved surface.

[0036] Optionally, the 3D model of the surface is unfolded based on an unfolding strategy pre-associated with the surface type, including: The unfolding input information is determined based on the unfolding strategy; wherein, the unfolding input information includes a reference point and a reference direction; The input information is mapped to a preset unfolding engine module to generate a planar 3D model.

[0037] Specifically, the unfolding input information referred to in this embodiment represents the key information needed to unfold a curved 3D model into a planar 3D model, which may include reference points and reference directions. The preset unfolding engine module referred to in this embodiment can represent an unfolding tool embedded in the software platform (such as a pre-developed functional module integrated into 3D modeling software, which can convert the spatial coordinates of a curved 3D model into planar coordinates based on a preset geometric mapping algorithm, and output the corresponding planar 3D model). This module can receive unfolding input information such as reference points and reference directions, and unfold the curved 3D model into a planar 3D model based on the unfolding input information.

[0038] In this embodiment, corresponding unfolding strategies can be invoked according to different surface types. Based on the 3D surface model, unfolding input parameters such as reference points and reference directions are determined, effectively utilizing the characteristics of different surface types to select differentiated unfolding input information. On this basis, the unfolding input information is mapped to a preset unfolding engine module (e.g., filling the slot values ​​of the corresponding slots in the preset mapping engine module based on reference points and reference directions), thus efficiently and reliably unfolding the 3D surface model to obtain the corresponding planar 3D model.

[0039] Optionally, the expansion input information is determined based on the expansion strategy, including: When the surface type is ruled surface, select any endpoint on the corresponding boundary line of the ruled surface as a reference point, and determine the reference direction based on the generatrix direction of the ruled surface.

[0040] Specifically, in this embodiment, the boundary line refers to the line defining the range of the ruled surface, which can be a straight line or a curve. The reference point in this embodiment refers to the starting reference point for the unfolding process, and can be any endpoint selected from the boundary line corresponding to the ruled surface. For example, for a ruled surface of a steel bridge truss structure, any endpoint on its upper edge boundary line can be selected as the reference point. The generatrix direction in this embodiment refers to the direction of the straight line that generates the surface in the ruled surface. For example, for a ruled surface generated by the software's built-in sweep or loft commands, the software's feature tree can retain construction line information (such as guide rails, generatrixes, etc.), and the corresponding generatrix direction can be determined based on the construction line corresponding to the generatrix. The reference direction in this embodiment refers to the reference direction during the unfolding process, which can be determined based on the generatrix direction (e.g., parallel to the generatrix direction).

[0041] In this embodiment, the geometric characteristics of the ruled surface determine that it has a strict straight-line generation property along the generatrix direction (i.e., the Gaussian curvature component in this direction is zero). When the surface type is ruled surface, this embodiment selects the endpoint of the boundary line as the reference point and determines the reference direction based on the generatrix direction. This is beneficial to make the unfolding reference axis coincide with the zero-strain generation line of the surface, ensuring the distortion-free conversion when the three-dimensional arc length is mapped to the two-dimensional straight line length, thereby avoiding the introduction of unnecessary stretching or compression errors and improving the unfolding accuracy.

[0042] Optionally, the expansion input information is determined based on the expansion strategy, including: When the surface type is a two-way surface, the reference point is determined based on the center point of the corresponding bounding box of the two-way surface, and the reference direction is determined according to the direction of the line connecting the two endpoints on the longest boundary line of the two-way surface.

[0043] Specifically, in this embodiment, the bounding box refers to the area formed by the closure of all boundary lines corresponding to the bidirectional surface. The center point corresponding to the bounding box can be identified (e.g., it can be obtained by averaging the maximum and minimum values ​​of the coordinate components of all boundary lines in a three-dimensional Cartesian coordinate system), and the reference point of the bidirectional surface can be determined based on the center point (e.g., the forward projection point of the center point on the bidirectional surface can be used as the reference point for unfolding the bidirectional surface). On this basis, the geometric analysis function can be called to obtain the length corresponding to each bounding box of the bidirectional surface, and the longest boundary line can be selected. The reference direction can be determined based on the direction of the line connecting the two endpoints of the boundary line (e.g., the direction of the line connecting the endpoints can be directly used as the reference direction).

[0044] In this embodiment, since the biaxial curved surface can only be approximately unfolded, on the one hand, for the biaxial curved surface structure used on steel bridges, its central region usually has the smallest deformation. Determining the reference point based on the center point of the corresponding boundary frame of the biaxial curved surface is beneficial to uniformly diffuse the accumulated tensile or compressive strain generated during unfolding from that point as the core, avoiding excessive concentration of strain at a single edge that would lead to excessive local distortion, and thus minimizing the overall forming error globally. On the other hand, determining the reference direction based on the direction of the line connecting the two endpoints on the longest boundary line of the biaxial curved surface is beneficial to prevent small projection deviations in the long side direction from being geometrically amplified at the far end, further reducing the overall forming error.

[0045] Optionally, the expanded input information also includes the disconnected curve; determining the expanded input information based on the expanded strategy further includes: When the surface type is a cylindrical surface, select any point on the corresponding boundary line of the cylindrical surface as a reference point, determine the reference direction based on the axis of the cylindrical surface, and create a break curve; wherein, the two endpoints of the break curve are located on the two corresponding boundary lines of the cylindrical surface, and the break curve is parallel to the axis of the cylindrical surface.

[0046] Specifically, in this embodiment, the boundary lines corresponding to the cylindrical surface are typically two circular curves, located at opposite ends of the cylindrical surface. When the surface type is cylindrical, any point on its boundary line can be selected as a reference point. In this embodiment, the axial direction of the cylindrical surface refers to the direction of the central axis around which the cylindrical surface is located. This is an important geometric feature direction of the cylindrical surface, and the reference direction corresponding to the unfolding of the cylindrical surface can be determined based on the axial direction (e.g., the reference direction coincides with the axial direction). In this embodiment, the broken curve refers to an auxiliary curve created to unfold the cylindrical surface. Its two endpoints are located on the two corresponding boundary lines of the cylindrical surface and are parallel to the axial direction of the cylindrical surface. It is used to determine the shearing position of the surface during unfolding, allowing the surface to be smoothly unfolded into a plane.

[0047] In this embodiment, the cylindrical surface possesses a linear property along its axial direction (i.e., the curvature in this direction is zero). Choosing the axial direction as the reference direction helps to align the main reference axis of the unfolded surface with the zero-curvature generation line of the surface, ensuring equal length conversion when the three-dimensional length in this direction is mapped to the two-dimensional planar distance, thus ensuring longitudinal dimensional accuracy. Simultaneously, the two endpoints of the break curve created in this embodiment are located on the corresponding two boundary lines of the cylindrical surface, and the break curve is parallel to the axial direction of the cylindrical surface. This helps to avoid introducing additional circumferential misalignment or torsional deformation during unfolding, ensuring unfolding accuracy.

[0048] Optionally, create a two-dimensional drawing corresponding to the planar three-dimensional model, including: Create an unfolding plane, and set any point on the unfolding plane as the unfolding origin; Align the reference point corresponding to the planar 3D model with the origin of the unfolding, and constrain the maximum plane of the planar 3D model to coincide with the unfolding plane; A two-dimensional image is obtained by projecting the planar three-dimensional model onto the unfolded plane.

[0049] In this embodiment, the unfolding plane can be any created plane, and any point on the unfolding plane can be created as the unfolding origin. The spatial position of the unfolded planar 3D model can be constrained by aligning the reference point corresponding to the planar 3D model with the unfolding origin, and by constraining the largest plane of the planar 3D model (i.e., the polygon with the largest area in the planar 3D model; the area of ​​each polygon can be obtained by calling the geometric analysis function in the software) with the unfolding plane. Based on this, the two-dimensional diagram corresponding to the unfolded curved 3D model can be obtained from the projection of the planar 3D model onto the unfolding plane.

[0050] Optionally, after creating the two-dimensional drawing corresponding to the planar three-dimensional model, the following steps are also included: When a preset curve is included on a 3D surface model, the preset curve is mapped to a 2D graph.

[0051] In this embodiment, the preset curve may include dividing lines, decorative lines, etc. After unfolding the three-dimensional model of the curved surface to obtain a two-dimensional image, the preset curve can be mapped onto the two-dimensional image according to its position on the three-dimensional model of the curved surface, so as to ensure the integrity of the information carried by the two-dimensional image.

[0052] Optionally, after creating the two-dimensional drawing corresponding to the planar three-dimensional model, the following steps are also included: When the surface type is ruled surface, the length of the corresponding generatrix of the ruled surface is determined based on the pre-associated design information of the ruled surface. When the surface type is a cylindrical surface, the axial length of the cylindrical surface is determined based on the pre-associated design information of the cylindrical surface. An unfolding error message is generated when the length of the generatrix differs from the length of the edge line along the corresponding reference direction in the 2D diagram, or when the axial length differs from the length of the edge line along the corresponding reference direction in the 2D diagram.

[0053] In this embodiment, comparing the generatrix length of the ruled surface, the axial length of the cylindrical surface, and the corresponding edge length in the 2D diagram helps to promptly identify potential errors during the unfolding process. If the lengths are inconsistent, it indicates a possible erroneous operation during unfolding (such as incorrect unfolding input information, model positioning, or projection deviation). When the generatrix length differs from the edge length along the corresponding reference direction in the 2D diagram, or when the axial length differs from the edge length along the corresponding reference direction in the 2D diagram, an unfolding anomaly warning is generated. This helps prompt relevant personnel to intervene promptly, ensuring the accuracy of the steel bridge surface unfolding and thus avoiding impacts on the precision and quality of steel bridge manufacturing.

[0054] like Figure 2 As shown, an embodiment of the present invention provides a surface unfolding device 200, comprising: A creation module 210 is used to select any point as a target point from the curve boundary line of the acquired 3D surface model, and create a reference surface based on the target point; wherein the target point is located within the reference surface, and the reference surface is perpendicular to the tangent direction of the target point; The determination module 220 is used to obtain the intersection line between the reference surface and the three-dimensional surface model, and to determine the surface type corresponding to the three-dimensional surface model based on the geometric characteristics of the intersection line; The unfolding module 230 is used to unfold the surface 3D model based on the unfolding strategy pre-associated with the surface type, generate a planar 3D model, and create a 2D graph corresponding to the planar 3D model.

[0055] The surface unfolding device and surface unfolding method provided in this embodiment can produce basically the same technical effects, and will not be described again here.

[0056] like Figure 3 As shown, an electronic device 300 provided in this embodiment of the invention includes a memory 310 and a processor 320; the memory 310 is used to store a computer program; the processor 320 is used to implement the surface unfolding method as described above when the computer program is executed.

[0057] Alternatively, an electronic device 300 includes a memory 310 and a processor 320 coupled to the memory 310; the memory 310 is configured to store a computer program; and the processor 320 is configured to perform the following operations when the computer program is executed: Select any point on the curve boundary line of the acquired 3D surface model as the target point, and create a reference surface based on the target point; wherein the target point is located within the reference surface, and the reference surface is perpendicular to the tangent direction of the target point; Obtain the intersection line between the reference surface and the three-dimensional surface model, and determine the surface type corresponding to the three-dimensional surface model based on the geometric characteristics of the intersection line; The surface 3D model is unfolded based on the pre-associated unfolding strategy of the surface type to generate a planar 3D model, and a corresponding 2D graph is created for the planar 3D model.

[0058] The electronic device and the surface unfolding method provided in this embodiment can produce basically the same technical effects, and will not be described again here.

[0059] This invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the surface unfolding method described above.

[0060] Alternatively, a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to perform the following operations: Select any point on the curve boundary line of the acquired 3D surface model as the target point, and create a reference surface based on the target point; wherein the target point is located within the reference surface, and the reference surface is perpendicular to the tangent direction of the target point; Obtain the intersection line between the reference surface and the three-dimensional surface model, and determine the surface type corresponding to the three-dimensional surface model based on the geometric characteristics of the intersection line; The surface 3D model is unfolded based on the pre-associated unfolding strategy of the surface type to generate a planar 3D model, and a corresponding 2D graph is created for the planar 3D model.

[0061] The computer-readable storage medium provided in this embodiment has essentially the same technical effect as the surface unfolding method described above, and will not be repeated here.

[0062] The present invention will now be described an electronic device 300 that can serve as a server or client of the present invention, which is an example of a hardware device that can be applied to various aspects of the present invention. Electronic device 300 is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic device 300 can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0063] Electronic device 300 includes a computing unit that can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) or a computer program loaded from a storage unit into random access memory (RAM). The RAM may also store various programs and data required for device operation. The computing unit, ROM, and RAM are interconnected via a bus. Input / output (I / O) interfaces are also connected to the bus.

[0064] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc. In this application, the units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments of the present invention according to actual needs. Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated units can be implemented in hardware or as software functional units.

[0065] While the present invention has been disclosed above, its scope of protection is not limited thereto. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, and all such changes and modifications will fall within the scope of protection of the present invention.

Claims

1. A method for developing a curved surface, characterized in that, include: Select any point on the curve boundary line of the acquired 3D surface model as the target point, and create a reference surface based on the target point; wherein the target point is located within the reference surface, and the reference surface is perpendicular to the tangent direction of the target point; Obtain the intersection line between the reference surface and the three-dimensional surface model, and determine the surface type corresponding to the three-dimensional surface model based on the geometric characteristics of the intersection line; The surface 3D model is unfolded based on the pre-associated unfolding strategy of the surface type to generate a planar 3D model, and a corresponding 2D graph is created for the planar 3D model.

2. The surface development method according to claim 1, characterized in that, The surface type includes any one of ruled surface, bidirectional surface, and cylindrical surface; determining the surface type corresponding to the three-dimensional model of the surface based on the geometric characteristics of the intersecting lines includes: When the geometric feature is a straight line, the surface type is the ruled surface; When the geometric feature is a curve, the surface type is the bidirectional surface; When the geometric feature consists of two parallel lines, the surface type is the cylindrical surface.

3. The surface unfolding method according to claim 2, characterized in that, The unfolding of the 3D model of the surface based on the pre-associated unfolding strategy of the surface type includes: The deployment input information is determined based on the deployment strategy; wherein, the deployment input information includes a reference point and a reference direction; The unfolding input information is mapped to a preset unfolding engine module to generate the planar 3D model.

4. The surface unfolding method according to claim 3, characterized in that, The step of determining the expansion input information based on the expansion strategy includes: When the surface type is ruled surface, any endpoint on the boundary line corresponding to the ruled surface is selected as the reference point, and the reference direction is determined based on the generatrix direction of the ruled surface.

5. The surface unfolding method according to claim 3, characterized in that, The step of determining the expansion input information based on the expansion strategy includes: When the surface type is a bidirectional surface, the reference point is determined based on the center point of the corresponding bounding box of the bidirectional surface, and the reference direction is determined according to the direction of the line connecting the two endpoints on the longest boundary line of the bidirectional surface.

6. The surface unfolding method according to claim 3, characterized in that, The expanded input information also includes a disconnected curve; determining the expanded input information based on the expanded strategy includes: When the surface type is the cylindrical surface, any point on the corresponding boundary line of the cylindrical surface is selected as the reference point, the reference direction is determined based on the axial direction of the cylindrical surface, and a break curve is created; wherein, the two endpoints of the break curve are respectively located on the two boundary lines corresponding to the cylindrical surface, and the break curve is parallel to the axial direction of the cylindrical surface.

7. The surface development method according to any one of claims 4-6, characterized in that, Creating the two-dimensional image corresponding to the planar three-dimensional model includes: Create an unfolding plane, and designate any point on the unfolding plane as the unfolding origin; The reference point corresponding to the planar 3D model is aligned with the unfolding origin, and the maximum plane of the planar 3D model is constrained to coincide with the unfolding plane; The two-dimensional diagram is obtained by projecting the planar three-dimensional model onto the unfolded plane.

8. A curved surface unfolding device, characterized in that, include: A creation module is used to select any point as a target point from the curve boundary line of the acquired 3D surface model, and create a reference surface based on the target point; wherein the target point is located within the reference surface, and the reference surface is perpendicular to the tangent direction of the target point; The determination module is used to obtain the intersection line between the reference surface and the three-dimensional surface model, and to determine the surface type corresponding to the three-dimensional surface model based on the geometric characteristics of the intersection line; The unfolding module is used to unfold the surface 3D model based on the unfolding strategy pre-associated with the surface type, generate a planar 3D model, and create a 2D graph corresponding to the planar 3D model.

9. An electronic device, characterized in that, Including memory and processor; The memory is used to store computer programs; The processor is configured to implement the surface unfolding method as described in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program that, when executed by a processor, implements the surface unfolding method as described in any one of claims 1 to 7.