CAD Module I
CAD Module I
A)
Mechanical Engineering
• But over the last 35 years, CAD has come to refer more specifically
to Computer Aided Design and Drafting.
• Electronics
• Automotive engineering
• Industrial Design
• Visual Art
The CAD process is a subset The CAM process is a subset of At the core of CAD/CAM processes lies
of the design process the manufacturing process the geometric modelling of the product
Activities in CAD process: mass properties, FEA, dimensioning, tolerancing, assembly modelling, and
documentation and drafting.
Activities in CAM process: computer aided process planning, NC programming, design of injection molds,
coordinate measuring machines, inspection, assembly via robots, and packaging.
Input/Output devices
4 Number Device Input/output
1 2 3
1 Mouse Input
2 Fax Output
3 Joystick Input
4 Drum Plotter Output
5 8
6 7 5 Keyboard Input
6 Printer Output
7 Monitor Output
8 Digital Camera Input
9 10
9 Trackerball Input
10 Scanner Input
11 Graphics Tablet Input
• Backing-up files – To ensure that there is a duplicate copy in case files are accidentally
corrupted or deleted.
• Archiving files – Files that are not being used can be removed from the hard drive to
free up valuable storage space.
• Types of Discs
• Zip disc – similar to floppy disc but with much greater storage. Capacity: 100MB
• Memory Stick/Pen Drive – more compact, more reliable. Storage: 128MB, 32GB
Cathode ray tube
Different coordinate systems
• Coordinate systems and sketch planes are the most important concepts in a
CAD system, and they are used to input, store and display model geometry
and graphics.
An example
Working coordinate system
• The user coordinate system is called the WCS.
• It is often convenient to work on an auxiliary coordinate system instead of MCS.
• This is usually useful when a desired plane (face) of construction is not easily
defined as one of the MCS orthogonal planes.
• Hence, the WCS is a convenient user-defined system that facilitates geometric
construction, and it can be established at any position and orientation in space
that the user desires.
• While the user can input data in reference to the WCS, the CAD software
performs the necessary transformations to the MCS before storing the data.
• A WCS requires three noncollinear points to define its XY plane. The first
defines the origin, the first and the second define the X axis, and the third point
with the first define the Y axis.
• There is only one active WCS (sketch plane) at any one time.
• If the user defines multiple WCSs in one session during a model construction,
the software recognizes only the last one and stores it with the model
database if the user stores the model.
• How is the WCS related to the MCS, and vice versa?
• Once a WCS is defined, user coordinate inputs are interpreted by the
software in reference to this system.
• The software calculates the corresponding homogeneous transformation
matrix between the WCS and the MCS to convert these input values into
coordinates relative to the MCS before storing them in the database.
• The transformation equation can be written as: Pm=[T]Pw where Pm is the
position vector of a point relative to the MCS and Pw is the vector of the
point relative to the active WCS. Each vector is given as: P=[x y z]T .
• The matrix [T] is the homogeneous transformation matrix (4x4), given as:
Screen coordinate systems
• In contrast to the MCS and WCS, the screen
coordinate system (SCS) is defined as a 2D
device-dependent coordinate system whose
origin is usually located at the lower left corner
of the graphics display, as shown in the Figure.
• SCS is used as the reference in defining a location on a display monitor.
• SCS refers to the actual coordinates to be used for displaying the image on the
screen.
• The virtual size will be larger than the actual screen resolution.
• The physical dimensions of a device screen (aspect ratio) and the type of
device (raster) determine the range of the SCS.
• A 1024 1024 display has an SCS with a range of (0,0) to (I024,1024). The
center of the screen has coordinates of (512,512).
• This SCS is used by the CAD/CAM software to display relevant graphics by
converting directly from MCS coordinates to SCS (physical device) coordinates.
• A normalized SCS, ranging from (0,0) to (1, 1 ), can also be chosen.
• A transformation operation from MCS coordinates to SCS coordinates is
performed by the software before displaying the model views and graphics.
Sketching operations
2D operations:
• The first step in CAD modeling is
creating/selecting the sketch plane,
followed by the CAD modeling, also
referred to as the sketching.
• CAD systems offer many sketching
commands/tools, which allow us to create
various 2D shapes using geometrical
entities such as lines, circles, arcs, fillets,
rectangles, and chamfers.
• All CAD systems offer these sketching
tools (e.g.: the 2D sketch prepared by all
of you in the CAD Lab).
3D models:
• We can take the 2D sketches that we create and apply various 3D operations to
them to obtain various features and surfaces, which we call CAD models.
• CAD systems offer many 3D operations for both solids and surfaces such as
extrusion, revolve, cut, holes, ribs, chamfers, fillets, sweeps, and lofts.
• These commands can be selected using the menu bar or toolbar approach.
• It is important to know at this stage that 3D operations may require more than
one sketch in order to completely define the feature or surface.
2½D models:
• 2½D models are the ones that have uniform cross section and thickness in a
direction perpendicular to the plane of the cross section.
• Axisymmetric models also fall under this category.
• Models that are made up of many 2½D features also fall into this category;
however just to distinguish them we may call them composite 2½D models.
2½D vs 3D models
• 3D models are the ones that do not have a uniform cross section and/or do not
have a constant thickness. Such models usually require more than one sketch in
different sketch planes and use advanced commands such as sweep and loft.
These features are universal, and different software may name it differently in
their respective code.
• An extrusion feature is used to create a uniform-thickness model. It requires a
cross section and an extrusion vector (direction and a distance) as shown below.
Extrusion Revolve
Sweep
• A loft feature is used to create a model with a variant cross section along a
linear/nonlinear axis. It is a generalization of the sweep feature. It requires a set
of cross sections as shown below. A guide curve may be used to blend the cross
sections. If no guide curve is specified, a linear blending is assumed.
Loft
• The fillet and chamfer features are used to change the corners of a model. A
fillet rounds the corner, thus eliminating its sharpness. This is a good
engineering practice because it reduces the stresses around the corners. A
chamfer creates a transition between two edges of a model.
• A rib feature is used as a stiffener for models. It can be viewed as an extrusion.
It requires a line, the faces to stiffen, and a thickness as shown below.
Rib
Fillet Chamfer
• A shell feature is used to carve out material from a model by "shelling" it. It
requires a face to shell and thickness to keep as shown below.
Shell
Spiral
• A helix feature is used to create helical springs. The helix is considered a sweep
along a helix curve as shown below. It requires a (circular) cross section and a
helix curve. The helix curve requires a pitch and the number of revolutions. The
helix can be created tapered if needed.
Helix
Modelling aids and tools
Layers
• The users of CAD/CAM systems may want to group and/or separate certain types of
information related to the models or parts they create on these systems.
(E.g.) Problem: A user may want to separate the dimensions and other drafting
information from the geometry of a given model.
Solution: This can be accomplished by using layers.
• Most CAD/CAM systems provide their users with a large enough number of layers,
which begins at 0 or 1 and is incremented by 1.
• Users can use any layer numbers, within the range, in their CAD models.
• A layer can be thought of as a sheet of transparency.
• Users can mix and organize these sheets as they desire to deal with and/or present
their models effectively.
• A user can assign geometric entities to layers, turn layers on/off, and assign colors.
Create/delete/modify layers
➢#3.6 Groups
➢#3.14 Offsetting
➢# 3.15 Editing