Abstract
A novel approach is proposed for converting NC files of G01/G02/G03 codes into NURBS curves. The NC points are first acquired from an NC file composed of lines and arcs. A segmentation algorithm based on the angles and lengths evaluated from adjacent points is then used to subdivide the entire group of points into segments. An error-bounded constrained curve fitting algorithm is implemented to fit each segment of points into a curve, maintaining the accuracy, smoothness and boundary continuity between the curves. The chord errors between the NC points and the fitted curves are controlled, which ensures the accurate recovery of NC paths. Also, a knot insertion algorithm is proposed to determine the appropriate number of control points automatically, allowing effective fitting of all segments. Several examples are presented to demonstrate the feasibility of the proposed approach.
Original language | English |
---|---|
Pages (from-to) | 760-773 |
Number of pages | 14 |
Journal | International Journal of Advanced Manufacturing Technology |
Volume | 39 |
Issue number | 7-8 |
DOIs | |
State | Published - Nov 2008 |
Keywords
- Constrained curve fitting
- NC paths conversion
- NURBS codes
- Segmentation