AUTOCAD Module 2 (Lectures 1-3)
AUTOCAD Module 2 (Lectures 1-3)
The term CAD (Computer Aided Design) applies to a wide range of programs
that allow th user to created drawings, plans, and designs electronically. AutoCAD is
one such program and it main claim to fame is that it is relatively easy to use, it is
very comprehensive in its ability to create 2D and some 3D drawings, and it is very
popular. Seventy percent of the CAD users in the world use AutoCAD.
I Starting AutoCAD
You can start AutoCAD by either double clicking on the program Icon on the
desktop or by clicking on the program name in the Start menu.
The program will start and after a minute or so should display a screen similar
to the one shown below. The dialog box in the middle will aid you in getting started
at either creating a new drawing or continuing your work on a drawing that is not
finished.
“A” Icon
If you are continuing work on a drawing, click on the “A” icon in the extreme
upper left corner of the window and Open->Drawing. A “Select File” dialog box will
open allowing you to select the drawing file you want to open.
AutoCAD has a very versatile user interface that allows you to control the
program in several different ways. At the top of the window is a row of menus.
Clicking on the Home, Insert, or Annotate causes another selection of menus to
appear. This new selection of commands is frequently called a Ribbon or a
Dashboard. You can operate the program by clicking on the icons in these menus.
Another method of using the program is typing in the command names. This
is frequently faster than using drop down menus for frequently used commands
because you do not have to search for the correct menu or icon. You just type in the
command name. For the most part, we will use this approach in this series of
Now that you have started AutoCAD and configured tool bars you want, you
are ready to start learning to use the program. We will start with relatively simple
commands and eventually, in later lessons, look at some of the more complex things
that AutoCAD can do. The first command we will look at drawing straight lines. At
the keyboard, type:
line
and press the ENTER key. You can use either upper or lower case when you type in
AutoCAD commands.
The program will respond with:
Each line has a beginning and ending point and the program wants you to
specify the beginning point of the line. You enter the beginning point by either typing
the point coordinates at the keyboard or by clicking the mouse on a location of the
screen where you want the line to begin. It is certainly much simpler to click with the
mouse than it is to type in coordinates but engineering drawings are drawn precisely
to scale and for the most part we will have to enter coordinates from the keyboard.
When you type a coordinate, enter the X or horizontal coordinate first
followed by a comma and the Y or vertical coordinate. You cannot enter a space
between the two coordinates. AutoCAD interprets a space as the ENTER key and
assumes that you have finished entering the coordinates.
For Example, you could type:
To Point:
If you want a horizontal line that is 5 units long, you enter the coordinates
@5,0 which is shown below.
To Point: @5,0 5.0
line
Specify First Point: 8.5,6 {these are the coordinates of the end
of the first line we drew}
To Point: @-2,2
To Point @2,2
To Point @-5,0
To point {Press ENTER without entering
coordinates. This will end the line
command}
4.0
V Erasing Objects
2.0
First Line
AutoCAD calls lines, circles,
arcs and other things that you draw
objects. You can erase any of these 3.5,6 5.0 8.5,6
objects by typing the command:
ERASE
You select the objects (lines, arcs, circles, etc.) in several different ways. The
easiest way is to click on the object you want to erase. When you do, the object is
redrawn as a dashed line. This shows the object has been selected for deletion. Click
on all of the objects that you want to erase then press the ENTER key to terminate the
command and erase the objects.
AutoCAD commands frequently have command modifiers that change the
way the command works. For the ERASE command, you can type:
ERASE ALL
and AutoCAD selects all of the objects in the drawing for erasure. The word ALL
modifies the way command works.
Another option is:
ERASE W
The W stands for window which allows you to select the objects by drawing a
box around them. First click above and to the right of the objects that you want to
erase. When you do, the mouse pointer changes to an elastic box with one corner
fixed at the place where you clicked. Move the mouse until the box completely
covers the information you want selected and click the mouse button again. All of the
objects inside the box will be selected for erasure. Press the ENTER key to erase the
objects.
You can type E to start the ERASE command.
VI Oops
If you make a mistake and erase something that you did not want to erase,
type:
OOPS
to undo the last erasure. OOPS always undoes the last erasure even though you have
continued with other commands since the objects were erased.
If you start a command and do not want to complete it, you can press the Esc
key to cancel the command. For some commands, you may have to press the key
more than once. Keep pressing the Esc key until you see the Command: prompt at
the bottom of the screen.
The ARC command is used to draw arcs. We can use this command to draw
the semicircle on the left side of the object. Enter:
2.0
First Line
IX Drawing Circles
3.5,6 5.0 8.5,6
Circles are created with the
CIRCLE command. Type:
CIRCLE
3P/2P/TTR/<Center point>:
There are several different ways you can define a circle. In the computer
response above, the words Center point are surrounded by angle brackets and this
shows you the program is expecting you to enter the coordinates of the center of the
circle. You can either type the coordinates or click with the mouse. The quantity in
angle brackets is always the default selection for a command. The letters
3P/2P/TTR/are options you can use to modify the input required to create a circle.
These options are:
We can complete the drawing by drawing a circle. The center of the circle is
two units vertically above the beginning point where we started the drawing. The
coordinates for the center of the circle are 3.5,8. The circle has a diameter of 2.0.
circle
Specify center point for circle or [3P/2P/Ttr]: 3.5,8
Specify radius of circle or [Diameter]: d
Specify diameter of circle: 2
4.0
3.5,8 2.0
First Line
X Program Help
If you make a mistake with a command you can undo anything it has done by
typing U at the command prompt. The entire effects of the last thing you typed will
be undone and AutoCAD will return to the state it was in prior to the typing.
If you are inside a LINE or other command, you can enter U to undo the last
coordinates entered or the last option selected.
You can undo the last command by holding down the Ctrl key and pressing Z.
Each time you press Z, AutoCAD will remove the last command. If your press Z five
times, it will backup through the last five commands.
You enlarge or reduce the size of an object on the screen with the ZOOM
command. At the command prompt type:
ZOOM
There are many options to the ZOOM command. Some of the more useful are:
All Change the scale so that all of the drawing is shown in the window.
Scale Enter a scale factor in the form nX where n is a scaling factor and X is just
the letter X. A number larger than 1 makes the drawing appear larger and
a number smaller than 1 makes the drawing smaller. For example 2
makes the drawing twice as large as it currently is and .5 makes the
drawing half its current size.
Window Allows you to draw a window around the area of the drawing you want to
see enlarged. The window is drawn by selecting opposite diagonal
corners with the mouse.
You can start the ZOOM command by just typing ZOOM or Z at the
command prompt.
A very easy to zoom in or out can be done with the mouse. Move the mouse
till it is near a location you want to remain on the screen. Roll the wheel between the
two mouse buttons forward to make the object larger and roll it backwards (towards
you) to make the object on the screen smaller.
If you zoom in to make the object larger, the object you want to see can zoom
off of the screen if you did not place your mouse close to it before you started
zooming. If it does scroll off of the screen, move your mouse over until it is as close
as you can get to the object, hold down on the wheel, and drag the screen over until
you can see the object you want to see. This operation is called PANNING.
The drawing area is as large as you need it to be. The usable drawing area
does not just consist of the area that you can see. You can pan around the drawing
area to reveal areas of your drawing that are out of view. You can also ZOOM in and
out to reveal more or less of the drawing area. Because the drawing area is so large, it
is a good idea to indicate the region that you wish to use. This is your drawing size or
limits. This is usually the area that will be printed. You can change your drawing size
using the LIMITS command.
Setting your drawing size type:
limits
Specify lower left corner or [ON/OFF] <0.0000,0.0000>: {Enter the lower left
corner of your limits.
XV Shortcuts
AutoCAD has many short cuts that make the work easier. One very useful
one is pressing the ENTER key to repeat the last command.
Periodically, you should save your work. You can do this by clicking on the
“A” icon then selecting “Save” with your mouse. You can also save your work by
typing Ctrl S (holding down the Ctrl key and pressing the S key.)
The first time you do this, AutoCAD produces a dialog box that allows you to
select the file folder where you want the files saved and the name you want to use for
the drawing. The next time you use the command, AutoCAD saves the file at the
same location using the same name.
You terminate the program by clicking on “A” then “Exit AutoCAD” in the
lower right corner of the pull down menu. The program asks you if you want to save
the changes you have made to the drawing. You should click on the “Yes” button to
save the changes.
LINETYPE
Manage
Layers
Create New
Layer
Layer Line
Name On/Off Frozen
Type
Lines, circles, and arcs belong to layers and each layer determines how the
lines, circles, and arcs will be drawn. The layer controls the color, line type, line
weight and several other attributes for the layer. These attributes are:
Layer Name The name used for the layer. Each layer has a
unique name.
Line Weight This attribute controls how thick the line is when
it is drawn on the screen and plotted. The
varying thickness on the screen can be turned on
and off using a button at the bottom of the main
window.
This dialog box allows you to create new layers and define their attributes.
Click on the Create New Layer button and create layers with the names: OBJ, PROJ,
OBJ This layer is used for line that make up the objects we are
drawing.
PROJ This layer is used for lines that project from one view to the
next. They aid in the placement and size of the views.
For the HIDE layer, click on the Line Type and select hidden from the list of
loaded line types. This is the line type we added when we loaded line types in a
previous step. We did not have to load the line types during that step, we can load
them now. Click on the line type for the CENTER layer and in the line type dialog
box click on the LOAD button. Now search for CENTER2 in the line types, click on
it then click on OK to load the line type also. You can now select it for the CENTER
layer.
The lines drawn in each layer can have different weights. Click on the line
weight for the OBJ layer and set the line weight to 0.3 mm. When you have finished
that, click on the line weight for FOLD and set the line weight to 0.5 mm. We will
use different line weights for the object lines and for the folding lines between views.
All other layers will use the DEFAULT line weight which is the thinnest line the
graphics device can produce. @0,1.4
@-1.2,0
@0,.8
LINE
From point: 1,1 {Start the drawing here for convenience}
To point: @3.2,0
To point: @0,.8
To point: @-2,0
To point: @0,1.4
To point: @-1.2,0
CIRCLE
3P/2P/TTR/<Center Point>: 1.6,2.2
Diameter/<Radius>: D
Diameter: 1
The finished drawing with the circle is shown above. This is the front view of
the object.
We set the OBJ layer lines to a line weight of 0.3 mm but you will probably
notice that they are not being drawn any heavier than any other line. We need to turn
that feature on. At the bottom left of the screen, you will see a number of buttons
which are shown in the figure below. These buttons help us control the drawing
process.
Polar Object
Tracking Snap
Click on the “Line Weight” button to turn on the display of heaver lines.
ORTHO Mode
Drawing perfectly horizontal and vertical lines with the mouse is very
difficult, but AutoCAD can assist you. At the very bottom of the AutoCAD window
is a small icon shown above called ORTHO. ORTHO is an AutoCAD setting. When
ORTHO is on, you can only draw vertical and horizontal lines with the mouse and
when ORTHO is off, you can draw lines in any direction. You turn ORTHO on and
off by clicking on the ORTHO icon at the bottom of the window or by typing the
ORTHO command. When you click on the icon, the background of the icon changes
colors indicating the ORTHO setting is on. You can turn the setting on and off while
you are in the LINE or other commands by just clicking on the icon.
The ORTHO setting does not affect lines drawn by entering coordinates.
ORTHO
ON/OFF/<off>: ON {Turn the ORTHO setting on so we can only draw
horizontal and vertical lines}
Draw the folding lines with the LINE command. Visually select a starting
place for the folding lines. You could locate the lines with coordinates but that is not
really necessary.
LINE
From point: {Click on an appropriate
point to draw the
horizontal folding line}
To point: {Move the mouse to the
right and extend the
folding line out as far as
you think will be
necessary. The Ortho
Mode is on so the line is
horizontal.}
OSNAP
LAYER
{Make projection lines the current
layer}
EXTEND
Select boundary edge(s)... {Click on the left side and bottom
of the object. Press Return after
you have selected the two
edges}
Select objects to extend: {Click on the two lines starting at
the center of the circle. After
extending these two lines press
Return}
Enter:
Line
Specify first point: {click at the intersection of the folding lines}
Specify next point: @6<45 {Create a line that is 6 long at an angle of 45 degrees from
horizontal}
Specify next point: {End line command}
Cutting
You are now ready to draw the top Edges
view. Use the LAYER command to change
the current drawing layer back to OBJ and
then draw a horizontal line with the mouse.
This line represents the front of the object in Draw
the top view. This line should extend beyond Line
both the left most and right most vertical
projection lines. ORTHO is set to on so it
should be rather simple to draw this line with the mouse. The vertical placement of
the line is not important but the line should be as far from the top-front folding line as
the front view is.
You can use the TRIM command to trim the line you have just drawn so that it
has the proper length.
TRIM
Select cutting edge(s) ... {Click on the left and right projection lines. We
will trim the object line to these two lines. Press
Return after clicking on the two lines.}
Select objects to trim: {Click on the left and right ends of the line we
want to trim. It will be trimmed to the proper
length.}
2 – Near
Projection
Line
LINE
From point: NEAR
Of: {1 - Click on the projection line extending through the
center of the hole in the top view. Click where you
want the centerline to start}
To point: NEAR
Repeat the process for drawing the centerline in the right side view.
Next, we will draw the center lines for the hole in the front view. It is difficult
to draw the crossing type of center lines with two lines. The dashes usually do not line
up correctly and the center lines will not look right. These types of center lines are
best drawn using AutoCAD commands designed specifically to draw circle centers.
Click on the Annotate tab at the top left of the AutoCAD window then on the
Dimensions pull down under the dimension section of the ribbon. You should see a
pull down menu like the one shown below.
Circle Center
Button
Click on the Circle Center Button then click on the circle in the front view.
That will put a small cross in the center of the circle. If the cross is too small or too
big, you can adjust its size with the DIMCEN command. DIMCEN sets the size of the
plus that is drawn at the center of the circle. It should be large enough to see but not
so large that it dominates the center of the circle. Later on, we will use this circle
center for dimensioning our drawings.
dimcen
Enter new value for DIMCEN <0.0000>: .1
The DIMCEN command will not change the size of the plus after it is drawn.
If you draw the plus and it is not the right size, delete it, change the DIMCEN size, and
redraw it. Repeat this until it looks reasonable.
We are getting close to the end. We have drawn all three views and it is time
to turn off the display of the projection and folding lines. They are no longer needed.
Use the following method:
LTSCALE
New scale factor <1.0000> 0.5 {Changing the line type scale to 0.5
makes the dash length ½ its current
size. A factor smaller than one
reduces the size of the dashes and a
factor greater than one increases the
size. You can experiment with
different sizes until the line types
look correct.}
In Chapter 2 we looked at
drawing third angle orthographic
drawings. We used projection lines to
aid in the drawing the TOP and
RIGHT views. In this chapter, we will
draw first angle drawings using
projection lines to assist in drawing all
of the views. Our intent is to use the
projection lines as fully as possible in
order to eliminate the use of
coordinates.
We are illustrating the
techniques used here with first angle
projections. The same techniques can
be used just as well with third angle projections.
First and third angle projections only differ in the placement of the views.
This difference is shown in the diagram below.
Creating Layers
Before we start, you must create layers for the drawing. We are going to use
the same layers that you created last time. They are:
You may choose any color you want for the lines. Remember that it is
frequently better to have a different color for the projection lines than for the other
lines in the drawing. This makes it much easier to distinguish projection lines from
other types of lines.
Now that you have created all of the layers, switch to the OBJ layer. We will
start by drawing the bottom edge of the object on the left side of the pictorial shown
above. This first line is horizontal and 200 mm long. Type:
Line
Specify first point: 10,10 {Actually we could start the line anywhere and you
could use the line icon and select a starting
location with the mouse}
Specify next point: @200,0 {The line is horizontal and 200 units long}
Specify next point: {Press enter to end the command}
More than likely, you are not seeing all of the line. Some of it may have
disappeared off the screen or the line may not be visible at all. This is not a problem.
You can always bring the line back onto the screen with the command:
zoom
Specify corner of window: all {We tell AutoCAD we want to see everything
we have drawn. It will rescale the window so
that everything appears}
Regenerating model {This message indicates that AutoCAD had
to create a new viewing range to display the
picture.}
At this point, the line should appear on the screen. It may extend across the
entire screen so that you cannot see the end points. If this is the case, place the mouse
pointer on the line and roll the wheel towards you to make the line smaller. Continue
rolling the wheel towards you until the line is a small as it can be. This is the limit of
the AutoCAD regeneration range. To see the line even smaller, you must regenerate
the drawing again. Enter the command:
regen
Regenerating model {AutoCAD creates a new viewing range}
Now you can roll the wheel and make the line appear even shorter. You are
not actually changing the length of the line. The line is still 200 mm long. The only
thing you are changing is how AutoCAD displays the line. You can always
regenerate a drawing if you run into a limit while trying to make it larger or smaller
on the screen.
Projection Lines
ortho
Enter mode [ON/OFF] <OFF>: on
Make sure that object snap is turned on. We want to draw lines with the
mouse by snapping to endpoints, intersections, centers, and other features of lines that
have been drawn. OSNAP can be turned on by clicking on the icon in the bottom left
of the AutoCAD window. OSNAP is on when the button is highlighted. The icon is
shown in the figure on the right.
Horizontal Line
Start
Horizontal
Vertical Line Line
Switch to the PROJ layer and draw a vertical line extending down from the
left end of the line you have already drawn. Draw a horizontal line extending from
the right end of the line as shown in the drawing above.
The horizontal projection lines should be long enough to extend through the
RIGHT view and the vertical lines should be long enough to extend through the TOP
view.
The FRONT view of the object
we are drawing is shown below. Ø50 10
Enter:
offset
Specify offset distance: 120 {Offset distance to top of the object}
Select object to offset: {1 - Click on the horizontal projection line}
Specify point on side to offset: {2 - Click somewhere above the horizontal
projection line. This will create the new line
above the existing line}
Select object to offset: {Press Enter to end the command}
The other horizontal projection lines can be easily created using the OFFSET
command. The diagram below shows the offset distances for new lines. Use this
diagram to create the remaining horizontal projection lines. The dimensions show the
offset distance between the existing projection line and the new projection line you
are creating.
50
75
extend 2
Select boundary edges ...
Now you can offset the vertical projection line to create all of the other
vertical projection lines. Use the diagram below to assist in creating these lines.
50 50
100
200
The FRONT can be created now. Switch to the OBJ layer and use the LINE
command to draw around the FRONT view. Each corner of the object is at an
intersection of a horizontal and vertical projection line so the entire outline of the
object can be created by clicking.
The object contains rounds and fillets but do not worry about those at this
time. We will create them later. For
now, just draw the view with sharp
corners. When you have finished, you
should have a drawing similar to the
one shown on the right.
line
Specify first point: {1 - Click at the intersection of the two
folding lines}
Specify next point: @300<-135 {Angles are measured from the horizontal
axis with positive values in an
anticlockwise direction and negative
values in a clockwise direction.}
Specify next point: {Press Enter to end the command}
The folding lines with the 45 degree line are shown in the drawing on the
right.
Lines Created
1 – Beginning of Centerline
2 – End of Centerline
line
Specify first point: near {Use near to put the point on the projection line}
To {1 - Click on the projection line where you want the
centerline to begin}
Specify next point: near {Use near for the end point of the centerline}
To {2 - Click on the projection line where you want the
centerline to end}
Specify next point: {Press Enter to end the command}
When you have finished the centerline in the RIGHT view, continue on and
draw the centerline in the TOP view using the same technique.
We have completed most of the drawing, it is time for us to turn off the
projection and folding lines. Click on the layer control box and then click on the light
bulb icons for the PROJ and FOLD layers to turn them off. Your picture should look
something like the one shown on the
right.
Frequently when we use
different linetypes, the dashes do not
show. The reason may be that the
scale of the drawing is such that the
entire line is only one dash long or it
may be that the dashes are so small
they run together. The picture shows
this latter case. The dashes are too
small and they run together. We can
correct that with the LTSCALE
command.
dimscale
Enter new value for DIMSCALE <1.0000>: 30
The drawing is complete except for fillets and rounds in some of the corners.
We could add those with the arc command but there is a much easier method.
AutoCAD has a FILLET command that makes creating fillets and rounds a snap.
2 4
fillet
Current settings: Mode=TRIM,Radius=0.0 {The radius is zero which is too
small}
Select first object or
[Undo/Radius/Trim/Multiple]: r {Enter “r” to change the radius
of the fillet}
Specify fillet radius <0.0000>: 10 {The new radius is 10}
Select first object: {1 – Click on line}
Select second object: {2 – Click on line}
FILLET
Current settings: Mode=TRIM,Radius=10.0
Select first object: {3 – Click on line}
Select second object: {4 – Click on line}
The FRONT view with the two new fillets is shown above.
fillet
Current settings: Mode=TRIM,Radius=10.0
Select first object or
[Undo/Radius/Trim/Multiple]: t {We want to change how the
lines are trimmed after inserting
the fillet}
Enter Trim mode option
[Trim/No trim] <Trim>: n {Turn off trimming}
Select first object: {1 – Click on line}
Select second object: {2 – Click on Line}
The figure above shows the locations for references to line 1 and 2.