Professional Documents
Culture Documents
• Introduction • With an increase in the need for quality manufacturing along with the
• Product Design factors of short lead times and short product lives, it is very
important to use computers smartly in manufacturing.
• Problem Identification
• Problem Definition • The role of computers in manufacturing may be broadly classified into
two groups:
• Geometric Modelling
Computer monitoring and control of the manufacturing process
• Engineering Analysis
Manufacturing support applications, which deal essentially with the
• Prototype Development
preparations for actual manufacturing and post-manufacture
• Manufacturing Process Development
operations.
Introduction Introduction
• In the first category are such applications where the computer is
directly inter faced with the manufacturing apparatus for monitoring
and control functions in the manufacturing process.
• In the second category, all the support functions that computers can
provide for the successful completion of manufacturing operations. The
types of support that can be envisaged are the following:
CAD— Computer Aided Design CAE—Computer Aided Engineering
CAM— Computer Aided Manufacturing CATD— Computer Aided Tool Design
CAQ— Computer Aided Quality Assurance CAT— Computer Aided Testing
CAPP— Computer Aided Process Planning
Product Design Stages in Product Design
• Design activities need to be well organised and should take into account all
influencing factors that are responsible for the success of the product.
• Ideally, the designer should consider all these factors while finalising the design.
directly from a 3D model. engrave a wide variety of materials such as card, plywood, acrylic sheet, textiles, glass.
• Surface Modelling: It is used to create surfaces of desired shape by trimming, • 2.5D Milling/3D Milling: Typically 2.5D machining uses 2D CAD files as the source
stitching and joining different surfaces. and cuts in x and y directions(parallel to the machine bed) while lowering the tool
• Ease of modification
• Improved accuracy
• Repeatability of output
• Quality of output
• Reduction of wastage
• Raster-scan displays
• Random-scan displays
• Beam of electrons directed from cathode to phosphor coated (fluorescent) • Horizontal deflection and vertical deflection direct the electron beam to
• Directed by magnetic focusing and deflection coils (anodes) in vacuum • Intensity knob: regulates the flow of electrons by controlling the voltage
filled tube. • Refresh CRT: refreshes the display constantly to maintain phosphor glow.
• Phosphor emits photon of light, when hit by an electron, of varied • Resolution: a 2D term that measures the number of scan-lines and the
persistence. number of pixels on each line (maximum number of points that can be
• Refresh rate (50-60 Hz) to avoid flicker / trail displayed without overlap on a CRT)
• Video controller just refreshes the frame buffer on the monitor periodically access memory organised as a two
1280*1024*24
Framebuffer & Bit-plane N-Gray Color Display
• Three electron guns • A bus is a high-speed internal connection. Buses are used to send control
components such as primary storage and input/output devices. The address bus
is unidirectional.
• Data bus - carries the data between the processor and other components. The
• Control bus - carries control signals from the processor to other components.
• The image is stored in a frame buffer containing the total screen area and where • Screen is a regular grid of samples called pixels (picture element)
• Raster Display
• Current raster-scan displays have a refresh rate of at least 60 • Random scan systems are also called vector, or stroke writing
• Retrace procedure: • The electron beam directly draws the picture in any specified order.
– Horizontal retrace – beam returns to left of screen • A pen plotter is an example of such a system.
– Vertical retrace – bean returns to top left corner of screen • Picture is stored in a refresh display file or vector file as a set of
• Random scan systems are also called vector, or stroke writing • Liquid Crystal Display (LCD) has liquid crystal material sandwiched between
two sheets of glass. Without any voltage applied between transparent
displays.
electrodes, liquid crystal molecules are arranged randomly with the glass
• The electron beam directly draws the picture in any specified order.
surface.
• A pen plotter is an example of such a system.
• Liquid Crystals do not emit light directly, but uses the backlight to produce
• Picture is stored in a refresh display file or vector file as a set of
the images. It is a flat panel display unit.
line drawing commands. • Overwhelmingly all modern laptop screens are LCD – Liquid Crystal Display. ...
• Refreshes by scanning the list 30 to 60 times per second. Whenever you see or hear “LED screen”, it usually means an LCD panel with a
Geometric Transformation
• It can change the orientation, size and shape of the objects in the database • The basic geometric transformations used in modelling are:
• The geometric transformations are used for the following purposes: 2. Rotation
2. Editing the model using the command like: translate. rotate, zoom, 4. Reflection
3. Obtaining orthographic isometric and perspective views of the model 6. Composite Transformation
5. In animations
Basic Geometric Transformation Geometric Transformation: Translation
• Reflections: These are like mirror images as seen across a line or a point. • Translation is a transformation that slides a figure across a plane or through
• Translations: This moves the figure to a new location with no change to the space.
looks of the figure. • With translation all points of a figure moves the same distance and the same
• Rotations: this turns the figure clockwise or anticlockwise but doesn’t direction.
change the figure. • If a point is moves “a” units to the right and “b” units up, then the translated
• If a point moves “a” units to the left and “b” units down, then the translated
2) 1 2 3 4 5 6
B
Geometric Transformation: Rotation Geometric Transformation: Rotation
𝑐𝑜𝑠𝜃 −𝑠𝑖𝑛𝜃
R=
𝑠𝑖𝑛𝜃 𝑐𝑜𝑠𝜃
𝑃1 = 𝑅 ∗ 𝑃
𝑥1 𝑐𝑜𝑠𝜃 −𝑠𝑖𝑛𝜃 𝑥
=
𝑦1 𝑠𝑖𝑛𝜃 𝑐𝑜𝑠𝜃 𝑦
• Reflection across the x-axis: the x value stays same and the sign of the y
• Reflection across the y-axis: the y value stays same and the sign of the x
value changes
1 𝑓
0 1
x x
y y
1 0
𝑓 1
x x
y y 𝑥′ 1 0.5 0
(1,2) =
(0,2) (2,2) (3,2) 𝑦′ 0 1 2
1 0.5
0 1 𝑥′ 1 0.5 2
=
x x 𝑦′ 0 1 2 Transformation Matrix
Shear deformation Parallel to y-axis (x, y) will become (x, y+fx)
y y
𝑥′ 1 0 2
(2,2) =
1 0 𝑦′ −1 1 2
−1 1 (2,0)
(2,0) x x 𝑥′ 1 0 2
=
𝑦′ −1 1 0
(2,-2)
Homogeneous Coordinates Transformation Matrix
• Most of the time when working with 3D, we are thinking in terms of Euclidean
geometry – that is, coordinates in three-dimensional space (X, Y and Z).
• However, there are certain situations where it is useful to think in terms of projective
geometry instead.
• Projective geometry has an extra dimension, called W, in addition to the X, Y,
and Z dimensions.
• This four-dimensional space is called “projective space,” and coordinates in
projective space are called “homogeneous coordinates.”
(X,Y,Z,W)
𝑃′ = 𝑃 + 𝑇
𝑃′ = 𝑃𝑀1 + 𝑀2
𝑀1 = 𝑚𝑢𝑙𝑡𝑖𝑝𝑙𝑖𝑐𝑎𝑡𝑖𝑣𝑒 𝑀𝑎𝑡𝑟𝑖𝑥 (𝑟𝑜𝑡𝑎𝑡𝑖𝑜𝑛 & 𝑠𝑐𝑎𝑙𝑖𝑛𝑔)
𝑀2 = 𝑇𝑟𝑎𝑠𝑒𝑐𝑡𝑖𝑜𝑛𝑎𝑙 𝑚𝑎𝑡𝑟𝑖𝑥 (𝐴𝑑𝑑𝑖𝑡𝑖𝑜𝑛)
Translation.
–P′=T + P
•Scale
–P′=S⋅P
•Rotation
–P′=R ⋅P
Scaling matrix:
𝑥′ 𝑆𝑥 0 𝑥 𝑥𝑆𝑥
= 𝑦 = 𝑦𝑆𝑦
𝑦′ 0 𝑆𝑦
Transformation Matrix Transformation Matrix
Rotation matrix:
Composite matrix:
𝑐𝑜𝑠𝜃 −𝑠𝑖𝑛𝜃 0 𝑐𝑜𝑠∅ −𝑠𝑖𝑛∅ 0
2 Successive translations: Additive in nature = 𝑠𝑖𝑛𝜃 𝑐𝑜𝑠𝜃 0 ∗ 𝑠𝑖𝑛∅ 𝑐𝑜𝑠∅ 0
0 0 1 0 0 1
cos(𝜃 + ∅) −sin(𝜃 + ∅) 0
= sin(𝜃 + ∅) cos(𝜃 + ∅) 0
0 0 1
Composite Transformation Transformation Matrix
Transformation Matrix
3D Transformation
3D Transformation 3D Transformation
Translation Matrix: Scaling Matrix:
𝑥′ 1 0 0 𝑡𝑥 𝑥 𝑥′ 𝑆𝑥 0 0 0 𝑥
𝑦 ′ = 0 1 0 𝑡𝑦 𝑦 𝑦′ = 0 𝑆𝑦 0 0 𝑦
𝑧′ 0 0 1 𝑡𝑧 𝑧 𝑧′ 0 0 𝑆𝑧 0 𝑧
1 0 0 0 1 1 1 0 0 0 1 1
𝑥′ 1 ∗ 𝑥 + 0 ∗ 𝑦 + 0 ∗ 𝑧 + 𝑡𝑥 ∗ 1 𝑥 + 𝑡𝑥 𝑥′ 𝑆𝑥 ∗ 𝑥 + 0 ∗ 𝑦 + 0 ∗ 𝑧 + 0 ∗ 1 𝑥𝑆𝑥
𝑦 ′ = 0 ∗ 𝑥 + 1 ∗ 𝑦 + 0 ∗ 𝑧 + 𝑡𝑦 ∗ 1 = 𝑦 + 𝑡𝑦 𝑦 ′ = 0 ∗ 𝑥 + 𝑆𝑦 ∗ 𝑦 + 0 ∗ 𝑧 + 0 ∗ 1 = 𝑦𝑆𝑦
𝑧′ 0 ∗ 𝑥 + 0 ∗ 𝑦 + 1 ∗ 𝑧 + 𝑡𝑧 ∗ 1 𝑧 + 𝑡𝑧 𝑧′ 0 ∗ 𝑥 + 0 ∗ 𝑦 + 𝑆𝑧 ∗ 𝑧 + 0 ∗ 1 𝑧𝑆𝑧
1 0∗𝑥+0∗𝑦+0∗𝑧+1∗1 1 1 0∗𝑥+0∗𝑦+0∗𝑧+1∗1 1
3D Transformation 3D Transformation
Rotation Matrix:
o Case-1: rotation about Z axis Case-2
o Case-2: rotation about X axis
About X axis
o Case-3: rotation about Y axis
𝑥′ 1 0 0 0 𝑥 1∗𝑥+0∗𝑦+0∗𝑧+0∗1
Case-1 𝑦 ′ = 0 𝑐𝑜𝑠𝜃 −𝑠𝑖𝑛𝜃 0 𝑦 0 ∗ 𝑥 + 𝑐𝑜𝑠𝜃 ∗ 𝑦 − 𝑠𝑖𝑛𝜃 ∗ 𝑧 + 0 ∗ 1
0 𝑠𝑖𝑛𝜃 =
𝑧′ 𝑐𝑜𝑠𝜃 0 𝑧 0 ∗ 𝑥 + 𝑠𝑖𝑛𝜃 ∗ 𝑦 + 𝑐𝑜𝑠𝜃 ∗ 𝑧 + 0 ∗ 1
1 0 0 0 1 1 0∗𝑥+0∗𝑦+0∗𝑧+1∗1
About Z axis
𝑥′ 𝑐𝑜𝑠𝜃 −𝑠𝑖𝑛𝜃 0 0 𝑥 𝑥𝑐𝑜𝑠𝜃 − 𝑦𝑠𝑖𝑛𝜃 + 0 ∗ 𝑧 + 0 ∗ 1
𝑦 ′ = 𝑠𝑖𝑛𝜃 𝑐𝑜𝑠𝜃 0 0 𝑦 𝑥𝑠𝑖𝑛𝜃 + 𝑦𝑐𝑜𝑠𝜃 + 0 ∗ 𝑧 + 0 ∗ 1 𝑥′ 𝑥
𝑧′ 0 0 1 0 𝑧 = 0∗𝑥+0∗𝑦+1∗𝑧+0∗1 𝑦 ′ = 𝑦𝑐𝑜𝑠𝜃 − 𝑧𝑠𝑖𝑛𝜃
1 0 0 0 1 1 0∗𝑥+0∗𝑦+0∗𝑧+1∗1 𝑧 ′ 𝑦𝑠𝑖𝑛𝜃 + 𝑧𝑐𝑜𝑠𝜃
1 1
𝑥 ′ 𝑥𝑐𝑜𝑠𝜃 − 𝑦𝑠𝑖𝑛𝜃
𝑦 ′ = 𝑥𝑠𝑖𝑛𝜃 + 𝑦𝑐𝑜𝑠𝜃
𝑧′ 𝑧
1 1
3D Transformation 3D Transformation
The cosine is an even function, which means exactly that cos(x)=cos(−x) , while the
sine is odd, which means that sin(x)=−sin(−x)
Case-3
About Y axis in clockwise direction
𝑥′ cos(−𝜃) 0 −sin(−𝜃) 0 𝑥 cos 𝜃 0 sin 𝜃 0
𝑦′ = 0 1 0 0 𝑦 = 0 1 0 0
𝑧′ sin(−𝜃) 0 cos(−𝜃) 0 𝑧 −sin 𝜃 0 cos 𝜃 0
1 0 0 0 1 1 0 0 0 1
3D Transformation 3D Transformation
Shearing in X Axis- Shearing in Y Axis-
Shearing in X axis is achieved by using the following shearing equations- Shearing in Y axis is achieved by using the following shearing equations-
•Xnew = Xold •Xnew = Xold + Shx x Yold
•Ynew = Yold + Shy x Xold •Ynew = Yold
•Znew = Zold + Shz x Xold •Znew = Zold + Shz x Yold
In Matrix form, the above shearing equations may be represented as- In Matrix form, the above shearing equations may be represented as-
3D Transformation 3D Transformation
Shearing in Z Axis- Problem; Given a 3D triangle with points (0, 0, 0), (1, 1, 2) and (1, 1, 3). Apply shear
Shearing in Z axis is achieved by using the following shearing equations- transformation in x-axis, and the given parameters are 2 on Y axis and 3 on Z axis and find out
•Xnew = Xold + Shx x Zold the new coordinates of the object.
•Ynew = Yold + Shy x Zold
•Znew = Zold
Given-
In Matrix form, the above shearing equations may be represented as- •Old corner coordinates of the triangle = A (0, 0, 0), B(1, 1, 2), C(1, 1, 3)
•Shearing parameter towards Y direction (Shy) = 2
•Shearing parameter towards Y direction (Shz) = 3
3D Transformation 3D Transformation
Let the new coordinates of corner A after shearing = (Xnew, Ynew, Znew). Let the new coordinates of corner B after shearing = (Xnew, Ynew, Znew).
Applying the shearing equations, we have- Applying the shearing equations, we have-
•Xnew = Xold = 0 •Xnew = Xold = 1
•Ynew = Yold + Shy x Xold = 0 + 2 x 0 = 0 •Ynew = Yold + Shy x Xold = 1 + 2 x 1 = 3
•Znew = Zold + Shz x Xold = 0 + 3 x 0 = 0 •Znew = Zold + Shz x Xold = 2 + 3 x 1 = 5
Thus, New coordinates of corner A after shearing = (0, 0, 0). Thus, New coordinates of corner B after shearing = (1, 3, 5).
3D Transformation 3D Transformation
For Coordinates C(1, 1, 3) A point P (3,2,1) is rotated by 60° about X axis, and then translated in X, Y, & Z directions by
-2, -2, -2 unit respectively. Find the final position of the P.
Let the new coordinates of corner C after shearing = (Xnew, Ynew, Znew).
𝑥′ 1 0 0 𝑡𝑥 1 0 0 0 𝑥
𝑦′ = 0 1 0 𝑡𝑦 0 𝑐𝑜𝑠𝜃 −𝑠𝑖𝑛𝜃 0 𝑦
Applying the shearing equations, we have- 𝑧′ 0 0 1 𝑡𝑧 0 𝑠𝑖𝑛𝜃 𝑐𝑜𝑠𝜃 0 𝑧
1 0 0 0 1 0 0 0 1 1
•Xnew = Xold = 1
•Ynew = Yold + Shy x Xold = 1 + 2 x 1 = 3
𝑥′ 1 0 0 −2 1 0 0 0 𝑥
•Znew = Zold + Shz x Xold = 3 + 3 x 1 = 6 𝑦′ = 0 1 0 −2 0 𝑐𝑜𝑠60 −𝑠𝑖𝑛60 0 𝑦
𝑧′ 0 0 1 −2 0 𝑠𝑖𝑛60 𝑐𝑜𝑠60 0 𝑧
1 0 0 0 1 0 0 0 1 1
Thus, New coordinates of corner C after shearing = (1, 3, 6).
Thus, New coordinates of the triangle after shearing in X axis = A (0, 0, 0), B(1, 3, 5), C(1, 3, 6).
3D Transformation 3D Transformation
𝑥′ 1 0 0 −2 1 0 0 0 𝑥 𝑥′ 1 0 0 −2 1 0 0 0 𝑥
𝑦′ = 0 1 0 −2 0 𝑐𝑜𝑠60 −𝑠𝑖𝑛60 0 𝑦 𝑦′ = 0 1 0 −2 0 1/2 − 3/2 0 𝑦
𝑧′ 0 0 1 −2 0 𝑠𝑖𝑛60 𝑐𝑜𝑠60 0 𝑧 𝑧′ 0 0 1 −2 0 3/2 1/2 0 𝑧
1 0 0 0 1 0 0 0 1 1 1 0 0 0 1 0 0 0 1 1
𝑥′ 𝑥′ 1 0 0 −2 𝑥
1 0 0 −2 1 0 0 0 𝑥 1/2 − 3/2 −2 𝑦
𝑦′ = 0 1 0 −2 0 𝑐𝑜𝑠60 −𝑠𝑖𝑛60 0 𝑦 𝑦′ = 0
0 0 1 −2 0 𝑠𝑖𝑛60 𝑐𝑜𝑠60 0 𝑧 𝑧′ 0 3/2 1/2 −2 𝑧
𝑧′
1 0 0 0 1 0 0 0 1 1 1 0 0 0 1 1
1∗𝑥+0∗𝑦+0∗𝑧−2∗1 𝑥−2
𝑥′ 1 0 0 −2 1 0 0 0 𝑥 𝑥′ 1 3 1 3 1
𝑦′ = 0 1 0 −2 0 1/2 − 3/2 0 𝑦 0∗𝑥+𝑦 2 +𝑧 − 2 −2∗1 𝑦 −𝑧 −2
𝑦′ = =
2 2
== −1.866
𝑧′ 0 0 1 −2 0 3/2 1/2 0 𝑧 𝑧′ 3 1 3 1 0.230
0 0 0 1 0 1 1 0∗𝑥+𝑦 2 +𝑧 2 −2∗1 𝑦 +𝑧 −2
1 0 0 1 2 2 1
1 1
Drawing Line with Pixels Line Drawing Algorithm
(-X,Y) (X,Y)
O8 O1
O7 O2
O6 O3
O5 O4
(-X,-Y) (X,-Y)
Q3 Q2
Mid Point Circle Algorithm Mid Point Circle Algorithm
𝑦2 − 𝑦1 = 𝑚 𝑥2 − 𝑥1
Liang Barsky Line Clipping Algo. Liang Barsky Line Clipping Algo.
Liang Barsky Line Clipping Algo. Liang Barsky Line Clipping Algo.
𝑄𝑘
𝐼𝑓 𝑃𝑘 < 0, 𝑡ℎ𝑒𝑛 𝑡1 = 𝑚𝑎𝑥 0,
𝑃𝑘 = −∆𝑥 𝑄𝑘 = 𝑥1 − 𝑥𝑚𝑖𝑛 𝑃𝑘
−𝑡∆𝑥 ≤ 𝑥1 − 𝑥𝑚𝑖𝑛
𝐼𝑓 𝑛𝑜 𝑐ℎ𝑎𝑛𝑔𝑒 𝑖𝑛 𝑡1 𝑡ℎ𝑒 𝑖𝑛𝑖𝑡𝑖𝑎𝑙 𝑝𝑜𝑖𝑛𝑡 𝑖𝑠 𝑖𝑛𝑠𝑖𝑑𝑒 𝑡ℎ𝑒 𝑤𝑖𝑛𝑑𝑜𝑤
𝑡∆𝑥 ≤ 𝑥𝑚𝑎𝑥 − 𝑥1 𝑃𝑘 = +∆𝑥 𝑄𝑘 = 𝑥𝑚𝑎𝑥 −𝑥1
𝑃𝑘 = −∆𝑦 𝑄𝑘 = 𝑦1 − 𝑦𝑚𝑖𝑛 𝐼𝑓 𝑡1 𝑐ℎ𝑎𝑛𝑔𝑒𝑠, 𝑡ℎ𝑒 𝑖𝑛𝑖𝑡𝑖𝑎𝑙 𝑝𝑜𝑖𝑛𝑡 𝑖𝑠 𝑜𝑢𝑡𝑠𝑖𝑑𝑒 𝑡ℎ𝑒 𝑤𝑖𝑛𝑑𝑜𝑤
−𝑡∆𝑦 ≤ 𝑦1 − 𝑦𝑚𝑖𝑛
𝑃𝑘 = +∆𝑦 𝑄𝑘 = 𝑦𝑚𝑎𝑥 −𝑦1
𝑥 = 𝑥1 + 𝑡1 ∆𝑥
𝑡∆𝑦 ≤ 𝑦𝑚𝑎𝑥 − 𝑦1
𝑦 = 𝑦1 + 𝑡1 ∆𝑦
𝑡𝑃𝑘 ≤ 𝑄𝑘
𝑄𝑘
𝐼𝑓 𝑃𝑘 > 0, 𝑡ℎ𝑒𝑛 𝑡2 = 𝑚𝑖𝑛 1,
𝑃𝑘
𝐼𝑓 𝑛𝑜 𝑐ℎ𝑎𝑛𝑔𝑒 𝑖𝑛 𝑡2 𝑡ℎ𝑒 𝑖𝑛𝑖𝑡𝑖𝑎𝑙 𝑝𝑜𝑖𝑛𝑡 𝑖𝑠 𝑖𝑛𝑠𝑖𝑑𝑒 𝑡ℎ𝑒 𝑤𝑖𝑛𝑑𝑜𝑤
𝐼𝑓 𝑃𝑘 = 0, 𝑙𝑖𝑛𝑒 𝑖𝑠 𝑝𝑎𝑟𝑎𝑙𝑙𝑒𝑙 𝑡𝑜 𝑤𝑖𝑛𝑑𝑜𝑤
𝑄𝑘 < 0, 𝑙𝑖𝑛𝑒 𝑖𝑠 𝑜𝑢𝑡𝑠𝑖𝑑𝑒 𝑡ℎ𝑒 𝑤𝑖𝑛𝑑𝑜𝑤 𝐼𝑓 𝑡2 𝑐ℎ𝑎𝑛𝑔𝑒𝑠, 𝑡ℎ𝑒 𝑖𝑛𝑖𝑡𝑖𝑎𝑙 𝑝𝑜𝑖𝑛𝑡 𝑖𝑠 𝑜𝑢𝑡𝑠𝑖𝑑𝑒 𝑡ℎ𝑒 𝑤𝑖𝑛𝑑𝑜𝑤
𝑄𝑘 > 0, 𝑙𝑖𝑛𝑒 𝑖𝑠 𝑖𝑛𝑠𝑖𝑑𝑒 𝑡ℎ𝑒 𝑤𝑖𝑛𝑑𝑜𝑤
𝑥 = 𝑥1 + 𝑡2 ∆𝑥
𝑄𝑘 = 0, 𝑙𝑖𝑛𝑒 𝑖𝑠 𝑜𝑛 𝑡ℎ𝑒 𝑤𝑖𝑛𝑑𝑜𝑤 𝑦 = 𝑦1 + 𝑡2 ∆𝑦
Liang Barsky Line Clipping Algo. Liang Barsky Line Clipping Algo.
𝑃1 = −∆𝑥 = −4 𝑄1 = 𝑥1 − 𝑥𝑚𝑖𝑛 = −1 (4,12) 𝑃1 = −∆𝑥 = −6 𝑄1 = 𝑥1 − 𝑥𝑚𝑖𝑛 (4,12)
= −1
definitions of product geometry in digital form. This data can be used as a basis for
• Typically the geometry of the CAD model is shared with applications for strength analysis
Data Exchange Standards such as FEM programs, CFD, Heat Transfer, rapid prototyping systems, or used to
make up the instructions to guide NC-machine tools for the manufacturing process.
• The CAD-geometry can also be used as a basis for simulation processes, or is simply
• Smooth and reliable exchange of product data between different CAx applications is
• Shape data: both geometric and topological information, part or form features.
• Non-shape data: graphics data such as shaded images, and model global data as
• Design data: information that designers generate from geometric models for
analysis purposes. Mass property and finite element mesh data belong to this type
of data.
introduced in 1977.
• GKS is basically a set of procedure which can be called by user programs to carry
different languages.
Data Exchange Standards Data Exchange Standards
Graphical Primitives in IBM GKS
Standard Neutral Data Formats:
• Initial Graphics Exchange Specification (IGES): The most popular format of the
• Standard for the Exchange of Product Model Data (STEP): the standard data
format used to store all the data relevant to the entire life cycle of the product,
• First developed by National Institute of Standards and Technology (NIST) in 1980. • This format was originally developed to give users flexibility in managing data and
Then adopted by the American National Standards Institute (ANSI) in the same year. translating AutoCAD drawings into file formats that could be read and used by
• It exchanges primarily shape (both geometric and topological) and non-shape data, other CAD/CAM/CAE systems.
which is referred as CAD-to-CAD exchange.
• Because of the popularity of AutoCAD at that time, DXF became the de-facto
• IGES Version 1.0- CAD Drawing
standard of interchanging CAD drawing files for almost all CAD/CAM/CAE system.
• IGES Version 2.0- Finite Element Data and Printed Circuit board data
• The IGES and DXF files were developed to exchange product definition data
• IGES Version 3.0- User defined Macros with the standard part libraries.
instead of product data.
• IGES Version 4.0- CSG tree of Solid
• Product data means, the data relevant to the entire life cycle of a product (e.g.
• IGES Version 5.0- Handles the B-Rep data Solids
Design, Manufacturing, Quality, and testing).
Data Exchange Standards Data Exchange Standards
STEP (Standard for the Transfer and Exchange of Product Model Data): PDES (Product Data Exchange Standard)
• STEP, provides a representation of product information along with the necessary • To support any industrial application such as mechanical, electric, plant
disposal.
testing, support, etc.
• STEP is thus not only targeting CAD/CAM applications, but includes processes related to • Both PDES and STEP had the identical goal, as a result the Acronym
the organisation of the product data such as definition of materials, formal contracts PDES has been changed to stand for Product Data Exchange using
and specifications which are valid across organisations.
STEP.
Format Comment polygon can be specified along with the surface color, textures, shininess, &
Language) in Virtual environment • OBJ is a geometry definition file format first developed by Wavefront Technologies for its
OBJ 3D graphics de-facto standard Advanced Visualizer animation package. This format supports definition of the geometry
formats for Facetted B-rep for object surfaces using polygonal meshes or using freeform curves and surfaces.
models • The central concept in an OBJ model is the "element." The specification lists the following as
STL Triangular facets used for Rapid elements: point (p), line (l), face (f), 2D curve (curv2), and surface (surf).
Prototyping • Elements are constructed from vertices; the vertices must be listed first in the file, so that the
HPGL Images used for plotters elements can refer to them by number, using the order in which they occur in the file.
plotter printers. Unlike other printers that use dots to create images, symbols, text, etc.,
a plotter printer uses the information from the HPGL file to draw lines on the paper.
• Standard Triangle Language" and "Standard Tessellation Language." The STL file format
mesh, that is, as a representation of a 3-dimensional surface in triangular facets. Coarse Fine
Since an STL file approximates the part’s surface geometry using tessellated
triangles, there is a tradeoff between accurate representation of curves and the
number of triangles used. The larger the number of triangles, the larger the file
size.
Data Exchange Standards Data Exchange Standards
It is the maximum deviation between the designed part and the STL
representation of the part. It is represented by a parameter called chord
height or deviation tolerance. The chord height is the maximum distance
from the surface of the original design and the STL mesh.
solid <name>
facet normal ni nj nk
outer loop
vertex v1x v1y v1z
vertex v2x v2y v2z
vertex v3x v3y v3z
endloop
endfacet
Data Exchange Standards
SYLLABUS CONTENT
CAD/CAM-MEE2007
Module I-Introduction
Dr.B.Muralidharan
Associate Professor
Department of Manufacturing
School of Mechanical Engineering (SMEC)
VIT UNIVERSITY, Vellore
E mail- muralidharan.b@vit.ac.in
Mobile- +919965287810.
9/10/2021 2
9/10/2021 CAD/ CAM MEE2007 1 CAD/ CAM MEE2007
Application and Scope of CAD process Application and Scope of CAD process
CAD Tools Required to Support the product cycle CAM Tools Required to Support the product cycle
Design phase Required CAD tools Manufacturing phase Required CAM tools
Design conceptualization Geometric modeling techniques; Graphics
aids; manipulations; and visualization Process planning CAPP techniques; cost
analysis; material and
Design modeling and simulation Same as above; animation; assemblies; tooling specification.
special modeling packages.
Part programming NC programming
Design analysis Analysis packages; customized programs
and packages.
Inspection CAQ; and Inspection
Design optimization Customized applications; structural
optimization. software
Design evaluation Dimensioning; tolerances; BOM; NC. Assembly Robotics simulation and
Design communication and Drafting and detailing… programming
documentation
Process data
Computer Process
Control signals
Is design evaluation
Yes Are there manufacturing
No discrepancies in CAD
Possible with available
Standard software? databases?
Design
package Yes
Develop customized No
Design testing
programs and packages
And evaluation NC programming NC
package
Programming
No Is final design package
Applicable? Machining
Yes
Inspection
Drafting Inspection
And Robotics
Assembly package
9/10/2021 Documentation CAD/ CAM MEE2007 20
9/10/2021 CAD/ CAM MEE2007 19
Advantages of CAD/CAM systems
Application of CAD/CAM
• Greater flexibility. • Better product design.
• Aerospace • Medical & Pharma • Reduced lead times. • Greater manufacturing
• Automotive • Military & Defence • Reduced inventories. control.
• Chemical & Process • Rail & Marine • Increased Productivity. • Supported integration.
• Communications • Improved customer service. • Reduced costs.
• Structural & Civil
• Improved quality. • Increased utilization.
• Computers & IT • Apparel and Textile
• Improved communications • Reduction of machine
• Electrical & Electronics Examples with suppliers. tools.
• Less floor space.
Keypad Plotter
Digitizer
Disk
Trackball Computer
Tape
Joystick
Computer output
microfilm
Tablet
these techniques are: A M * N resolution defines a screen with M rows and N columns. Each row defines
a scan line.
•The refresh display The resolution of the monitor is determined by the number of pixels displayable on
(based on random scan technology) the screen.
•Direct view storage tube (DVST) i.e. 640 X 480 and 1024 X 1024.
(based on random scan technology)
•Raster display
(based on raster scan technology).
For color displays, each pixel is represented by three closely dots with Color Raster Display With Eight Planes
red, green and blue colors.
The electron beam selects the color elements and the intensity of each
color elements.
Typically 4 to 8 bit/pixel are adequate for both monochrome and colour displays utilised
in most engineering applications.
If cell P in the bit map corresponds to pixel P at the location P(x,y) on the
screen, then the grey level of this pixel is 50 (00110010) or its corresponding
9/10/2021 CAD/ CAM MEE2007 39 9/10/2021 is 50.
colour CAD/ CAM MEE2007 40
Example-1:
Relationship between pixel value and look up table An eight-plane raster display has a resolution of 1280 horizontal * 1024 vertical and refresh rate of 60 Hz.
Find:
1. The buffer memory size & memory read rate.
2. The time required to display the scan line and a pixel.
3. The active display area of the screen if the resolution is 78 pixels per inch.
Solution:
1.Buffer memory size = 1280 * 1024 = 1 310 720 bytes =1.25 Mbytes.
Memory read rate = 60 * 1.25 = 75 MB/s
2.The time required to display a scan line = (1/60)/1024= 16 microseconds.
The time required to display a pixel = 16/1280 = 12 nanoseconds.
3.The active display area = 1280/75 horizontal * 1024/75 vertical = 17 * 13.6 inch.
. 1 byte (B) = 8 bits (b)
1 Kilobyte (K / KB) = 2^10 bytes = 1,024 bytes
1 Megabyte (M / MB) = 2^20 bytes = 1,048,576 bytes
1 Gigabyte (G / GB) = 2^30 bytes = 1,073,741,824 bytes
1 Terabyte (T / TB) = 2^40 bytes = 1,099,511,627,776 bytes
9/10/2021 CAD/ CAM MEE2007 41 9/10/2021 CAD/ CAM MEE2007 42
COORDINATE SYSTEM