M1
M1
1 DA-I 10 10
2 DA-II 10 10
3 DA-III/ Quiz 10 10
4 CAT-I 50 15
5 CAT-II 50 15
6 FAT 100 40
Introduction to CAD:
16
Typical Product Life Cycle
Marketing
17
• The product begins with a need which is identified
based on customers' and markets' demands.
• The product goes through two main processes from
the idea conceptualization to the finished product:
1. The design process.
2. The manufacturing process.
20
Manufacturing process begins with process planning
and ends with actual product
Process planning enables
- The most efficient sequence to produce the product
from the design blue print
- Communicate with design team to clarify or request
DCN, design change note to fit manufacturing changes
Outcome
Production plan, tools procurement,material order,
design of jigs and fixtures, inspection gages and
machine programming
Finally, after QA&QC, assembled,packaged and shipped
Implementation of a Typical CAM Process on a
CAD/CAM system
Interface algorithms
Assembly
Process planning
Packaging
NC programs
To shipping and marketing
22
CAM Tools Required to Support the Design Process
Manufacturing phase Required CAM tools
23
Typical Utilization of CAD/CAM Systems in an Industrial Environment
Is design evaluation
Yes Are there
No manufacturing
Possible with available discrepancies in CAD
Standard software? databases?
Design
package Yes
Develop customized No
Design testing
programs and
And evaluation packages NC NC
programming package
Programming
No Is final design package
Applicable? Machining
Yes
Inspection
Drafting Inspection
And Robotics
Assembly package
Documentation
24
CAD/CAM System
- an algorithm that requires hardware and software
- Graphic kernels like ACIS is written in C++ and uses a
routine called Schema and is used in Solidworks, UG and
Solid edge
- utilizes a data structure to save the geometry and the
topology of the geometric models
data structure is a well-defined storage scheme that stores
model data
the physical file that stores the model data in the format
offered by the data structure scheme is called database
CAD database is the file that stores the model info.
What does a CAD/CAM algorithm have…
High end systems – legacy systems evolved over the years. Supports
modelling, analysis and manufacturing of complex parts in aero,
automobile and other applications
Eg. CATIA, NX etc
Basic concept of any CAD/CAM Software
1. Approach to execute command..software developer
usually makes it menubased or toolbar based
2. System level customisation..helps change the database
color, drawing properties etc.
3. Document level customisation..units, grid settings etc.
4. Module based customisation..Part modelling, assembly,
drawing,simulation
5. Coordinate systems and sketch planes..used to
input,store and display model geometry and graphics.
• Model coordinate system (MCS), datum,sketch and
construction plates has reference to MCS
• Working coordinate system (WCS), in other words datum or
sketch planes, stores wrt to MCS
• Screen coordiante system (SCS),device dependent
Basic concept of any CAD/CAM Software….
6. 2D operations (Sketching)enabler for part modelling
7. 3D modelling..extrusion, cut, holes,revolve etc.
21/2D models, have uniform cross section and thickness in a direction
perpendicular to the plane of cross section, extrude, revolve
3D models, all other models
8. Heterogenous modelling
9. Viewing..
View orientation, any standard view, front,top,right and isometric
View modes, wireframe,hidden or shaded
View manipulations, dynamically zoom and rotate
10. Productivity tools..
Geometric modifiers, relationship between entities, H,V,Perpendicular,tangent tec
Geometric arrays
Grids
11. Management tools..layers, colors
12. Storing and retrieving CAD models
Product Development Cycle
-Industries have to design and re-design their products to stay put in the
market
-Upon Initial introduction to market, customers define the survival of a
product based on satisfying customers need and their perception
- Elaborate network is enabled to service customer problems with regard to
the problems
-Inspite of being successful in case of deficiencies, today’s market demands
product recall
Successful Product…
#1 The sales volume will pick up gradually and peak after some time. The
product will continue to sell for some time.
#2 The sales will then start gradually declining owing to availability of better
products in the market. It is time for the company to introduce a new and
improved product in the market as well as to retire the old product.
#3 The companies will usually advice the customers that the old product will
be further supported by the sales and service department only for a limited
period of time.
The product development Cycle
is a technique adopted to improve the efficiency of product design and reduce the
product development cycle time.
• brings together a wide spectrum of people from several functional areas in the
design and manufacture of a product
– Representatives from R & D, engineering, manufacturing, materials
management, quality assurance, marketing, vendor development etc. develop
the product as a team.
– Everyone interacts with each other from the start, and they perform their
tasks in parallel.
Intensive teamwork between product development, production planning and
manufacturing is essential for satisfactory implementation of concurrent engineering.
Planning &
Manufacturing Purchase
This tool views the entire life cycle of a product as a process that
can be
managed,
measured,
monitored
modified
to achieve continuous improvement.
PLM helps manufacturers acquire the capability to collaborate internally (within the
organization) and externally (outsourcing partners or vendors) collaborate on
product development, manufacture, market and service till the retirement of the
product, consistently maintaining the highest possible efficiency throughout the
value chain.
Product Life Cycle Management is a total production system that tracks a product
from inception to disposal
The Scope of PLM
Product
Lifecycle
Plus the engineering business
systems to make the process
work with the rest of the company
Input and Output Devices of CAD Work-Station
Stages of design process
Graphics system consists of four subsystems:
a. Geometry engine subsystem
b. Scan conversion subsystem
c. Raster subsystem
d. Display subsystem
GEOMETRY ENGINE
• The geometry engine accepts 3-D world co-ordinate data
and converts them into X, Y screen co-ordinates.
• Depth information is manipulated using Z-buffer.
• Colors are also processed.
• The geometry pipeline facilitates among other functions
lighting, clipping,and 3D to 2D projection, viewing
transformations, rotation, scaling and translation.
SCAN CONVERSION
The scan conversion subsystem carries out
polygon decomposition
edge slope calculations
span slope calculations and span interpolation
In a color CRT, there are three electron guns, one each for red, green
and blue.
The phosphor dots for red, green and blue are arranged in a triangular
pattern. The individual beams intersect at a shadow mask which directs
a red beam to a red phosphor dot and so on.
FLAT SCREENS
• CRT has the disadvantage that it is extremely
bulky. Moreover, CRT consumes considerable
power with increased heat dissipation
requirements.
• Portability is reduced because of the size and the
material of CRT.
• These disadvantages have prompted the
manufacturers try different types of flat screens
as output devices for computers.
• Flat screens are necessary for laptop, notebook
and palm top computers. Flat screens operate on
the principle of liquid crystal display/LED
We can separate flat-panel displays into two categories: emissive
displays and nonemissive displays.
The emissive displays (or emitters) are devices that displays, and light-
emitting diodes are examples of emissive displays.
At the same time, the color information for each point on the screen is
pulled from the framebuffer, creating a set of discrete picture elements
A drawing is created by an assembly of basic entities
Points
Lines
Arcs
Circles
-Point plotting
-Line/Circle plotting
DRAWING OF LINES
Straight line segments are used a great deal in computer generated
pictures. The following criteria have been stipulated for line drawing
displays :
• i. Lines should appear straight
• ii. Lines should terminate accurately
• iii. Lines should have constant density
• iv. Line density should be independent of length and angle
• v. Line should be drawn rapidly
There are several schemes for selecting the pixels between the end
pixels.
One method of generating a line segment is a
63
Line drawing algorithm
• Programmer specifies (x,y) values of end pixels
• Need algorithm to figure out which intermediate pixels are on line path
• Pixel (x,y) values constrained to integer values
• Actual computed intermediate line values may be floats
• Rounding may be required. E.g. computed point
(10.48, 20.51) rounded to (10, 21)
• Rounded pixel value is off actual line path (jaggy!!)
• Sloped lines end up having jaggies
• Vertical, horizontal lines, no jaggies
Digital Differential Analyzer (DDA): Line
Drawing Algorithm
▪Walk through the line, starting at (x0,y0)
▪Constrain x, y increments to values in [0,1] range
▪Case a: x is incrementing faster (m < 1)
▪Step in x=1 increments, compute and round y
▪Case b: y is incrementing faster (m > 1)
▪Step in y=1 increments, compute and round x
(x1,y1)
dy
(x0,y0)
dx
DDA Line Drawing Algorithm (Case a: m <
1)
x = x0 y = y0
y k +1 = y k + m
Illuminate pixel (x, round(y))
(x1,y1)
x = x0 + 1 y = y0 + 1 * m
x=x+1 y=y+1*m
Until x == x1
(x0, y0)
DDA Line Drawing Algorithm (Case b:
m > 1)
1 x = x0 y = y0
x k +1 = xk + (x1,y1)
m Illuminate pixel (round(x), y)
y = y0 + 1 x = x0 + 1 * 1/m
y=y+1 x = x + 1 /m
(x0,y0) Until y == y1
TCSS458A Isabelle Bichindaritz
DDA ALGORITHM
The digital differential analyzer generates lines from their differential
equations.
The DDA works on the principle that X and Y are simultaneously
incremented by small steps proportional to the first derivatives of X and
Y.
begin
length : = abs (X2– X1) ;
if abs (Y2–Y1) < length then length: = abs (Y2–Y1);
X - incr : = (X2 – X1) /length ;
Y - incr : = (Y2 – Y1) /length ;
X : = X1 + 0.5 ; Y = Y1 + 0.5 ;
for i : = 1 to length do
begin
plot (trunc (X) ; trunc(Y) ;
X : = X + X - incr ;
Y : = Y + Y - incr ;
end;
end.
Line Drawing Algorithm Drawbacks
75
The Big Idea
• Move across the x axis in unit intervals and at
each step choose between two different y
coordinates
For example, from
5
position (2, 3) we have
(xk+1, yk+1)
4
to choose between (3,
(xk, yk) 3) and (3, 4)
3
We would like the
(xk+1, yk)
2
point that is closer to
the original line
2 3 4 5
Deriving The Bresenham Line Algorithm
• At sample position xk+1 the yk+1
vertical separations from the dupper
mathematical line are labelled y
dupper and dlower dlower
y
k
xk+1
The y coordinate on the mathematical line at xk+1
is:
y = m( xk + 1) + b
BRESENHAM’S LINE DRAWING ALGORITHM
(for |m| < 1.0)
1. Input the two line end-points, storing the left end-point in
(x0, y0)
2. Plot the point (x0, y0)
3. Calculate the constants Δx, Δy, 2Δy, and (2Δy - 2Δx) and
get the first value for the decision parameter as:
p 0 = 2 y − x
4. At each xk along the line, starting at k = 0, perform the
following test. If pk < 0, the next point to plot is
(xk+1, yk) and:
pk +1 = pk + 2y
The Bresenham Line Algorithm (cont…)
Otherwise, the next point to plot is (xk+1, yk+1) and:
pk +1 = pk + 2y − 2x
5. Repeat step 4 (Δx – 1) times
17 0
16 1
15 2
14 3
13
4
5
12
6
11
7
10
8
20 21 22 23 24 25 26 27 28 29 30
9
Problem1: Plot the line from (1, 1) to (8, 5)