Autocad-Lecture 3
Autocad-Lecture 3
Autocad-Lecture 3
College of Engineering
Computer Engineering Department
Lecture 3
By
Lecturer. Abdullah Thair Abdulsattar
Eng. Sabreen abdellmajeed
2020-2021
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
Lecture 3
In This lecture
2
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
3
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
4
LECTUR E 3 AutoCA D
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
This command will draw a rectangle or square shape. The Rectangle command will use a polyline
as an object. To issue this command go to the Home tab, locate the Draw panel, then select the Rectangle
button:
5
LECTUR E 3 AutoCA D
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
6
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
7
LECTURE 3 AutoCA D
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
This command will enable you to draw straight lines; each line segment presents a single
object. To issue this command go to the Home tab, locate the Draw panel, and then select the
Line button:
8
LECTUR E 3 AutoCA D
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
We typed the letter m, and accordingly AutoCAD gave us all the commands starting with this
letter. While Dynamic Input is on, this is applicable to the crosshairs as well, as in the following:
9
LECTURE 3 AutoCA D
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
Let’s assume we started the command window, using either way. Once you press [Enter], the
following prompt will appear:
Type in the x and y coordinates, using the [Tab] key to move between the two fields:
10
LECTUR E 3 AutoCA D
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
NOTE- Angles are measured CCW starting from the east, but only for 180°, unlike the angle
system in AutoCAD, which will be for the whole 360°.
Type the length of the line, then press [Tab] to input the angle (it will give 1° increments); once
you are done, press [Enter] to specify the first line. Continue doing the same for the other
segments:
11
LECTUR E 3 AutoCA D
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
However, what if we want to use other angles such as 30, 45, 60, etc.? Ortho will not help in this
case; for this reason, AutoCAD introduced an- other function called Polar Tracking, which will
show in the graphical area rays starting from the current point heading toward angles like 30, 45,
etc. Since Ortho and Polar Tracking contradict each other, when you switch one on, the other
will be turned off automatically. In order to turn on/off Polar Tracking, use the following button
in the status bar:
12
LECTUR E 3 AutoCA D
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
If you click the small triangle at the right of the button, you will see the following menu:
You can select the desired angle or select Tracking Settings to change some of the default settings
of Polar Tracking. You will see the following dialog box:
13
LECTUR E 3 AutoCA D
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
3.3.6Additional Angles
If you are using 30 as your increment angle, then 45 will not be among the angles that Polar
Tracking will allow you to use. Hence, you will need to specify it as an additional angle.
However, be aware you will not use its multiples.
NOTE- While you control the angle using either Ortho or Polar Tracking, you can type in the
distance desired and then press [Enter] to draw accurate distances. This method is called Direct
Distance Entry.
14
LECTUR E 3 AutoCA D
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
1. Start AutoCAD
2. Open Practice 2-2.dwg
3. Draw the following shape (without dimension) using line command, starting from 0,0 as your
starting point, bearing in mind you have to use Polar Tracking. Set the proper Increment angle
and Additional angles, using the Direct Distance Entry method to input the exact distances:
4.Save and cl
15
LECTUR E 3 AutoCA D
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
Object Snap, or OSNAP, is the most important accuracy tool to be used in AutoCAD for 2D
and 3D as well. It is a way to specify points on objects precisely using the AutoCAD database
stored in the drawing file.
Some of the Object Snaps are:
■ Endpoint: To catch the Endpoint of a line, or arc
■ Midpoint: To catch the Midpoint of an a line, or arc
■ Intersection: To catch the Intersection of two objects (any two objects)
■ Perpendicular: To catch the Perpendicular point on an object
■ Nearest: To catch a point on an object Nearest to your click point
We will discuss more object snaps when we discuss more drawing objects.
Here are graphical presentations of each one of these OSNAPs:
16
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
If you click the small triangle at the right of the button, you will see the following menu:
17
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
You can switch on the desired OSNAPs one by one. If you want to make a more convenient
change, select the Object Snap Settings option, and the following dialog box will appear:
There are two buttons at the right: Select All and Clear All. We recommend using Clear All first
and then selecting the desired OSNAPs. When done, click OK.
18
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
19
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
This command will draw a circle using different methods based on the available data. If
you know the coordinates of the center, there are two possible methods. If the user knows the
coordinates of points at the diameter of the circle, there are another two methods. Finally, if there
are drawn objects like lines, arcs, or other circles which can be used as tangents for the to-be-
created circles, there are two more methods. The following are the six methods to draw a circle
in AutoCAD:
20
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
To issue this command, go to the Home tab, locate the Draw panel, then select the arrow near
er
the Circle button to see all the available methods
This command will draw an arc part of a circle. To make our lives easier, AutoCAD uses
eight pieces of information related to a circular arc. These are:
■ The starting point of the arc
■ Any point as a second point on the parameter of the arc
■ The ending point of the arc
■ The Direction of the arc, which is the tangent that passes through the Start point. User should
input the angle of the tangent
■ The distance between the starting point and the ending point which is called Length of Chord
■ The Center point of the arc
■ The Radius
■The angle between Start-Center-End which is called Included Angle Check the following
illustration:
21
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
If you provide three of these eight pieces of information, AutoCAD will be able to draw an arc,
but not with any three. The combination of the information needed can be found in the Home
tab, using the Draw panel, while clicking the arrow near the Arc button to see all the available
methods:
As you can see, the Start point is always required information. Normally the user should think
counterclockwise when specifying points, but if on the other hand you want to work clockwise,
simply hold the [Ctrl] key and it will change.
22
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
Sometimes OSNAP alone is not enough to specify desired points, especially if we need
complex points. To solve this problem in the past we used to draw dummy objects to help us
specify complex points, like in the case when you want to specify the center of the circle at the
center of a rectangle. We used to draw a line from the midpoints of the two vertical lines, and the
same for the horizontal lines. But since the introduction of Object Snap Tracking, or OTRACK,
in Au -to CAD 2000, the drawing of dummy objects diminished. OTRACK depends on active
OSNAP modes, which means if you want to use the midpoint, OTRACK requires that you switch
the midpoint on first. To activate OTRACK go to the status bar and click the Object Snap Track
king button on:
23
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
24
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
Polar command will have a major contribution here as well. Let’s go back to the same dialog
box:
This means you can use the current Polar angles (increment and additional angles) to specify
points using OTRACK.
NOTE - To deactivate an OTRACK point, stay at the same point again for a couple of seconds,
and it will be deactivated.
25
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
5.Using OSNAP and OTRACK (using two points), draw the circle at the center of the shape
(Radius = 3.0)
26
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
6.Using OSNAP and OTRACK (one point) draw the two circles at the right and left (distance
center-to-center = 5.0, and Radius = 0.5)
7.Change the increment angle in the Polar Tracking dialog box to 45. Make sure that Track using
all polar angle settings is on, draw a circle (Radius = 0.5), its center specified using OSNAP,
OTRACK, and polar tracking as shown below:
8.Do the same procedure to draw a circle at the top, to end up with the final shape as follows:
27
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
28
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
29
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
command. The process for Half width is the same, but instead of specifying the full width, you
specify half width.
The Undo and Close options are identical to the ones at the Line command.
Length will specify the length of the line using the angle of the last segment.
Arc will draw an arc attached to the line segment; you will see the following prompt:
Specify endpoint of arcor[Angle/CEnter/CLose/Direction/Half width/Line/Radius/Second
pt/Undo/Width]:
The arc will be attached to the last segment of the line, or will be the first object in a Polyline
command; using either method, the first point of the arc is already known, so we need two more
pieces. AutoCAD will make an assumption (which you have the right to reject): AutoCAD will
assume that the angle of the last line segment will be considered the direction (tangent) of the
arc. If you accept this assumption, you should specify the endpoint. If not, choose from the
following to specify the second piece of information:
■The Angle of the arc
■The Center point of the arc
■Another Direction to the arc
■The Radius of the arc
■The Second point which can be any point on the parameter of the arc
Based on the information selected as the second point, AutoCAD will ask you to supply the third
piece of information, but by all means it will not be out of the eight we discussed before.
NOTE- Normally the user should think counterclockwise when specifying points; on the other
hand, if you want to work clockwise, simply hold the [Ctrl] key and it will change.
30
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
: In order to turn the Grid on/off, use the following button in the status bar
Most likely, switching both on will not help; you will need to modify the settings to set your own
requirements. Using the small triangle at the right of the Snap button, you will see the following:
Select the Snap Settings option; the Drafting Settings dialog box will pop up:
31
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
Input the Snap X Spacing and Snap Y Spacing (by default they are equal ). Switch off the
check-box to make them unequal. Do the same for the Grid Spacing in X and Y. If you want
the Grid to follow Snap, set the Grid spacing to zeros. In the Grid there are major and minor
lines; set the major line frequency.
Set if you want to see the Grid in dots (as it was before AutoCAD 2011) and where (2D Model
space, Block editor, or Sheet layout).
Grid behavior is for 3D only.
Specify the type of Snap: Grid Snap or Polar Snap.
The user can use function keys to turn on/off both Snap and Grid:
■ F9 = Snap on/off
■ F7 = Grid on/off
32
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
While using the Snap command, the mouse will use the increment distance to specify the
exact distance only in horizontal and vertical directions. While going diagonally, Snap will not
help you. To solve this problem AutoCAD provided the concept of Polar Snap, which will specify
exact increments using all the angles specified in the Polar Tracking dialog box. To activate the
Polar Snap, AutoCAD will switch off the normal Snap (which is called Grid Snap). To do that
go to the Snap button, click the triangle at the right of the button, and select the Snap Settings
option, which will bring up the following dialog box:
Select the Polar Snap button, then specify the the Polar distance as shown in the above
illustration.
33
LECTURE 3 AutoCAD
Lecture. Abdullah Thaier Abdalsatir Department of Computer Engineering
Eng. Sabreen abdellmajeed first stage: drawing by using computer
34
LECTURE 3 AutoCAD