Introduction To CAD/CAM
Introduction To CAD/CAM
The greatest benefits CAD systems are that they can save
considerable time and reduce errors caused by otherwise having to
redefine the geometry of the design from scratch every
time it is needed.
Introduction
Computer Aided Manufacturing - CAM
Manufacturing
Figure 1- A Process
diagram representing the product realization process –
CAD/CAM by Ibrahim Zeid
Introduction-CAD/CAM/CAE
History of CAD/CAM
In 1960’s
ü Ivan Sutherland (1962) –sketchpad- picture can be displayed and
manipulate on the screen CRT
ü Simple 2D graphics
ü Mechanism design satisfying several geometric constraints
ü Design parameter optimization
In 1970
ü Computer drafting era
ü Wire-frame modeling
ü Free-form surface modeling (mainframe)
Introduction-CAD/CAM/CAE
In 1980’s (The intensive years of research in CAD/CAM)
Early 1980’s
ü CAD/CAM integration
ü Mechanical feature recognition from CAD database
Mid 1980’s
ü Specialized, feature-based CAD system (mini & macro companies)
ü Feature-based design and parametric modeling
Late 1980’s
ü Design for manufacturing
ü Design for automate assembly
Introduction-CAD/CAM/CAE
In 1990’s
ü Concurrent engineering design
ü Integrated design, analysis & optimization
ü Virtual-prototyping ( workstation & high-end PC)
ü Research
ü Wavelet in CAGD (computer aided geometric design)
ü Surface in partial differential equation from which may be
represented by b-spline and & Beizer
ü Geometric modeling algorithm and generation of 3D entities
Introduction-CAD/CAM/CAE
Discussion point
Compare AutoCAD with CATIA V5 R16 and discuss in
particular with the user interface, DBMS, coordinate
systems .
OVERVIEW OF CAD/CAM What is CAD?
Once the designer is satisfied, these models are then used for
various types of analysis / applications. thus, at the other
end it includes a number of analysis activities. These could be:
Stress (or deflection) analysis, i.e. numerical methods
meant for estimating the behavior of an artifact with respect
to these parameters. It includes tools like the Finite Element
Method (FEM).
Simulation of actual use
Optimization
Other applications like
CAD/CAM integration
Process planning
OVERVIEW OF CAD/CAM
These are activities which normally use models developed
using one or more of the techniques mentioned above. These
activities are often included in other umbrellas like CAM or
CAE.
Display/ Visualization
Applications
OVERVIEW OF CAD/CAM
MODELING
Modeling typically includes a set of activities like
Defining objects
or
Hence it is
2D GEOMETRIC TRANSFORMATION
REFLECTION
Reflection is nothing more than a rotation of the
object by 180o. In case of reflection the image formed is
on the opposite side of the reflective medium with the same
size. Therefore we use the identity matrix with positive and
negative signs according to the situation respectively.
Where
P and P' - represent the row vectors.
T1 - is a 2 by 2 array containing multiplicative factors.
T2 - is a 2 element row matrix containing translation terms.
or
Similarly for Rotation transformation, we have
or
HOMOGENEOUS COORDINATES
Finally for Scaling transformation, we have
or
2D composite transformation
NTRODUCTION
With the matrix representations of the transformations,
we can set up a matrix for any sequence of
transformations as a composite transformation matrix by
calculating the matrix product of the individual
transformations.
Where,
2D composite transformation
TRANSLATION
In translation, an object is displayed a given distance and
direction from its original position. If the displacement is
given by the vector the new object point
P'(x',y') can be found by applying the transformation Tv to
P(x,y)
Where And
2D composite transformation
ROTATION
A generalized rotation about an arbitrary point (a,b) can
be obtained by performing the following transformations
3. Translate the object so that the pivot-point position is
moved to coordinate origin.
4. Rotate the object about the coordinate origin.
5. Translate the object so that the pivot point is returned
to its original position
where,
2D composite transformation
SCALING
The animation illustrates a transformation sequence to
produce scaling with respect to a selected fixed position
(a,b) using a scaling function that can only scale rela?tive
to the coordinate origin.
3. Translate object so that the fixed point coincides with
the coordinate origin.
4. Scale the object with respect to the coordinate origin.
5. Use the inverse translation of step 1 to return the
object to its original position.
Where,
R = Rotation
Rotation matrix when an object is rotated about X axis can be
Matrix
expressed as:
3D GEOMETRIC TRANSFORMATION
Rotation matrix when an object is rotated about Y axis
can be expressed as:
and
3D projections
AXONOMETRIC PROJECTION
A single orthographic projection fails to illustrate the
general three-dimensional shape of an object.
Axonometric projections overcome this limitation.
or
PERSPECTIVE PROJECTION
Similarly,
Introduction-CAD/CAM/CAE
Geometric representation
Parametric
X = x(u), y=y(u)
Non – parametric
Explicit
y= f(x)
Implicit
f(x,y)=0
Eg. Circle
Introduction-CAD/CAM/CAE
Each form has its own advantages and disadvantages, depending
on the application for which the equation is used
Non parametric (explicit) form y= f(x) – has only one y value
for each x value , and it can not represent closed or multiple –
valued curves such as circle.
Non-parametric (implicit) form, [i.e., f(x,y)=0 - ax2 + bxy +
cy2+dx+ey+f=0]
Adv. can produce several type of curve- by setting different
coefficients .
Disadvantages
one can not be sure which variable to choose as the
independent variable.
non-parametric elements are axis dependent, so the
choice of coordinate system affects the ease of using the
elements and calculating their properties
they represent unbounded geometry e.g. Ax + By + C
= 0, define an infinite line
Introduction-CAD/CAM/CAE
Parametric representation
Express relationship for the x, y, and z coordinates not in term of
each other but of one or more independent variable (parameter)
Advantages:
offer more degrees of freedom for controlling the shape
(nonparametric) y = ax3+ bx2+ cx + d
(parametric) x = eu3+ fu2 + gu + d
y = eu3+ fu2 + gu + h
transformations can be performed directly on
parametric equations
parametric forms readily handle infinite slopes
without breaking down computationally
dy/dx = (dy/du)/ (dx/du)
completely separate the roles of the dependent and
independent variable
easy to express in the form of vectors and matrices
inherently bounded
Introduction-CAD/CAM/CAE
Parametric curve
Use parameter to relate coordinate x and y (2D)
Parameter - t(time) - [ x(t), y(t)]as the position of the
particle at time t ]
Hyperbola
x(t)=asec(t)
y(t)=btan(t)
Parabola
x(t)=at2
y(t)=2at
Introduction-CAD/CAM/CAE
Tangent vector and tangent line
Tangent vector – vector tangent to the shape of curve at a given
point
Tangent line – the line that contains the tangent vector
F(t)=(x(t), y(t), z(t))
Tangent vector
F’(t)=(x’(t), y’(t), ‘z(t))
Where x’(t)=dx/dt, y’(t)=dy/dt, z’(t)=dz/dt,
Magnitude of the vector / length
If vector V=(a, b, c)
Unit vector - Uv= V/|V|
Tangent line at t is either
F(t) + uF’(t) or F(t) + u(F’(t)/|F’(t)|) if prefer unit
vector
u is a parameter for line
Introduction-CAD/CAM/CAE
Slope of the curve at any point can be obtained from
tangent vector
Tangent vector at t=(x’(t), y’(t))
Slope at t=dy/dx = y’t)/x’(t)
Curvature
Curvature =1/r r radius
The curvature at u, k(u), can be computed as follows :
k(u)= |f’(u) X f’’(u) | / |f’(u)|3
representaion
symoblic
numerical
approximation