Lab Manual On Autocad
Lab Manual On Autocad
SUBJECT:
COMPUTER AIDED DESIGN & COMPUTER AIDED
MANUFACTURING (CAD/CAM) LAB
Lab Manual
on AutoCAD
TIP: Many AutoCAD commands require you to press ENTER to complete the command. You
know you are no longer in an AutoCAD command when you see a blank
blank command line.
TIPS
• SHIFT + the right mouse button brings up the object snap menus.
• Various screen locations for the mouse brings up different menus.
• Menus.
PAN
\Position
Position the cursor at the start location and press the left mouse button down. Drag the cursor to
the new location. You can also press the mouse scroll wheel or middle button down and drag the
cursor to pan.
Tips:
While in the PAN command, click with the right mouse button to see the following menu.
-Panning
Panning can also be done by using the window scroll bars.
bars
Zoom
Increases or decreases the apparent size of objects in the current viewport
1. Choose View, Zoom. Or
2. Click a Zoom icon. Or
TIPS:
While in the ZOOM command, click with the right mouse button to see the menu to the right.
NEW Command
Creating a new drawing file.
AUTOCAD 2D TUTORIAL
Or
Type LINE from the command prompt.
Command: LINE or L, ENTER from point:
Press (point) specify next point
Or
Pick [close/undo]: (point) specify next point, or
Pick [close/undo]: (point) ENTER to end line
Type U to undo the last segment; to point: U(undo)
U(undo
Or
Type C to create a closed polygon, to point: C(close).
Tips:
You can continue the previous line or arc by responding to the from point: prompt with a
space or ENTER.
Choose the right mouse button for the line pop-up
pop up menu to appear while in the line
command
A polyline is a connected sequence of line segments created as a single object. You can create
straight line segments, arc segments, or a combination of the two.
Choose Draw,Polyline. Or
Pick the Pline icon.
Orthogonal Lines
Controls lines from being drawn at various angles to straight lines. When the snap grid is rotated,
ortho mode rotates accordingly.
Circles
Diameter/<<radius>>:
TIPS:
Except for 3 point arcs, arcs are drawn in a COUNTERCLOCKWISE direction.
While in the arc command, press the right mouse button to select the following options for arcs:
Arc Examples
-33 point arc
Spline
Object/<enter
The elliptical arc is drawn counterclockwise between the start point and endpoint.
Fills an enclosed area or selected objects with a hatch pattern, solid fill, or gradient fill.
Find
When the ribbon is active, the Hatch Creation contextual tab is displayed. When the ribbon is
off, the Hatch and Gradient dialog box is displayed. If you prefer using the Hatch and Gradient
dialog box, set the HPDLGMODE system variable to 1.
Note:
To prevent memory and performance problems, the maximum number of hatch lines created
in a single hatch operation is limited. However,
However, you can change the maximum number of
hatch lines with the HPMAXLINES system variable.
To maintain performance for hatches with non-continuous
non continuous hatch lines, choose a predefined
hatch pattern rather than loading and setting a non-continuous
non continuous linetype.
linetype. Beginning
Beginning with
AutoCAD 2015-
2015-based
based products, the HPLINETYPE system variable suppresses the display
of non-continuous
non continuous linetypes in hatches by default.
To control whether object snaps ignore hatch objects, add or subtract 1 from the
OSOPTIONS system variable.
Choose
ose from several methods to specify the boundaries of a hatch.
Select objects
Determines a boundary from selected objects that form an enclosed area.
Find
You can create objects that represent half of a drawing, select them, and mirror them across a
specified line to create the other half.
Note: By default, when you mirror a text object, the direction of the text is not changed. Set the
MIRRTEXT system variable to 1 if you do want the text to be reversed.
Use an object selection method to select the objects to be mirrored. Press Enter to finish.
The two specified points become the endpoints of a line about which the selected objects
are mirrored. For mirroring in 3D, this line defines a mirroring plane perpendicular to
the XY plane of the user coordinate system (UCS) containing the mirror line.
MOVE (Command)
The objects you selected are moved to a new location determined by the distance and
direction between the first and second points.
The coordinate values are used as a relative displacement rather than the location of a base
point.
oint. The selected objects are moved to a new location determined by the relative
coordinate values you enter.
ROTATE (Command)
Rotates objects around a base point.
Find
You can rotate selected objects around a base point to an absolute angle.
Select objects
Use an object selection method and press Enter when you finish.
Specify base point
Specify a point.
Specify rotation angle
Enter an angle, specify a point, enter c , or enter r.
r
Rotation Angle. Determines how far an object rotates around the base point. The
axis of rotation passes through the specified base point and is parallel to the Z axis of
the current UCS.
Copy. Creates a copy of the selected objects for rotation.
To Rotate an Object
1. Click Home tab Modify panel Rotate. Find
2. Select the object to rotate.
3. Specify the base point for the rotation.
4. Do one of the following:
Enter the angle of rotation.
Drag the object around its base point and specify a point location to which you want to
rotate the object.
Enter c to create a copy of the selected objects.
Enter r to rotate
rotate the selected objects from a specified reference angle to an absolute angle.
STRETCH (Command)
Stretches objects crossed by a selection window or polygon.
Find
Objects that are partially enclosed by a crossing window are stretched. Objects that are
completely enclosed within the crossing window, or that are selected individually, are moved
rather than stretched. Some types of objects such as circles, ellipses, and blocks, cannot be
stretched.
Select objects
Specifies the portion of the object that you want to stretch. Use the cpolygon option or the
crossing object selection method. Press Enter when the selection is complete.
STRETCH moves only the vertices and endpoints that lie inside the crossing selection,
selectio n, leaving
those outside unchanged. STRETCH does not modify 3D solids, polyline width, tangent, or
curve-fitting
fitting information.
Base Point
Specifies the base point from which the offset for the stretch is calculated. This base point can be
outside the area being
being stretched.
Second point
Specifies a second point that defines the distance and direction of the stretch. The
distance and direction of this point from the base point defines how far the and in what
direction the selected portions of the object will be stretched.
Specifies that the stretch distance and direction will be based on the distance and
direction of the base point you specified from the 0,0,0 coordinates in the drawing.
Displacement
Specifies the relative distance
distance and direction of the stretch.
To set a displacement based on the relative distance from the current location, enter
distances in X,Y, Z format. For example, enter 5,4,0 to stretch the selection to a point that is
5 units along the X axis and 4 units along the Y axis from the original point.
To set the displacement based on the distance and direction from the 0,0,0 coordinates in the
drawing, click a location in the drawing area. For example, click a point at 1,2,0 to stretch
the selection to a point that
that is 1 unit along the X axis and 2 units along the Y axis from its
current location.
To Lengthen an Object
1. Click Home tab Modify panel Lengthen. Find
2. Enter dy (Dynamic Dragging mode).
3. Select the object you want to lengthen.
4. Drag the endpoint closest to the point of selection, and specify a new endpoint.
Extend Objects
Extending operates the same way as trimming. You can extend objects so they end precisely at
boundary edges defined by other objects. In this example, you extend the lines precisely to a
circle,
ircle, which is the boundary edge.
If you trim or extend a tapered 2D polyline segment, the width of the extended end is corrected
to continue the
the original taper to the new endpoint. If this correction gives the segment a negative
ending width, the ending width is forced to 0.
To select all displayed objects as potential boundary edges, press Enter without selecting any
objects.
3. Select the objects to extend and press Enter a second time when you finish selecting the
objects to extend.
To Trim an Object
1. Click Home tab Modify panel Trim. Find
2. Select the objects to serve as cutting edges. Press Enter when you finish selecting the cutting
edges.
To select all displayed objects as potential cutting edges, press Enter without selecting
select ing any
objects.
3. Select the objects to trim and press Enter a second time when you finish selecting the objects
to trim.
1. Type SCALE into the command line and press Enter. ...
2. Select the image you want to scale and press Enter.
3. Click at the base point.
4. Press R for reference.
5. Click at the first point of the known dimension, then select the end point of said dimension.
6. Enter the "true length" of said dimension and press Enter.
Break Objects
Use BREAK to create a gap in an object, resulting in two objects with a gap between them.
BREAK is often used to create space
space for block or text.
To break an object without creating a gap, specify both break points at the same location.
You can create breaks in most geometric objects except blocks, dimensions, multilines, and
regions. As an alternative, use EXPLODE on these types of objects, and create breaks in the
dissociated geometry. When COMMANDPREVIEW system variable is on, an interactive
preview of the command outcome is shown.
The result of the join operation varies depending on the objects selected. Typical applications
include
Note: You can also use the Join option of the PEDIT command to combine a series of lines, arcs,
and polylines into a single polyline
To Join Objects
To Break an Object
CHAMFER (Command)
Bevels or chamfers the edges of two 2D objects or the adjacent faces of a 3D solid.
Find
A bevel or chamfer is
The distances and angles that you specify are applied in the order that you select the objects.
Create
te 2D Chamfer
A bevel or chamfer can be defined by selecting two objects of the same or different object types:
lines, polylines, rays, and xlines.
First Line
Select the first of two objects or the first line segment of a 2D polyline to
t o define the chamfer.
Select the second object or line segment of a 2D polyline to define the chamfer.
You can also hold down the Shift key before selecting the second object or line segment
of a 2D polyline to extend or trim the selected objects to form a sharp corner. While Shift
is held down, a temporary value of zero is assigned to the current chamfer distance and
angle values.
If the selected objects are straight line segments of a 2D polyline, the line segments
seg ments can
be adjacent to each other or separated by one other segment. When the selected segments
are separated by a segment, the segment that separates them is removed and replaced
with the chamfer.
Note: Adding a chamfer or bevel to a hatch boundary that was defined with individual
objects results in the removal of hatch associativity. If the hatch boundary was defined
from a polyline, associativity is maintained.
Undo
Note: Line segments that are too short to accommodate the chamfer distance are not modified.
Distance
Sets the chamfer distances from the intersecting points of the first and second objects.
If both distances are set to zero, the selected objects or line segments are extended or trimmed so
they intersect.
Angle
Sets the chamfer distance from the intersecting point of the selected objects and the XY angle
from the first object or line segment.
Trim
Trim. Selected objects or line segments are trimmed to meet the endpoints of the chamfer
line. If the selected objects or line segments do not intersect with the chamfer line, they are
extended or trimmed before the chamfer line is added.
No Trim. Selected objects or line segments are not trimmed before the chamfer line is
added.
FILLET (Command)
Rounds or fillets the edges of two 2D objects or the adjacent faces of a 3D solid.
A round or fillet is
Create
te 2D Fillets
A round or fillet can be created between two objects of the same or different object types: 2D
polylines, arcs, circles, ellipses, elliptical arcs, lines, rays, splines, and xlines.
If the two selected objects are on the same layer, the arc defined is created on that layer.
Otherwise, the arc is created on the current layer. The layer affects object properties including
color and linetype.
The following prompts are displayed when creating a 2D fillet.
First Object
Select the second object or line segment of a 2D polyline to define the fillet.
You can also hold down the Shift key before selecting the second object or line segment
of a 2D polyline to extend or trim the selected objects to form a sharp corner. While Shift
is held down, a temporary value of zero is assigned to the current fillet radius value.
If the selected objects are straight line segments
segments of a 2D polyline, the line segments can
be adjacent to each other or separated by one other segment. When the selected segments
When a circle is selected, the circle is not trimmed; the fillet drawn meets the circle
ci
smoothly.
Undo
Polyline
Inserts a fillet at each vertex of a 2D polyline where two straight line segments meet. The fillets
become new segments of the polyline, unless the Trim option is set to No Trim.
Select 2D polyline
Radius
Sets the radius for subsequent fillets; changing this value does not affect existing fillets.
Note: A radius value of zero can be used to create a sharp corner. Filleting two lines, rays,
xlines, or line segments of a 2D polyline with a radius of zero extends
extends or trims the objects so
they intersect.
Trim
Controls whether the selected objects are trimmed to meet the endpoints of the fillet.
Trim. Selected objects or line segments are trimmed to meet the endpoints of the fillet.
No Trim. Selected objects or line
line segments are not trimmed before the fillet is added.
The current value is stored in the TRIMMODE system variable.
Note: If the fillet radius is set to 0, the selected objects are trimmed or extended until they
intersect;
rsect; no arc is created. When the fillet radius is set to 0, you can remove the arc segment
between two straight line segments or all arc segments from a 2D polyline.
drop-down
down menu Fillet.
2. At the Command prompt, enter t (Trim).
3. Enter n (No Trim).
4. In the drawing area, select the objects or line segments that define the points of tangency for
the resulting arc.
Dimension
Create several types of dimensions and save dimension settings by name.
Here is an example of several types of dimensions using an architectural dimension style with
imperial units.
The following illustration demonstrates one method for using the DIM command. Once you start
the command, press Enter or the Spacebar, select the line (1), and then click the
t he location of the
dimension line (2).
Tip: If points 1 and 2 are not on the same horizontal line, press Shift to force the dimension
line to be horizontal. In addition, if the building or part being dimensioned is at an angle,
enter DIMROTATED
DIMROTATED for that case.
Use the DIM command to create dimensions that are parallel to an object by dragging the
dimension line at an angle rather than horizontally or vertically.
Tip: Because it is easy to accidentally snap to the wrong feature or to part of a dimension
object, be sure to zoom in closely enough to avoid confusion.
Modify Dimensions
Tip: If the changes are more complicated than this, it might be faster simply to delete and
then recreate the dimension.
dimen
Dimension Styles
Dimension styles help establish and enforce drafting standards. There are many dimension
variables that can be set with the DIMSTYLE command to control virtually every nuance of the
appearance and behavior of dimensions. All these settings
settings are stored in each dimension style.
When you choose Continue in the Create New Dimension Style dialog box, the New Dimension
Style dialog box is displayed.
You define the properties for the new style starting with the settings from the dimension style
that you selected to start the new style in the Create New Dimension Style
Style dialog box.
Note:
You can create baseline and continued angular dimensions relative to existing angular
dimensions. Baseline and continued angular dimensions are limited to 180 degrees or less. To
obtain baseline and continued angular dimensions larger than 180 degrees, use grip editing to
stretch the location of the extension line of an existing baseline or continued dimension.
Dimension Lines
If you use two straight, nonparallel lines to specify an angle, the dimension line arc spans the
angle between the two lines. If the dimension line arc does not meet one or both of the lines
being dimensioned, The program draws one or two extension lines to intersect the dimension line
arc. The arc is always less than 180 degrees.
The location that you specify for the dimension line arc determines the quadrant of the
dimensioned angle.
Dimension to a Quadrant
Angular dimensions can measure a specific quadrant that is formed when dimensioning
dimensionin g the angle
between of the endpoints of a line or arc, center point of a circle, or two vertices. As an angular
dimension is being created, there are four possible angles that can be measured. By specifying a
quadrant it allows you to ensure that the correct
correct angle is dimensioned. When placing an angular
dimension after a quadrant has been specified, you can place the dimension text outside of the
extension lines of the dimension. The dimension line is automatically extended.