Next Article in Journal
A Tool Wear Prediction Network Fusing Visual-Acoustic Cross-Attention and Interval Guidance
Previous Article in Journal
Dual-Rotor Straight Blade Vertical-Axis Wind Turbine for Farm Settings: A Numerical Study
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Automated Drive Curve Offset Strategy for Corner Cleaning Based on Enhanced Principal Component Analysis

1
Institute of Applied Mathematics, Hebei Academy of Sciences, Shijiazhuang 050081, China
2
State Key Laboratory of Mathematical Sciences, Academy of Mathematics and Systems Science, Chinese Academy of Sciences, Beijing 100190, China
3
School of Mathematical Sciences, University of Chinese Academy of Sciences, Beijing 100190, China
4
Information Security Authentication Technology Innovation Center, Hebei Academy of Sciences, Shijiazhuang 050081, China
*
Author to whom correspondence should be addressed.
Machines 2026, 14(7), 825; https://doi.org/10.3390/machines14070825
Submission received: 25 May 2026 / Revised: 9 July 2026 / Accepted: 11 July 2026 / Published: 20 July 2026
(This article belongs to the Section Advanced Manufacturing)

Abstract

Corner cleaning is a critical sub-stage of finishing and is used to remove residual material left by previous machining operations, thereby ensuring the designed dimensional precision and surface quality. Although essential in CNC machining, many current industrial CAM software like UG NX, PowerMill systems were largely developed based on early-stage theoretical frameworks. Meanwhile, the geometric shapes of machined workpieces are becoming increasingly complex, making such software gradually unable to meet the growing requirements for tool path quality. This paper establishes a rigorous mathematical framework to bridge the gap between industrial practice and theoretical modeling. Based on this framework, an enhanced Principal Component Analysis (PCA) method is proposed to generate an optimal drive curve by integrating geometric variance maximization with vector field guided directional optimization. Furthermore, a robust offset strategy is presented, incorporating self-intersection detection, critical-point trimming, and segment connection mechanisms to ensure path continuity and smoothness. Experimental results and real machining cases demonstrate that the proposed method outperforms the widely used commercial software in terms of robustness and path smoothness, validating its effectiveness and practical applicability.

1. Introduction

Tool path planning serves as a fundamental technology in the Computer-Aided Manufacturing (CAM) stage, which is pivotal to the modern machining process. Tool path planning comprises three main stages [1]: Roughing, Semi-Finishing, and Finishing, each fulfilling a specific function and ultimately guaranteeing that the workpiece achieves the required shape and surface quality. The process begins with the roughing stage, which performs high-efficiency volume removal to approximate the designed shape. Semi-Finishing then machines the surface to prepare it for finishing. The process concludes with the Finishing stage, which achieves the final shape and surface quality as specified in the design.
Within the finishing stage, a sub-process known as corner cleaning is performed to remove residual material from previous operations, such as residual material arising from geometric constraints between the tool and workpiece [2]. For instance, a ball-end mill’s spherical geometry prevents complete material removal in sharp corners, leaving uncut material, as shown in Figure 1; similarly, any tool whose diameter exceeds the groove width cannot penetrate into the groove, thereby leaving residual material. In multi-axis machining, improper tool orientation may cause tool–workpiece collision interference or fail to reach residual material in corners. As an essential step in finishing, corner cleaning addresses these residual material issues to ensure the final workpiece conforms to all design specifications.
Although corner cleaning machining plays a vital role in the machining process, this procedure has lacked support from new fundamental theories in recent years. First, academia has paid insufficient attention to corner cleaning machining, and dedicated research literature on this topic is rather limited. Furthermore, commercial CAM software typically relies on descriptive definitions, such as generating tool paths for unprocessed sharp corners and residual material zones, yet such descriptions lack innovative theoretical representation and modeling frameworks. In practice, due to the complex and variable geometric characteristics of corner cleaning areas, their identification still depends heavily on manual observation and inspection, falling short of full automation. Establishing rigorous mathematical definitions and a solid theoretical foundation is therefore imperative.
A second challenge concerns tool path generation. The drive curve offset strategy, while being the predominant industry approach for ensuring path uniformity in corner cleaning, relies on manual drive curve selection in commercial CAM software and lacks theoretical optimization for efficiency [3]. Refining this algorithm and establishing its theoretical basis are therefore key to advancing automation.
To address these current gaps, this manuscript presents a comprehensive solution for corner cleaning. The contributions of this work are threefold: a rigorous mathematical framework for defining corner cleaning regions, a robust method for drive curve generation and offsetting, and a complete tool path planning strategy. These components collectively offer the following advantages over the state of the art:
Theoretical Completeness: Starting from the construction of rigorous mathematical definitions, the proposed method establishes a comprehensive theoretical framework for corner cleaning, thereby ensuring theoretical integrity.
Application Robustness: The proposed method constructs drive curves based on point clouds, thus maintaining compatibility with diverse CAD representations. Experimental results demonstrate that the proposed approach achieves superior robustness compared to the widely used commercial CAM software PowerMill 2024 (PM24).
Path Smoothness: The proposed self-intersection removal and trimming algorithms enable the generation of self-intersection-free, smooth, and continuous tool paths from the offset curves of the drive curve.
This paper is structured as follows: Section 2 reviews related work in path planning of corner cleaning. Section 3 presents our methodology, including the mathematical framework (Section 3.1), tool radius decision method (Section 3.2), enhanced PCA-based drive curve generation (Section 3.3), and the complete path smoothing strategy (Section 3.4). In Section 4, some experiments are conducted to illustrate and clarify our method. The comparison in case study with commercial software proves the superiority of our method. And the paper concludes in Section 5.

2. Related Work

This work addresses tool path planning for corner cleaning in 3-axis machining, focusing specifically on cutter contact (CC) point planning. Regarding tool selection, due to the surface quality requirements in the finishing stage, this paper adopts ball-end mills for both corner cleaning phase and the preceding Finishing process. Within this technical scope, this section reviews existing related methodologies.
As a sub-stage of the finishing process, corner cleaning can theoretically adopt any existing tool path planning method developed for the Finishing stage. This section begins with a concise review of existing finishing tool path planning methods and analyzes their inherent limitations when applied to corner cleaning scenarios. Subsequently, the drive-curve offset strategy for corner cleaning is introduced, along with a discussion of its practical constraints. Finally, the remaining theoretical gaps that the proposed work aims to address are identified.

2.1. Path Planning Methods for Finishing Stage

Tool path planning approaches for the finishing process can be primarily categorized into two groups: geometry-driven methods and mathematical model-based methods.
Developed as early-stage approaches, geometry-driven methods utilize geometric features and discrete computing to accomplish machining area coverage. These approaches include iso-parametric methods [4,5,6,7] that directly employ surface iso-parametric curves as tool paths, iso-planar methods [8,9,10,11,12] that generate paths from intersections between parallel planes and the surface, and iso-scallop methods [13,14,15,16,17,18,19] that offset an initial path while maintaining uniform scallop height to achieve complete surface coverage. Of these approaches, iso-parametric and iso-planar methods fail to maintain uniform scallop, while the iso-scallop method is prone to robustness issues caused by the self-intersection of offset curves. Furthermore, its path quality heavily depends on the selection of the initial tool path.
Mathematical model-based methods transform the path planning problem into solving equations or optimization problems under geometric and machining constraints, aiming to produce smooth and short paths over complex surfaces. This category mainly consists of vector field methods [20,21,22,23,24,25,26,27,28,29], which derive locally optimal directions from surface geometry to construct guiding vector fields, and heat diffusion methods [30,31,32,33] that simulate thermal propagation on surfaces to generate tool paths that approximate geodesic offsets. While both methodologies can achieve high path quality, their effectiveness relies on explicit CAD representations and mathematical computation. However, in corner cleaning scenarios, the target machining areas typically span multiple surface patches with irregular boundaries, and thus cannot fully inherit the original CAD representation. Consequently, applying these approaches directly to corner cleaning path planning lacks robustness.

2.2. Drive Curve Offset Method

The drive curve offset strategy is an application of the iso-scallop method in corner cleaning scenarios, where the drive curve corresponds to the initial path in the iso-scallop framework. This approach thus preserves the iso-scallop method’s ability to maintain uniform scallop while inheriting its characteristic limitations, including dependence on initial curve selection and potential self-intersection of the offset paths. These challenges are reflected in both academic research and industrial practice.
Theoretically, current research on the iso-scallop method lacks specialized development for corner cleaning applications. When applied to the specialized machining regions in corner cleaning, the method needs to overcome challenges posed by incomplete or non-connected CAD representations while establishing appropriate optimization objectives and computational approaches for drive curve (initial path) generation. Practically in commercial CAM software, drive curves are either manually defined by users or automatically provided by the software. However, in both cases, the theoretical foundation underlying the generation of drive curves has not been updated for a long time. Furthermore, to maintain path smoothness, the self-intersection issue in offset curves must be properly addressed during the offsetting process.

2.3. Research Gaps and Our Contributions

In summary, while mathematical model-based methods are generally unsuitable for corner cleaning due to their dependency on CAD representations, and both iso-parametric and iso-planar methods lack control of uniform scallop, the iso-scallop method consequently emerges as the preferred approach. In this context, it is generally known as the drive curve offset strategy. Nevertheless, this method still faces theoretical and practical challenges that limit its effectiveness and robustness.
To address these challenges, this manuscript establishes a comprehensive mathematical framework specifically for corner cleaning, including formal definitions of machining regions and optimized tool selection criteria. Based on this framework, we propose a complete pipeline comprising an automated drive curve generation method, robust offset operations with self-intersection handling, and smooth path connection. The following section details the proposed method and demonstrates how it systematically bridges the research gaps.

3. Methodology

This section introduces the theoretical framework of the proposed corner cleaning method, comprising four key components: the mathematical definitions of target regions, a tool radius selection criterion, a drive curve construction methodology, and a complete tool path generation algorithm that ensures path continuity and smoothness. The complete workflow is illustrated in Figure 2.

3.1. Mathematical Definitions

The target machining areas in corner cleaning are defined as corner cleaning regions. This subsection establishes a complete mathematical characterization of these regions, extending beyond the descriptive definitions commonly adopted in industrial CAM software. The corner cleaning regions are determined by the workpiece surface, the previous machining tool paths, the previous cutting tool, and the given scallop constraint, as specified by the following inputs:
  • Workpiece surface M R 3 ;
  • Previous machining paths set { C i ( t ) } i = 1 m M , where t denotes parameter for continuous curves or discrete index for G01 points;
  • Previous tool radius R l a s t ;
  • Scallop constraint h.
For each C i ( t ) in the previous machining tool paths, we declare the following elements for subsequent calculations:
  • The outward normal vector N i ( t ) ;
  • The tangent vector of the tool path T i ( t ) ;
  • The offset direction: B i ( t ) = T i ( t ) × N i ( t ) .
where × denotes the cross product in R 3 .
For each point in the machining path C i ( t ) and its corresponding offset direction B i ( t ) (assume that the tool paths generated in the prior Finishing operation before corner cleaning is a iso-scallop height paths), the path interval denoted as l i ( t ) satisfying scallop constraint is determined by the following formula:
l i ( t ) = 8 h R c R l a s t R c + R l a s t ,
in which R c represents the radius of curvature of the workpiece surface along the path offset direction B i ( t ) .
Considering that corner cleaning regions refer to areas that still violate the scallop constraint due to geometric constraints between the tool and workpiece during the previous machining step, the following definitions are introduced:
Definition 1
(Sweep Curve). For a machining path C i ( t ) with computed path interval l i ( t ) , the corresponding residual height curves are two curves on the workpiece surface L i ( l i , t ) , L i ( l i , t ) M satisfying at every parameter t:
( L i ( l i , t ) C i ( t ) ) · B i ( t ) | | B i ( t ) | | 2 = l i ( t ) 2 , ( L i ( l i , t ) C i ( t ) ) · T i ( t ) = 0 ,
( L i ( l i , t ) C i ( t ) ) · B i ( t ) | | B i ( t ) | | 2 = l i ( t ) 2 , ( L i ( l i , t ) C i ( t ) ) · T i ( t ) = 0 .
As shown in Figure 3, after machining solely along the path C i ( t ) on the workpiece surface, the sweep curve on surfaces with moderate curvature variation generally lies midway between adjacent tool paths. This sweep curve approximately demarcates the boundary where residual height satisfies the scallop constraints. The region between L i and L i satisfies the specified scallop constraint h. Accordingly, the regions on the workpiece surface are categorized based on residual height distribution after completing all previous machining operations:
Definition 2
(Local Sweep Region). For each machining path C i ( t ) , the corresponding local sweep region is defined as:
S i = α ( s ) [ 0 , l i ( t ) ] { p M | s , s . t . : p L i ( α ( s ) , t ) L i ( α ( s ) , t ) }
which represents the surface region swept by the sweep curves as the constraint parameter α varies from 0 to h, as illustrated in Figure 4.
Definition 3
(Complete Sweep Region). The complete sweep region is defined as the union of all local sweep regions:
F = i = 1 m S i
which represents all surface regions that satisfying the scallop constraints after previous machining operations.
Definition 4
(Corner Cleaning Region). The corner cleaning region is defined as the boolean difference of the workpiece surface and the complete sweep region:
U = M F = p M | i , t , | | p C i ( t ) | | 2 > l i ( t ) 2
representing all surface regions failing to satisfy the scallop constraints after the previous machining operations.
The above establishes the definitions and notational conventions for corner cleaning regions and related concepts. Given the workpiece surface geometry along with machining parameters and tool paths from the preceding operations, path intervals, sweep curves, and the local swept regions associated with each path are systematically computed. These are subsequently integrated to form the complete swept region, from which the target corner cleaning area is derived. The detailed computational procedure is presented in Algorithm 1.
Algorithm 1: Detection of Corner Regions to Be Cleaned Up
Machines 14 00825 i001

3.2. Tool Radius Decision

Once the corner cleaning region is identified, selecting an appropriate ball-end mill radius becomes crucial for effective residual material removal. Improper tool selection can lead to incomplete machining of target areas. This subsection establishes theoretical constraints for tool radius determination.
Let κ min denote the minimum principal curvature of the corner cleaning region. Then, the tool radius r tool should satisfy the following inequality:
r tool < r min = 1 | κ min | ,
Which ensures the tool tip can fully access concave regions without causing over-cutting of the workpiece surface. In practical applications, a safety factor α ( 0.90 , 0.98 ) is introduced to decide the tool radius:
r max = α · r min .
To maintain compatibility with CAD representations, the point cloud Θ generated from the corner cleaning region is processed (any workpiece model in CAD format can be converted to a point cloud via sampling). The absolute values of minimum principal curvatures are computed for all points [34], from which the global minimum is determined to establish the safe tool radius. The detailed computational procedure for tool radius constraint is presented in Algorithm 2.
Algorithm 2: Tool Radius Calculation
Machines 14 00825 i002

3.3. Drive Curve Construction

Following the determination of corner cleaning regions and tool radius, tool paths are generated using the drive curve offset method. The process begins with constructing a drive curve L M , followed by offsetting this initial curve within the corner cleaning region to achieve complete area coverage. This subsection provides a detailed explanation of the drive curve construction methodology which directly determines the sweep efficiency of the subsequent offset tool paths.

3.3.1. Direction of Drive Curve

For the input corner cleaning region, the direction of the drive curve is first determined based on the Principal Component Analysis (PCA) method. To ensure compatibility with CAD representations, the region is discretized into a point cloud Θ , from which the optimal drive curve direction is derived with its corresponding maximum strip width vector field [21].
Given the point cloud Θ = { p i R 3 } i = 1 N and its associated maximum strip width vector field V , let v R 3 represent the average direction of this vector field. The principal direction is computed using an enhanced PCA approach that integrates two complementary sources of information: the vector field provides optimal strip width guidance, while standard PCA identifies the direction of maximum data variance, which enables the drive curve to achieve greater length. This hybrid strategy enhances the sweeping efficiency of the resulting drive curve. The combined optimization objectives are therefore formulated as follows:
  • Maximize the point cloud distribution variance along the drive curve direction u.
  • Minimize the deviation between the drive curve direction and v .
To integrate these two objectives, we formulate the optimization problem through a linear combination of both criteria:
max u R 3 u T Σ u + α ( u T v ) 2 ,
where Σ = 1 n i = 1 n ( p i p ¯ ) ( p i p ¯ ) T is the covariance matrix and p ¯ denotes the mean point of the point cloud, α > 0 is the balancing weight coefficient.The weighting coefficient α governs the balance between the two objectives in the following pattern:
  • As α 0 , the method converges to standard PCA;
  • As α + , the drive curve direction converges to v .
For practical implementation, the weighting coefficient is typically set within the range α [ 0.5 , 0.8 ] in our method.
The optimization problem can be reformulated as an eigenvalue problem for a new defined matrix C :
C = Σ + α v v T , C u = λ u .
And C possesses the following properties:
  • Symmetry: As the sum of two symmetric matrices, C preserves symmetry;
  • Positive Semi-definiteness: For any x R 3 , we have:
    x T C x = x T Σ x 0 + α ( x T v ) 2 0 0 .
As a symmetric positive semi-definite matrix, C has efficient solution through standard eigen-decomposition:
C u j = γ j u j , j = 1 , 2 , 3 .
Sorting the computed eigenvalues in descending order γ 1 γ 2 γ 3 , the optimal principal direction of the enhanced PCA corresponds to the eigenvector u 1 associated with γ 1 . This direction is selected as the direction for the drive curve.
As shown in Figure 5, by integrating the directional information from the vector field through the enhanced PCA method, the drive curve direction achieves simultaneous optimization of both strip width and data distribution variance, resulting in higher sweeping efficiency of the drive curve: tool paths following the standard PCA direction exhibit lower strip width utilization, those aligned with the average vector field direction require a greater number of paths, while the enhanced PCA direction achieves a balance between these factors. The complete algorithm implementation is presented in Algorithm 3.
Algorithm 3: Drive Curve Direction Calculation
Machines 14 00825 i003
At the end of this subsection, it is demonstrated that the eigenvector u * corresponding to the maximum eigenvalue is the solution to optimization problem (4), i.e., the following theorem holds:
Theorem 1.
Let u * be the eigenvector corresponding to the largest eigenvalue of matrix C . Then u * is the solution to optimization problem (4).
Proof. 
First, since C is a symmetric positive semi-definite matrix, u * exists. Let its corresponding eigenvalue be γ max . We apply the method of Lagrange multipliers by imposing the constraint u 2 = 1 and constructing the Lagrangian:
K ( u , γ ) = u T Σ u + α ( u T v ¯ ) 2 γ ( u T u 1 ) .
Setting the gradient of u to zero:
K u = 2 Σ u + 2 α ( v ¯ T u ) v ¯ 2 γ u = 0 .
Rearranging the expression yields the eigenvalue equation:
( Σ + α v ¯ v ¯ ) u = γ u , i . e . , C u = γ u .
Thus, u * is an extreme point of the function K ( u , γ max ) . Consider the Hessian matrix:
H = 2 C 2 γ max I .
And at the eigenvector u * , we have:
H u * = 2 ( γ max γ max ) u * = 0 .
Moreover, since γ max is the largest eigenvalue of C and C is symmetric, the eigenvalues of H are the differences between the eigenvalues of C and γ max . Therefore, the symmetric matrix H is negative semi-definite, so u * is a maximum point.
In conclusion, by the method of Lagrange multipliers, Theorem 1 holds.    □

3.3.2. Generation of Drive Curve

In this subsection, the drive curve is generated using Θ , the computed direction u * , and the surface average normal n s through the following steps:
  • Project Θ along u * to determine the baseline segment,
  • Extend segment endpoints to improve robustness,
  • Construct extended planar regions using n s ,
  • Obtain the drive curve as the intersection between plane and the workpiece surface.
To maintain compatibility with CAD formats, the drive curve is uniformly represented using discrete points for all input models. The number of discrete points N can be determined based on the maximum and minimum principal curvatures of the workpiece surface and the given chord error tolerance.
Let κ max = max p M { max { | κ 1 ( p ) | , | κ 2 ( p ) | } } be the maximum absolute value of the principal curvatures of the workpiece surface, where ϵ * denotes the chord error tolerance. For a sampling interval d and the corresponding directional normal curvature κ , as shown in Figure 6, the induced chord error is:
ϵ = 1 κ 1 κ 2 d 4 2 ,
For a given maximum allowable chord error ϵ * , the maximum sampling interval is:
d κ = 2 1 κ 2 1 κ ϵ * 2 = 2 2 ϵ * κ ( ϵ * ) 2 .
This indicates that the maximum sampling interval decreases monotonically with the absolute value of the normal curvature. Therefore, using κ max to compute the sampling interval satisfies the chord error tolerance requirement. Let the length of the drive curve be L. Then, the total number of sampling points is calculated as:
N = L d κ max + 1 .
A straight line along u * passing through the centroid of Θ is constructed, the point cloud is projected onto this line, and the minimum and maximum projection coordinates are determined based on the farthest projection points at both ends of the line. Then, according to a specified extension coefficient, the extended projection interval on the line is determined. Using Equation (10), the number of sampling points is computed to obtain a discrete point sequence on the projection line, which is then projected onto the corner cleaning region along n s to form the drive curve. The detailed procedure for constructing the drive curve is presented in Algorithm 4.
In the algorithm, the projection coordinates s min and s max represent the theoretical lower and upper bounds of the projection axis, which would encompass the projection range of the entire corner cleaning region. However, to enhance algorithmic robustness, an extension coefficient β is introduced to extend the projection range at both ends. This extended range, combined with the surface average normal, defines a plane. The intersection curve between this plane and the corner cleaning region constitutes the drive curve, as illustrated in Figure 7.
Algorithm 4: Drive Curve Generation
Machines 14 00825 i004
This subsection presents the drive curve generation process, which begins with computing the direction via the enhanced PCA method. A reference straight line is then discretely constructed through the point cloud centroid and subsequently projected onto the corner cleaning region to form the final drive curve. The following subsection describes how drive curve offsets are utilized to cover the corner cleaning region, eliminate self-intersections in offset curves, and ultimately generate smooth tool paths.

3.4. Path Generation

3.4.1. Generation of Offset Curves

When offsetting the drive curve, it is necessary to account for whether the curve forms a closed loop. Given a discrete drive curve point set L = { Q i R 3 } i = 0 N 1 , its closure property is first determined via an endpoint distance threshold:
Closed = True , Q N 1 Q 0 δ False , otherwise .
where δ is a parameter typically set to 1% of the tool radius. For each point Q i L , compute the tangent vector T i using central difference strategy:
T i = Q i + 1 Q i 1 Q i + 1 Q i 1 , 1 i N 2 Q 1 Q N 1 Q 1 Q N 1 , i = 0 and the drive curve is closed Q 1 Q 0 Q 1 Q 0 , i = 0 and the drive curve is unclosed Q 0 Q N 2 Q 0 Q N 2 , i = N 1 and the drive curve is closed Q N 1 Q N 2 Q N 1 Q N 2 , i = N 1 and the drive curve is unclosed .
Define the current tangent vector V i = Q i + 1 Q i 1 , then normalize:
T ^ i = T i T i .
Given surface outward normal N i at Q i , compute two offset directions via right-hand rule:
v i ( 1 ) = T ^ i × N i , v i ( 2 ) = v i ( 1 ) .
To maintain scallop uniformity, the offset distance is computed by Equation (1). The offset curves are then iteratively generated by applying directional offsets to the new curve until all points of the curve lie within the complete sweep region. This procedure is applied separately to both sides of the drive curve. The detailed procedure is presented in Algorithm 5.
This algorithm generates bidirectional offsets from the drive curve to achieve complete coverage of the corner cleaning region. The resulting offset curves are subsequently smoothed to ensure path continuity before being output as the final tool paths for corner cleaning.

3.4.2. Self-Intersection Removal with Trimming

This subsection introduces a detection and trimming strategy for generating intersection-free tool paths. During the offset of the drive curve, self-intersection may occur in the offset curve when the original curve exhibits curvature variations or the offset distance exceeds a critical value, leading to geometrically invalid tool paths. For smooth curves, this phenomenon arises when the offset distance d exceeds the local radius of curvature R, satisfying the condition:
d > R min = min 1 κ ( s ) ,
where κ ( s ) denotes the curvature at the curve parameter s, and R min represents the minimum curvature radius of the curve, as illustrated in Figure 8a. For non-smooth curves or polylines, self-intersection can also emerge at locations with local sharp angles, as shown in Figure 8b. Both types of self-intersection must be handled during tool path generation from curve offsets.
Algorithm 5: Offset Curve Generation
Machines 14 00825 i005
First thing to do is the detection of self-intersection. For the k-th offset curve Q k = { Q i k R 3 } i = 0 N 1 , define the self-intersection indicator function [35]:
f s ( Q i k ) = 1 , j < N s . t . Q i k Q j 0 < k Δ d i , j k 0 , otherwise .
where Δ d i , j k is the average path interval derived from the geodesic curve between Q i k and Q j 0 , computed via its average curvature κ i , j k and scallop constraint h (using Equation (1)).
Each point Q i k on the k-th offset curve is obtained by offsetting a seed point on the drive curve k times. The geodesic distance from Q i k to its seed point is k Δ d i , j k . If this distance is less than k times the average path interval, a self-intersection occurs. Based on the self-intersection detection results, initial status flags are assigned to each point of the offset curve:
f s i k = 1 , Self - intersection detected 0 , No self - intersection .
Following self-intersection detection, critical positions where self-intersection initiates are trimmed using a bisection method applied to self-intersecting points adjacent to non-intersecting points: when adjacent points satisfy f ( Q i ) f ( Q i + 1 ) , a critical point Q * is located on the connecting segment Q i Q i + 1 such that:
f s ( Q * υ s ) = 0 f s ( Q * + υ s ) = 1 .
where s is the unit tangent vector of segment Q i Q i + 1 , and υ > 0 is a small threshold.
The self-intersecting point is then reclassified as non-intersecting, and its position is updated to the critical point calculated through bisection. This completes the critical trimming between intersecting and non-intersecting segments, with the detailed procedure outlined in Algorithm 6:
Through this algorithm, self-intersection points are located and trimmed at critical positions to facilitate subsequent smooth connections.

3.4.3. Path Generation

Following self-intersection trimming, points identified as self-intersecting are removed from each offset curve. The remaining segments are then evaluated for connectivity within a given threshold: starting with the first segment as the current segment, the starting point of each unconnected subsequent segment is checked. If the distance between this starting point and the endpoint of the current segment is below the specified threshold, the segment is connected to the current segment and merged into a continuous curve. The process continues by setting the next segment as the current segment for further detection. The detailed procedure is outlined in Algorithm 7.
The connected set is used as CC points, which are then converted into cutter location (CL) points to generate the final tool paths. For ball-end mills, this conversion is performed by offsetting each CC point along the surface normal direction by the tool radius R:
CL = CC + R n ,
where n is the unit normal vector at the corresponding CC point.
Algorithm 6: Self-Intersection Removal with Critical Trimming
Machines 14 00825 i006
The trimming procedure in Algorithm 6 is essential for achieving a smooth CL trajectory. By removing self-intersections from the offset curve, the algorithm eliminates invalid loops and sharp corners that would otherwise introduce abrupt positional jumps in the CC points. The binary search precisely locates the critical boundary between the “clean” and “uncut” regions, and the curve endpoint is repositioned to this boundary. This ensures that the trimmed CC curve is continuous and free of spurious segments, which directly propagates to a smooth CL path through the normal offset in Equation (19).
The complete workflow of self-intersection removal, trimming, and connection is illustrated in Figure 9. Through this processing pipeline, the output tool paths are ensured to be free of self-intersections and maintain smooth continuity.
Algorithm 7: Connection of Trimmed Curves
Machines 14 00825 i007

4. Experiments

In this section, the proposed method was applied to three models to compute corner cleaning regions and generate corresponding tool paths. Comparative studies were conducted against PM24, with results confirming the method’s effectiveness and computational efficiency. The implementation is carried out in C++ and runs on a workstation equipped with an Intel Core i5 3.60 GHz processor and 16 GB RAM. The experimental configuration maintained consistent machining parameters: preceding finishing operations employed a 6.0 mm ball-end tool under a 0.1 mm scallop height constraint throughout all tests.
For experimental consistency, the previous machining tool paths are set to achieve complete coverage of all accessible non-interference areas on the workpiece surface. This configuration closely mirrors practical corner cleaning applications, targeting the removal of residual material from geometrically inaccessible areas left by previous finishing operations.

4.1. Case Study 1

In case 1, a comparative study was conducted on workpiece model 1 using both the proposed method and PM24. The tool radius was determined to be 2.0 mm, selected according to the minimum absolute principal curvature of the surface to prevent over-cutting. The comparative results are summarized in Figure 10.
The experimental results reveal a notable discrepancy in detection capability: although the workpiece surface exhibits geometric symmetry that produces symmetrically distributed corner cleaning regions, PM24 failed to identify one complete set of these areas. In contrast, the proposed method successfully detected all target regions with complete coverage paths. Moreover, within the area highlighted by the black line frame, the proposed approach generated drive curves demonstrating superior sweeping efficiency, confirming the effectiveness of the enhanced PCA methodology. The proposed method also exhibited superior performance in handling self-intersections, producing substantially smoother tool paths with seamless transitions at critical regions. This outcome validates the advanced capability of the self-intersection removal and trimming algorithms in maintaining path quality.

4.2. Case Study 2

In case 2, a comparative analysis was conducted on workpiece model 2 using both the proposed method and PM24. Based on the minimum absolute value of the surface’s principal curvature, the tool radius was determined to be 1.0 mm. The experimental results are presented in Figure 11.
Case study 2 demonstrates consistent detection capability between the proposed method and PM24, as both approaches successfully identified the same four corner cleaning regions indicated by red areas in Figure 11. A detailed analysis is provided, focusing on two representative regions to highlight critical performance differences. In corner cleaning region 1, PM24 encountered tool path generation failures, while the proposed method consistently produced valid offset paths conforming to the chord error constraint. For corner cleaning region 2, the proposed method achieved complete and smooth path coverage, whereas PM24 generated discontinuous trajectories containing evident offset miscalculations. These comparative outcomes underscore the technical advantages of the proposed drive curve generation framework and its enhanced robustness in handling complex CAD structures.

4.3. Case Study 3

In case 3, a comparative analysis was conducted on workpiece model 3 using both the proposed method and PM24. Based on the minimum absolute value of the surface’s principal curvature, the tool radius was determined to be 2.0 mm. The experimental results are presented in Figure 12, where tool paths generated by the proposed method and PM24 are marked in red and green, respectively, for each corner cleaning region.
Both methodologies successfully identified the same corner cleaning regions on this model, as marked by the four red zones in Figure 12. Leveraging the model’s symmetrical configuration, four representative regions are analyzed to highlight critical performance distinctions. In regions 1 and 4, PM24 failed to produce valid tool paths, potentially due to directional computation errors arising from the surface’s closed parametric domains. Conversely, the proposed approach consistently generated valid offset paths conforming to the chord error constraint through a robust drive curve offset method, demonstrating enhanced compatibility with complex CAD representations.
For corner cleaning region 2, the proposed method generated smooth tool paths free of self-intersections through robust detection and trimming mechanisms, whereas PM24 produced paths with visible twisting and self-intersection defects that would compromise both machining efficiency and surface quality. This comparative outcome confirms the effectiveness of the proposed self-intersection removal and trimming strategy.
In corner cleaning region 3, the proposed method achieved superior path uniformity with complete path coverage of the target area. In contrast, PM24 produced paths exhibiting convergence-induced self-intersection at the leftmost section and insufficient path coverage restricted to the lower surface region. This inadequate path distribution would likely cause localized tool overloading during actual machining, potentially accelerating tool wear and compromising surface quality.

4.4. Machining Example

A real machining case is presented to validate the effectiveness of the proposed method. The experiment was conducted on a three-axis vertical machining center using an aluminum alloy 6061-T6 workpiece. As shown in Figure 13, during the finishing stage of the input model surface, tool paths were first generated using a larger ball-end tool (radius R = 4.0 mm). However, a height difference exists between the lower surface of the model and the base platform, creating a peripheral right-angled corner region that prevents complete material removal with the current tool. By applying the proposed method, the corner cleaning regions were successfully detected, the appropriate tool radius was determined to be R = 2.0 mm according to the criterion in Section 3.2, and corresponding cleaning paths were generated with a spindle speed of 12,000 rpm and feed rate of 600 mm/min. The resulting tool paths, shown as blue trajectories in Figure 13, were executed to remove the residual material. Surface inspection after machining gave roughness values R a = 0.32 μ m and R z = 1.85 μ m , well within the finishing tolerance of R a 0.5 μ m , and dimensional deviations measured at three locations were below 0.02 mm, confirming that the machined surface meets precision requirements. This machining case demonstrates the practical effectiveness of the proposed approach in real manufacturing scenarios.

4.5. Conclusion of the Experiments

To provide a rigorous quantitative assessment of the proposed method, we conducted a comparative performance analysis against PowerMill 2024 (PM24) using the three case studies described above. The following metrics were recorded for each test case: (1) total length of generated tool paths (in meters), (2) maximum scallop height error (in mm) and average scallop height error (in mm) over the machined surface, and (3) algorithm computation time (in seconds). The scallop height errors were evaluated by sampling the machined surface at a uniform grid resolution of 0.05 mm and computing the deviation from the designed surface. The results are summarized in Table 1.
From Table 1, the proposed method consistently produces shorter total path lengths than PM24, indicating higher sweeping efficiency. The maximum and average scallop height errors achieved by our method are also lower than those of PM24 across all three cases, confirming better surface quality. Although the computation time of our algorithm is slightly higher in each case (due to the additional optimization steps in enhanced PCA and self-intersection trimming), the increase is marginal (approximately 20–30%) and remains acceptable for practical offline CAM planning. These quantitative metrics substantiate our claims of superior sweeping efficiency, path quality, and computational robustness.
The comparative experiments validate the superiority of the proposed method, yielding three key conclusions:
  • Enhanced corner detection: When processing model 1, our method achieved 100% detection rate for corner cleaning regions, demonstrating enhanced topological adaptability particularly in complex geometric areas (denoted by the black line frame in Figure 10).
  • Path Quality: The offset paths generated by our method exhibit superior smoothness in self-intersection transition zones.
  • Computational Robustness: For model 2, our method successfully generated continuous tool paths, while PM24 produced broken paths in corner cleaning regions (region 1 and 2 in Figure 11).
Experimental results confirm that the proposed corner region detection method based on scallop analysis achieves higher accuracy. The drive curve construction algorithm and offset curve smoothing mechanism significantly enhance machining reliability for complex surfaces while maintaining path continuity.

5. Conclusions and Future Work

This section summarizes the main contributions of this work and discusses potential directions for future research.

5.1. Conclusions

This manuscript establishes a comprehensive mathematical framework and algorithmic pipeline for corner cleaning finishing in CNC machining. The key contributions include: (1) novel mathematical definitions of corner cleaning regions that extend beyond traditional descriptions in commercial CAM software; (2) an enhanced PCA methodology integrating vector field guidance for optimal drive curve generation; (3) a complete tool path planning framework incorporating self-intersection detection, critical trimming, and smooth connection mechanisms. Experimental results on three models demonstrate that the proposed approach outperforms the commercial CAM software PM24 in detection completeness, path quality, and algorithmic robustness. The real machining case further validates the method’s practical applicability and reliability in real manufacturing scenarios.

5.2. Limitations, Difficulties Encountered, and Future Work

While the proposed method achieves significant improvements, several limitations and challenges encountered during this research should be acknowledged.

5.2.1. Difficulties Encountered

During the course of this work, we encountered three main difficulties. First, formulating a mathematically rigorous yet computationally tractable definition of corner-cleaning regions on multi-patch surfaces was challenging, as the true swept area on curved geometries requires geodesic distance computation, which is computationally expensive. We adopted a Euclidean-distance approximation as a pragmatic compromise for the engineering context, while noting its limitations (as discussed in Section 3.1). Second, achieving stable self-intersection detection on highly irregular offset curves proved non-trivial; the binary-search-based trimming in Algorithm 6 was eventually adopted after extensive testing, but its convergence can be sensitive to point-cloud resolution in highly curved regions. Third, conducting a fair comparison with PM24 required considerable effort to identify and replicate its internal parameter settings, as some strategy options are not explicitly documented in the software interface. We have reported all settings used in Section 4 to ensure reproducibility.

5.2.2. Limitations

The current implementation is restricted to three-axis machining with ball-end mills. The method also relies on an empirical weighting coefficient α [ 0.5 , 0.8 ] for the enhanced PCA, which lacks a rigorous calibration procedure. Furthermore, the experimental validation is limited to three workpiece models and one machining example, which constrains the strength of our generalization claims. The Euclidean-distance-based approximation for sweep regions may also introduce errors on surfaces with high curvature or complex multi-patch topologies.

5.2.3. Future Work

To address these limitations, we plan the following research directions:
  • Extension to multi-axis machining and general tool types: The current framework will be generalized to five-axis scenarios and to tools with non-spherical geometries (e.g., flat-end and toroidal cutters), which are widely used in industrial finishing operations.
  • Adaptive, data-driven parameter selection: Instead of the current heuristic choice, we will explore machine learning methods to calibrate the weighting coefficient α adaptively based on the geometric features of the input workpiece, such as local curvature distribution and point-cloud anisotropy.
  • Exact geodesic swept-region computation: We intend to replace the Euclidean-distance approximation with accurate geodesic distance computation on parametric surfaces, which would improve the theoretical rigor of the corner-cleaning region definition, particularly on highly curved or multi-patch geometries.
  • Comprehensive benchmarking: We will conduct extensive validation on a wider variety of geometries, including synthetically generated cases and industrial test parts, to better establish the generalizability of the method. We also plan to make the benchmark datasets and source code publicly available to facilitate reproducibility and further research in this area.
  • Integration with commercial CAM platforms: We will investigate the practical feasibility of integrating our algorithm into existing CAM software through API-based or plugin-based deployment, to accelerate industrial adoption.
Through these extensions, we aim to further enhance the theoretical soundness, practical applicability, and industrial impact of our approach to corner cleaning toolpath planning.

Author Contributions

Conceptualization, C.Z. and C.Y.; methodology, C.Z. and L.S.; software, D.L. and S.C.; validation, L.L., H.M. and D.L.; formal analysis, C.Y. and L.S.; investigation, D.L. and S.C.; resources, H.M. and L.L.; data curation, S.C. and L.L.; writing—original draft preparation, C.Z. and D.L.; writing—review and editing, C.Z., L.S. and C.Y.; visualization, H.M. and S.C.; supervision, C.Z. and C.Y.; project administration, C.Z.; funding acquisition, C.Z. and C.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This work is partially supported by Beijing Natural Science Foundation [grant number Z240002]; and the Fundamental Research Funds for the Central Universities.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author

Conflicts of Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

References

  1. Harik, R.F.; Gong, H.; Bernard, A. 5-Axis Flank Milling: A State-of-the-Art Review. Comput.-Aided Des. 2013, 45, 796–808. [Google Scholar] [CrossRef] [Scilit]
  2. Jia, Q.X. CNC Machining; Chemical Industry Press: Beijing, China, 2006. [Google Scholar]
  3. Gu, Y.H. CNC Milling Technology; Beijing Institute of Technology Press: Beijing, China, 2006. [Google Scholar]
  4. Elber, G.; Cohen, E. Toolpath generation for freeform surface models. Comput.-Aided Des. 1994, 26, 490–496. [Google Scholar] [CrossRef] [Scilit]
  5. He, W.; Lei, M.; Bin, H.Z. Iso-parametric CNC tool path optimization based on adaptive grid generation. Int. J. Adv. Manuf. Technol. 2008, 41, 538–548. [Google Scholar] [CrossRef] [Scilit]
  6. Sun, Y.W.; Guo, D.M.; Jia, Z.Y. Iso-parametric tool path generation from triangular meshes for free-form surface machining. Int. J. Adv. Manuf. Technol. 2005, 28, 721–726. [Google Scholar] [CrossRef] [Scilit]
  7. Zou, Q.; Zhao, J.B. Iso-parametric tool-path planning for point clouds. Comput.-Aided Des. 2013, 45, 1459–1468. [Google Scholar] [CrossRef] [Scilit]
  8. Ding, S.L.; Mannan, M.; Poo, A.N.; Yang, D.; Han, Z.H. Adaptive iso-planar tool path generation for machining of free-form surfaces. Comput.-Aided Des. 2003, 35, 141–153. [Google Scholar] [CrossRef] [Scilit]
  9. Kim, B.H.; Choi, B.K. Guide surface based tool path generation in 3-axis milling: An extension of the guide plane method. Comput.-Aided Des. 2000, 32, 191–199. [Google Scholar] [CrossRef] [Scilit]
  10. Yang, D.O.; Feng, H.Y. Machining triangular mesh surfaces via mesh offset based tool paths. Comput.-Aided Des. Appl. 2008, 5, 254–265. [Google Scholar] [CrossRef] [Scilit]
  11. Feng Hui Yung, T.Z.J. Iso-planar piecewise linear NC tool path generation from discrete measured data points. Comput.-Aided Des. 2005, 37, 55–64. [Google Scholar] [CrossRef]
  12. Hu, P.C.; Chen, L.F.; Tang, K. Efficiency-optimal iso-planar tool path generation for five-axis finishing machining of freeform surfaces. Comput.-Aided Des. 2017, 83, 33–50. [Google Scholar] [CrossRef] [Scilit]
  13. Ma, H.Y.; Yuan, C.M.; Shen, L.Y. Tool Path Planning with Confined Scallop Height Error Using Optimal Connected Fermat Spirals. Commun. Math. Stat. 2024, 12, 55–78. [Google Scholar]
  14. Wen, H.; Gao, J.; Xiang, K.; Chen, X. Cutter location path generation through an improved algorithm for machining triangular mesh. Comput.-Aided Des. 2017, 87, 29–40. [Google Scholar] [CrossRef] [Scilit]
  15. Feng, H.Y.; Li, H.W. Constant scallop-height tool path generation for three-axis sculptured surface machining. Comput.-Aided Des. 2002, 34, 647–654. [Google Scholar] [CrossRef] [Scilit]
  16. Su, C.; Jiang, X.; Huo, G.Y.; Sun, Y.W.; Zheng, Z.M. Initial tool path selection of the iso-scallop method based on offset similarity analysis for global preferred feed directions matching. Int. J. Adv. Manuf. Technol. 2020, 106, 2675–2687. [Google Scholar] [CrossRef] [Scilit]
  17. Wang, T.L.; Liu, W.; Fan, L.Y.; Zhang, Z.Y.; Li, P.F. An iso-scallop tool path generation method for three-axis machining freeform surface. Int. J. Adv. Manuf. Technol. 2023, 128, 1391–1402. [Google Scholar] [CrossRef] [Scilit]
  18. Tournier, C.; Duc, E. A surface based approach for constant scallop heighttool-path generation. Int. J. Adv. Manuf. Technol. 2002, 19, 318–324. [Google Scholar] [CrossRef] [Scilit]
  19. Li, Z.Y.; Tang, K. Partition-based five-axis tool path generation for freeform surface machining using a non-spherical tool. J. Manuf. Syst. 2021, 58, 248–262. [Google Scholar] [CrossRef] [Scilit]
  20. Makhanov, S.S. Vector fields for five-axis machining. A survey. Int. J. Adv. Manuf. Technol. 2022, 122, 533–575. [Google Scholar] [CrossRef] [Scilit]
  21. Chiou, C.J.; Lee, Y.S. A machining potential field approach to tool path generation for multi-axis sculptured surface machining. Comput.-Aided Des. 2002, 34, 357–371. [Google Scholar] [CrossRef] [Scilit]
  22. Zou, Q. Length-optimal tool path planning for freeform surfaces with preferred feed directions based on Poisson formulation. Comput.-Aided Des. 2021, 139, 103072. [Google Scholar] [CrossRef] [Scilit]
  23. Zhang, C.Q.; Yuan, C.M.; Shen, L.Y.; Ma, H.Y. Global tool path planning method for smooth and length-optimal machining based on vector fields. Int. J. Adv. Manuf. Technol. 2024, 134, 245–259. [Google Scholar] [CrossRef] [Scilit]
  24. Pavanaskar, S.; Pande, S.; Kwon, Y.; Hu, Z.Y.; Sheffer, A.; McMains, S. Energy-efficient vector field based toolpaths for CNC pocketmachining. J. Manuf. Process. 2015, 20, 314–320. [Google Scholar] [CrossRef] [Scilit]
  25. Ma, J.W.; Lu, X.; Li, G.L.; Qu, Z.W.; Qin, F.Z. Toolpath topology design based on vector field of tool feeding direction in sub-regional processing for complex curved surface. J. Manuf. Process. 2020, 52, 44–57. [Google Scholar] [CrossRef] [Scilit]
  26. Sun, Y.W.; Sun, S.X.; Xu, J.T.; Guo, D.M. A unified method of generating tool path based on multiple vector fields for CNC machining of compound NURBS surfaces. Comput.-Aided Des. 2017, 91, 14–26. [Google Scholar] [CrossRef] [Scilit]
  27. Wang, Z.R.; Liu, S.B.; Liu, L.G.; Zou, Q. Computing smooth preferred feed direction fields with high material removal rates for efficient CNC tool paths. Comput.-Aided Des. 2023, 164, 103591. [Google Scholar] [CrossRef] [Scilit]
  28. Kumazawa, G.H.; Feng, H.Y.; Fard, M.J.B. Preferred feed direction field: A new tool path generation method for efficient sculptured surface machining. Comput.-Aided Des. 2015, 67, 1–12. [Google Scholar] [CrossRef] [Scilit]
  29. Xu, K.; Tang, K. Five-axis tool path and feed rate optimization based on the cutting force–area quotient potential field. Int. J. Adv. Manuf. Technol. 2014, 75, 1661–1679. [Google Scholar] [CrossRef] [Scilit]
  30. Crane, K.; Weischedel, C.; Wardetzky, M. Geodesics in heat: A new approach to computing distance based on heat flow. ACM Trans. Graph. 2013, 32, 1–11. [Google Scholar] [CrossRef] [Scilit]
  31. Crane, K.; Weischedel, C.; Wardetzky, M. The heat method for distance computation. Commun. ACM 2017, 60, 90–99. [Google Scholar] [CrossRef] [Scilit]
  32. Huang, Q.; Wang, S.B.; Wang, S.L.; Tang, B.R.; Qiu, J.M. A novel tool path planning method for machining triangular mesh surfaces based on geodesics in heat theory. J. Manuf. Process. 2023, 108, 445–456. [Google Scholar] [CrossRef] [Scilit]
  33. Zou, Q. Robust and efficient tool path generation for machining low-quality triangular mesh surfaces. Int. J. Prod. Res. 2020, 59, 7457–7467. [Google Scholar] [CrossRef] [Scilit]
  34. Zhang, X.P.; Li, H.J.; Cheng, Z.L. Curvature Estimation of 3D Point Cloud Surfaces Through the Fitting of Normal Section Curvatures. In Proceedings of the ASIAGRAPH 2008, Tokyo, Japan, 23–26 October 2008; pp. 72–79. [Google Scholar]
  35. Gershon, E.; Myung-Soo, K. Euclidean offset and bisector approximations of curves over freeform surfaces. Comput. Aided Geom. Des. 2020, 80, 101850. [Google Scholar] [CrossRef] [Scilit]
Figure 1. Uncut material residue in a sharp corner caused by a ball-end mill.
Figure 1. Uncut material residue in a sharp corner caused by a ball-end mill.
Machines 14 00825 g001
Figure 2. Workflow of the proposed method.
Figure 2. Workflow of the proposed method.
Machines 14 00825 g002
Figure 3. Geometric illustration of sweep curve.
Figure 3. Geometric illustration of sweep curve.
Machines 14 00825 g003
Figure 4. The local sweep region (blue).
Figure 4. The local sweep region (blue).
Machines 14 00825 g004
Figure 5. Direction of the enhanced PCA.
Figure 5. Direction of the enhanced PCA.
Machines 14 00825 g005
Figure 6. Geometric illustration of chord error.
Figure 6. Geometric illustration of chord error.
Machines 14 00825 g006
Figure 7. Illustration of drive curve.
Figure 7. Illustration of drive curve.
Machines 14 00825 g007
Figure 8. Self-intersection: original curve (blue) and offset curve (red).
Figure 8. Self-intersection: original curve (blue) and offset curve (red).
Machines 14 00825 g008
Figure 9. Path smoothing procedure.
Figure 9. Path smoothing procedure.
Machines 14 00825 g009
Figure 10. Corner machining: case study 1.
Figure 10. Corner machining: case study 1.
Machines 14 00825 g010
Figure 11. Corner machining: case study 2.
Figure 11. Corner machining: case study 2.
Machines 14 00825 g011
Figure 12. Corner machining: case study 3.
Figure 12. Corner machining: case study 3.
Machines 14 00825 g012
Figure 13. The machining validation of our corner cleaning method.
Figure 13. The machining validation of our corner cleaning method.
Machines 14 00825 g013
Table 1. Quantitative comparison of the proposed method and PM24 for the three case studies.
Table 1. Quantitative comparison of the proposed method and PM24 for the three case studies.
CaseMethodTotal PathScallop Height Error (mm)Computation Time
Length (mm)MaxAvg(s)
1Proposed1234.20.0980.0458.2
PM241456.40.1520.0676.5
2Proposed876.10.0870.0395.9
PM241021.70.1340.0584.8
3Proposed1523.60.1050.0519.7
PM241789.40.1780.0797.3
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhang, C.; Li, D.; Yuan, C.; Shen, L.; Ma, H.; Liu, L.; Chen, S. Automated Drive Curve Offset Strategy for Corner Cleaning Based on Enhanced Principal Component Analysis. Machines 2026, 14, 825. https://doi.org/10.3390/machines14070825

AMA Style

Zhang C, Li D, Yuan C, Shen L, Ma H, Liu L, Chen S. Automated Drive Curve Offset Strategy for Corner Cleaning Based on Enhanced Principal Component Analysis. Machines. 2026; 14(7):825. https://doi.org/10.3390/machines14070825

Chicago/Turabian Style

Zhang, Chaoqian, Dongyue Li, Chunming Yuan, Liyong Shen, Hongyu Ma, Ling Liu, and Shuopeng Chen. 2026. "Automated Drive Curve Offset Strategy for Corner Cleaning Based on Enhanced Principal Component Analysis" Machines 14, no. 7: 825. https://doi.org/10.3390/machines14070825

APA Style

Zhang, C., Li, D., Yuan, C., Shen, L., Ma, H., Liu, L., & Chen, S. (2026). Automated Drive Curve Offset Strategy for Corner Cleaning Based on Enhanced Principal Component Analysis. Machines, 14(7), 825. https://doi.org/10.3390/machines14070825

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop