Unit 1&2 Cad
Unit 1&2 Cad
UNIT -1
INTRODUCTION
In engineering practice, CAD/CAM has been utilized in different ways by
different people.
Some utilize it to produce drawings and document designs.
Others may employ it as a visual tool by generating shaded images and
animated displays.
A third group may perform engineering analysis of some sort on geometric
models such as finite element analysis.
A fourth group may use it to perform process planning an generate NC part
programs. In order to establish the scope and definition of CAD/CAM in an
engineering environment and identify existing and future related tools, a study of a
typical product cycle is necessary. Figure 1.1 shows a flowchart of such a cycle.
1
CAD/CAM
Designers will always require tools that provide them with fast and reliable
solutions to design situations that involve iterations and testings of more than one
alternative.
CAD tools can vary from geometric tools, such as manipulations of graphics entities
and interference checking, on one extreme, to customized applications programs,
such as developing analysis and optimization routines, on the other extreme.
In between these two extremes, typical tools currently available include tolerance
analysis, mass property calculations and finite element modeling and analysis.
Fig. 1.3 Definition of CAD tools based on their implementation in a design environment
2
CAD/CAM
CAD tools, as defined above, resemble guidance to the user of CAD technology.
The definition should not and is not intended to, represent a restriction on utilizing it
in engineering design and applications. The principal purposes of this definition are
the following:
1. To extend the utilization of current CAD/CAM systems beyond just
drafting and visualization.
2. To customize current CAD/CAM systems to meet special design and
analysis needs.
3. To influence the development of the next generation of CAD/CAM
systems to better serve the design and manufacturing processes.
3
CAD/CAM
There are six steps involved in the conventional design process as discussed
below:
1. Recognition of need
• The first step in the designing process is to recognize necessity of
that particular design.
• The condition under which the part is going to operate and the
operation of part in that particular environment.
• The real problem is identified by knowing the history and difficulties
faced in system.
2. Definition of problem
• The design involves type of shape of part, its space requirement, the
material restrictions and the condition under which the part has to
operate.
• The basic purpose of design process has to be known before starting
the design.
• A problem may be design of a simple part or complex part.
• It may be problem on optimizing certain parameters.
4
CAD/CAM
3. Synthesis of design
• In this, it may be necessary to prepare a rough drawing of design part.
• The type of loading conditions imposed on the parts.
• The type of shapes which the part section can require and
approximate dimension at which the different forces are located has to
be provided on the sketch of part.
• The stresses to which the part is likely to be subjected must be
analyzed and relevant formulas should be prepared.
• A mathematical model of design may be prepared to synthesize the
parts of design.
5. Evaluation
• It is concerned with measuring the design against the specifications
established in the problem definition phase.
• The evaluation often requires the fabrication and testing of model to
assess operating performance, quality and reliability.
6. Presentation
• The design of component must be presented along with necessary
drawings in an attractive format.
5
CAD/CAM
6
CAD/CAM
7
CAD/CAM
8
CAD/CAM
9
CAD/CAM
Applications
(i) Assemblies or Model Merging
Generating assemblies and assembly drawings from individual parts is an essential
process.
(ii) Design Applications
There are design packages available to perform applications such as mass property
calculations, tolerance analysis, finite element modeling and analysis, injection
modeling analysis and mechanism analysis and simulation.
(iii) Manufacturing Applications
The common packages available are tool path generation and verification, NC part
programming, postprocessing, computer aided process planning, group technology,
CIM applications and robot simulation.
(iv) Programming Languages Supported
It is vital to look into the various levels of programming languages a system
supports. Attention should be paid to the syntax of graphics commands when they
are used inside and outside the programming languages. If this syntax changes
significantly between the two cases, user confusion and panic should be expected.
CAD Hardware
The hardware of the CAD system consists of the following:
• CPU
• Secondary memory
• Workstation
• Input unit
• Output unit
• Graphics display terminal
10
CAD/CAM
11
CAD/CAM
• The workstation is a visible part of the CAD system which provides interaction
between the operator and the system.
• Among these advantages offered by work station are their availability, portability,
the availability to dedicate them to a single task without affecting other users, and their
consistency of time response.
• A workstation can be defined as a station of work with its own computing power to
support major software packages, multitasking capabilities demanded by increased usage,
complex tasks, and networking potential with other computing environments.
3. Input Devices
o A no. of input devices is available. These devices are used to input two
possible types of information: text and graphics.
o Text-input devices and the alphanumeric keyboards.
o There are two classes of graphics input devices: Locating devices and image
input devices.
o Locating devices, or locators, provide a position or location on the screen.
o These include light pens, mouse, digitizing tablets, joysticks, trackballs,
thumbwheels, touchscreen and touchpads.
o Locating devices typically operate by controlling the position of a cursor on
screen. Thus, they are also referred to as cursor-control devices.
I. Scanners
• Scanners comprise other class of graphics-input device.
• There are four relevant parameters to measure the performance of
graphics input devices. These are resolution, accuracy, repeatability,
and linearity.
• Some may be more significant to some devices than others.
II. Keyboards
• Keyboards are typically employed to create/edit programs or to
perform word processing functions.
• CAD/CAM systems, information entered through keyboards should
be displayed back to the user on a screen for verification.
III. Digitizing Tablets
• A digitizing tablet is considered to be a locating as well as pointing
device. It is a small, low-resolution digitizing board often used in
12
CAD/CAM
13
CAD/CAM
14
CAD/CAM
Mainframe-based Systems
15
CAD/CAM
Minicomputer-based Systems
The development of VLSI (very large scale integrated) circuits has changed the basic
principles of computer architecture and has directly led to the proliferation of minicomputers.
Early versions on minis were 16-bit word, slow and limited-storage computers.
The DEC (Digital Equipment Corporation) PDP series offers a typical example. In the
late 1970s, the arrival of super 32-bit word and virtual memory operating systems, boosted
CAD/CAM applications and facilitated decentralization from mainframes. Minicomputers
have enabled the rapid growth of the CAD/CAM industry. The 32-bit minicomputer is
capable of handling complex geometric software and large quantities of data. The schematic
of minicomputer is shown in above figure.
Microcomputer-based Systems
The advent of the IBM Personal Computer (PC) provided the first significant impetus
for CAD on micros. Two main factors are responsible for the popularity and fast emergence
of micro-based CAD systems. First, the speed, size, and accuracy problems are being
reduced. Microcomputers of a 32-bit word length are available with enough memory size,
disk storage, and speed for CAD/CAM applications. Second, various application programs
have matured and cover most, if not all user needs.
16
CAD/CAM
Workstation-based Systems
17
CAD/CAM
Random scan
Raster scan
In random scan, graphics can be generated by drawing vectors or line segments on the
screen in a random order, which is controlled, by the user input and the software. The
principle of random scan is illustrated in below figure.
In raster scan, the screen is canned from left to right, top to bottom, all the time to
generate graphics. The principle of random scan is illustrated in below figure.
18
CAD/CAM
19
CAD/CAM
In vector refresh display, the deflection system of the CRT is controlled and driven
by the vector and character generators and digital-to-analog converters. The refresh buffer
stores the display file that contains points, lines, characters, and other attributes of the picture
to be drawn. These commands are interpreted and processed by the display processor. The
electron beam accordingly excites the phosphor that glows for a short period. In order to
maintain a steady flicker-free image, the screen must be refreshed or re-drawn at least 30 or
60 times per second. Vector refresh displays are particularly noted for their bright, clear
image, and high drawing speed. The refresh operation is well-suited to fast moving animation
of the screen display in either 2D or 3D. The chief disadvantages of vector refresh displays
are their high cost, and their tendency to flicker on complex drawings if the refresh rate
becomes less than the flicker threshold of the eye. Color displays are possible, but again are
only available at high cost.
20
CAD/CAM
Raster refresh display works on the principle of a domestic television set. In raster
display, the display screen area is divided horizontally and vertically into a matrix of small
elements called picture elements (pixels). A pixel is the smallest addressable area on a screen
as shown in Figure 2.25. A n N x M resolution defines a screen with N rows and M columns.
Each row defines a scan line. A typical resolution of a raster display is 1280 X 1204. The
pixels are controlled by the electron beam as it sweeps across the screen from one side to the
other. The beam always starts its sweep from the top left-hand corner of the screen,
regardless of what has been drawn, finishes on a horizontal line to the right, moves down one
row of pixels, returns, and starts again from the left. The display is completed when the beam
has reached the bottom right of the screen. It then refreshes by commencing the whole
procedure again at the top left. Each refresh operation takes about 0.02 seconds. Images are
displayed by converting geometric in format ion into pixel values, which arc then converted
into electron beam deflection through the display processor and the deflection system.
In a color raster display, there are three electron guns, one for each of the primary
colors, red, green and blue. The electron guns are frequently arranged in a triangular pattern
corresponding to a similar triangular pattern of red, green and blue phosphor dots on the face
of the CRT. In order to ensure that the individual electron guns excite the correct phosphor
dots (e.g., the red gun excites only the red phosphor dot), a perforated metal grid is placed
between the electron guns and the face of the CRT. The perforations in the shadow mask are
arranged in the same triangular pattern as the phosphor dots.
21
CAD/CAM
The distance between perforations is called the pitch. The color guns are arranged so
that the individual beams converge and intersect at the shadow mask. Upon passing through
[he hole in the shadow mask, the red beam, for example, is prevented or masked from
intersecting either the green or blue phosphor dot; it can only intersect the red phosphor dot.
By varying the strength of the electron beam for each individual primary color, different
shades (intensities) are obtained. These primary color shades are combined into a number of
colors for each pixel.
In a liquid crystal display transmitted or blocked, depending upon the orientation of
molecules in the liquid crystal. The polarizing characteristics of certain organic compounds
are used to modify the characteristics of the incident light. The basic principles of polarized
light are shown in below figure. In figure (a) non-coherent light is passed through the first
(left) polarizer. The resulting transmitted light is polarized in the x-y plane. Since the
polarizing axis of the second polarizer is also aligned with the x-y plane, the light continues
through the second polarizer. In figure (b) the polarizing axis of the second polarizer is
rotated 90° to that of first. Consequently, the plane polarized light that passed through the
first polarizer is absorbed by the second.
22
CAD/CAM
Color liquid crystal displays use colored filters or phosphors with twisted nematic
technology or use guest-host (dye) technology. Guest-host liquid crystal displays combine
dichromic-dye guest molecules with the host liquid crystal molecules. The spectral
characteristics of different guest molecules are used to produce different colors. The
application of an electric field realigns the orientation of both the guest and host molecules, lo
allow transmission of light. A typical guest-host transmissive liquid crystal display is shown
in below figure.
The plasma display contains a gas at low pressure sandwiched between horizontal and
vertical grids of fine wires. A tower voltage will not start aglow but will maintain a glow
once it is started. Normally, the wires have this low voltage between them. To see a pixel, the
voltage is increased momentarily on the wires that intersect the desired point. To extinguish a
pixel, the voltage on the corresponding wires is reduced until the glow cannot be maintained.
Plasma displays can be AC or DC or hybrid AC/DC activated. AC and DC plasma
23
CAD/CAM
displays are shown in below Figure. The DC-activated display consists of a dielectric spacer
plate, which contains the gas cavities sandwiched between plates containing the row-column
conductors. The electric field is applied directly to the gas. A DC-activated plasma display
requires continuous refreshing.
In the AC-activated plasma display, a dielectric layer is placed between the conductors
and the gas. Thus, the only coupling between the gas and the conductors is capacitive. Hence,
an AC-voltage is required to dissociate the gas. AC-activated plasma displays have bistable
memory; thus, the necessity to continuously refresh the display is eliminated. Bistable
memory is obtained by using a low AC voltage to keep alive voltage. The characteristic
capacitive coupling provides enough voltage to maintain the activity in the conducting pixels,
but not enough to activate non-conducting pixels.
A hybrid AC/DC plasma display uses DC voltage lo prime the gas and make it more
easily activated by the AC voltage. The principal advantage of the hybrid AC/DC plasma
display is reduced driver circuitry
24
CAD/CAM
Printers are classified as follows on the basis of three principal technologies used for their
operation:
Impact dot matrix printer
Ink jet printer
Laser printer
Impact dot matrix printer: This is an electromechanical device, which creates
images on paper from thousands of tiny dots when thin wires create an impact on an ink
ribbon. The working principle of dot matrix printer is shown in Figure. Text characters and
graphics elements are not displayed as separate items. The complete display is built up from
reciprocating horizontal sweeps of the printing head as the paper winds around a rotating
drum. Thus, the hard copy is constructed from dots in a similar manner to a raster screen
display, with the resulting appearance being much the same. The resolutions that are
available vary but range from 60 dots per inch lo 240 dots per inch. Their cost is
comparatively low, but a major disadvantage is their noise because of the impact of the pins
on the paper. For example, the letter ‘A' is printed with 24 overlapping needles shown in
Figure.
Ink jet printer: This is a raster scan device. The basic principle is lo shoot tiny droplets of
ink onto a medium. There are two types of ink jet printers, continuous flow and drop-on-
demand. The continuous flow ink jet produces a stream of droplets by spraying ink out of the
nozzle. The stream of ink from the nozzle is broken up into droplets by ultrasonic waves. If
ink is desired on the medium, selected droplets are electrostatically charged. Deflection plates
are then used to direct the droplet onto the medium. If not, the droplet is deflected into a
gutter, from which the ink is returned to (he reservoir. Paper and transparency film are typical
media. This system is shown in Figure.
25
CAD/CAM
A drop-on-demand printer fires ink at the medium only if a dot is required at a particular
location. Here, ink from a reservoir is supplied to a nozzle under pressure. The ink is fired on
demand by applying an electric voltage to a piezoelectric crystal as the head makes a pass
across the medium. When a voltage is applied, the piezoelectric crystal expands, decreasing
the volume of the ink chamber. These causes a drop of ink lo squirt out of the nozzle. Release
of the voltage causes the piezoelectric crystal lo contract, decreasing the volume of the
reservoir and sucking the link back onto the nozzle. The resolution of ink jet printers is
determined by the size of the droplet and hence by the size of the nozzle. Because of the
extremely small nozzle size required, nozzle clogging, ink contamination and air bubbles in
the ink can be significant problems.
Laser printer: This is essentially an electrostatic plain paper copier with the
difference that the drum surface is written by a laser beam. The working principle of a laser
printer is illustrated in below figure.The heart of the printer is a rotating precision drum. At
the start of each page cycle, it is charged up to about 1000 volts and coated with a
photosensitive material. Then light from a laser is scanned along the length of the drum much
like the electron beam in a CRT only instead of achieving the horizontal deflection using a
voltage, a rotating octagonal mirror is used to scan the length of the drum. The light beam is
modulated to produce a pattern of light and dark spots. The spots where the beam hits lose
their electrical charge. After a line of dots has been painted, the drum rotates a fraction of a
26
CAD/CAM
degree to allow the next line to be painted. Eventually, the first line of dots reaches the toner,
a reservoir of an electroslatically sensitive black powder. The toner is attracted to those dots
that are still charged, thus forming a visual image of that line. A little later in the transport
path, the toner-coated drum is pressed against the paper, thus transferring the black powder to
the paper. The paper is then passed through heated rollers to bind the toner to the paper
permanently, fixing the image. Later in its rotation, the drum is discharged and scraped clean
of any residual toner, preparing it for being charged and coated again for the next page.
Plotter: This is a widely accepted output device for CAD/CAM applications. A large
range (A0-A4) of plotters of varying sizes and prices are available. The accuracies achievable
are very high and the plots can be made on all types of media such as paper, tracing paper and
acetate film. There are three common types of conventional pen plotters: flatbed, drum and
pinch roller. Pens may be-of wet ink, Ballpoint or felt-tip type. The basic mechanisms are
shown in below Figure.
In a moving-arm flatbed plotter, the medium is fixed in position on the bed of the
plotter. Two-dimensional motion of the plotting head is obtained by the movement of an arm
suspended across the width of the plotter bed. This provides motion in one direction. Motion
in the second direction is obtained by moving the plotting head along the suspended arm.
A moving head flatbed head plotter uses a plotting tool carriage suspended above the bed
by magnetic forces that are counter-balanced by an air bearing. This arrangement provides
nearly frictionless movement. Movement of the head in two dimensions is controlled
electromagnetically by using the Sawyer motor principle.
27
CAD/CAM
In the drum plotter the paper is attached to a drum that rotates back and forth, thereby
providing movement in one axis. The pen mechanism moves in the transverse direction to
provide movement along the other axis.
28
CAD/CAM
UNIT-2
GEOMETRIC MODELING
INTRODUCTION
1. Designing the parts and assemblies and then performing tolerance analysis of the
assemblies
2. Preparation of production drawings of individual parts, subassemblies, assemblies,
tooling and jig-fixtures
3. Making structural, thermal and kinetic analysis
4. Considering volume of parts and after extracting material properties from material
library, cost estimation can be easily done
29
CAD/CAM
30
CAD/CAM
8. The various transformations such as move, rotation, scale etc and manipulations such as
union, intersect, subtract etc should able to be performed on geometric model
9. A good representation should be compact enough for saving space and allow for efficient
algorithms to determine desired physical characteristics
10. Geometric model should have shading and rendering (Generation an image for a model
by means of a computer program) capability to give realistic effect to the model
GEOMETRIC MODELS
The geometric models are broadly classified on the basis of geometric construction
into the following categories
The 3D modeling is widely used for engineering applications. It provides all the
information required for animation, design analysis and manufacturing. The 3D objects are
shown in below figure.
31
CAD/CAM
1. Wireframe modeling
Wireframe modeling is the oldest and simplest methods of geometric modeling which
can be used to store model mathematically in the computer memory. It contains information
about the locations of all the points (vertices) and edges in space coordinates. Various
wireframe entities are points, lines, planer arcs, circle, curves etc. Each vertex is defined by x,
y, z coordinates. Edges are defined by a pair of vertices and faces are defined as three or more
edges. Thus wireframe is a collection of edges, there is no skin defining the area between the
edges. This is the lowest level of modeling and has serious limitations. But it some
applications such as tool path simulation it is very convenient to use wireframe models.
Advantages of wireframe models:
1. It is simple methods and requires less memory space
2. It forms the basis for surface and solid modeling
3. Manipulations in the model can be done easily and quickly
32
CAD/CAM
Disadvantages:
1. One of the serious limitation in the ambiguity of orientation and viewing plane
2. Cannot model complex curve surfaces
3. Does not represent an actual solid (no surface and volume)
4. Physical properties such as mass, surface area, volume, centre of gravity etc are not
possible to calculate
5. Wireframe models has no knowledge of surface faces, therefore it will not detect interface
between two matting components and this is serious drawback especially in component
assembly, kinematic analysis, NC tool and robot arm simulation
2. Surface modeling
33
CAD/CAM
Advantage:
1. Eliminates much ambiguity and non-uniqueness present in wireframe models by hiding
lines not seen
2. Renders the model for better visualization and presentation, objects appear more realistic
3. Provides the surface geometry for CAM, NC machine
4. Provides the geometry needed by the manufacturing engineer for mould and die design
5. This can be used to design and analysis complex free-formed surfaces of ship hulls,
aeroplane fuselages and bodies
6. Surface properties such as roughness, color and reflectivity can be assigned and
demonstrated
Disadvantages:
1. Provides no information about the inside of an object
2. Curved surfaces need a fine mesh to be accurate
3. Provides wrong results if mesh is too coarse
4. Complicated computation, depending on the number of surfaces
3. Solid modeling
Solid modeling is the most powerful of 3D modeling technique. This includes vertices
(nodes), edges, surfaces, weight and volume. This model consisting of the complete
description of the solid in a certain form is the most ideal representation, as all the
information requires at every stage of product cycle can be obtained with technique. Defining
an object with a solid model is the easiest of the available three modeling techniques. The
model is a complete and unambiguous representation of a precisely enclosed and filled
volume. Solid model contain bath geometric and available to represent the solid, but
geometry two techniques are very famous, these are constructive solid geometry (CSG) and
boundary representation (B-rep)
Advantages:
1. Mass properties such as area, volume, weight, centre of gravity and moment of inertia can
be determined quickly
2. It allows the design engineer to develop and evaluate alternative concepts for parts and
assemblies while the design is still a theoretical model.
3. Solid models are non-ambiguous
4. Easily exported to different FEM programs for analysis
5. It can be used in newly manufacturing techniques; CIM, CAM, design for manufacturing
(DFM)
34
CAD/CAM
6. 2D standard drawings, assembly drawings and exploded drawings are generated from the
model
Disadvantage:
1. More intensive computation than wireframe and surface modeling
2. Requires more powerful computers (faster with the more memory)
35
CAD/CAM
MODELING FACILITIES
The total modeling facilities that one would look for in any system can be broadly
categorized as follows:
The geometric modeling features
The editing or manipulation features
The display control facilities
The drafting facility
The programming facility
The analysis features
The connecting features
The various geometric modeling and construction facilities that one should
expect to have in any good system are as follows:
1. Various features to aid geometric construction methods, such as Cartesian and polar
coordinates, absolute and incremental dimensions, various types of units, grip, snap,
object snap, layer etc
2. All 2D analytical features, such as points, lines, arcs, circles, coins, splines, fillets,
chamfers etc. In each of these features, various constructional features including
interactive and dynamic dragging facilities
3. Majority of the 3D wireframe modeling facilities includes 3D lines, 3D faces, ruled
surfaces, linear sweep from 2D topology with any sweep direction, rotational sweep
and tapered sweep. General sweep with twist. Rotational about an axis or radial offset
for generating helical or spiral shapes
4. Solid modeling with various basic primitives such as block, cylinder, sphere, cone,
prism, torus, pyramid, quadrilateral, along with the ability to apply the Boolean
operation on any solid that can be constructed using the other techniques available in
the modeler
5. Skinning around regular and arbitrary surface. Profiles (cross-sections), both
analytical and arbitrary places across any 3D curve
6. Sculptured surfaces of the various types like Bezier, Coons and other free form
surfaces
36
CAD/CAM
These set of facilities refer to the way the geometric data, once created, would be used
to advantage for further modeling. Using these facilities, it would be possible to use the
geometry created earlier to complete the modeling, thus improving the productivity of the
designer. The facilities designed in this category are:
1. Transformation such as move, copy, rotate, scale, elongate or compress, mirror or to
any arbitrary coordinate frame
2. The editing features used to alter the already drawn geometric entities, such as
stretching, trimming or trimming to any intersection, delete or erase, undo or redo
3. Symbols in drawing refer to often-repeated together set in number of drawings, which
may consist of a number of geometric entities that are grouped together and stored as
a symbol. This symbol can be recalled at any scale, at any angle or exploded if
necessary to treat all of them as separate entities. Symbols can also be of parametric
type so that a large variation in symbols can be done without much effort
4. Some of editing facilities are : resizing, relocating and duplicating, filleting and
chamfering, windowing, clipping and zooming, exploding, mirroring, lengthening and
shortening, renaming named objects, editing solid
In this range of features are all the facilities needed for interacting with the modeling
system so as to obtain the necessary feedback at the right time during the modeling stage. The
facilities required are:
Window – to identify a set of entities for any possible display or editing function
Zoom – to change the scale of display of the image selected in the screen
Pan – to move the image on screen without changing the scale at which the drawing is
displayed on the screen
Hidden – to remove hidden lines or hidden surfaces for viewing the geometry in
proper form
Shading – to show the 3D view of the image on screen complete with the light source
location and the resulting light and shade as it appears on the image
37
CAD/CAM
Drafting Features
These facilities refer to the way the model developed can be utilized for purpose of
transmitting the information in hard copy form for other applications, such as par prints onto
the shop floor or maintenance manuals for the equipment. A really large range of facilities are
required in this particular category and it is sometimes treated as a separate module in the
modeling system
The ability to get various types of lines drawn and provide ample notes in the form of
text addition at various locations in the drawing. The text handling capability in terms of font
changing and different methods of text presentation should be available.
A large number of types of views should be obtained from the solid model of the
geometry stored in the database. The types of views required may be as for display functions,
such as perspective views, orthographic views (Shown in below figure), isolated views and
axonometric views.
It is necessary that the views being shown should be sectioned to get a better
appreciation of the model. For this purpose, the section planes may be simple or complex
orientations. After sectioning the system should have the automatic ability to show the
sectioning details (Shown in below figure) in the form of typical crosshatching depending
38
CAD/CAM
Programming Facility
In this range, the kind of analysis facilities that are require to e carried on the product
models being generated should be considered. The simplest kind to the most sophisticated
features may be available under this category. The simplest facilities may be calculated
perimeter, area, volume, mass, centre of gravity, moment of inertia, radius of gyration etc.
Besides these simple features of analysis, a general-purpose analysis that is normally
carried is the Finite Element Analysis (FEA). The geometric model created as above could be
conveniently passed onto the FEA through an intermediate processor called a Finite Element
Methods (FEM), which converts the geometric data into the finite element mesh and
calculates all the data required for the analysis and then transmits it to the FEA program.
Examples are the SUPERTAB for GEOMOD and the GFEM for the unigraphics.
39
CAD/CAM
Another important feature essential in the modeling system used by the mechanical
engineering industries is the assembly facility with the associated interference checking. By
this, products individually modeled can be assembly joints are analyzed. This would be
further used along with animation facility, if present, to see the performance of the assembly
in service. Along with the assembly facility, the other facility needed is the ability to explode
an assembly (Show in above figure) for the creation of technical illustrations for the user and
maintenance manual preparation.
Connecting Features
Modeling is only the start of the complete process of a product evolution and as such
the data generated is used directly by the other systems. It is therefore, necessary that the
internal data format in which the data is stores by the modeling system should be well
documented and should also have very good connectivity (data interfacing) with other allied
modules. Identically, an integrated data base structure would be useful where in all the
various modules share the common database. This would only be possible if all the modules
are developed at a single developer as in the case of ProEngineer or Unigrapchis for
CAD/CAM integration.
Wireframe modeling
Surface modeling
Solid modeling
Extrusion
40
CAD/CAM
Sweeping
Feature modeling
Lofting
Tweaking
Wireframe Modeling
Wireframe modeling uses geometric primitives for the construction of models. The
geometric primitives are points, lines, arcs and circles, conies, cubic curve, Bezier curve and
B-spline curve.
Surface Modeling
Surface models are generated by using surface primitives such as plane surface, ruled
surface, surface of revolution, tabulated cylinder, fillet surface, offset surface, Bezier surface,
B-spline surface and coons patch.
41
CAD/CAM
Solid Modeling
Extrusion
Sweeping
Sweeping is based on the notation of moving a point, curve, or a surface along a given
path. A sweep may be linear or non-linear. The linear sweep may involve extrusion or
revolving.
42
CAD/CAM
Feature Modeling
This creates solid models from a shape by an operation. The shape is a two-
dimensional sketch for example, ribs, bosses, cuts and holes. The operation may involve
extrusion, sweeping, revolving etc. Feature modeling is shown in below Figure.
Filleting
Filleting implies the rounding of a corner to eliminate its sharpness. The fillet radius
is the radius of the arc that connects filleted objects. Changing the fillet radius affects
subsequent fillets. If you set the fillet radius to 0, filleted objects are trimmed or extended
until they intersect, but no arc is created. Filleting is shown in below Figure.
43
CAD/CAM
Tweaking
Tweaking uses several features to deform or alter (tweak) the surface of the part.
Tweaking is not applicable to CSG solid models, splitting sketch drafts is shown in below
Figure. This is because the CSG models retain the geometry and topology modeled from the
primitives. The tweak menu lists the following options:
Lofting
44
CAD/CAM
CURVATURE CONTINUITY
Two boundary curve segments shown in above figure are meeting at a vertex X. let
these two curves be described as f(u) and g(v). Where u and v are values in intervals [a, b]
and [m, n] respectively. The problem is: how these curves join together in a ‘smooth’ way.
Consider the ‘endpoint’ of curve f(u) and the ‘start point’ of curve g(m). If f(b) and
g(m) are equal as shown in above figure a, say curves f() and g() are C0 continuity at f(b) =
g(m).
If for all i<=k, the i-th derivatives at f(b) and g(m) are equal, say that the curves are
Ck continuity at point f(b) = g(m). Intuitively,
C0 continuity (point/ position continuity) – Continuity of end point only (or) continuity of
position
C1 continuity (tangent continuity) – Tangent continuity or first derivate if position
C2 continuity (curvature continuity) – Hydrodynamic character, light reflection curvature
continuity (or) second derivative of position
45
CAD/CAM
Bezier Curve
A Bezier curve is defined by a set of data points. The curve may interpolate or
extrapolate the data points. Some CAD systems offer both options; others offer the
interpolation version only. In both cases, the data points are used to control the shape of the
resulting curves.
Bezier curves and surfaces are credited to P. Bezier of the French car firm Regie
Renault, who developed (about 1962) and used them in his software system called
UNISURF, which designers used to define the outer panels of several Renault cars. These
curves, known as Bezier curves, were also independently developed by P. DeCasteljau of the
French car company Citroen (about 1959), which used them as part of its CAD system. The
Bezier UNISURF system was soon published in the literature; this is the reason that the
curves now bear Beziers name.
As its mathematics show, the major characteristics of the Bezier curve are:
1. The shape of the Bezier curve is controlled by its defining points. Tangent vectors are not
used in the curve development as is the case with the cubic spline. This allows the
designer a much better feel for the relationship between input (points) and output (curve).
2. The order or the degree of Bezier curve is variable and is related to the number of
points defining it. n + 1 points define an nth degree curve, which permits higher-order
continuity. This is not the case for cubic splines, where the degree is always cubic for a
spline segment.
The data points of a Bezier curve are called control points. They form the vertices of
what is called the control or characteristic polygon, which uniquely defines the curve shape
as shown in Figure 6.30. Only the first and the last control points or vertices of the polygon
actually lie on the curve. The other vertices define the order, derivatives, and shape of the
curve. The curve is also always tangent to the first and last polygon segments. In addition, the
curve shape tends to follow the polygon shape.
These three observations should enable the user to sketch or predict the curve shape
once its control points are given as illustrated in below Figure. The figure shows that the
order of defining the control points changes the polygon definition, which changes the
resulting curve shape. The arrow shown on each curve shows its parameterization direction.
46
CAD/CAM
Mathematically, for n + 1 control points, the Bezier curve is defined by the following
polynomial of degree n:
Where P(u) is a point on the curve and P j is a control point. Bi, n is the Bernstein
polynomials. Thus, the Bezier curve has a Bernstein basis. The Bernstein polynomial serves
as the blending or basis function for the Bezier curve and is given by
Utilizing above two Equations 2 and 3 and observing that C(n, 0) = C(n, n) = 1, Equation 1
can be expanded to give:
47
CAD/CAM
Since all basis functions are in the range of 0 and 1 and add to one, they can be
considered as weights in the computation of a weighted average. More precisely, we
could say "to compute P(u), one takes the weight B n , i (u) for control point Pi and sum
them together."
6. Convex hull property: This means that the Bezier curve defined by the given n + 1 control
points lays completely in the convex hull of the given control points. The convex hull of a
set of points is the smallest convex set that contains all points. In below Figure, the
convex hull of the 11 control points is shown. Note that not all control points are on the
boundary of the convex hull. For example, control points 3, 4, 5, 8 and 9 are in the
interior. The curve, except for the first two end points, lies completely in the convex hull.
This property is important because we are guaranteed that the generated curve will be in
an understood and computable region and will not go outside of it.
7. Variation diminishing property: If the curve is in a plane, this means that no straight line
intersects a Bezier curve more times than it intersects the characteristics polygon. Line 1
intersects the curve three times and the polyline seven times; line 2 intersects the curve
and its polyline twice; the line 3-intersects the curve four times and the polyline seven
times. You can draw other straight lines to verify this property. So, what is the meaning
of this characteristic? It tells us that the complexity (i.e., turning and twisting) of the
curve is no more complex than the characteristic polygon. In other words, the
characteristic polygon twists and turns more frequently than the Bezier curve does,
because an arbitrary line hits the control polyline more often than it hits the curve.
48
CAD/CAM
8. Affine invariance: If an affine transformation is applied to a Bezier curve, the result can
be constructed from the affine images of its control points. This is a nice property. When
we want to apply a geometric or even affine transformation to a Bezier curve, this
property states that we can apply the transformation to control points, which is quite easy,
and once the transformed control points are obtained the transformed Bezier curve is the
one defined by these new points. Therefore, we do not have to transform the curve.
9. Moving control points: Changing the position of a control point will change the shape of
the defined Bezier curve. Suppose a control point Pk is moved to a new position P k + v,
where vector v gives both the direction and length of this move.
49
CAD/CAM
50
CAD/CAM
51