Elsevier

Computer-Aided Design

Volume 36, Issue 12, October 2004, Pages 1161-1169
Computer-Aided Design

Modifying free-formed NURBS curves and surfaces for offsetting without local self-intersection

https://doi.org/10.1016/j.cad.2003.11.002Get rights and content

Abstract

This paper presents an algorithm of modifying free-formed NURBS curve/surface for offsetting without local self-intersecting. The method consists of (1) sampling a number of points from a progenitor curve/surface based on second derivatives; (2) checking the curvature or maximum curvature of the progenitor curve/surface at the sampled points; (3) inserting corresponding knots of sampled points; (4) repositioning control points till the curvature/maximum curvature of the curve/surface everywhere are less than the reciprocal of offset distance. The method is efficient and is able to obtain better offsetting results.

Introduction

The technique of computing offset curves/surfaces is widely used in many applications like numerical control (NC) tool path planning and robot path planning. Offsetting operations are also gaining importance in tolerance analysis, mould- and die-making applications, and rapid prototyping applications and in finite element mesh generation. Offset curves/surfaces are normally more complex than their progenitors except for special cases such as lines, circles, planes, spherical and cylindrical surfaces. Offset curves/surfaces may have tangent discontinuities, cusps and self-intersections, local or global, even if the progenitor is regular. It is necessary to fill in the discontinuities and trim off the loops arising from self-intersections in practical applications.

Many approaches have been presented for offsetting of curves and surfaces [1], [2], [3], [4], [5], [6], [7], [8], [9]. Filip et al. [10] developed theorems of approximating curves and surfaces with a given tolerance using the bounds of second derivatives of curves and surfaces. Based on their theorems, Piegl and Tiller [11] proposed algorithms for offsetting free-formed NURBS curve/surface. In their approach, points were sampled based on bounds on second derivatives and interpolated to obtain the offset curve/surface. However, most existing algorithms do not ensure non-self-intersections which are common in curve/surface offsetting. Ravi Kumar et al. [12] developed algorithms for computing non-self-intersecting offset of surfaces, including free-formed NURBS surface, based on Piegl and Tiller's approach. Before being interpolated, the sampled points on a row or a column are connected into a poly-line for checking of any self-intersection. After cleaning of each row and column poly-lines, the output surface is non-self-intersecting. The advantage of this method is its ability to eliminate both local and global self-intersections. However, this method is complex and takes a longer time to compute the offset. Computational times are consumed by scanning every row and column at least once and inserting points into self-intersecting rows and columns to maintain the number of sample points.

Surface offset in 3-D modeling software often fails or leads to unacceptable results when there are any self-intersections. The tangent discontinuities resulted from trimming may preferably need to be eliminated. However, it can be difficult, at least cumbersome, to trim the self-intersections of offset surface and to repair the tangent discontinuities. In 3-D modeling, many offsets of free-formed surface are used for profile design without stringent tolerance requirements. Such surface offset in the applications of interactive interface requires rapid response which in turn requires efficient offset algorithm. Offset curve/surface may self-intersect locally when the absolute value of the offset distance exceeds the minimum radius of curvature in the concave regions1 [13]. Namely, for the offset distance d, local self-intersections are caused by large signed curve curvature (κ) or maximum principal curvatures of surface (κmax) that κ/κmax>1/d, where the sign of curvature is defined as positive when the offset direction is same as curve/surface normal vector. Hereinafter, curvature/maximum curvature refers to the signed one. Isolated points and cusps occur when κ or κmax or the signed minimum principal curvature (κmin) equals to 1/d [13]. The offset curve/surface is locally self-intersections free when the κ/κmax at any curve/surface point is less than 1/d. Therefore, modifying the curvature of a progenitor curve/surface not only can eliminate local self-intersection of offset curve/surface but can also apply smooth tangent continuity in the self-intersection regions.

Theorems developed by Filip et al. [10] can be used to ensure this curvature requirement. The equivalent of the curvature requirement is that the maximum κ/κmax of the curve/surface is less than 1/d. Farouki [2] suggested using both univariate and bivariate Newton–Raphson iteration to find the extremum κ/κmax. For a bivariate function κmax(u,v), the maximum value can be found among three sets: (1) the set of corner values; (2) the set of border extrema; and (3) the set of surface extrema. Patrikalakis and Maekawa [13] proposed Interval Projected Polyhedron (IPP) algorithm which is able to solve non-linear polynomial system robustly. They also applied IPP in finding extremum κ/κmax.

In this paper, the local self-intersection of offsetting is concerned. The proposed algorithm is to decrease κ/κmax by repositioning control points (CPs) iteratively till the curvature requirement or its equivalent is satisfied. Only the regions where κ/κmax>1/d and their neighboring regions, which will also lead to local self-intersections, will be changed. Most of the regions where κ/κmax<1/d remain unchanged.

Section snippets

Geometric properties

In this paper, lines, circles, planes and spheres are not considered. It is assumed that all the curves/surfaces are described in the NURBS form. The detailed mathematical description of the NURBS can be found in literature [14]. Given a NURBS curve C(u) of degree p,C(u)=i=0nRi,p(u)PiRi,p(u)=ωiNi,p(u)j=0nωjNj,p(u)or a NURBS surface S(u,v) of degree p, in the u-direction and degree q, in the v-direction,S(u,v)=i=0nj=0mRi,p;j,q(u,v)Pi,jRi,p;j,q(u,v)=ωi,jNi,p(u)Nj,q(v)k=0nl=0mωk,lNk,p(u)Nl,q

Methodology

For offsetting without local self-intersection, the curvature requirement is given by∀u∈[a,b]:κ(u)<1/dor∀u∈[a,b]∧v∈[g,h]:κmax(u,v)<1/dIt is equivalent to(κ)max<1/dormax)max<1/dThe modifying approach consists of two main parts: algorithm to decrease the κ/κmax and methodology to examine whether the curvature requirement is satisfied.

Results and discussions

Using Rhinoceros® [15], a NURBS modeling software for Windows®, for graphic display, Fig. 1 shows the control net of a non-rational bi-cubic free-formed NURBS surface with identical u and v knot vector {0, 0, 0, 0, 1, 2, 2, 2, 2}. The control areas of CPs P2,2 is 0≤u<2 and 0≤v<2. Fig. 2 shows the same surface after knot insertion with knot vector {0, 0, 0, 0, 0.2, 0.4, 0.6, 0.8, 1, 1.2, 1.4, 1.6, 1.8, 2, 2, 2, 2}. The control areas of CPs P2,2 are reduced to 0≤u<0.6 and 0≤v<0.6. Obviously, the

Conclusions

In this paper, a modifying approach for eliminating local self-intersections of offset curve/surface was proposed based on the fact that larger curvature/maximum curvature is the cause of unwanted tangent discontinuities, cusps, and local self-intersections occurred in offsetting. This method is efficient because much fewer points in total are involved in the computation. It is more efficient when large d̂ can be applied. It can get better result in case the offset surface is local

Yifeng Sun received his BE from the Xi'an Jiaotong University, P.R. China in 1993 and ME from Xiamen University, P.R. China in 1996. Later he worked as a CAD/CAM engineer in a mold-making and injection molding company in Hong Kong. He is currently a graduate student in the Department of Mechanical Engineering, National University of Singapore (NUS). His research interests include CAD/CAM and the application of FEM in mold cooling analysis and design.

References (15)

There are more references available in the full text version of this article.

Cited by (30)

  • The focal surfaces of offset surface

    2022, Optik
    Citation Excerpt :

    It can be expressed as the expansion or contraction of the surface formed. Offset surfaces used in a variety of applications, e.g. computer-aided design, NC machining of surfaces [1], robot path planning, design of the model, error analysis [2], and tool path generation in NC machining through level set methods [3]. There are many works on offset surfaces in [4–7].

  • Volumes with piecewise quadratic medial surface transforms: Computation of boundaries and trimmed offsets

    2010, CAD Computer Aided Design
    Citation Excerpt :

    Let us emphasize that the approximation can possess self-intersections even though the original offset has none. Even in the case of curves this leads to challenging computational and time-consuming problems, and the situation is even more complicated for surfaces; see [15–17]. The purpose of this paper is to identify an approach that avoids these problems.

  • Computing exact rational offsets of quadratic triangular Bézier surface patches

    2008, CAD Computer Aided Design
    Citation Excerpt :

    A qualitative and quantitative comparison of offset surface approximation techniques is given in [17]. Curve and surface modification in order to avoid local self-intersection is discussed in [18], and the detection and removal of self-intersections of offset curves and surfaces has been addressed in [19]. On the other hand, offsets to certain special classes of curves and surfaces admit exact rational representations.

  • Automatic surface roughing with 3D machine vision and cooperative robot control

    2007, Robotics and Autonomous Systems
    Citation Excerpt :

    Fig. 3 shows an example 3D shoe profile consists of discrete points extracted from the laser scanning process. NURBS curve interpolation, combined with basic approximation principles for parametric curves such as first and second order Taylor series expansion, has successfully been utilised in real time CNC variable feed rate command generation [14–18], robot control [19–22] and computer graphics. In this work it is used for the reconstruction of a continuous profile model from discrete scan data; Fig. 4 shows the result of a 12th order NURBS interpolation of shoe-upper profile.

View all citing articles on Scopus

Yifeng Sun received his BE from the Xi'an Jiaotong University, P.R. China in 1993 and ME from Xiamen University, P.R. China in 1996. Later he worked as a CAD/CAM engineer in a mold-making and injection molding company in Hong Kong. He is currently a graduate student in the Department of Mechanical Engineering, National University of Singapore (NUS). His research interests include CAD/CAM and the application of FEM in mold cooling analysis and design.

A.Y.C. Nee is a professor of manufacturing engineering, Department of Mechanical Engineering, National University of Singapore since 1989. He received his PhD and DEng from UMIST in 1973 and 2002, respectively. He is presently the Co-Director of the Singapore-MIT Alliance (SMA) Program and CEO of the Design Technology Institute (DTI). His research interest is in computer applications to tool, die, fixture design and planning, intelligent and distributed manufacturing systems, and application of VR and AR techniques in manufacturing. He has published four books and over 450 papers in refereed journals and conference presentations. He currently held regional and associate editorship, and member of editorial board of 14 international journals in the field of manufacturing engineering. He is an active member of CIRP and a Fellow of the Society of Manufacturing Engineers, both elected in 1990.

K. S. Lee obtained his BSc (1 Hons) from the University of Manchester in 1977, MSc and PhD from UMIST in 1978 and 1982, respectively. He joined the Department of Mechanical and Production Engineering, National University of Singapore in March 1982 as a Lecturer. He was promoted to Senior Lecturer in 1988 and Associate Professor in 1998, respectively. In 1989, he received the Outstanding Young Manufacturing Engineer Award from the Society of Manufacturing Engineers (USA). He was also awarded the NUS Faculty of Engineering, Innovative Teaching Award (Gold) in 2002 in recognition of his innovative contribution in e-education. His main research interests include intelligent injection mould design techniques, collaborative workflow management in plastic injection mould design environment, Design and manufacturing automation, E-Learning and in process tool wear monitoring in machining. He is a senior member of SME and a member of ASME and IES.

View full text