Ship pipeline model design method and system based on engineering data

By building a ship piping model using an automated method based on engineering data, the problems of long model processing cycle and low efficiency in existing technologies are solved, and efficient and accurate three-dimensional model generation is achieved, which is suitable for optimized model output in VR/AR scenarios.

CN120654358APending Publication Date: 2025-09-16JIANGNAN SHIPYARD (GRP) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510923127.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-04
Publication Date
2025-09-16

AI Technical Summary

Technical Problem

In the existing technology, the 3D modeling process of ship piping models is difficult due to the difficulty of lightweighting and UV processing, resulting in a long model processing cycle and low efficiency. Traditional methods also require tedious multiple operations and repetitive work, which increases the risk of errors and affects the efficiency and accuracy of the 3D model.

Method used

By acquiring the engineering data of the pipeline model, the central axis path curve and pipeline mesh are automatically constructed. Combined with texture coordinate processing, a three-dimensional model that meets the requirements of 3D visualization display is directly generated, simplifying the UV unfolding process and reducing manual operations.

Benefits of technology

It improves model processing efficiency, reduces resource consumption and labor costs, shortens development cycles, and enhances model performance and accuracy in VR/AR scenarios. It is applicable to a variety of engineering software data sources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120654358A_ABST
    Figure CN120654358A_ABST
Patent Text Reader

Abstract

The invention provides a ship pipeline model design method and system based on engineering data. The method comprises the following steps that the vertex three-dimensional coordinates and the turning radius of each single pipeline in a pipeline model are obtained based on the engineering data; traversing the three-dimensional coordinates of all the vertexes, and carrying out arc construction on preset vertex positions; constructing a central axis path curve based on the vertexes and the arcs; generating a pipeline grid based on the central axis path curve; obtaining a single-pipeline three-dimensional model after texture coordinate processing is completed based on the pipeline grid; and combining the plurality of single-pipeline three-dimensional models to form a complete ship pipeline model. According to the method, the model processing efficiency can be effectively improved, the resource consumption can be reduced, the labor cost can be saved, the method is compatible with various engineering software data sources, the optimization model which is not limited to adapt to VR / AR scenes can be output, and high-quality support is provided for development of visual display scenes such as analogue simulation and VR / AR.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of ship design, and in particular to a ship piping model design method and system based on engineering data. Background Art

[0002] In the field of digital shipbuilding, 3D model processing is the core step in achieving visual development, accounting for 35% of the entire development process. Piping models, as the largest component of the entire ship model, are extremely challenging to lightweight and process UV (texture coordinates).

[0003] Currently, after 3D modeling, the model undergoes lightweighting processing. However, due to the large number of ship piping models and the complex texture mapping and coordinate calculations involved in UV processing, the simple UV processing methods used in traditional lightweighting methods cannot meet the stringent requirements of model detail and display quality for 3D visualization development such as VR / AR. Therefore, secondary UV processing of the piping model is often required, which undoubtedly further prolongs the model processing cycle and reduces work efficiency.

[0004] Furthermore, existing technologies cannot directly process the original piping models derived from engineering software for visualization. Instead, they require a series of pre-processing steps, such as lightweighting, resulting in a cumbersome and complex process. This not only significantly increases model processing time, but also significantly increases the risk of errors due to the repeated operations in multiple steps, severely restricting the efficiency and accuracy of 3D model processing in digital shipbuilding.

[0005] In summary, it is necessary to provide an improved technical solution to address the above-mentioned deficiencies in the existing technology. Summary of the Invention

[0006] The purpose of the embodiments of the present application is to provide a method and system for designing a ship pipeline model based on engineering data, which can quickly and automatically create a three-dimensional pipeline model that meets the requirements of 3D visualization display development based on the pipeline model engineering data.

[0007] In a first aspect, a method for designing a ship piping model based on engineering data is provided, comprising the following steps:

[0008] S1. Acquire engineering data of a pipeline model, and based on the engineering data, obtain at least the three-dimensional coordinates of the central axis vertex and the turning radius of the elbow of each single pipeline in the pipeline model;

[0009] S2. Traverse the three-dimensional coordinates of all vertices and construct an arc of the central axis at the bend position to obtain multiple arc series points;

[0010] S3, constructing the medial axis path curve based on the vertex and arc series points;

[0011] S4, generating a pipeline mesh based on the medial axis path curve;

[0012] S5. Obtain a single pipeline three-dimensional model after completing texture coordinate processing based on the pipeline mesh;

[0013] S6. Merge multiple single-pipeline 3D models to form a complete ship piping model.

[0014] In one feasible manner, step S2 includes at least the following contents: obtaining the three-dimensional coordinates of three consecutive vertices respectively, and when the turning radius of the middle vertex among the three consecutive vertices is greater than 0, constructing an arc for the middle vertex based on the three-dimensional coordinates and turning radius of the three consecutive vertices.

[0015] Specifically, step S2 includes at least the following steps:

[0016] S21. Obtain three consecutive vertices P1, P2, and P3; and obtain the bending radius at P1, P2, and P3 respectively. When the radius value of the bending radius at P2 is greater than 0, obtain the vertex coordinates of P1, P2, and P3 respectively. Based on the vertex coordinates of P1, P2, and P3, calculate the direction vectors of line segments P1P2 and line segments P2P3 and normalize them.

[0017] S22. Use the cross product of the direction vectors of line segments P1P2 and P2P3 to obtain the plane normal vector centered on P2 to ensure that the arc is in the correct plane.

[0018] S23. Calculate and obtain two tangent points of the arc to determine the starting point and the end point of the arc, and calculate the center position of the arc based on the three-dimensional coordinates of the starting point and the arc radius;

[0019] S24. Generate a preset number of arc interpolation points using a parametric equation; in this embodiment, 32 arc interpolation points are generated;

[0020] S25. Use the cubic Bezier curve algorithm to perform Bezier curve approximation, improve the fitting of the arc, complete the construction of the arc, and determine the arc series points at the center axis bend position.

[0021] In one practicable manner, in step S3 , when determining the center axis path curve, it is determined whether the vertex of the straight tube is replaced with the arc series of points generated in step 25 according to the turning radius.

[0022] Specifically, when the turning radius is greater than 0, the vertex of the straight pipe is replaced with the tangent point in step S23 and the arc series points in step S25 to achieve smooth turning of the pipeline; and the replaced point information is updated to the point list in the engineering data, and a closed and complete central axis path curve is formed according to the point list, and it is ensured that the central axis path curve is closed or meets the boundary conditions.

[0023] In an practicable manner, step S4 includes at least the following: after obtaining the starting section radius, the ending section radius, the pipe wall thickness, and the center axis path curve of a single pipe, a pipe grid is created.

[0024] In one practicable manner, in step S4, when the pipe diameter of the single-pipeline 3D model is variable, the thickness of the single-pipeline 3D model is adjusted to a gradual scaling form, thereby generating a single-pipeline 3D model with wall thickness.

[0025] In one practicable manner, step S5 includes at least the following steps:

[0026] S51. Mark target seam lines based on the pipeline grid. The target seam lines include the longest side along the long axis of the pipeline, namely, the main seam.

[0027] Specifically, when marking the main joint, all edges of the model along the long axis of the pipe are traversed and their lengths are calculated. The edge with the largest length is taken and marked as the main joint. Starting from the main joint, continuous edges are extended along the surface of the model to form a closed loop, which is marked as the main joint.

[0028] S52. Mark the edge rings at the connection between the top surface of the pipe and the inner and outer surfaces, and the edge rings at the connection between the bottom surface of the pipe and the inner and outer surfaces.

[0029] Specifically, the edge ring is the edge ring seam. When marking the edge ring seam, the direction of the surface normal vector and the vertex position information are first calculated to determine whether the current surface is the top surface or the bottom surface. Then, the adjacent surfaces are traversed through connectivity analysis to identify the edge rings in the same area, thereby accurately distinguishing the boundaries between the inner and outer surfaces. Finally, the edge ring information at the connection between the top surface of the pipe and the inner and outer surfaces, as well as the edge ring information at the connection between the bottom surface of the pipe and the inner and outer surfaces are effectively extracted and marked as edge ring seams.

[0030] S53. UV unfold the model along the target seam line.

[0031] In one practicable manner, step S53 includes at least the following:

[0032] S531, constructing a segmentation curve of the model surface according to the marked main seam and edge ring seam;

[0033] S532, setting an algorithm for angle basis function to perform UV unfolding based on angle information;

[0034] S533, setting the size and distribution rules of the UV slices after segmentation;

[0035] S534, perform UV unfolding, divide the model into independent UV slices, and perform optimization operations on each UV slice;

[0036] S535. Output the UV result and write the final UV coordinates into the vertex attributes of the model.

[0037] In one practicable manner, in step S6, all sub-pipeline models corresponding to each parent pipeline are merged to generate multiple complete parent pipeline models.

[0038] According to a second aspect of the present application, a ship piping model design system based on engineering data is also provided, comprising a memory and a processor, wherein the memory stores a computer program, which, when executed by the processor, implements the ship piping model design method based on engineering data provided in the first aspect.

[0039] Compared with the prior art, the present invention has the following advantages:

[0040] In the technical solution of this application, it can effectively improve model processing efficiency, reduce resource consumption, and save labor costs. It is compatible with a variety of engineering software data sources and can output optimized models that are not limited to adapting to VR / AR scenarios, providing high-quality support for the development of simulation, VR / AR and other visual display scenarios.

[0041] By generating 3D models directly from engineering data, the tedious manual operations and multiple adjustments in traditional methods are reduced, significantly shortening the 3D visualization project development cycle, and achieving automation and efficiency.

[0042] By giving a turning radius, the curvature of the central axis path curve can be precisely controlled to meet specific engineering or design requirements, especially in situations where space is limited or special structures are required, which improves the design accuracy.

[0043] By obtaining marked seam lines to perform UV unfolding, post-processing is simplified, the performance and efficiency of the model in rendering and material application are improved, and the UV unfolding process is optimized.

[0044] This application can also be applied to various types of pipeline or path designs, including at least industrial pipelines, HVAC systems, and traffic routes. It can flexibly meet the needs of different scenarios and has strong scalability and high versatility. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 4 is a flow chart of a method for designing a ship piping model based on engineering data according to an embodiment of the present invention. DETAILED DESCRIPTION

[0046] The following is a further detailed description of the specific embodiments of the present invention in conjunction with the accompanying drawings. These embodiments are only used to illustrate the present invention and are not intended to limit the present invention.

[0047] In the description of the present invention, it should be noted that the terms "center," "longitudinal," "lateral," "upper," "lower," "front," "back," "left," "right," "vertical," "horizontal," "top," "bottom," "inside," and "outside" and the like, indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are intended solely to facilitate the description of the present invention and simplify the description. They do not indicate or imply that the devices or components referred to must have a specific orientation, be constructed, or operate in a specific orientation. Therefore, they should not be construed as limiting the present invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0048] In the description of the present invention, it should be noted that, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed, detachable, or integral connections; mechanical or electrical connections; direct or indirect connections through an intermediate medium; and internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on specific circumstances.

[0049] Furthermore, in the description of the present invention, unless otherwise specified, “plurality” means two or more.

[0050] According to the first aspect of this application, see Figure 1 ,First, a ship piping model design method based on engineering data is provided, which includes the following steps:

[0051] S1. Select some engine room piping in the ship section, totaling 78 pipelines. These pipelines are split into multiple individual pipelines based on diameter variations. The engineering data for each individual pipeline is then batch acquired. The engineering data includes the parent pipeline name and the geometric data of its child pipelines. A child pipeline includes at least straight pipes and curved pipes. The geometric data for a child pipeline includes at least the starting and ending radius of a straight pipe, the cross-section radius, the pipe wall thickness, the three-dimensional coordinates of the central axis vertex of each individual pipeline, and the bend radius of curved pipes.

[0052] It should be noted that the source of engineering data can be different engineering software to make the engineering data more complete and sufficient.

[0053] It's also worth noting that turning radius data is stored in JavaScript Object Notation (JavaScript) string data format. JavaScript Object Notation is a lightweight data exchange format that represents structured data in a text format that's easy for humans to read and write. String data format records and stores relevant information as a sequence of characters, enabling the storage of turning radius data.

[0054] S2. Traverse the three-dimensional coordinates and bending radius of all vertices, and construct an arc of the central axis at the bend position to obtain multiple arc series points.

[0055] The turning radius of three consecutive vertices on the central axis is obtained in sequence according to a predetermined order. When the turning radius of the middle vertex is greater than 0, the arc is constructed for the middle vertex based on the vertex coordinates and turning radius of the three consecutive vertices to determine the arc series points.

[0056] Specifically, step S2 includes at least the following steps:

[0057] S21. Obtain three consecutive vertices P1, P2, and P3; and obtain the bending radius at P1, P2, and P3 respectively. When the radius value of the bending radius at P2 is greater than 0, obtain the vertex coordinates of P1, P2, and P3 respectively. Based on the vertex coordinates of P1, P2, and P3, calculate the direction vectors of line segments P1P2 and line segments P2P3 and normalize them.

[0058] S22. Use the cross product of the direction vectors of line segments P1P2 and P2P3 to obtain the plane normal vector centered on P2 to ensure that the arc is in the correct plane.

[0059] S23. Calculate and obtain two tangent points of the arc to determine the starting point and the end point of the arc; calculate the center position of the arc according to the three-dimensional coordinates and radius values ​​of the tangent points;

[0060] S24. Generate a preset number of arc interpolation points using a parametric equation; in this embodiment, 32 arc interpolation points are generated;

[0061] S25. Use the cubic Bezier curve algorithm to perform Bezier curve approximation, improve the fitting of the arc, complete the construction of the arc, and determine the arc series points at the center axis bend position.

[0062] S3. Determine the medial axis path curve based on the three-dimensional coordinates of the vertices and the arc series points.

[0063] In one practicable manner, in step S3 , when determining the center axis path curve, it is determined whether the vertex of the straight tube is replaced with the arc series of points in step 25 according to the turning radius.

[0064] Specifically, when the turning radius is greater than 0, the vertex of the straight pipe is replaced with the tangent point in step S23 and the arc series point in step S25 to achieve smooth turning of the pipeline; and the replaced point information is updated to the point list in the engineering data, and a closed and complete central axis path curve is formed according to the point list, and it is ensured that the central axis path curve is closed or meets the boundary conditions.

[0065] S4, generating a pipeline mesh based on the medial axis path curve;

[0066] Specifically, after obtaining the starting section radius, the ending section radius, the pipe wall thickness, and the center axis path curve of a single pipe, a pipe mesh is created.

[0067] It should be noted that the single-pipeline three-dimensional models all include wall thickness.

[0068] In one practicable manner, in step S4, when the pipe diameter of the single-pipeline three-dimensional model is variable, the thickness of the single-pipeline three-dimensional model is adjusted to a gradual scaling form, thereby generating a single-pipe model with wall thickness.

[0069] S5. After completing texture coordinate processing based on the pipeline mesh, a single pipeline three-dimensional model is obtained.

[0070] Specifically, step S5 at least includes the following contents:

[0071] S51. Mark a target seam line based on the pipeline grid, where the target seam line includes the longest side along the long axis of the pipeline, that is, the main seam.

[0072] Specifically, when marking the main joint, all edges of the model along the long axis of the pipe are traversed and their lengths are calculated. The edge with the largest length is taken and marked as the main joint. Starting from the main joint, continuous edges are extended along the surface of the model to form a closed loop, which is marked as the main joint.

[0073] S52. Mark the edge rings at the connection between the top surface of the pipe and the inner and outer surfaces, and the edge rings at the connection between the bottom surface of the pipe and the inner and outer surfaces.

[0074] Specifically, the edge ring is the edge ring seam. When marking the edge ring seam, the direction of the surface normal vector and the vertex position information are first calculated to determine whether the current surface is the top surface or the bottom surface. Then, the adjacent surfaces are traversed through connectivity analysis to identify the edge rings in the same area, thereby accurately distinguishing the boundaries between the inner and outer surfaces. Finally, the edge ring information at the connection between the top surface of the pipe and the inner and outer surfaces, as well as the edge ring information at the connection between the bottom surface of the pipe and the inner and outer surfaces are effectively extracted and marked as edge ring seams.

[0075] S53. UV unfold the model along the target seam line.

[0076] Specifically, first construct the segmentation curve of the model surface according to the marked main seams and edge ring seams; set the algorithm of the angle basis function to perform UV unfolding based on angle information; set the size and distribution rules of the UV slices after segmentation to adapt to the pipeline UV texture; perform UV unfolding to divide the model into independent UV slices, perform optimization operations on each UV slice to avoid overlap and balance stretching, and ensure a natural transition between UV slices; output the UV results and write the final UV coordinates into the vertex attributes of the model.

[0077] S6. Merge all the sub-pipeline models corresponding to each parent pipeline to generate multiple complete parent pipeline models, completing 78 complete pipeline models.

[0078] It should be noted that the present application is not limited to the design of ship pipeline models, and the design method provided in the present application can be used for regular geometric bodies obtained based on path and end face scanning.

[0079] According to a second aspect of the present application, a ship piping model design system based on engineering data is also provided, comprising a memory and a processor, wherein the memory stores a computer program, which, when executed by the processor, implements the ship piping model design method based on engineering data provided in the first aspect.

[0080] In summary, a method for reconstructing and designing ship piping models based on engineering data has been proposed. This method can effectively improve model processing efficiency, reduce resource consumption, and save labor costs. It is compatible with a variety of engineering software data sources and can output optimized models suitable for a wide range of VR / AR scenarios, providing high-quality support for the development of visualization scenarios such as simulation and VR / AR. The traditional model involves the following process: geometry - general simplification - manual repair. This application achieves end-to-end automation of the ship piping model, from production data to visualization scenarios, by directly mapping engineering data to UV rules. This method is particularly suitable for simulation or 3D visualization projects involving pipelines on a scale of 10,000, such as large cruise ships and LNG carriers.

[0081] By generating 3D models directly from engineering data, the tedious manual operations and multiple adjustments in traditional methods are reduced, significantly shortening the 3D visualization project development cycle, and achieving automation and efficiency.

[0082] By giving a turning radius, the curvature of the central axis path curve can be precisely controlled to meet specific engineering or design requirements, especially in situations where space is limited or special structures are required, which improves the design accuracy.

[0083] By obtaining marked seam lines to perform UV unfolding, post-processing is simplified, the performance and efficiency of the model in rendering and material application are improved, and the UV unfolding process is optimized.

[0084] This application can also be applied to various types of pipeline or path designs, including at least industrial pipelines, HVAC systems, and traffic routes. It can flexibly meet the needs of different scenarios and has strong scalability and high versatility.

[0085] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and substitutions can be made without departing from the technical principles of the present invention. These improvements and substitutions should also be regarded as the scope of protection of the present invention.

Claims

1. A ship piping model design method based on engineering data, characterized in that: The following steps are involved: S1. Acquire engineering data of a pipeline model, and based on the engineering data, obtain at least the three-dimensional coordinates of the central axis vertex and the turning radius of the elbow of each single pipeline in the pipeline model; S2. Traverse the three-dimensional coordinates of all vertices and construct an arc of the central axis at the bend position to obtain multiple arc series points; S3, constructing the medial axis path curve based on the vertex and arc series points; S4, generating a pipeline mesh based on the medial axis path curve; S5. Obtain a single pipeline three-dimensional model after completing texture coordinate processing based on the pipeline mesh; S6. Merge multiple single-pipeline 3D models to form a complete ship piping model.

2. The ship piping model design method based on engineering data according to claim 1 is characterized in that: In step S2, at least the following contents are included: respectively obtaining the three-dimensional coordinates of three consecutive vertices, and when the turning radius of the middle vertex among the three consecutive vertices is greater than 0, constructing an arc for the middle vertex based on the vertex three-dimensional coordinates and turning radius of the three consecutive vertices.

3. The ship piping model design method based on engineering data according to claim 2 is characterized in that: In step S3, at least the following contents are included: when the turning radius is greater than 0, vertex replacement is performed.

4. The ship piping model design method based on engineering data according to claim 1 is characterized in that: In step S4, at least the following contents are included: obtaining the starting section radius, the ending section radius, and the pipe wall thickness of the single pipe based on engineering data, and creating a pipe mesh based on the medial axis path curve.

5. The ship piping model design method based on engineering data according to claim 4 is characterized in that: In step S4, when the pipe diameter of the single-pipeline three-dimensional model is variable, the thickness of the single-pipeline three-dimensional model is adjusted to a gradual scaling form to generate a single-pipeline three-dimensional model with wall thickness.

6. The ship piping model design method based on engineering data according to claim 1 is characterized in that: In step S5, at least the following steps are included: S51, marking target seam lines based on the pipeline grid; S52, marking the edge ring where the top surface of the pipe connects with the inner and outer surfaces, and the edge ring where the bottom surface of the pipe connects with the inner and outer surfaces; S53. UV unfold the model along the target seam line.

7. The ship piping model design method based on engineering data according to claim 6 is characterized in that: In step S51 , the target seam line includes the longest side along the long axis of the pipe, ie, the main seam.

8. The ship piping model design method based on engineering data according to claim 7 is characterized in that: In step S53, at least the following contents are included: Construct the segmentation curve of the model surface according to the marked main seams and edge loop seams; Set the angle basis function algorithm to perform UV unfolding based on angle information; Set the size and distribution rules of the UV slices after segmentation; Perform UV unfolding, divide the model into independent UV slices, and perform optimization operations on each UV slice; Output the UV result and write the final UV coordinates into the vertex attributes of the model.

9. The ship piping model design method based on engineering data according to claim 1, characterized in that: In step S6, all sub-pipeline models corresponding to each parent pipeline are merged to generate multiple complete parent pipeline models.

10. A ship piping model design system based on engineering data, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program, and when the program is executed by the processor, the ship piping model design method based on engineering data according to any one of claims 1 to 9 is implemented.