Unit Ii Me16501 PDF
Unit Ii Me16501 PDF
What Is Curve?
B
Y=c1+c2x+c3x2+c4x3(Opened)
A
IMPLICIT FORM
(x-xc)2+(y-yc)2=r2(Closed)
2A
A
❖ Parametric representation of curves overcomes all of these difficulties. It
parameter u.
❖ The parametric equations for a 3D curve in space takes the following vector
form:
❑ Design of fonts
Products such as :
❑ Car bodies,
❑ Ship hulls,
❑ Propeller blades,
• Cubic functions allow for Enough curve flexibility for most tasks, and are
easier to work with then higher order functions - Behave more predictably.
• The cubic B-Spline blending functions work over four control points
To move up and down (or) from side to side with small rapid movements.
B-Spline curve
• B-Spline curve are designed to Eliminate sharp corners.
❑ Hermite curve passes (interpolate) through the end points of the curve segment
and possesses first order (slope) continuity.
❑ Hermite cubic curve is an interpolating piecewise cubic polynomials.
❑ Unlike the natural cubic splines, Hermite curve segments are adjusted locally
because shape of each curve segment is dependent only upon its end point constraints.
❑ The parametric equation of a cubic spline segment is given by,
3
P( S ) = ci s i 0 S 1 - equa 2. 1
i =0
Here, .
S = parameter
Ci = the polynomial coefficient
-equa2. 3
Equation 3 can written in the form of matrix form
-equa 2.4
3
P( S ) = ci s i −1 0 S 1 -equa 2.5
i =0
INTERPOLATION AND APPROXIMATION MODELING
b0
control polygon
bn
Parametric cubic
HERMITE CURVE:
(ii) Curves are difficult to control because of the global shape control
characteristics.
(iii) The cubic curves never reduce exactly to a conic section and poorly
approximate a curves.
(iv) The computation time required to invert the tangent vector matrix can be
excessive when the number of control points are large.
Hermite Cubic spline:
ADVANTAGES: DISADVANTAGES:
• Ease of calculation.
• Need very less input. • Less control over the curve.
• Easy interpolation Lagrange method and • Need more computational space to alter.
Newton’s method.
BEZIER CURVE
❑ Hermite curves are based on the interpolation techniques which means
❑ This technique is suitable when the basic shape of the curve is obtained by
approximation techniques, and to produce the curves that do not pass through
cubic (4 control points). Bezier curve is shown in Fig. In the Bezier curve the following
1. The shape of the Bezier curve is obtained or determined by the number of control
points. Generally the bezier curve approximates the data points and interpolates the end
points.
3. The position of the control points and vertices of Bezier characteristics polygon is used
to define the Bezier curve. The Bezier curve follows the shape of characteristics polygon. The
Bezier curve is tangent to the first and last polygon segment of the characteristic polygon.
2- APPROXIMATION:
Approximation approaches to the representation of curves provide a
smooth shape that approximates the original points, without exactly passing
through all of them.
Two approximation methods are used:
• Bezier Curves
• B-spline Curves
Bezier Curves
B-spline curves
BEZIER CURVE:
The data points of Bezier curve is called as control points. They
form the vertices of what is called the control or characteristic polygon,
which uniquely defines the curve shape as shown in fig.
NOMENCLATURE OF BEZIER CURVE
POSITION OF CONTROL POINTS ON THE
SHAPE OF THE BEZIER CURVE:
POSITION OF CONTROL POINTS ON THE
SHAPE OF THE BEZIER CURVE:
CUBIC BEZIER CURVE:
n
P(u ) = Pi Bi ,n (u ), 0 u 1
I =0
P(u) is a point of curve
Pi is control points
Bi,n are Bernstein polynomials
Bezier curve has Bernstein basis.
The Bernstein polynomial serves as the blending or basis functions for
the Bezier curve and is given by
Bi,n(u)=C(n,i)ui(1-u)n-I
C(n,1) is the polynomial coefficient
2. B-spline
Curves
B - SPLINE CURVES:
B - spline curves gives another effective method of Bezier curves. B
- spline curves are the proper and powerful generalization of Bezier
curves.
B - spline curve has the ability to interpolate or approximate a set
of given data points.
The B -spline curve separates the degree of the resulting curve from
the number of the given control points.
The flexibility in the degree of the resulting curve is achieved by
choosing the blending function of B-spline curves with an additional
degree of freedom that does not exist in Bernstein polynomials.
CHARACTERISTICS OF THE B-SPLINE CURVES
1. The local control of the curve can be changing the position of a control
point or using multiple control points at the same location. It can also
be obtained by choosing a different degree (k-I).
2. This curves do not pass through the first and last control points except
when the linear blending functions are used.
3. B-splines vary the number of control points used to design a curve
without changing the degree of the polynomial.
4. A non-periodic B-spline curve pass through the first and last control
points and it is tangent to the first and last segments of the control
polygon.
5. As the number of degree of curve increases, the curve tightens shown
in Figure if the degree of curve is less the control points will be closer.
When k = 1, a zero degree curve results and the curve then becomes the
control points themselves.
6. A second-degree curve (k = 3) is always tangent to the midpoints
of all internal polygon segments. This condition is not suitable for
other degrees.
Parametric representation of
synthetic curves
1. Hermite curves
2. Bezier curves
3. B-Spline curves
CLASSIFICATIONS OF B-SPLINES:
Uniform b-spline curves,(-1.2, -0.8 , -0.4 , 0 , 0.4 , 0.8 , 1.2)
Non-uniform b-spline curves,(0 , 1 , 2 , 3 , 3, 4.5)
Open uniform b-spline curves,(
Curve continuity:
Co,
C1,
C2.
B-SPLINE:
To change the shape of curve, Local control points are available.
RATIONAL CURVES:
➢ Rational curves introduced by Coons.
➢ Rational curve is defined as the ratio of two
polynomials.
➢ A non-rational curve is defined by one
polynomial.
➢ Various rational curves such as rational Bezier
curves, rational B-spline and spline curves,
rational conic sections and rational cubics have
been formulated.
➢ Rational splines provide an exact representation
for quadric curves (conics), such as circles and
ellipses.
➢ The most widely used rational curves are non-
uniform rational B-splines (NURBS).
NURBS:
NURBS is capable of representing in a single form non-rational B-
splines and Bezier curves as well as linear and quadratic analytic curves.
Rational B-splines provide a single precise mathematical form
capable of representing the common analytical shapes such as lines,
planes, conic curves including circles, free form curves, quadric and
sculptured surfaces etc.
RATIONAL SPLINES HAVE THE FOLLOWING TWO IMPORTANT
ADVANTAGES COMPARED TO NON-RATIONAL SPLINES.
l. Rational splines provide an exact representation for quadric curves
(conics) such as circles and ellipses.
2. Non-rational splines which are polynomials can only approximate
conics.
3. Rational splines are invariant with respect to a perspective viewing
transformation.
4. Non-rational splines, are not invariant with respect to a perspective
viewing transformation.
SURFACE
MODELING
DESIGN OF SURFACES:
Complex objects such as car or airplane body can not be achieved utilizing wireframe
modeling.
SURFACE MODELING ARE USED IN
➢ calculating mass properties
➢ checking for interference
➢ between mating parts
➢ generating cross-section views
➢ generating finite elements meshes
SURFACE MODELLING:
❑Boundaries of the solid are defined by surfaces.
❑Surfaces themselves are bounded by curves. A surface is really just a
set of related curves.
❑A surface of an object is more complete and less ambiguous
representation than its wire frame model.
❑It is particularly useful for modeling objects which can be modeled as
shells such as car body panels, aircraft fuselages or fan blades.
TYPES OF SURFACES
The surfaces generated by the surface modeling are classified as
follows:
(a) Flat surface - most basic feature of surface model.
(b) Sculptured surfaces - based on flat face mostly used in FE analysis.
(c) Sculptured surfaces based on patches.
(d) Analytical surfaces (very rarely used).
(e) Combination of the above types.
A simple and basic form of surface is Flat surface.
The most general and complex surface representations are generally
known as SCULPTURED SURFACE.
Sculptured surface means the surface produced by combining two families of
curves which intersect one another in a criss-cross manner and creating network
of inter connected patches.
Common surface entities used in a surface
modeling are as follows.
a. Plane surface
b. Ruled (lofted) surface
c. Surface of revolution
d. Tabulated surface
e. Bezier surface
f. B-spline surface
g. coons patch
h. Fillet surface
i. Offset surface
BI-LINEAR SURFACE
FILLET SURFACE
OFFSET SURFACE
APPLICATIONS OF SURFACE MODELING
P(u, v) = P0 + u ( P1 − P0 ) + v( P2 − P0 )
0 u 1 0 v 1
RULED (LOFTED) SURFACE
Parametric Representation of Analytical
Surfaces
2- Ruled Surface:
A ruled surface is generated by joining corresponding points on two space
curves (rails) G(u) and Q(u) by straight lines
The parametric equation of a ruled surface defined by two rails is
given as
P(u, v) = (1 − v)G (u ) + vQ(u )
0 u 1 0 v 1
TABULATED SURFACE
Parametric Representation of Analytical Surfaces
3- TABULATED CYLINDER
A tabulated cylinder has been defined as a surface that results from translating
a space planar curve along a given direction.
0 u umax
P(u, v) = G(u) + vn
0 v vmax
Parametric Representation of Analytical Surfaces
4- Surface of Revolution
Surface of revolution is generated by rotating a planar curve in space
about an axis at a certain angle.
Mesh Generation
• Whenever the user requests the display of the surface with a
mesh size m x n
➢ The u range is divided equally into (m-1) divisions and m
values of u are obtained.
➢ The v range is divided equally into (n-1) divisions and n
values of v are obtained.
Coons Surface
BICUBIC SURFACE PATCH
The following are major types of parametric Bi-Cubic Surfaces used in
CAD:
❖Hermite Surfaces
❖Bezier Surfaces
❖B-Spline Surfaces
PARAMETRIC
REPRESENTATION
OF SYNTHESIS
SURFACES
PARAMETRIC REPRESENTATION OF SURFACE
P(u , v) = [ x y z]T
umin u u max
vmin v vmax
BEZIER SURFACE:
PLANE SURFACE
RULED (LOFTED) SURFACE
TABULATED SURFACE
Parametric Representation of Analytical Surfaces
4- Surface of Revolution
Surface of revolution is generated by rotating a planar curve in space
about an axis at a certain angle.
1- BEZIER SURFACE:
A Bezier surface is defined by a two-dimensional set of control points Pi,j
where “I” is in the range of 0 to m and j is in the range of 0 to n. Thus, in this case, we
have m+1 rows and n+1 columns of control points.
m n 0 u 1
p(u, v) = Bm,i (u ) Bn , j (v) Pi , j
i =0 j =0 0 v 1
Where
P(u, v) is any point on the surface
Pi, j are the control points
Bm,i(u) and Bn,j are the i-th and j-th Bezier basis functions in the u- and v-
directions
m! m −i
Bm ,i (u ) = u (1 − u )
i
i!(m − i )!
n! n− j
Bn , j (v) = v (1 − v)
j
j!(n − j )!
1- B-SPLINE SURFACE:
B-spline surface defined by (m+1) x (n+1) array of control points is
given by
m n 0 u umax
p(u, v) = Pij Ni ,k (u ) N j , L (v)
i =0 j =0 0 v vmax
Where
P(u, v) is any point on the surface
K is the degree in u-direction
L is the degree in v-direction
Ni,k (u) and Nj,L (v) are B-spline basis functions of degree K
and L respectively
B-SPLINE SURFACE
COONS PATCH
SOLID
MODELLING:
There are three different forms in which a solid model can be
represented in CAD.
❑ Wireframe model
❑ Surface model
❑ Solid model.
BASIC SOLID MODELLING
Out of which, the following two basic approaches are important from
our subject point.of view.
(1) Constructive solid geometry (CSG).
(2) Boundary representation (B-rep.)
ADVANTAGES OF SOLID MODELING
1. Mass properties such as area, volume, weight, center of gravity and
moment of inertia of physical model can be quickly calculated.
2. Solid models are un-ambiguous models.
3. Cross-section views of models can be easily obtained.
4. It can be used for interference/Clearance checking of moving parts.
5. Aesthetic look of finished object can be visualized in the computer
screen itself with colour shading, high-lighting and facilities available in
solid modelers.
6. Different views of object (Isometric, Perspective and Orthographic
view) can be obtained easily.
7. Solid model is very much useful for finite element analysis.
8. They can help to produce NC machining instructions automatically.
In CAD systems there are a number of representation schemes for solid
modeling include:
•Primitive creation functions.
•Constructive Solid Geometry (CSG)
•Sweeping
•Boundary Representation (BREP)
Primitive creation
functions:
These functions retrieve a
solid of a simple shape
from among the primitive
solids stored in the
program in advance and
create a solid of the same
shape but of the size
specified by the user.
Constructive Solid Geometry (CSG)
Solid modeling techniques provide the user with the means to create,
store, and manipulate complete representations of solid objects with the
potential for integration and improved automation.
Types:-
•Constructive Solid Geometry (CSG).
•Boundary Representation (B-Rep).
•Sweeping
1- Constructive Solid Geometry
Euler Law F − E + V − L = 2( B − G)
Where F = number of faces
E = number of edges
V = number of vertices
L = Faces inner loops
B = number of bodies
G = number of genus (handles)
For simple solids without holes should satisfy the following Euler's rule
F-E+ V=2
2- Boundary Representation (B-Rep)
The B-rep scheme is more widely used
because of the following reasons.
1. In CSG, the number of basic primitives available is limited but it is not
so in B-rep.
2. The performance of B-rep scheme is very much superior to that of
CSG scheme for complex engineering models.
3. Conversion of CSG to B-rep is possible but the conversion from B-rep
to CSG is not possible.
4. Combining the wire frame and surface model is possible only
through B-rep solid representation.
ADVANTAGES OF B-REP:
❑Computational effort and time required to display the model are less
compared with CSG.
❑Combining wire frame and'surface model are possible.
❑Complex engineering objects can be easily modeled compared with
CSG. Examples are aircraft fuselage and automobile body styling.
❑It is particularly suitable for modeling part having internal symmetry.
❑Computational effort and time required to display the model are less
compared to CSG.
DISADVANTAGES OF B-REP:
❑The data structure of B-rep is complex compared to CSG.
❑Conversion of CSG to B-rep is possible. At the same time, the
conversion for B-rep to CSG is impossible.
❑The data to be stored is more and hence, it requires more memory.
So, it is not suitable for tool-path generation.
❑Sometimes, geometrically valid solids are not possible.
❑There is no guarantee for the created object to check whether it is
valid or not.
3- SWEEP REPRESENTATION
Solids that have a uniform thickness in a particular direction
and axisymmetric solids can be created by what is called
Transitional (Extrusion) and Rotational (Revolution) Sweeping
• Sweeping requires two elements – a surface to be moved and a
trajectory, analytically defined, along which the movement should
occur.
Extrusion Revolution
Sweeping Sweeping is a
modeling function in which a planar
closed domain is translated or
revolved to form a solid.
When the planar domain is
translated, the modeling activity is
called translational sweeping;
when the planar region is
revolved, it is called swinging, or
rotational sweeping.
Sweep Representations
• Use reflections, translations and rotations to construct new
shapes.
u
u
P(u)
Translational Rotational
Sweep Sweep
Translational Sweep
3- Sweep Representation
Cylinder:
F = 3, E = 3, V=2
B-REP:
B-REP:
ANNA
UNIVERSITY
QUESTION PAPERS
UNIT 1 & 2
UNIT-3,4 & 5