Abstract
Parameterized reconstruction of workpiece surfaces is a critical step for advanced manufacturing applications, such as the solving of machining parameters, and the expression of workpiece in situ measurement. Generally, the point clouds model is easy to obtain and can be seen as the source model of the workpiece, and the B-spline surface is always taken as the ideal target parameterized model. Existing research focuses on reconstructing the single-valued surface, which can be projected onto a spatial plane without overlapping. However, the dual-valued surface, which overlaps at least twice, is also commonly encountered in industry, and has few investigations. Therefore, this paper proposes a fast reconstruction method based on reasonable segmentation and parameter domain mapping. In this approach, first, the dual-valued point clouds model is segmented into multiple single-valued point clouds models according to the sought edges in the optimal attitude. Then, the grid point coordinates of the single-valued point clouds model are calculated using the parametric-domain moving least squares method. Finally, the B-spline surface is generated by interpolating these grid points. The proposed algorithm is applied to single-bending closed-section workpieces such as the turbine blade to illustrate the effectiveness of this method. The contrast results with existing method demonstrate that the proposed approach can reconstruct the workpiece with multi-valued surfaces more quickly and more accurately, which is significant in advanced manufacturing.
Introduction
Computer numerical control (CNC) machining has been commonly used in the aerospace, automobile, and die/mold industries. 1 Since CNC machining procedures, cutting parameters, and machining toolpath are calculated according to the workpiece model, the acquisition and construction of the model are critical.2,3 The workpiece model has wide expressions such as point cloud, triangular mesh, and B-Spline surface. Among these, the B-Spline surface model is preferable for CNC machining because of its advantages such as high precision, convenient acquisition of surface information, and convenient computer operation. In addition, with the development of instruments, the point cloud model is becoming more widely used because of its advantages such as wide source, common format, and easy exchange. 4 Therefore, the reconstruction of the B-Spline surface from the point cloud is significant for advanced manufacturing applications.
The published literature contains a vast number of papers on the reconstruction of the point cloud model. However, studies have different purposes and target models in different fields. In the computer field, the point cloud is mostly used for deep learning to identify features and reconstruct maps.5,6 In the reverse engineering field, it is commonly used to reconstruct the triangular mesh model.7,8 In the CNC machining field, a method of B-Spline surfaces reconstruction was proposed, but it has the application limitation of single-value surfaces. 2 Furthermore, this method is highly correlated to Computational Geometry, and they are both based on a cross-section slicing fitting strategy (CSF).9–12 This strategy is robust and universal, and the approximate B-Spline model under error control is adopted as the target model. Nevertheless, for the deterministic point cloud (error free) of regular shapes such as dual-value single-bend closed-section workpieces, this strategy is inefficient and unprofessional. The dual-value single-bend closed-section workpiece is a workpiece whose surface is a dual-value surface. When a dual-value surface is projected onto a spatial plane, at least two overlaps of surface projections occur in some regions of the projection plane. Besides, machining accuracy is affected by fitting accuracy in addition to the accuracy of the point cloud model.
Free-form surface (sculpture surface) expressed by B-Spline is widely used in the design and manufacture of aviation, aerospace, and marine equipment. As a typical type among these, the dual-value single-bend closed-section workpiece also has extensive applications such as turbine blades and propellers. Given the reconstruction of the B-Spline surface from the point cloud, there have been several excellent approaches.13–15 However, these methods have defects of inefficiency and inaccuracy because above workpieces’ characteristics of dual value, single bend, and high precision machining.
In recent years, to avoid complex surface reconstruction in digital manufacturing, the black-box models of surface reconstruction based on the neural network have been proposed, such as Duan et al. 16 proposed an RBF neural network mapping technology to pre-fit noise point clouds and Wang et al. 17 improved the performance of fitting disordered point clouds by neural networks. These methods avoided complex algorithms and achieved fast reconstruction but introduces uncertainty and significant pre-training costs. Furthermore, the methods of directly generating machining toolpath without surface reconstruction are proposed, such as Shen et al. 18 constructed workpiece mesh models based on the point cloud and generated toolpaths based on these mesh models and Wang et al. 19 proposed a direct planning method of robot toolpaths based on the field-measured point clouds. These methods are dependent on the local accuracy of meshes and point clouds, which sacrifices the smoothness of the stitching and the overall coordination. To sum up, the general reconstruction algorithms cannot achieve excellent performance on specific workpieces, and no surface reconstruction will introduce greater costs. Therefore, it is necessary to study a fast and special reconstruction method for the workpiece with specific characteristics.
For the workpiece with specific characteristic, it is necessary to adopt a prior fitting model 20 or a specific reconstruction algorithm 21 to improve the accuracy and rapidity of reconstruction. Based on the above characteristics, this paper proposes a fast reconstruction method based on reasonable segmentation and parameter domain mapping, for multi-valued surfaces. In this approach, first, the transformation between the initial attitude and optimal processing attitude of workpieces is established. Then, the dual-value point cloud model is split into two single-value point clouds using an edge segmentation method. Next, the grid point coordinates of the single-valued point clouds model are calculated using the parametric-domain moving least squares method. Finally, the B-Spline surface model of the workpiece is obtained by interpolating these accurate grid points.
To sum up, the goal of the approach proposed in this paper is to quickly and accurately reconstruct the B-Spline surface model of the dual-value single-bend closed section workpiece from the point cloud model. Through reconstructing a typical turbine blade, the effectiveness of the proposed method is illustrated, and compared with the existing cross-section slicing fitting method (CSF), this method is fast and accurate due to the professionalism of this type of workpiece.
The following of this paper is organized as follows: Section “Partition of the point cloud model” introduces the edge partition under the optimal attitude, which split a dual-value point cloud into two single-value point clouds. Section “B-spline surface fitting” describes the details of grid construction and surface interpolating based on the dual-domain mapping. Subsequently, Section “Illustration tests” verify the effectiveness and superiority of the proposed method thorough two reconstruction experiments. In the final Section “Conclusions,” the full text is summarized, and the future work is anticipated.
Partition of the point cloud model
The point cloud model of the workpiece has a wide range of sources, and because of this, its initial posture is random. To split the dual-value point cloud by its edges, an optimal attitude is necessary for the recognition and clustering of edge points. Thereby, the edges can be fitted, and the middle surface can be constructed to split dual-value point clouds into two single-value point clouds. In this section, as shown in Figure 1, the transformation between initial posture and optimal posture is first established. Then the edge points are recognized, and the edges are fitted. Finally, the middle surface is constructed and optimized continuously, and the point cloud is split.

Schematic diagram of point cloud segmentation.
Optimal attitude transformation
To obtain the optimal attitude of the input point cloud, a least-square method is used to find the optimal plane, and a dichotomy is adapted to find the optimal rotation angle. The plane transformation and the rotation transformation together form the transformation relationship between the original attitude and the optimal attitude. The details of the transformations are shown in Figure 2.

Schematic diagram of the optimal transformation.
In the plane transformation, the plane
In the above equations,
In the rotation transformation, the rotation axis is
where,
Finally, the transformation from the original attitude to the optimal attitude is expressed in equation (3).
Thus, the axes
Recognition and clustering of edge points
In the optimal attitude, initial edge points are recognized according to a normal tolerance judgment. To determine the edges, the initial edge points are refined and clustered in turn. The procedure is shown in Figure 3. At first the estimated normal vector and surface curvature at each point is calculated using principal component analysis (PCA). Then the minimum curvature is selected to calculate the normal tolerance, by which the initial edge points are determined. Finally, two edges can be clustered based on refining these points.

The flowchart of recognition and clustering of edge points.
The normal tolerance is the maximum difference between the estimated and actual normal vector of the point cloud, and as shown in Figure 4(a), it can be calculated by
where
where
where,
where,

Schematic diagram of recognition and clustering: (a) diagram of the normal tolerance and (b) recognition and clustering process.
To refine the initial edge points, the points which have the minimum angle with the
Fitting of edge curve
Since the existence of edge point errors, which are caused by non-coincidence with the
1. The geometric center
2. The edge points with the maximum limiting angle in
3. Based on the sorted edge points, two edge curves

Schematic diagram of the edge fitting and partition surface construction.
Construction of the partition surface
To obtain the partition surface, a construction algorithm of a straight grain surface is adapted to generate the initial partition surface, and the ideal partition surface is obtained by bending this surface using the pseudo-gradient method. The processes are shown in Figure 5.
For edge curves
where,
To bend this initial surface, the intermediate point set
where
where, the node vector in the
To split the point cloud, a pseudo-gradient method is used to modify the intermediate point in

Partition of the point cloud.
Splitting of the point cloud. Through the above processes, the partition surface is obtained. Therefore, as shown in Figure 6, the dual-value point cloud can be divided into two single-value point clouds by determining whether the point is above or below the surface.
B-spline surface fitting
After splitting the dual-value point cloud, two single-value point cloud is obtained, and either of them can be reconstructed using a B-spline fitting method. But to ensure the accuracy and efficiency of the reconstruction, a dual-domain mapping interpolating method based on moving least square regularizing. In detail, as shown in Figure 7, the mapping relation between the projection domain and the parameter domain is first established. Then, the grid points are calculated using a moving least square method (MLS) with a cubic basis support field. Finally, the B-spline surface is obtained by interpreting these grid points.

Schematic diagram of the interpolating grid point calculation.
Establishment of the dual-domain mapping relation
Because two single-value point clouds and the partition surface are bijective along the
where,
where,
Calculation of grid points
Based on the hybrid coordinates of the point cloud, the moving least square method
24
with a cubic basis support field is used to calculate the grid points. In detail, the parameter coordinates of the grid points are first generated by equation (15). Then, the
where
where,
where
where,
Bicubic B-spline surface interpolating
Based on the grid points, the B-spline surface can be readily interpolated by solving equation (24). 25
where,
where
where,
Due to the obtained coefficient matrix is a positive definite band matrix, and its half bandwidth is less than
It worth noting that the parameters mentioned in Section “Partition of the point cloud model” and Section “B-spline surface fitting” above need to be predefined, and the default recommended values for these parameters are listed in the Table 1. Based on these given parameters, the mathematical model of the workpiece can be reconstructed through the proposed method according to its point cloud model.
Default recommended parameters.
aThis is the thickness of the workpiece, that is, the difference of the limiting
Where,
Where
Illustration tests
Through the above-mentioned fast reconstruction method of dual-value single-bend closed section workpiece, a B-spline surface model is obtained based on its point cloud model. To verify the effectiveness of the proposed method, a universal turbine blade is adopted to illustrate the reconstruction process and results. To demonstrate the superiority of this method, a workpiece with known geometric parameters of configuration is tested by proposed method and cross-section slicing fitting method.
Turbine blade test
The turbine blade test is used to illustrate the correctness of each step and the effectiveness of the proposed method, and the details of each procedure are shown below. As the basis of the reconstruction, the input point cloud model of the blade and its optimal attitude after optimal transformation are shown in Figure 8.

Blade point cloud and optimal attitude diagram.
On the optimal attitude, the efficient edge points are identified, and the edges are fitted, which is shown in Figure 9.

Recognition and fitting of edges.
Further, as shown in Figure 10, the initial partition surface is constructed through the edge curves, and it is continuously modified to split the dual-value point cloud into two single-value point clouds.

Construction of the partition surface and point cloud splitting.
Next, the grid points of each single-value point cloud are calculated using the moving least square method with cubic basis support field, and they are shown in Figure 11 left.

Grid points and the surface of interpolations.
Finally, the reconstruction of the B-spline surface model is completed by interpolating the grid points using bicubic B-spline, which is shown in Figure 11 right. These renderings illustrate the effectiveness of the proposed method.
Designed surface test
To show the performance of the proposed method and prove the superiority of this method, the workpiece shown in Figure 12 is used as the test model. The geometric parameters of its configuration are shown on the left, and the corresponding point cloud model is shown on the right. As shown in the figure on the left, the cross-section shape is formed by splicing four tangential arcs, and then twisting

The experimental workpiece and the corresponding point cloud.
As shown in the Figure 13, the B-spline surface model of the test workpiece is reconstructed through the proposed method, and the corresponding grid points and interpolated surfaces are illustrated. It can be seen from the simulation diagram that the dual-value point cloud is well segmented into two single-value point clouds according to the edges, and the interpolation grid points are constructed through the moving least square method based on the dual-domain mapping. Thus, the good B-spline surface model of this workpiece is reconstructed.

The grid points and surfaces of proposed method for designed surface test.
As the comparison, a typical cross-section slicing method (CSF) is adopted to fit the test workpiece. The core of cross-section method is to project the points in the slicing field onto the slicing plane and the fit the space curve of each layer on each slicing plane. When the curves of all slicing layers are fitted out the spatial curves can be interpolated into a spatial surface in order. Thus, the number of slices affects the accuracy and speed of fitting, and for the given point cloud model, the diagrams of single and multi-layer slices are shown in the Figure 14. To demonstrate the influence of different slice numbers on the cross-section slicing method, this paper reconstructs the test workpiece under two slice numbers of 100 and 1000 and compares them with the proposed method.

The slicing diagram of cross-section slicing fitting method.
After fitting the spatial curves of each slicing layer, the parametric mesh points are constructed by connecting these curves in sequence, as shown in the Figure 15, and the B-spline surface model of the workpiece can be generated by interpolating these mesh points. As shown in the Figure 15, it is obvious that the mesh is more uniform and finer when the number of slices is large.

The fitted grids of 100 and 1000 slices.
Finally, the fitted B-spline surface can be obtained by interpolating these mesh points as show in the Figure 16.

The fitted surfaces of 100 and 1000 slices.
To verify the superiority of the proposed method, the cross-section slicing fitting (CSF) methods with 100 and 1000 slices are compared, and the reconstruction results of these three methods are analyzed. In detail, for given the same test workpiece, the computing times, root mean square errors (RMSE), and maximum absolute errors (MAE) of the surfaces reconstructed by these three methods are calculated, and the calculation results are shown in the Table 2. It can be seen from the data in the table that the computing time, RMSE and MAE of the proposed method are superior to those of the cross-section slicing method for the specific single-bending closed-section workpieces. Additionally, for the cross-section slicing fitting method, with the increase of the number of slices, the effect of workpiece reconstruction becomes better, but the computing time greatly increases. The algorithms of the above three methods are implemented by the Python, and because Python is an interpreted programming language, its speed will be about 20–100 times slower than the compiled programming language C++, but the difference in computing time between the different methods is still significant.
Performance comparison of the reconstructions.
Thus, the effectiveness of the proposed method is verified by Turbine blade test, and the superiority of the proposed method is proved by Designed surface test.
Conclusions
In this paper, a fast reconstruction method of dual-value single-bend closed section workpiece, which is from the point cloud model to the B-spline surface model, is proposed. Compared with the universal and robust methods, this method is a specific dual-value single-bend closed section workpiece, and it adopts dual-domain mapping interpolation based on the optimal attitude edge partition. This advantage ensures the accuracy and efficiency of the algorithm. Therefore, this method is widely applicable to the reconstruction of a lot of aviation, aerospace, and marine workpieces.
First, the transformation between the initial attitude and optimal processing attitude of workpieces is established. Secondly, the dual-value point cloud model is split into two single-value point clouds using an edge segmentation method which constructs and continuously optimizes a partition surface on the optimal attitude. Next, the grid point coordinates of the single-valued point clouds model are calculated using the moving least square method with a cubic basis support field. Finally, the B-Spline surface model of the workpiece is obtained by interpolating these accurate grid points. Illustrations are conducted to evaluate the performance of the presented method. It can be seen from the results that the presented method performs well for a typical dual-value single-bend closed-section workpiece (steam turbine blade). In details, for the test workpiece, the computing time of the method is 2.206 s under the Python platform, the root mean square error is
According to the characteristics of the workpiece, this method innovatively divides the dual-valued point cloud into two single-valued point clouds through the segmentation surface constructed by pseudo-gradient optimization and realizes the sub-regional reconstruction of the workpiece by using the fast single-valued surface reconstruction based on the moving least square method under the dual-domain mapping. Through the proposed method, the reconstruction of the specific dual-value single-bend closed-section workpieces is well realized. These parts, such as turbine blades, are widely used in aerospace and marine applications, so a high-precision surface can be reconstructed according to the point cloud of the original machining toolpath to carry out toolpath optimization work, which does not require the original workpiece model, so it can be carried out on the machine. In addition, because of the rapidity and accuracy of the reconstruction of the workpiece with a specific configuration, this method can be used in the reverse engineering of the workpiece, such as the blade of the aeroengine.
In future studies, the proposed method will be adapted to more complex shape workpieces.
Footnotes
Handling Editor: Chenhui Liang
Author contributions
Methodology, investigation, verification tests, formal analysis, writing – original draft: Pei-Yao Li; conceptualization, methodology, writing – reviewing, supervision: De-Ning Song; resources, supervision, validation: Jing-Hua Li, Lei Zhou, Jian-Wei Ma.
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This study was funded by National Natural Science Foundation of China (grant number 52375491 and 52005121); the China Postdoctoral Science Foundation (grant number 2022T150156 and 2020M681076); the Ministerial Civil Ship Research Project of China (grant number 2019331); the Applied Basic Research Plan of Liaoning Province (grant number 2022JH2/101300220); the Nature Science Foundation of Heilongjiang Province (grant number LH2021E034); the Postdoctoral Science Foundation of Heilongjiang Province (grant number LBH-Z20048), and the Fundamental Research Funds for the Central Universities (grant number 3072022CF0704).
Ethical approval/patient consent
Written informed consent for publication of this paper was obtained from the Harbin Engineering University and all authors. Human or animal subjects and pathological reports were not involved in this study.
