Lecture-1,2 DM - 1st Slide 6.2.25
Lecture-1,2 DM - 1st Slide 6.2.25
ME6L320
Lecture 1,2
Shape Digitization: 3D object scanning, Solid reconstruction from point cloud and
tessellated data, Down stream applications
CAPP: CAPP and route sheet development, CAPP system, Computer aided plant layout,
Computer Aided Production Planning and Control, Algorithms for CAPP
Class schedule
Recommended Books:
2. Rapid Prototyping: Principles and Applications By C.K. Chua, K.F. Leong, C.S. Lim, John
Wiley, 2010
u=u2
x = x (u)
y = y (u)
z = z (u)
u=u1
The interpolation essentially tries to pass a curve on a surface through all the
given points.
Interpolation
Approximation
Synthetic curves
• Analytic curves are those which can be described by mathematical
equations such as lines, circles and conics. While synthetic curves are
ones that are described by sets of data points (control points) such as
splines and Beizer curves.
• Analytic curves are usually not sufficient to meet the geometric design
requirements of mechanical parts.
• Major CAD/CAM systems provide 3 types of synthetic curves: Cubic spline, Bezier
curve and B-spline curve.
• Cubic spline curve passes through the data point and is an interpolant.
• Bezier & B-spline curves can approximate (do not pass through) or interpolate
(pass through) the data points.
• Cubic splines use cubic polynomials. A cubic polynomial has 4 coefficients &
hence, requires 4 conditions to find these coefficients.
• Cubic spline uses 4 data points and Hermite cubic spline uses 2 data points at its
ends and two tangent vectors at these points.
• The curve is determined by defining position and tangent vector at the data points.
Y
Z
• For a Hermite Cubic Spline curve, their 4 data
points are:
– Position vector of the starting point.
– Position vector of the ending point.
– Tangent vector of the starting point.
– Tangent vector of the ending point.
• The parametric equation of a cubic spline segment
is given by
2
• In scalar form this equation can be written as:
C3
C2 C-is called the Algebraic
C1 co-efficient vector.
C0
• The tangent vector to the curve at any given point is
obtained by differentiating the equation 1 wrt to u
is:
• Or
6
• In order to find out the co-efficient , consider the
cubic spline curve with the two end points ,as
shown in fig.
Y
Z
• Applying the boundary conditions: in equation 2 & 6
+
• Rewriting the equation 8
9
• Substituting equation 9 in equation 2
10
Geometry vector =
(or boundary condition matrix)
=
Coefficient of in eq.(10)
2. If the two end points P0 and P1 are fixed in space, the designer can
control the shape of the spline by changing either the magnitudes or
the directions of the tangent vectors P0’ and P1’.
• Tangent vector becomes
11
Where
Coefficient of in eq.(11)
Coefficient of in eq.(11)
=
Coefficient of in eq.(11)
Coefficient of in eq.(11)
Problem
Find the midpoint of a Hermite cubic spline with the two points as [1, 1], and [6, 5]
and the tangent vectors as [0, 4] and [4, 0].
• The data points are used to control the shape of the resulting curves.
• Tangent vectors are not used in the curve development as is the case
with the cubic spline.
• The order or the degree of the Bezier curve is variable and related to
the number of points defining it.
• n+1 points are required to define an nth degree curve, which permits
higher-order continuity. This is not the case for cubic splines, where
the degree is always cubic for a spline segment.
Control (or characteristic) polygon
Control points
(vertices)
5
data
pts.
Transformation
The curve shape can be modified by keeping the polygon fixed and
assigning a multiplicity at a vertex.
Closed Bézier curves are generated by specifying the first and the last control
points at the same position.
Properties of Bezier curve
Convex hull
Convex hull
Convex hull
• The curve is said to have the convex hull property if it lies within the
convex hull defined by the polygon vertices.
• The size of convex hull is an upper bound on the size of curve itself,
that is the curve is always lying inside its convex hull.
• The curve never oscillates wildly away from its defining control
points because the curve is guaranteed to lie within its convex hull.
Properties of Bezier curve
Partition of Unity
n=3
When u=0.6
=1
Properties of Bezier curve
Representation of Bezier curve in Matrix form (degree (n)=3, data points=4)
Properties of Bezier curve
Representation of Bezier curve in Matrix form
UT M V
Disadvantages of Bezier curve