Cadcam Unit 1
Cadcam Unit 1
UNIT-1
Course objectives:
To provide an overview of how computers are being used in design,
development of manufacturing plans and manufacture. To understand the
need for integration of CAD and CAM.
Course Outcomes:
• Understand geometric transformation techniques in CAD.
• Develop mathematical models to represent curves and surfaces.
• Model engineering components using solid modeling techniques.
• Develop programs for CNC to manufacture industrial
components.
• To understand the application of computers in various aspects of
Manufacturing viz., Design, Proper planning, Manufacturing cost, Layout
& Material Handling system.
SYLLABUS
UNIT-I
Fundamentals of CAD, CAM, Automation , design process, Application of
computers for design, Benefits of CAD, Computer configuration for CAD
applications, Computer peripherals for CAD, Design workstation, Graphic
terminal, CAD software- definition of system software and application software
,CAD database and structure.
Geometric Modeling: 3-D wire frame modeling, wire frame entities and their
definitions, Interpolation and approximation of curves, Concept of parametric
and non-parametric representation of curves, Curve fitting techniques,
definitions of cubic spline, Bezier, and Bspline.
• Computer-aided design (CAD) is the use of
computer systems to assist in the creation,
modification, analysis, or optimization of a
design.
• Computer-aided manufacturing (CAM) is the
use of computer systems to plan, manage, and
control the operations of a manufacturing
plant through direct or indirect computer
interface with plant’s resources.
Need for CAD/CAM
• Focusing:
• electrostatic
• Electromagnetic
• Deflection:
• electrostatic
• electromagnetic
• Two or more electrodes at • The focusing effect is controlled
different potentials are used to by varying the potential of the
focus the electron beam. focusing electrode.
• The electrostatic field set up • Due to the focusing action
between the electrodes causes electrons of the gun bombard the
the beam to converge. screen of the cathode ray tube at
the same point.
Hardware Configuration #1
Hardware Configuration #1
Requires a big initial
investment for hardware
and software
Slow system response times
Maintenance of
mainframe is
expensive Updating operating
systems is difficult
Hardware Configuration #2
Hardware Configuration #2
Initial investment is
User can choose smaller than
appropriate configuration #1
workstation on a task
by task basis
Hardware Configuration #3
• Translation
• Scaling
• Rotation
• Shearing
TRANSLATION
Moving drawing or model across the screen is called translation. This is
accomplished by adding to the co-ordinates of each corner point the
distance through which the drawing is to be moved (translated). If
position by adding 4 units to X co-ordinate values and 3 units to Y
coordinate values. In general, in order to translate drawing by (TX , TY )
every point X, Y will
be replaced by a point X1 , Y1 where
X1 = X + TX
Y1 = Y + TY
SCALING
Changing the dimensions of window and view port, it is
possible to alter the size of drawings. This technique is not
satisfactory in all cases. A drawing can be made bigger by
increasing the distance between the points of the drawing. In
general, this can be done by multiplying the co-ordinates of
the drawing by an enlargement or reduction factor called
scaling factor, and the operation is called scaling.
In general, the scaling matrix can be represented as:
ROTATION
Another useful transformation is the rotation of a
drawing about a pivot point. Consider
Fig. Point P1 (4, 2) can be seen being rotated about the
origin through an angle, θ =
45°, in the anti-clockwise direction to position P2. The
co-ordinates of P2 can be obtained
by multiplying the co-ordinates of P1 by the matrix:
SHEARING
A shearing transformation produces distortion of an object or an
entire image. There are two types of shears: X-shear and Y-shear.
A Y-shear transforms the point (X, Y) to the point
An X-shear transforms the point (X, Y) to (X1,
(X1, Y1) by a factor Sh1, where Y1), where
X1 = X X1 = X + Sh2.Y , Y1 = Y
Y1 = Sh1. X + Y Sh2 is the shear factor
Fig. shows Y shear applied to a drawing
Classification of wireframe entities
Wire
frame
entities
A drawing is created by an
assembly of points, lines,
Analytical Synthetic
arcs, circles. In computer
curves curves
graphics also drawings are
created in a similar
manner. Each of these is
called an entity. The Line
drawing entities that a circle
Cubic spline
user may find in a typical arc
Bezier
CAD package ellipse
B-spline
polygon
rectangle
point
Curve
representation
Non –
Parametric
parametric
Explicit
Implicit
GEOMETRIC MODELING
i. Wire frame modeling
ii. Surface modeling
iii. Solid modeling
1. Wireframe models
There are three types of geometric models,, wireframes,,
surfaces and solids..
❖ Typically, a wireframe model consists of a finite set of points
(vertices), connected in pairs by straight lines (edges), or arcs,
circles, conics, and curves, so that the three dimensional form of
a solid object can be visualized.
❖ The major advantage of wireframe modeling is its simplicity
to construct. It does not require as much computer time and
memory as does surface or solid modeling. Wireframe modeling
is considered a natural extension of traditional methods of
drafting.
❖ The disadvantages of wireframe models are manifolds.
Primarily, wireframe models are usually ambiguous
representations of real objects and rely heavily on human
interpretation
• Models of complex designs having many edges
become very confusing and perhaps even
impossible to interpret. Moreover, as shown in
Figure , it is often difficult to display objects
with curve surfaces using wireframe.
DESIGN OF CURVED SHAPES
A component can be designed using the curves and shapes which
can be mathematically described e.g. arc, circle, conics, ellipsoid,
hyperbolic parabolic, sphere, and cone, cylinder, linear, conical -
and circular swept surfaces etc. However very often the designer
starts with specifying a few points which roughly describe the
shape. Two approaches are available to designers to model curves
and surfaces in such cases:
interpolation and approximation.
Bezier Curves
Parametric equation of Bezier curve
In an expanded form:
06/28/2023 45
Bezier Curves
For n = 3:
06/28/2023 46
Bezier Curves
P1
P2
P0
t=0 Pk P3
t=1
06/28/2023 47
Bezier Curves
06/28/2023 50
B-spline Curves
where Ni,k(u) are the B-spline (blending or basis) functions. The parameter k
controls the degree (k-1) of the B-spline curve.
Local control
06/28/2023 51
B-spline Curves
where Ni,k(u) are the B-spline (blending or basis) functions. The parameter k
controls the degree (k-1) of the B-spline curve.
06/28/2023 52
B-spline Curves
Basis Functions
• The function Ni,k determines how strongly control point Pi influences
the curve at t. Its value is a real number – 0.25, 0.5…
06/28/2023 53
B-SPLINES
• In the mathematical subfield of numerical analysis, a B-spline,
or basis spline, is a spline function that has
minimal support with respect to a given degree, smoothness,
and domain partition. Any spline function of given degree can
be expressed as a linear combination of B-splines of that
degree. Cardinal B-splines have knots that are equidistant
from each other. B-splines can be used for curve-
fitting and numerical differentiation of experimental data.
THANK YOU