AM Unit 2 Notes
AM Unit 2 Notes
➢ FUNDAMENTALS OF CAD
INTRODUCTION
The computer has grown to become essential in the operations of business, government, the military,
engineering, and research.
It has also demonstrated itself, especially in recent years, to be a very powerful tool in design and
manufacturing. In this and the following two chapters, we consider the application of computer
technology to the design of a product. This section provides an overview of computer-aided design.
The CAD system defined
As defined in previous section, computer-aided design involves any type of design activity which makes
use of the computer to develop, analyze, or modify an engineering design. Modem CAD systems (also
often called CAD/CAM systems) are based on interactive computer graphics (ICG).Interactive computer
graphics denotes a user-oriented system in which the computer is employed to create, transform, and
display data in the form of pictures or symbols. The user in the computer graphics design system is the
designer, who communicates data and commands to the computer through any of several input devices.
The computer communicates with the user via a cathode ray tube (CRT). The designer creates an image
on the CRT screen by entering commands to call the desired software sub-routines stored in the
computer. In most systems, the image is 11 constructed out of basic geometric elements- points, lines,
circles, and so on. It can be modified according to the commands of the designer- enlarged, reduced in
size, moved to another location on the screen, rotated, and other transformations. Through these various
manipulations, the required details of the image are formulated.
The typical ICG system is a combination of hardware and software. The hardware includes a central
processing unit, one or more workstations (including the graphics display terminals), and peripheral
devices such as printers. Plotters, and drafting equipment. Some of this hardware is shown in Figure.
The software consists of the computer programs needed to implement graphics processing on the
system. The software would also typically include additional specialized application programs to
accomplish the particular engineering functions required by the user company.
It is important to note the fact that the ICG system is one component of a computer-aided design system.
As illustrated in Figure, the other major component is the human designer. Interactive computer graphics
is a tool used by the designer to solve a design problem. In effect, the ICG system magnifies the powers
of the designer. This bas been referred to as the synergistic effect. The designer performs the portion of
the design process that is most suitable to human intellectual skills (conceptualization, independent
thinking); the computer performs the task: best suited to its capabilities (speed of calculations, visual
display, storage of large 8IWWIts of data), and the resulting system exceeds the sum of its components.
Department of Mechanical Engineering
Unit-II Subject: Automation in Manufacturing
Computer Aided Design
There are several fundamental reasons for implementing a computer-aided design system.
l. To increase the productivity of the designer. This is accomplished by helping the designer to the
product and its component subassemblies and parts; and by reducing the time required in synthesizing,
analyzing, and documenting the design. This productivity improvement translates not only into lower
design cost but also into shorter project completion times.
2. To improve the quality of design. A CAD system permits a more thorough engineering analysis and a
larger number of design alternatives can be investigated. Design errors are also reduced through the
greater accuracy provided by the system. These factors lead to a better design.
3. To improve communications. Use of a CAD system provides better engineering drawings, more
standardization in the drawings, better documentation of the design, fewer drawing errors and greater
legibility.
4. To create a database for manufacturing. In the process of creating the documentation for the product
design (geometries and dimensions of the product and its components, material specifications for
components, bill of materials, etc.), much of the required database to manufacture the product is also
created.
THE DESIGN PROCESS
Before examining the several facets of computer-aided design, let us first consider the general design
process. The process of designing something is characterized by Shigley as an iterative procedure, which
consists of six identifiable steps or phases:-
l. Recognition of need
2. Definition of problem
3. Synthesis
4. Analysis and optimization
5. Evaluation
6. Presentation
Recognition of need involves the realization by someone that a problem exists for which some corrective
action should be taken. This might be the identification of some defect in a current machine design by an
engineer or the perception of a new product marketing opportunity by a salesperson. Definition of the
problem involves a thorough specification of the item to be designed. This specification includes
physical and functional characteristics, cost, quality, and operating performance.
Synthesis and analysis are closely related and highly interactive in the design process. A certain
component or subsystem of the overall system is conceptualized by the designer, subjected to analysis,
improved through this analysis procedure, and redesigned. The process is repeated until the design has
been optimized within the constraints imposed on the designer. The components and subsystems are
synthesized into the final overall system in a similar interactive manner.
Department of Mechanical Engineering
Unit-II Subject: Automation in Manufacturing
Computer Aided Design
Evaluation is concerned with measuring the design against the specifications established in the problem
definition phase. This evaluation often requires the fabrication and testing of a prototype model to assess
operating performance, quality, reliability, and other criteria. The final phase in the design process is the
presentation of the design. This includes documentation of the design by means of drawings, material
specifications, assembly lists, and so on. Essentially, the documentation requires that a design database
be created. Figure illustrates the basic steps in the design process, indicating its iterative nature.
1. CAD/CAM Technology:
The story of CAD/CAM was accelerated in early 1950s. Up to year 2012ithas
become one of the supreme technology available on Planet earth. It is being used in
almost all the fields of engineering but primarily in mechanical engineering branches.
The development in the field is still gaining speed.
• CAD Technology = Design Techniques + Computers.
• The CAD Process is the subset of the Design process.
• The CAM Process is a subset of Manufacturing Process.
• Integration of CAD and CAM leads to automation. ( as show below)
Department of Mechanical Engineering
Unit-II Subject: Automation in Manufacturing
Computer Aided Design
Each of these three areas has been extensively developed in the last 30 years.Several books are written
on each of these subjects and courses are available through the academic institutions and the industry.
Most commercial CAD packages (software) consist of only a single component: design or analysis or
visualization. However, a few of the vendors have developed an integrated package that includes not
only these three areas, but also includes the manufacturing software (CAM). Due to the large storage
requirement, integrated packages use either an UNIX workstation or a mainframe platform, and not
the popular PC platform. With the improvement in PC computing speed, it’s only a matter of time
before we see an integrated package run on a PC. CAD has revolutionized the modern engineering
practice; small and large companies use it alike, spending several billion dollars for the initial
purchase or lease alone. CAD related jobs are high in demand and the new graduates have advantage
over their senior colleagues, as they are more up to date and more productive.
4. Design Process:
The process of Design is segmented into Six Stages, details of which have been shown in
below figure .The design process is repetitive as well as creative. The repetitive tasks can be
performed by computers; however, the creative tasks (stages 1 and 2) are always done only on
the human being. Show in this figure.
Stage1: Recognizing the fact that there is a need for a new product for intended function. It
may also include the modification in the existing product.
Stage2: Problem is fully defined in terms of functionality and meeting other requirements
such as ergonomic, performance-data, statutory, etc.
Stage3: The design undergoes synthesis, joining its various elements.
Department of Mechanical Engineering
Unit-II Subject: Automation in Manufacturing
Computer Aided Design
Stage4: Product analysis reveals the weaknesses and thus weaknesses can be considered for
improvement. This process is repeated until an acceptable Design achieved.
Stage5: The optimized Design is reviewed from the point of view of expected performance. It
can be done through proto-type modeling and testing against the set standard.
Stage6: Stages 4 and 5 are repeated until acceptable, optimized design is achieved. These
stages are basically iterative in-nature. Iteration depends on the creativeness, ingenuity (skill
for devising) and experience of designers and the software (tools) available. The process
(stage 1 and 2) are human dependent while the stages 3, 4, 5 and 6 (four stages) are computer
based (CAD).
i. Geometric modeling: - It implies the existence of a computer graphics screen and some
interaction with the computer to generate the geometry andtopology of the part.
ii. Engineering analysis: - Communicates with the data base to retrieve the part description
and with the user to obtain the design constraints,boundary conditions, and other details of
the analysis.
iii. Evaluation module: - Allows the user to check the correctness, manufacturability, and
processing details of the part.
iv. The drafting and documentation module: - Contains some of both theoldest and newest
technologies/Computer plotting of engineering drawings.
5. CAD Hardware:
There are basically two types of devices that constitute CAD hardware: a)Input devices, and b)
Output devices. A brief description follows.
CAD Platform:
In general, we can run CAD software on three different CADplatforms: Mainframe, Workstation,
and PC. When the CAD programs first became available, they could only be run on a mainframe
computer. However, as the PCs have become faster and cheaper, almost all the CAD vendors have
introduced a version of their CAD software that will effectively run on a Pentium or higher
computer. Currently, the most popular platforms are PCs and Workstations. Popularity of
Workstations stems from their ability to network easilywith other computers, and also, due to their
large memory storage capability. However, PC platform is still the most preferred medium for
most engineers. Increasing popularity of the PC platform can be attributed to several factors,
including, total user control, the speed, capability of storing large memory, ease of hardware
upgrading and maintenance, and the overall reasonable cost.
Department of Mechanical Engineering
Unit-II Subject: Automation in Manufacturing
Computer Aided Design
Input Devices:
These are the devices that we use for communicating with computer, and providing our input
in the form of text and graphics. The text input is mainly provided through keyboard. For
graphic input, there are several devices available and used according to the work
environment.
A brief description of these devices is given here.
Mouse: This is a potentiometric device, which contains several variable resistors that send
signals to the computer. The functions of a mouse include locating a point on the screen,
sketching, dragging an object, entering values, accepting a software command, etc. Joystick
and trackballs are analogous to a mouse device, and operate on the same principle.
Digitizers: Digitizers are used to trace a sketch or other 2-D entities by moving a cursor over
a flat surface (which contains the sketch). The positionof the cursor provides a feedback to
the computer connected with the device.There are electrical wires embedded in orthogonal
directions that receiveand pass signals between the device and the computer. The device is
basically a free moving puck or pen shaped stylus, connected to a tablet.
Light Pens: Lockheed’s CADAM software utilized this device to carry out the graphic input.
A light pen looks like a pen and contains a photocell, which emits an electronic signal. When
the pen is pointed at the monitor screen, it senses light, which is converted to a signal. The
signal is sent to the computer, for determination of the exact location of the pen on the
monitor screen.
Touch Sensitive Screens: This device is embedded in the monitor screens, usually, in the
form of an overlay. The screen senses the physical contact of the user. The new generation of
the Laptop computers is a good example of this device.
Other Graphic Input Devices: In addition to the devices described above, some CAD
software will accept input via Image Scanners, which can copy adrawing or schematic with a
camera and light beam assembly and convert it into a pictorial database.
The devices just described are, in general, independent of the CADpackage being used.
All commercial CAD software packages contain the device drivers for the most commonly
Department of Mechanical Engineering
Unit-II Subject: Automation in Manufacturing
Computer Aided Design
used input devices. The device drivers facilitate a smooth interaction between our input,
the software, and the computer. An input device is evaluated on the basis of the
following factors:
• Resolution
• Repeatability
• Linearity
• Accuracy
Output Devices:
After creating a CAD model, we often need a hard copy, using an output device. Plotters and printers
are used for this purpose. A plotter is often used to produce large size drawings and assemblies,
whereas, a laser jet printer is adequate to provide a 3-D view of a model. Most CAD software
requires a plotter for producing a shaded or a rendered view.
6. CAD Software:
CAD software is written in FORTRAN and C languages. FORTRAN provides the
number crunching, whereas, C language provides the visual images. Early CAD packages
were turnkey systems, i.e., the CAD packages were sold as an integrated software and
hardware package, with no flexibility for using second vendor hardware (1970s and 80s).
These systems were based on 16-bit word, and were incapable of networking. The modern
CAD software utilizes the open architecture system, i.e., software vendors do not design and
manufacture their own hardware. Third party software can be used to augment the basic CAD
package. Most popular CAD package will facilitate integration of the Finite Element
Analysis and other CAD software from more than one vendor. For example, IDEAS
preprocessor can work with almost all the FEA packages for pre and post analyses.
Networking is an important consideration in applications of CAD software. A model
created by one engineer must be readily accessible to others in an organization, which is linked by a
LAN or other means. The designer, analyst, management, marketing, vendor, and others generally
share a model. This is the concurrent engineering in action, mentioned earlier.
Following is a brief description of the general criteria for evaluating a CAD package.
i. Hardware: Most desirable features in a good hardware are:
• Open architecture
• High speed, large storage
• Compact size
• Inexpensive components
• Inexpensive upgrading
ii. Software: In general, the most comprehensive software are written to satisfy almost all the
modeling needs of a modeler, consequently, the software tend to be very complex and hard to
learn. To create a simple model, we go through several unnecessary steps, and lack the
intuitiveness of a simple, straightforward program. ProE is a good example, where we have to go
through several layers of menus to create a simple solid. On the other hand, if we were to use a
simpler CAD program, the same solid can be created by only a few simple commands. There are
several other factors that we should consider when evaluating software. Following is a brief
description of these factors.
a. Operating System: UNIX or Windows/NT. PCs in general use Microsoft Windows, whereas,
operating system for Workstations is Unix. For a large organization, Workstations are preferable.
b. User Interface: Most popular CAD software have menu driven commands, which is preferable to the
old system of non-menu driven, where user interface was completely by responding to software
commands. The most popular CAD programs work with menu driven interface, with some
input/action required through command prompts.
c. Documentation and Support: Learning software can be very difficult if the software lacks good
documentation. Documentation usually comes in the form of a user’s manual, a tutorial book, and
commands manual and on-line help. The recent trend is to provide access to the above-mentioned
documentation through the Internet, or provide the manuals on a CD ROM. Some CAD vendors
provide additional technical support help through phone – ProE is a very good example of this type of
support.
d. Maintenance: Cost of the hardware and software upgrades can significantly impact the small and
medium size companies’ decision to choose one software over the others. Most CAD vendors go
through an upgrade, on the average, every two years. Usually, hardware upgrade is not as frequent.
e. Modeling Capabilities: In, general, a CAD software can be classified as either a 2-D or a 3-D
program. If we were basically involved in 2-D drawings, any well established 2-D software, similar
to AutoCAD would suffice our needs. On the other hand, if we need to create 3-D models and
Unit-II Department of Mechanical Engineering
Computer Aided Design
Subject: Automation in Manufacturing
assemblies, we will be better off with a 3-D molder – ProE, SOLIDWORKS, etc.
f. Ease of Modeling: As a rule-of-thumb, general, all-purpose type CAD software is much more
complex and difficult to learn than a special purpose CAD package.
g. Interface with other CAD Packages and Data Transferability: A CAD package is used to create
models that will be used for analysis, manufacturing, or some other applications. Therefore, CAD
software should be capable of transferring and accepting files from other CAD or CAM programs,
without this provision, the CAD program has only a very limited use.
h. Design Documentation: Besides creating a model, the software should be capable of creating
drawings, assemblies, dimensioning, various views (isometric, orthogonal, etc.), labels and attributes,
etc.
• Two Dimensional Drafting: This is the most common use of a CAD package. 2-D drawings are used
for manufacturing a product.
• Report Generating: To generate reports and bill of materials. Spreadsheets and word-processors can
be linked to provide a report writing facility.
• 3-D Modeling: To create the wireframe, surface and solid models. The 3-D models are for concept
verification, manufacturing, FEA, etc.
• Finite Element Analysis: FEA package is used for pre-processing, analysis, and post-analysis of
structures. For this application, a CAD package contains both the modeling and analysis modules.
• Manufacturing: manufacturing software is usually called CAM, and contains CAD software as one
of the components. CAM software provides capabilities of carrying out 2 and 3-axes machining.
•
Department of Mechanical Engineering
Unit-II Bhilai Institute of Technology, Durg
Computer Aided Design Subject: Automation in Manufacturing
I. COMPUTER GRAPHICS
Computer graphics is the computer-to-user communication medium used in computer-aided
design and drafting systems. An object's definition is primarily geometric; it is convenient to be
able to display the geometry of the part on a computer screen or from any given viewing angle in
a variety of sizes. This section explains techniques for 2-D and3-D graphics and realistic image
generation
i. Interactive Graphics :- Interactive computer graphics is used in five differentareas: (1) to modify
the display, i.e., to change the view, type of projection, or object attributes and such as color, line
type line style, surface type, rotation angle (2) for data entry and data modification (3)In
command and monitoring
(4) for simulation and (5) for design.
ii. Graphics in CAD: - Every problem in computer graphics and, therefore, in has three major parts
an application, hardware and software.
a) An application: Is a; software program written by user writ specific purpose mind. One
application would computer-aided drafting. Another application maybe finite-element analysis or
circuit design. In any case, the application isspecific to the particular use intended for the graphics
system or for the computer-aided design system.
c) Software: Includes the programs necessary to receive-graphical data and put the required
image on the screen. The image may be as simple as a 2-Dwireframe, or as complex as 3-D. The
graphics software in the program receives geometric primitives such as lines, points, and
surfaces and paints them on the screen or on the output device according to the object attributes.
The result of this three-step process (application, hardware, and software) is graphical output.
iii. Two-Dimensional Graphics: - In order to draw 2-D images on the display, there must be at least
two functions or subroutines available in the basic graphics package. The first is a MOVE (X.Y)
subroutine, which moves the pen to an (x, y) location without drawing (with the pen up case of
the plotter, or the beam off in the case of a CRT). The second command is the LINE(X,Y)
subroutine, which moves the beam to an (x, y) location with the pen down, thus drawing a line.
Alternative specific instances of these commands appear in various graphics packages.
The various design-related tasks which are performed by a modem computer-aided design-system
can be grouped into four functional areas:
l. Geometric modeling
2. Engineering analysis
4. Automated drafting
These four areas correspond to the final four phases in Shigley's general design process,
illustrated in Figure. Geometric modeling corresponds to the synthesis phase in which the
physical design project takes form on the ICG system. Engineering analysis corresponds to phase
4, dealing with analysis and optimization. Design review and evaluation is the fifth step in the
Department of Mechanical Engineering
Subject: Automation in Manufacturing
Unit-II
Computer Aided Design
general design procedure. Automated drafting involves a procedure for converting the design
image data residing in computer memory into a hard-copy document. It represents an important
method for presentation (phase 6) of the design. The following four sections explore each of
these four CAD functions.
Geometric modeling
In computer-aided design, geometric modeling is concerned with the computer-
compatible mathematical description of the geometry of an object. The mathematical
description allows the image of the object to be displayed and manipulated on a graphics
terminal through signals from the CPU of the CAD system. The software that provides
geometric modeling capabilities must be designed for efficient use both by the computer and the
human designer.
To use geometric modeling, the designer constructs, the graphical image of the object on the CRT
screen of the ICG system by inputting three types of commands to the computer. The first type of
command generates basic geometric elements such as points, lines, and circles. The second
command type is used to accomplish scaling, rotating, or other transformations of these elements.
The third type of command causes the various elements to be joined into the desired shape of the
object being creased on the ICG system. During the geometric modeling process, the computer
converts the commands into a mathematical model, stores it in the computer data files, and displays
it as an image on the CRT screen. The model can subsequently be called from the data files for
review, analysis, or alteration.
There are several different methods of representing the object in geometric modeling. The basic
form uses wire frames to represent the object. In this form, the object is displayed by
interconnecting lines as shown in Figure. Wire frame geometric modeling is classified into three
types depending on the capabilities of the ICG system. The three types are:
i. 2D - Two-dimensional representation is used for a flat object.
ii. 2½D - This goes somewhat beyond the 2D capability by permitting a three-dimensional
object to be represented as long as it has no side-wall details.
iii. 3D -This allows for full three-dimensional modeling of a more complex geometry.
Able second enhancement removes the hidden lines completely, thus providing a less cluttered
picture of the object for the viewer. Some CAD systems have an automatic "hidden- line removal
feature," while other systems require the user to identify the lines that are to be removed from
view. Another enhancement of the wire-frame model involves providing a surface representation
which makes the object appear solid to the viewer. However, the object is still stored in the
computer as a wire-frame model.
Same work part as shown in Figure 4.4 but with (a) dashed lines lO show rear edges of part, and (b)
hidden-line removal. (Courtesy of Computer vision Corp.)
Engineering analysis
In the formulation of nearly any engineering design project, some type of analysis is required.
The analysis may involve stress-strain calculations, heat-transfer computations, or the use of
differential equations to describe the dynamic behavior of the system being designed. The
computer can be used to aid in this analysis work. It is often necessary that specific programs be
developed internally by the engineering analysis group to solve a particular design problem. In
other situations, commercially available general-purpose programs can be used to perform the
engineering analysis.
Turnkey CAD/CAM systems often include or can be interfaced to engineering analysis
software which can be called to operate on the current design model.
Two important examples of this type:
➢ Analysis of mass properties
➢ Finite-element analysis
The analysis of mass properties is the analysis feature of a CAD system that has probably the
widest application. It provides properties of a solid object being analyzed, such as the surface
area, weight, volume, center of gravity, and moment of inertia. For a plane surface (or a cross
section of a solid object) the corresponding computations include the perimeter, area, and inertia
properties.
Probably the most powerful analysis feature of a CAD system is the finite- element method.
With this technique, the object is divided into a large number of finite elements (usually
rectangular or triangular shapes) which form an interconnecting network of
concentrated nodes. By using a computer with significant computational capabilities, the entire
Object can be analyzed for stress-strain, heat transfer, and other characteristics by calculating
the behavior of each node. By determining the interrelating behaviors of all the nodes in the
system, the behavior of the entire object can be assessed.
Some CAD systems have the capability to define automatically the nodes and the network
structure for the given object. The user simply defines certain parameters for the finite-
element model, and the CAD system proceeds with the computations.
The output of the finite-element analysis is often best presented by the system in graphical
format on the CRT screen for easy visualization by the user, For example, in stress-strain
analysis of an object, the output may be shown in the form of a deflected shape superimposed
over the unstressed object. This is illustrated in Figure. Color graphics can also be used to
accentuate the comparison before and after deflection of the object. This is illustrated in Figure
for the same image as that shown in Figure . If the finite-element analysis indicates behavior
of the design which is undesirable, the designer can modify the shape and recompute the
finite- element analysis for the revised design.
Finite-element modeling for stress-strain analysis. Graphics display shows strained part
superimposed on unstrained part for comparison.
The use of interactive graphics has been found to be the best approach to accomplish these
functions.
A typical interactive graphics workstation would consist of the following hardware
Components:
THE GRAPHICS TERMINAL
There are various technological approaches which have been applied to the development of
graphics terminals. The technology continues to evolve as CAD
system manufactures attempt to improve their products and reduce their costs. In this section we
present a discussion of the current technology in interactive computer graphics terminals.
Image generation in computer graphics
Nearly all computer graphics terminals available today use the cathode ray tube (CRT) as the
display device. Television sets use a form of the same device as the picture tube. 'The
operation of the CRT is illustrated in Figure. A heated cathode emits a high-speed electron beam
onto a phosphor-coated glass screen. 'The electrons energize the phosphor coating, causing it to
glow at the points where the beam makes contact. By focusing the electron beam, changing its
intensity, and controlling its point of contact against the phosphor coating through the use ofa
deflector system, the beam can be made to generate a picture on the CRT screen.
There are two basic techniques used in current computer graphics terminals for generating the
image on the CRT screen. They are:
l. Stroke writing
2. Raster scan
Other names for the stroke-writing technique include line drawing, random position, vector writing,
stroke writing, and directed beam. Other names for the raster scan technique include digital TV
and scan graphics.
The stroke-writing system uses an electron beam which operates like a pencil to create a line
image on the CRT screen. The image is constructed out of a sequence of straight-line segments.
Each line segment is drawn on the screen by directing the beam to move from one point on the
screen to the next, where each point is defined by its x and y coordinates. The process is portrayed in
Figure . Although the procedure results in images composed of only straight lines, smooth curves can
be approximated by making the connecting line segments short enough.
In the raster scan approach, the viewing screen is divided into a large number of discrete
phosphor picture elements, called pixels. The matrix of pixels constitutes the raster. The
number of separate pixels in the raster display might typically range from 256 × 256 (a total
of over 65,(OO) to lO24 × lO24 (a total of over l,OOO,OOO points). Each pixel on the screen
can be made to glow with a different brightness. Color screens provide for the pixels to have
different colors as well as brightness. During operation, an electron beam creates the image
by sweeping along a horizontal line on the screen from left to right and energizing the pixels in that
line during the sweep. When the sweep of one line is completed, the electron beam moves to the
next line below and proceeds in a fixed pattern as indicated in Figure. After sweeping the
entire screen the process is repeated at a rate of 3O to 6O entire scans of the screen per second.
Graphics terminals for computer-aided design
The two approaches described above are used in the overwhelming majority of current-day CAD
graphics terminals. There are also a variety of other technical factors which result in different types
of graphics terminals. These factors include the type of phosphor coating on the screen, whether
color is required, the pixel density, and the amount of computer memory available to generate the
picture. We will discuss three types of graphics terminals, which seem to be the most important
today in commercially available CAD systems. The three types are:
i. Directed-beam refresh
The following paragraphs describe the three basic types. We then discuss some of the possible
enhancements, such as color and animation.
DIRECTED-BEAM REFRESH.
The directed-beam refresh terminal utilizes the stroke-writing approach to generate the image on
the CRT screen. The term refresh in the name refers to the fact that the image must be regenerated
many times per second in order to avoid noticeable flicker of the image. The phosphor
elements on the screen surface are capable of maintaining their brightness for only a short time
(sometimes measured in microseconds). In order for the image to be continued, these picture tubes
must be refreshed by causing the directed beam to retrace the image repeatedly. On densely filled
screens (very detailed line images or many characters of text), it is difficult to avoid flickeringof
the image with this process. On the other hand, there are several advantages associated with the
directed- beam refresh systems. Because the image is being continually refreshed, selective
erasure and alteration of the image is readily accomplished. It is also possible to provide
animation of the image with a refresh tube.
The directed-beam refresh system is the oldest of the modem graphics display technologies.
Other names sometimes used to identify this system include vector refresh and stroke-writing
refresh. Early refresh tubes were very expensive. but the steadily decreasing cost of solid-state
circuitry has brought the price of these graphics systems down to a level which is competitive with
other types.
Data Structure
Formally a data structure is defined as a set of data items or elements that are related to each other by
a set of relations. Applying these relations to the elements of the set results in a meaningful object.
From a CAD/CAM point of view, a data structure is a scheme, logic, or a sequence of steps developed
to achieve a certain graphics, non-graphics and/or a programming goal.
As an example consider the object shown in Figure 2.22. Three different types of data structures have
been identified to construct the object. They are based on edges, vertices, or blocks. Within the
context of the above formal definition of a data structure, the set of edges, vertices, or blocks is the set
Department of Mechanical Engineering
Subject: Automation in Manufacturing
Unit-II
Computer Aided Design
of data items for each type and edges, vertices, or blocks are the data items themselves. Furthermore,
the connectivity vertices for the first type, the edge information for the second and the set operators
for the third form the set of relations requiredby each type. As an example, 1, A & B in Figure 2.22
(b) indicates that vertex 1 is shared by edges A and B while in Figure 2.22(c) A, 1& 4 indicates that
edge A has the two vertices 1and 4.
Database
The term "database" is commonly used and may mean different things to different users. Casually, it
is synonymous with the terms "files" and "collection of files." Formally, adatabase is defined as an
organized collection of graphics and non-graphics data stored on secondary storage in the computer. It
could, therefore, be viewed as the art of storing or the implementation of data structure into the
computer. Hence, it is a repository for stored data. From a software development point of view, a
decision on the data structure has to be made first, followed by a choice of a database to implement
such a structure. There may exist more than one alternative of database to implement a given data
structure.
The objective of a database is to collect and maintain data in a central storage so that it will be
available for operations and decision-making. The advantages that accrue from having centralized
control of the data, or a centralized database, is manifold:
1 A 4
5 E 6
B B1 D B2 F
8 G 7
2 C 3
(a) Object
A B C D E F G
Set of edges
1 2 3 4 5 6 7 8
(c) Set of vertices
B1 B2 UNION
Set of blocks Set operator
(d) Data Structure based on blocks
1. Eliminate Redundancy. This is important for integrated CAD/CAM functions and CIM
applications. The database should be rich enough to support all various phases of product
Department of Mechanical Engineering
Subject: Automation in Manufacturing
Unit-II
Computer Aided Design
design and manufacturing. If both design and manufacturing departments, for example, have
access to the same database, inconsistent and conflicting decisions are inherently eliminated
and data is shared by all applications. Thus, engineering assets and experiences of a company
can be captured in a database and modified for new product designs.
2. Enforce Standards. With central control of the database, both national and international
standards are followed. Dimensioning and tolerancing are examples. In addition, a company
can develop its own internal standards required by various departments. Standards are
desirable for data interchange or migration between systems.
3. Apply Security Restrictions. Access to sensitive data and projects can be checked and
controlled by assigning each user the proper access code (read, write, delete, copy and/or none)
to various parts of the database.
4. Maintain Integrity. The integrity of the database ensures its accuracy, Integrity precedes
consistency. Lack of database integrity can result in inputting inconsistent data.
5. Balance Conflicting Requirements. Compromises can easily be when designing a model of
the centralized database to provide its overall best performance. If, forexample, a software is
designed solely for design and modeling, one would expect inadequate performance in
manufacturing functions.
Database models
CAD/CAM databases must be able to store pictorial data in addition to and alphanumeric data
typically stored in conventional databases. A brief description of the popular database models is
provided below:
1. Relational Database. Data is stored in tables, called relations that related to eachother.
The relations are stored in files which can be accessed sequentially or in a random access
mode. Sequential access files are widely used. As an example, the relations needed to describe
the object in Figure 2.22 are shown in Figure 2.23. The object is represented by the three
relations POINT, LINE/CURVE and SURFACE. A particular data structure shown in Figure
2.22 determines which relations are to be entered by the user and which are be calculated
automatically. One of the disadvantages of the database is that it requires substantial sorting,
which might result in the system response to user commands.
Object (root)
Surface level S1 S2
Edge level A B C D E F G D
Vertex level 1 4 3 4 5 6 3 4
Coordinate
level x1 y1 x4 y4 x5 y5 x4 y4
Surfaces S1 S2
A B C D E F G
Edges
1 2 3 4 5 6 7 8
Vertices
Sub-object B1 Sub-object B2
Figure 2.26 Object-oriented Database of object Shown in figure 2.22
Object-oriented databases seem to be ideal for CAD/CAM applications. Hybrid database models
may also be useful. The following are some of the functional requirements and specifications that
CAD/CAM databases must support: