BTME 103 Computer Graphics Lab
BTME 103 Computer Graphics Lab
Lab Work I: Involves hands-on practice sessions related to 2-D computer sketching.
Exercise 1: Study and draw 2-D sketching entities like lines, rectangle, parallelogram
polygon, circle etc., under SKETCH ENTITY MENU.
Exercise 2: (a) Rectangular array (b) Circular array
Exercise 3: Sketch of Metal grate
Exercise 4: Slotted Base
Exercise 5: Link
Exercise 6: Base Plate (Extruding the sketch)
Exercise 7: Bush (Revolve)
Exercise 8: Handle (Revolve)
Exercise 9: Flange coupling parts
Exercise 10: Bell Crank Lever
Lab Work-II: Using the geometric shape and size data learnt in Lab Work I, extrude or
revolve the sketch to obtain 3-D drawing. Study and practice various options
available for 3-D drawing
.
Exercise-1: Bracket Lever
Exercise 2: Hand Wheel
Exercise 3: Hexagonal Nut and Bolt
Exercise 4: Keys
Exercise 5: Body of Solid Journal Bearing
Exercise 6: Shaft
Exercise 7: Cup of Screw Jack
Exercise 8: Screw Jack Body
Exercise 9: V-Block
Exercise 10: Gland
NS/CAD LAB/ME/SBSSTCT,FZR
Lab Work I: Involves hands-on practice sessions related to 2-D computer sketching.
Exercise 1: Study and draw 2-D sketching entities like lines, rectangle, parallelogram
polygon, circle etc., under SKETCH ENTITY MENU.
INTRODUCTION
Learning to use a CAD system is similar to learning a new language. It is necessary to begin with the basic alphabet
and learn how to use it correctly and effectively through practice. This will require learning some new concepts and
skills as well as learning a different vocabulary. All CAD systems create designs using basic geometric entities. Many
of the constructions used in technical designs are based upon two-dimensional planar geometry. The method and
number of operations that are required to accomplish the constructions are different from one system to another.
In order to become effective in using a CAD system, we must learn to create geometricentities quickly and accurately.
In learning to use a CAD system, lines and circles are the first two, and perhaps the most important two, geometric
entities that one should master
the skills of creating and modifying. Straight lines and circles are used in almost all technical designs. In examining
the different types of planar geometric entities, the importance of lines and circles becomes obvious. Triangles and
polygons are planar figures bounded by straight lines. Ellipses and splines can be constructed by connecting arcs
with different radii. As one gains some experience in creating lines and circles, similar procedures can be applied to
create other geometric entities. In this chapter, the different ways of creating lines and circles in AutoCAD® 2006 are
examined.
What Is AutoCAD?
AutoCAD is a powerful tool for drafting and design purposes. AutoCAD 2006 incorporates many new features to
enhance flexibility and drawing control. To reflect this extra functionality, many new ActiveX objects, properties,
methods, and events have been included for improved programmability.
Computer Graphics:The term computer graphics includes almost everything on computers that is not
text or sound. Today almost every computer can do some graphics, and people have even come to expect to control
their computer through icons and pictures rather than just by typing.
CAD: CAD means computer aided drafting. In our lab we are using AutoCAD 2006 software manufactured by
Autodesk Company (USA).
UTILTIES
Drawings in which measurements and precision are important because these kinds of drawings often get used to
build something. The drawings you create with AutoCAD must adhere to standards established long ago for hand-
drafted drawings. The up-front investment to use AutoCAD is certainly more expensive than the investment needed to
use pencil and paper, and the learning curve is much steeper, too. Why bother? The key reasons for using AutoCAD
rather than pencil and paper are:
Precision: Creating lines, circles, and other shapes of the exact dimensions is easier with AutoCAD
than with pencils.
Modifiability: Drawings are much easier to modify on the computer screen than on paper. CAD
modifications are a lot cleaner, too.
Efficiency: Creating many kinds of drawings is faster with a CAD program — especially drawings that involve
repetition, such as floor plans in a multistory building. But that efficiency takes skill and practice. If you’re an
accomplished pencil-and-paper drafter, don’t expect CAD to be faster at first!
Absolute Coordinates
All input points specify in your drawing using standard Cartesian coordinates x and y. Using absolute
coordinate, points entered by typing x,y [Enter]
Relative Coordinates
After first points entered, your next points can be entered by specifying the next coordinate
compare/relative from the first points. The relative coordinate started with symbol “@” tell AutoCAD it
was a relative coordinates. Using relative coordinate, points entered by typing @x,y [Enter]
Polar Coordinates
Polar coordinates used when you need to draw the next points at specify angle. Polar coordinates system
in AutoCAD specifies distance length at which angle. Using polar coordinate, points entered by typing
@distance<angle [Enter]
Absolute coordinates
Relative coordinates
NS/CAD LAB/ME/SBSSTCT,FZR
Polar coordinates
WORLD COORDINATE
RDINATE SYSYEM AND USER CO
COORDINATE
RDINATE SYSTEM
There are two coordinate systems: a fixed system called the world coordinate system (WCS) and a movable system
called the user coordinate system (UCS). By default when you start a new (blank) drawing you use the World
Coordinate System (WCS). This is your (0,0,0) point.
Normally in 2D views, the WCS X axis is horizontal and the Y axis is vertical. The WCS origin is where the X and Y axes
intersect (0,0). All objects in a drawing file are defined by their WCS coordinates. However, it is usually more
convenient
ient to create and edit objects based on the movable UCS.
1. Click View tab>UCS panel>Named UCS. The new UCS is displayed in the UCS list as UNNAMED.
2. In the UCS dialog box, Named UCSs tab, select UNNAMED and enter a new name. (You can also
select UNNAMED, and rightright-click. Click Rename.)
3. Click OK. You can use up to 255 characters, including letters, digits, and the special characters dollar
sign ($), hyphen ((-),
), and underscore (_). All UCS names are converted to uppercase.
NS/CAD LAB/ME/SBSSTCT,FZR
LAB/ME/SBSSTC
STUDY OF THE VARIOUS TOOLBAR OPTIONS AND EXERCISES TO FAMILIARIZE ALL THE DRAWING TOOLS.
STUDY OF DRAW AND MODIFY TOOLBAR
Icon Command Command Executed Icon Command Command Executed
Line Draw Straight Line Erase Removes objects from a
drawing
Revision Cloud Draw revolved cloud Trim Trims object at a cutting edge
defined by other objects
Insert Block Inserting a block Join For joining two or more lines
Hatch Draws hatching lines in Explode Breaks the object into its
selected enclosed area component objects
NS/CAD LAB/ME/SBSCET,FZR
EXERCISES TO FAMILIARIZE ALL THE DRAWING TOOLS:
Exercises: (All dimensions are in inches.)
NS/CAD LAB/ME/SBSCET,FZR
Study the basic initial setting and viewing of the drafting software interfaces.
Starting Up AutoCAD® 2006
1. Select the AutoCAD 2006 option on the Program menu or select the AutoCAD 2006 icon on the Desktop. Once the
program is loaded intomemory, the AutoCAD® 2006 drawing screen will appear on the screen.
Note that AutoCAD automatically assigns generic name, Drawing X, as new drawings are created. In our
example, AutoCAD opened the graphics window using the default system units and assigned the drawing
name Drawing1.
Title Bar - This will show you what program you are running and what the current filename is.
Pull-down menus - These are the standard pull-down menus through which you can access almost all
commands.
Main toolbar - This has most of the standard Windows icons, as well as the most common AutoCAD
commands.
Property toolbar - This toolbar gives a way to quickly modify an object's properties, such as layer and
linetype.
Floating toolbar - This is a toolbar that can be moved around the screen, or 'docked' as the main tool bar is .
Drawing Area - This is where you draw. You have an almost infinite area to draw and this is just a 'section'
of the entire space.
Scrollbars - These work like in other windows programs. You can also use the PAN command to move
NS/CAD LAB/ME/SBSSTCT,FZR
around your drawing.
WCS Icon - This is here to show you which direction positive X and positive Y go. The W means you're in the
World Co-ordinate System. (It can be changed to a User Co-ordinate System.)
Status Bar - These icons give you updates on items like reference files program updates and print status.
Command Window - When you type a command, you will see it here. AutoCAD uses this space to
'prompt' you for information. It will give you a lot of information and tell you where you are in the command.
Watch this line while learning.
Status bar - This allows to see and change different modes of drawing such as Ortho, Osnaps, Grid,
Otrack, etc.
_______________________________________________________________________________________________
DRAWING UNITS SETUP
[Link] object we construct in a CAD system is measured in units. We should determine the value of the units within
the CAD system before creating the first geometric entities.
2. In the Drawing Units dialog box, set the Length Type to Decimal. This will set the measurement to the default English
units, inches.
3. Set the Precision to two digits after the decimal point as shown in the above figure.
NS/CAD LAB/ME/SBSSTCT,FZR
2. In the command prompt area, near the bottom of the AutoCAD drawing screen, the message “Reset Model
Space Limits: Specify lower left corner or [On/Off] <0.00,0.00>:” is displayed. Press the ENTER key once to
accept the default coordinates <0.00,0.00>.
3. In the command prompt area, the message “Specify upper right corner <0.00,0.00>:” is displayed. Press the
ENTER key once to accept the default coordinates <12.00,9.00>.
4. On your own, move the graphic cursor near the upper-right comer inside the drawing area and note that the
drawing area is unchanged. (The Drawing Limits command is used to set the drawing area; but the display will
not be adjusted until a display command is used.)
ZOOM ALL
Now, you can draw any drawing after basic setting. NS/CAD LAB/ME/SBSSTCT,FZR
USE OF VARIOUS DRAW COMMANDS OF THE DRAFTING SOFTWARE
Introduction
The Draw commands can be used to create new objects such as lines and circles. Most AutoCAD drawings are
composed purely and simply from these basic components. A good understanding of the Draw commands is
fundamental to the efficient use of AutoCAD.
The sections below cover the most frequently used Draw commands such as Line, Polyline and Circle as well as the
more advanced commands like Multiline and Multiline Style. As a newcomer to AutoCAD, you may wish to skip the
more advanced commands in order to properly master the basics. In common with most AutoCAD commands, the
Toolbar Draw
Pull-own Draw Construction Line
Keyboard XLINE short-cut
cut XL
Command Sequence
Command: XLINE
Specify a point or [Hor/Ver/Ang/Bisect/Offset]: (pick a point)
Specify through point: (pick a second point)
Specify through point: (to end or pick another point)
You may notice that there are a number of options with this command. For example, the "Hor" and "Ver" options can be
used to draw construction lines that are truly horizontal or vertical. In both these cases, only a single pick point is
required because the direction of the line is predetermined. NS/CAD LAB/ME/SBSSTCT,FZR
LAB/ME/SBSSTC
Follow the command sequence below to see how you would draw a construction line using the Horizontal option.
Command Sequence
Command: XLINE
Specify a point or [Hor/Ver/Ang/Bisect/Offset]: H
Specify through point: (pick a point to position the line)
line
Specify through point: (to end or pick a point for another horizontal line)
line
_____________________________________________________________________________
The Ray Command
The Ray command creates a line similar to a construction line except that it extends infinitely in only one direction from
the first pick point. The direction of the Ray is determined by the position of the second pick point.
Toolbar custom
Pull-down Draw Ray
Keyboard custom Pull-down
down Draw Ray Keyboard RAY
Command Sequence
Command: RAY
Specify start point : (pick the start point)
Specify through point : (pick a second point to determine direction)
Specify through point : (to end or pick another point)
_____________________________________________________________________________
The Polyline Command
Polylines differ from
rom lines in that they are more complex objects. A single polyline can be composed of a number of
straight-line
line or arc segments. Polylines can also be given line widths to make them appear solid. The illustration below
shows a number of polylines to give yyou ou an idea of the flexibility of this type of line. The Polyline or Pline command is
similar to the line command except that the resulting object may be composed of a number of segments which form a single
object.
Toolbar Draw
Pull-down Draw Polyline
Keyboard PLINE short
short-cut PL
Command Sequence
Command: PLINE
Specify start point: (pick P1)
Specify next point or [Arc/Halfwidth/Length/Undo/Width]: (pick P2)
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: (pick P3)
Specify next point or [Arc/Close/Halfwidth
[Arc/Close/Halfwidth/Length/Undo/Width]:
/Length/Undo/Width]: (pick P4)
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: (pick P5)
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: (or C to close)
Polylines can be edited after they are created to, for example, change their width. You can do this using the PEDIT
command, Modify Object Polyline from the pull-down menu.
_____________________________________________________________________________
The Rectangle Command
The
he Rectangle command is used to draw a rectangle whose sides are vertical and horizontal. The position and size of
the rectangle are defined by picking two diagonal corners. The rectangle isn't really an AutoCAD object at all. It is, in
fact, just a closed polyline which is automatically drawn for you.
NS/CAD LAB/ME/SBSSTCT,FZR
LAB/ME/SBSSTC
Toolbar Draw
Pull-down Draw Rectangle
Keyboard RECTANGLE short
short-cuts REC, RECTANG
Command Sequence
Command: RECTANG
Specify first corner point or [Chamfer/Elevation/Fillet/Thickness/Width]:(pick P1)
Specify other corner point or [Dimensions]: (pick P2)
Say you wanted to draw a rectangle 20 drawing units long and 10 drawing units wide. The command sequence would look
like this:
Command Sequence
Command: RECTANG
Specify first corner point or [Chamfer/Elevation/Fillet/Thickness/Width]:(pick a point)
Specify other corner point or [Dimensions]: D
Specify length for rectangles <0.0000>: 20
Specify width for rectangles <0.0000>: 10
Specify other corner point or [Dimensions]: (pick a point to fix the orientation)
___________________________________________
_____________________________________________________________________________
__________________________________
Command Sequence
Toolbar Draw
Pull-down Draw Polygon
Keyboard POLYGON short-cut POL
Command Sequence
Command: POLYGON
Enter number of sides <4>: 5
Specify center of polygon or [Edge]: (pick P1 or type E to define by edge length)
Enter an option [Inscribed in circle/Circumscribed about circle] <I>: (to
accept the inscribed default or type C for circumscribed)
Specify radius of circle: (pick P2 or enter exact radius)
In the illustration above, the polygon on the left is inscribed (inside the circle with the polygon vertexes touching it), the
th
one in the middle is circumscribed (outside the circle with the polyline edges tangential to it) and the one on the right is
defined
ned by the length of an edge.
_____________________________________________________________________________
The Donut Command
Toolbar custom
Pull-down Draw Donut
Keyboard DONUT short
short-cut DO
NS/CAD LAB/ME/SBSSTCT,FZR
T,FZR
This command draws a solid donut shape, actually it's just a closed polyline consisting of two arc segments which have been
given a width. AutoCAD asks you to define the inside diameter i.e. the diameter of the hole and then the outside diameter of
the donut.
The donut is then drawn in outline and you are asked to pick the centre point in
order to position the donut. You can continue picking centre points to draw
more donuts or you can hit to end the command. Surprisingly, donuts are
constructed from single closed polylines composed of two arc segments which
have been given a width. Fortunately AutoCAD works all this out for you, so all
you see is a donut.
Command Sequence
Command: DONUT
Specify inside diameter of donut <0.5000>: (pick any two points to define a diameter or enter the exact length)
Specify outside diameter of donut <1.0000>: (pick any two points to define a diameter or enter the exact length)
Specify center of donut or <exit>: (pick P1)
Specify center of donut or < <exit>: (to end or continue to pick for more doughnuts)
As an alternative to picking two points or entering a value for the diameters, you could just hit to accept the default value.
value
Most AutoCAD commands that require user input have defa
default
ult values. They always appear in triangular brackets like this
<default value>.
Curiously enough AutoCAD doesn't seem to mind if you make the inside diameter of a donut larger than the outside diameter.
_____________________________________________________________________________
Command Sequence
Command: REVCLOUD
Minimum arc length: 66.6377 Maximum arc length: 116.6159
Specify start point or [Arc length/Object] <Object>: (Pick P1)
Guide crosshairs along cloud path...
Move the mouse to form a closed shape; the command automatically ends when a closed shape is formed.
You can use the "Arc length" option to control the scale of the revision cloud. This is achieved by specifying the
minimum and maximum arc length. The "Object" option is used to transform any closed shape, such as a
___________________________________________________________________________
______________________________________________________________________________
Command Sequence
Command: CIRCLE
Specify center point for circle or [3P/2P/Ttr (tan tan radius)]: (pick P1)
Specify radius of circle or [Diameter] <50.0195>: (pick P2 or enter the exact radius)
As you can see from the command prompt above the default options are always indicated in triangular brackets like so
<Default> and command options appear within square brackets like so [Option]. Each option is separated by a forward
slash like this /. You can choose to use the alternative options by typing them at the prompt. For example, the circle
command gives you three extra options to define a circle. 3P which uses any three points on the circumference, 2P which
uses two points on the circumference to form a diameter and Ttr which stands for Tangent Tangent Radius. Obviously to use
this last option you need to have drawn two lines which you can use as tangents to the circle. Try these options out to see
how they work. Note that to invoke a command option, you need only type the upper
upper-case
case part of the option name. For
example, if you want to use the Ttr option, you need only en
enter
ter "T". There are two more circle options on the pull-down
pull down menu
that enable you to draw a circle by defining the center and diameter or by using 3 tangents.
_____________________________________________________________________________
Command Sequence
Command: ARC
Specify start point of arc or [Center]: (pick P1)
NS/CAD LAB/ME/SBSSTCT,FZR
LAB/ME/SBSSTC
Specify second point of arc or [Center/End]: (pick P2)
Specify end point of arc: (pick P3)
It is also possible to create an arc by trimming a circle object. In practice, many arcs are actually created this way. See the
t
Trim command on the Modifying Objects tutorial for details.
_____________________________________________________________________________
You can create linear approximations to splines by smoothing polylines with the PEDIT command, Modify Polyline from the
pull-down
down menu. However, you can also turn polylines into true splines using the Object option of the Spline command.
_____________________________________________________________________________
The Ellipse command gives you a number of different creation options. The
default option is to pick the two end points of an axis and then a third point to
define the eccentricity of the ellipse. After you have mastered the default option,
try out the others.
NS/CAD LAB/ME/SBSSTCT,FZR
LAB/ME/SBSSTC
Command Sequence
Command: ELLIPSE
Specify axis endpoint of ellipse or [Arc/Center]: (pick P1)
Specify other endpoint of axis: (pick P2)
Specify distance to other axis or [Rotation]: (pick P3)
_____________________________________________________________________________
Command Sequence
Command: ELLIPSE
Specify axis endpoint of ellipse or [Arc/Center]: A
Specify axis endpoint of elliptical arc or [Center]: (pick P1)
Specify other endpoint of axis: (pick P2)
Specify distance to other axis or [Rotation]: (pick P3)
[Parameter]: 270
Specify start angle or [Pa
Specify end angle or [Parameter/Included angle]: 90
_____________________________________________________________________________
A region is a surface created from objects that form a closed shape, known as a loop.
The Region command is used to transform objects into regions rather than actually
drawing them (i.e. you will need to draw the closed shape or loop first). Once a region is
created, there may be little visual difference to the drawing. However, if you set the
shade mode to "Flat Shaded", View Shade Flat Shaded,, you will see that the
region is, in fact, a surface and not simply an utline. Regions are particularly useful in
3D modeling because they can be extruded. Before starting the Region command,
draw a closed shape such as a rectangle, circle or any closed polyline or spline.
NS/CAD LAB/ME/SBSSTCT,FZR
LAB/ME/SBSSTC
Command Sequence
Command: REGION
Select objects: (Pick P1)
Select objects:
1 loop extracted.
1 Region created.
_____________________________________________________________________________
Command Sequence
Specify first point or [Frames/Polyline] <Polyline>: F (the Frames option)
Enter mode [ON/OFF] <ON>: OFF
Regenerating model.
The Frames option is used to turn frames off (or on) for all wipeouts in the current drawing. You cannot control the
visibility of wipeout frames individually. You should also be aware that when frames are turned off, wipeouts cannot be
selected. If you need to move or modify a wipeout, you need to have frames turned on.
It is often more convenient to draw the wipeout after the text so that you can see how much space you need. In such a
case, you may need to use the DRAWORDER command ((Tools Display Order Option) to force
rce the text to appear
above the wipeout.
Tip: If you have the Express Tools loaded, you can use the very useful TEXTMASK command, which automatically
NS/CAD LAB/ME/SBSSTCT,FZR
LAB/ME/SBSSTC
Command Sequence
Command: POINT
Current point modes: PDMODE=0 PDSIZE=0.0000
Specify a point: (pick any point)
Strangely, in Multiple Point mode (the default for the Point button on the Draw toolbar) you will need to use the escape key
(Esc) on your keyboard to end the command. The usual right
right-click
click or enter doesn't work.
_____________________________________________________________________________
_____________________________________________________________________________
Multilines
Multilines are complex lines that consist of between 1 and 16 parallel lines, known as elements.. The default multiline
style has just two elements but you can create additional styles of an almost endless variety. The Multiline Style
command enables you to create new multiline styles by adding line elements, changing the colour and linetype of
elements, adding end caps and the option of displaying as a solid colour.
NS/CAD LAB/ME/SBSSTCT,FZR
LAB/ME/SBSSTC
The Scale option allows you to set a scale factor, which effectively changes the width of the multiline. The default scale factor
fa
is set to 1.0 so to half the width of the multiline, a value of 0.5 would be entered. A value of 2.0 would double the width.
The Style option enables you to set the current multiline style. The default style is called "Standard". This is the only style
sty
available unless you have previously created a new style with the Multiline Style command
command.. Follow the command sequence
below to see how the Multiline command works and then try changing the Justification and Scale options.
Command Sequence
Command: MLINE
Current settings: Justification = Top, Scale = 20.00, Style = STANDARD
Specify start point or [Justification/Scale/STyle]: (Pick P1)
Specify next point: (Pick P2)
Specify next point or [Undo]: (Pick P3)
Specify next point or [Close/Undo]: (to end or continue picking or C to close)
Highlight the 0.0 offset element by clicking it in the "Elements" list. To change the colour, simply click on the
Colour… button and select an appropriate colour from the palette. When a colour has been selected, click the
"OK" button on the palette to return to the Element Properties dialogue box.
Changing the linetype is a little more complicated because we will nee
need
d to load the required linetype first.
However, click on the "Linetype…" button to proceed.
NS/CAD LAB/ME/SBSSTCT,FZR
LAB/ME/SBSSTC
The Select Linetype dialogue box appears
with just a few solid linetypes listed,
ByLayer,, ByBlock and Continuous. Click on
the "Load…" button. The Load or Reload
Linetypes dialogue box now appears. Scroll
down the list of linetypes until you find one
o
called "Hidden". Highlight Hidden and then
click the "OK" button. You will now see the
Hidden linetype appear in the "Loaded
linetypes" list in the Select Linetype dialogue
box, which should now look similar to the
one shown above. Finally, highlight Hidden
Hi
and click the "OK" button. Your Element
Properties dialogue box should now look
similar to the one in the illustration above. To
complete our new style, we will add some
end caps and a solid fill. Click on the
"Multiline Properties…" button to proceed.
proceed
____________________________________________________________________________
NS/CAD LAB/ME/SBSSTCT,FZR
T,FZR
Figure-1 (For hatch command)
Command Sequence
Command: bhatch (Figur-1 appears)
Click at “Add. Pick Points” in
the given dialog box
Then click at ‘P1’ ( shown in fig.-2)
Then press ‘enter’
Now, choose pattern design and
click ‘OK’ at dialogue box
_____________________________
Command: bhatch (Figur-1 appears)
Click at “Add. Pick Points” in
the given dialog box
Then click at ‘P2’ ( shown in fig.-2)
Then press ‘enter’
Now, choose pattern design and
click ‘OK’ at dialogue box
Command Sequence
Command: Gradient (Figur-3 appears)
Click at “Add. Pick Points” in
the given dialogue box
Then click at ‘P1’ ( shown in fig.-4)
Then press ‘enter’
Now, choose Color and click ‘OK’
at dialogue box
_____________________________
Command: Gradient (Figur-3 appears)
Click at “Add. Pick Points” in
the given dialogue box
Then click at ‘P2’ ( shown in fig.-4)
Then press ‘enter’
Now, choose Color and click ‘OK’
at dialogue box
_____________________________________________________________________________
NS/CAD LAB/ME/SBSSTCT,FZR
The Text Command
Toolbar Draw
Keyboard Dtext
Creating Text
Like most things in AutoCAD, there is more than one way to do it. Creating Text is no exception. Below are the common
commands for working with text.
Text Style STYLE / ST Format > Text Style Opens the Text Style Dialog
If you need more than one text style, click on the new button, type
in a new name Now the Text Style dialog box (as shown above)
will have the new name in the Style Name field. Select
[Link] for this new style.
NS/CAD LAB/ME/SBSSTCT,FZR
LAB/ME/SBSSTC
Single Line Text
The following is an overview of creating single line text.
Step
1. Start the Text command.
2. 2. To set the justification options, right-click anywhere in the drawing. Click Justify and enter a justification
option on the command line, or right-click and select the justification on the shortcut menu.
3. Specify a start point for the text.
4. Specify a height and rotation angle.
5. Begin typing the lines of text.
6. Each time you press ENTER, a new line of text and therefore a new text object is created.
Multiline Text
The following is an overview of creating multiline text.
Step
1. Start the Mtext command.
2. Click two points to define the text area.
3. Confirm the settings such as text style, font, and height on the Text Formatting tool bar.
4. Begin creating text using the options as required for numbered or bulleted lists and symbols.
5. Use the ruler to adjust the width of the text area if necessary.
NS/CAD LAB/ME/SBSSTCT,FZR
Arc-Aligned Text
Recently AutoCAD added a selection of commands called "Express Tools". separately from the regular AutoCAD. One
of these Express Tools is Arc-Aligned
Aligned Text. Just like the name suggests, you can place text along an arc. Draw an arc
and start the command as shown above. As prompted, select the arc, and this dialog box will appear:
You can
an also erase the arc and the text will remain. This isn't a command that you will use a lot, but it is comforting to
know that it's there.
Text Editing
Toolbar Draw
Keyboard ddedit
There are three methods for editing text: using the Text formatting toolbar, the inplace text editor, and the Properties
palette. The quickest way to edit text is to double
double-click
click the text object. If you double-click
double click a multiline text object, the Text
formatting
ting toolbar appears. If you double
double-click
click a single line text object, the in-place
in place text editor opens, where you can
edit the text in the same way you created it. You can use the Properties palette to edit the properties associated with
text as well as the content
ontent of the text object. You can also use grips to edit the text's position. When you select text,
grips will appear. You can grip edit text objects using the same methods for grip
grip-editing [Link]
Creates or modifies
single or multiline text objects. Yo
You
u can import or paste text from other files to use in multiline text, set tabs, adjust
paragraph and line spacing and alignment, and create and modify columns.
NS/CAD LAB/ME/SBSSTCT,FZR
LAB/ME/SBSSTC
The following is an overview of editing text objects using the in
in-place
place text editor.
Step
1. Double-click a text object.
2. Use the in-place
place editor for multiline or single line text to edit the text in the same way you created it.
3. Left-click
click outside the text editor window to end the editing operation.
__________________________________________________
___________________________________________________________
_________
The Table Command
Toolbar Draw
Keyboard table
2. In the Insert Table dialog box, select a table style from the list, or click the button to the right of the drop-down
drop down
menu to create a new table style.
7. Click OK.
__________________________________________________
___________________________________________________________
_________
Keyboard helix
NS/CAD LAB/ME/SBSSTCT,FZR
LAB/ME/SBSSTC
NS/CAD LAB/ME/SBSSTCT,FZR
NS/CAD LAB/ME/SBSSTCT,FZR
MODIFY COMMANDS
As is usual with AutoCAD, the Modify tools can be accessed in one of three ways, from the keyboard, from the pull-
pull
down menu and from the toolbar. All of the Modify tools are available from the Modify pull
pull-down
down and the Modify toolbar.
In each section below, the toolbar, pull
pull-down
down and keyboard options are given.
The Modify toolbar is usually
displayed by default but if it is not
already displayed, you can
display it using the TOOLBAR
_____________________________________________________________________________
The Copy command can be used to create one or more duplicates of any drawing object or objects which you have
previously created. Copy is a very useful and time
time-saving
saving command because you can create very complex drawing
elements and then simply copy them as many times as you like.
NS/CAD LAB/ME/SBSCET,FZR
NS/CAD LAB/ME/SBSCET,FZR
/ME/SBSCET,FZR
Command Sequence
Command: COPY
Select objects: (pick object to copy, P1)
Select objects: (to end selection)
Specify base point or displacement, or [Multiple]: (pick P2 or M for multiple copies)
Specify second point of displacement or <use first point as displacement>: (pick P3)
The multiple option allows you to create additional copies of the selected object(s) by picking as many new points as
you like. To end a multiple copy, just hit the key.
Notice that the "Base point", P2 and the "Second point", P3 do not have to be picked on or near the obje
object.
ct. The two
points are simply used to indicate the distance and direction of the copied object from the original object.
_____________________________________________________________________________
Command Sequence
Command: MIRROR
Select objects: (pick object to mirror, P1)
Select objects: (to end selection)
Specify first point of mirror line: (pick P2)
Specify second point of mirror line: (pick P3)
Delete source objects? [Yes/No] <N>: (for No to keep the original object)
Notice that in the command
and sequence above, pressing the key when asked whether to "Delete source objects?" resulted
in a "No" response. This is because "No" is the default option. AutoCAD always shows the default option within triangular
brackets, in this case "<N>". Many AutoC
AutoCAD
AD commands offer default options. They are usually the most commonly used and
you need only right-click
click and select "Enter" from the menu or press on the keyboard to accept them. In order to create
perfectly horizontal or vertical mirror lines use Ortho.
_____________________________________________________________________________
NS/CAD LAB/ME/SBSCET,FZR
follow the steps below:
1. Click the Select objects button. The dialogue box will temporarily disappear enabling you to select the rectangle
you just drew. Press the Return button on your keyboard to complete the selection. You are now returned to
the dialogue box and the message immediately below the Select Objects button should read "1 objects
selected".
2. Enter the number of rows required in the Rows edit box. For this example, enter the value "3". Notice that the
schematic preview on the right hand side of the dialogue box updates to reflect the values you are entering.
3. Enter the number of columns required in the Columns edit box. Enter the value "2".
4. Enter the row offset in the Row Offset edit box. This is the distance DR in the illustration above. Note that tis is
not the distance between rows. In this example, our rectangle is 10 units high and we will enter a row offset of
15. The result will be a 5 unit gap between rectangles.
5. Enter the column offset in the Column Offset edit box. The same parameters apply as for the row offset. Enter a
value of 25 to give a 5 unit gap between our rectangles.
You can try this for yourself by drawing another rectangle as described above. This time, though, locate the rectangle in
the centre top half of the drawing area. Now, start the Array command, click the Polar Array radio button and follow the
steps below:
1. Click the Select objects button. The dialogue box will temporarily disappear enabling you to select the rectangle
you just drew. Press the Return button on your keyboard to complete the selection. You are now returned to the
dialogue box and the message immediately below the Select Objects button should read "1 objects selected".
NS/CAD LAB/ME/SBSCET,FZR
2. Specify the center point for the array. This is the point C in the illustration below. You can do this by entering x
and y co-ordinates into the appropriate edit boxes if you know what these values should be. However, this is
rarely the case and most often you will want to click the Pick Center Point button to pick a point from the drawing
area. Pick a point somewhere below the rectangle you have just drawn.
3. Enter a value for the total number of items. For this example, enter the value "6". Notice that once again, the
schematic preview updates to reflect the values you have entered.
4. Make sure that the Rotate items as copied checkbox is checked.
The array you have just drawn should look something like the one illustrated below, left. Take some time to play
around with the other options in the Array dialogue box to see what they can do.
Toolbar Modify
Pull-down Modify Move
Keyboard MOVE short-cut M
The Move command works in a similar way to the Copy command except that no copy is made, the selected object(s) is
simply moved from one location to another.
Command Sequence
Command: MOVE
Select objects: (pick object to move, P1)
Select objects: (to end selection)
Specify base point or displacement: (pick P2)
Specify second point of displacement or <use first point as displacement>: (pick P3)
Note that as with the Copy command, the two pick points, P2 an
and
d P3 are used only to indicate the distance and
direction of movement.
NS/CAD LAB/ME/SBSCET,FZR
The Rotate Command
Toolbar Modify
Pull-down Modify Rotate
Keyboard ROTATE short-cut
cut RO
The Rotate command allows an object or objects to be rotated about a point selected by the user. AutoCAD prompts for
a second rotation point or an angle which can be typed at the keyboard.
Command Sequence
Command: ROTATE
Current positive angle in UCS: ANGDIR=counterclockwise ANGBASE=0
Select objects: (pick object to rotate, P1)
Select objects: (to end selection)
Specify base point: (pick base point, P2)
Specify rotation angle or [Reference]: (pick second point, P3 or enter angle)
Remember, by default, AutoCAD angles start at 3 o'clock and increase in an anti
anti-clockwise
clockwise direction. The "ANGDIR" and
"ANGBASE" variables remind you of this. If you want to rotate in a clockwise direction you can ent
enter
er a negative angle by
using a minus sign.
Note: You can change the angle direction and the base angle using the Units command, Format Units… from the pull-
pull
down menu. Click the "Clockwise" check box to change the direction and click the "Direction…" button to set the base angle.
___________________________________________________________________________
____________________________________________________________________________
_
Command Sequence
Command: SCALE
Select objects: (pick objects to be scaled, P1)
Select objects: (to end selection)
Specify base point: (pick base point, P2)
Specify scale factor or [Reference]: (pick second point, P3 or enter scale factor)
NS/CAD LAB/ME/SBSCET,FZR
In the example shown above, the original tree symbol has been enlarged by dynamically scaling it using pick points to
determine the change in scale. If you want to scale an object precisely, it is much easier to enter a scale factor using
the keyboard.
Note that the position of the new sized tree symbol is determined by the location of the base point. The base point, P2
has been picked to the upper right of the centre of the tree which resulted iin
n the centre of the tree shifting to a lower left
position. If the base point had been picked in the centre of the tree symbol, the tree would have remained in the same
position. In theory the base point can be any point in the drawing area but for ease of control it is best to choose a
known point so that the results are obvious.
_____________________________________________________________________________
The Stretch command can be used to move one or more vertices of an object whilst leaving the rest of the object unchanged.
In the example below, a rectangle has been stretched by moving one vertex to create an irregular shape.
Command Sequence
Command: STRETCH
Select objects to stretch by crossing crossing-window
window or crossing-polygon...
crossing
Select objects: (pick first point of crossing window)
Specify opposite corner: (pick second point of window)
Select objects: (to end selection)
Specify base point or displacement: (pick base point)
Specify second point of displacement: (pick second point)
To select vertices to stretch, you must use a crossing window or polygon. See the ""Object Selection" tutorial
utorial for details of
these selection methods.
To stretch an object using grips, simply select the object by clicking on it (you can do this without starting a command). The
object becomes highlighted and small square grips appear at each vertex and various snap points, depending upon the object
key (Esc) at the top left of your keyboard to deselect the object and release grips.
____________________________________________________________
_____________________________________________________________________________
_________________
NS/CAD LAB/ME/SBSCET,FZR
The Lengthen Command
Toolbar Modify
Pull-down Modify Lengthen
Keyboard LENGTHEN short
short-cut LEN
The Lengthen command can often be used instead of either the Trim or Extend commands. Indeed the end result is exactly
the same. The Lengthen command can be used to either lengthen or shorten Lines, Arcs, open Polylines, elliptical Arcs and
open Splines without the use of cutting or boundary edges.
Command Sequence
Command: LENGTHEN
Select an object or [DElta/Percent/Total/DYnamic]: DY
Select an object to change or [Undo]: (select a line or arc)
Specify new end point: (pick new end point)
Select an object to change or [Undo]: (to end)
The command sequence above demonstrates the u
use
se of the Dynamic Lengthen option which is probably the most
useful for general purpose drafting. However, the other options are worth getting to know because they can save lots of
time and effort.
The Total option allows you to change the total length of a line to any value that you specify. The Percent option allows you to
change a line length using a percentage. For example, a value of 50 will result in a line one half the length of the original and
a value of 200 will result in a line twice the length o
off the original. The Delta option can be used to extend or reduce the
endpoint of a line by a given distance. The endpoint affected by the change is the one closest to the pick point when the
object selection is made.
_______________________________________
_____________________________________________________________________________
______________________________________
This command extends a line, polyline or arc to meet another drawing object (known as the boundary edge). In the
illustration on the right, two lines (red) are extended to meet another line (cyan) which forms the boundary edge. This
command works in a similar way to the Trim command, describe
described
d above. Two selections are made, one for the
boundary edge(s) and one for the object(s) to extend.
Lines and other objects can be extended in one of two directions. In the illustration on
Draw the lines as shown in the illustration
the right,and
thefollow the command
red line sequence either
could be extended below. to the right or to the left. You can tell
Command Sequence AutoCAD in which direction to extend by picking a point to the right or left of the
Command: EXTEND midpoint respectively.
Current settings: Projection=UCS Edge=None
Select boundary edges ...
Select objects: (select the boundary edge, P1)
Select objects: (to end boundary edge selection)
Select object to extend or shift select to trim or [Project/Edge/Undo]: (pick the object which
shift-select
you want to be extended, P2)
Select object to extend or shift select to trim or [Project/Edge/Undo]: (pick another object
shift-select
which you want to be extended, P3)
Select object to extend or shift shift-select
select to trim or [Project/Edge/Undo]: (to end)
Sometimes you may get the message "Object doe doess not intersect an edge" or "No edge in that direction". If this happens it
means that you are either picking the wrong end of the object or the object you are trying to extend will not meet the boundary
bounda
edge. The solution is either to pick near the end yo
youu want to extend or to move the boundary edge so that the extended line
will intersect with it.
Using Edgemode
If the line you are trying to extend does not intersect with the boundary line, you can use the "Edge" option to toggle
Edgemode to "Extend" (the default is "No Extend"). When the Extend command is set to Extend Mode, the objects being
extended will extend to an imaginary line through the boundary edge, irrespective of whether the extended object actually
intersects with the boundary
ry edge. This is particularly useful and can save lots of time.
NS/CAD LAB/ME/SBSCET,FZR
The illustration on the left shows the result of extending a line (red) to a boundary edge (cyan) with Edgemode set to "Extend".
"Exten
The same process would have resulted in an error message if Edgemode had been set to "No Extend". To get a better
understanding of how this works, draw the two lines as shown in the illustration and try to extend them using the default
settings. When you have done that, follow the command sequence below.
Command Sequence
Command: BREAK
Select objects: (select the object using the first break
_____________________________________________________________________________
_________________________________________________________________
point, P1)
The Fillet Command Specify second break point or [First point]:
(pick the second break point, P2)
The section of the object is removed and the command ends.
Toolbar Modify
Pull-down Modify Fillet
Keyboard FILLET short-cut
cut F
The Fillet command is a very useful tool which allows you to draw an arc between two intersecting lines or adjacent polyline
segments. You first need to use the command to set the required radius and then a second time to select the two lines.
Command Sequence
Command: FILLET
Current settings: Mode = TRIM, Radius = 10.0000
Select first object or [Polyline/Radius/Trim]: R
Specify fillet radius <10.000>: 25
Select first object or [Polyline/Radius/Trim]: (pick P1)
Select second object : (pick P2)
NS/CAD LAB/ME/SBSCET,FZR
6. Dimensioning in 2D and 3D entries.
Introduction
AutoCAD provides a whole range of dimensioning tools which can be used to quickly dimension any drawing without
the need for measurement. Dimensioning in AutoCAD is automatic; lines, arrows and text are all taken care of by the
dimension commands. AutoCAD dimensions are special blocks which can easily be edited or erased as necessary.
AutoCAD provides lots of control over the way dimensions look. Using a system similar to text styles, dimension styles
allow you to design dimensions so that they look just the way you want them to. There are a number of dimension
commands, each designed to create a certain type of dimension, such as linear, angular, arc, and diameter. If you just
need to quickly find a description of the various dimension commands, click on the appropriate button on the Quick Find
Toolbar below.
DIMLINEAR
DIMORDINATE
Use to dimension an arc where you want to override the center point of the arc to
create a jogged radial dimension.
DIMJOGGED
Use to dimension the angle between two lines, two points on a circle, the angle of
an arc or three points.
DIMANGULAR
Use to create continuous dimensions. By default the dimensions are continued from
the last dimension created.
DIMCONTINUE
You can automatically adjust existing parallel linear and angular dimensions in a
drawing so they are equally spaced or aligned at the dimension line with each other.
DIMSPACE
With dimension breaks, you can keep the dimension, extension, or leader lines from
appearing as if they are a part of the design.
DIMBREAK
Once you've created a dimension, you can change the location and orientation of
the existing dimension text or replace it with new text.
DIMEDIT
Jog lines can be added to linear dimensions. Jog lines are used to represent a
dimension value that does not display the actual measurement. Typically, the actual
DIMJOGLINE measurement value of the dimension is smaller than the displayed value.
With oblique command you can create linear or aligned dimension in angular
fashion.
OBLIQUE
With dimension style overrides, you can temporarily change a dimensioning system
variable without changing the current dimension style.
DIMOVERRIDE
Once you've created a dimension, you can change the location and orientation of
the existing dimension text or replace it with new text.
DIMEDIT
_____________________________________________________________________________
NS/CAD LAB/ME/SBSCET,FZR
The Linear Dimension Command
Toolbar
Pull-down Dimension/Linear
Keyboard DIMLINEAR
Command Sequence
Command: DIMLINEAR
First extension line origin or press ENTER to select: (Pick P1)
Second extension line origin: (Pick P2)
Dimension line location (Mtext /Text/Angle/Horizontal/Vertical/Rotated): (Pick a point to
(Mtext/Text/Angle/Horizontal/Vertical/Rotated):
position the dimension line, you will see the dimension rubber banding)
You may have noticed that the first prompt asks you to pick the first extension line origin or to press the ENTER key.
Pressing
ing the Enter/Return key results in the following prompt:
Select object to dimension:
AutoCAD allows you to dimension an object simply by picking it. Try this out.
____________________________________________________________________________
Pull-down Dimension/Aligned
Aligned
Keyboard DIMAligned
You can use this command to generate aligned dimensions. These are dimensions along inclined lines which cannot be
dimensioned with the DIMLINEAR dimension command because that command will only give a measured dimension in
either a horizontal or vertical direction. However, as you can see from the command sequence below, this command
works in exactly the same way.
Command Sequence
Command: DIMALIGNED
First extension line origin or press ENTER to select:(pick P1)
Second extension line origin: (pick P2)
Dimension line location (Mtext/Text/Angle): (pick a point)
________________________________________________________________________
______________________________________________________________________________
______
The Arc Dimension Command
Toolbar
Pull-down Dimension/Arc
Keyboard DIMArc
You can use to generate the dimension of an arc length.
Command Sequence
Command: DIMArc
Select an arc:(Select arc A)
Select first point of an arc: (pick P1)
Select second point of an arc: (pick P3)
Then press enter ( )
NS/CAD LAB/ME/SBSCET,FZR
The Radius Dimension Command
Toolbar
Pull-down Dimension/Radius
Radius
Keyboard DIMRadius
This command is used to measure the radius of a circle. The Radius command is identical to the Diameter command
except that the dimension measurement is a radius rather than a dimension and the resulting dimension text is prefixed
with a "R" to indicate radius.
Command Sequence
Command: DIMRADIUS
Select arc or circle: (pick the circumference P1)
Dimension line location (Mtext/Text/Angle):
(move the cursor where you want to place the dimension)
________________________________________________________________________
______________________________________________________________________________
______
Pull-down Dimension/Continue
Keyboard DIMCONTINUE
You can use the Continue command to add a string of dimensions. In the illustration above the "36mm" dimension has
been continued from the "64mm" dimension.
Command Sequence
Command: DIMCONTINUE
Specify a second extension line origin or (Undo/<Select>): (Pick P3)
Specify a second extension line origin or (Undo/<Select>): (Pick another or to end)
There is no prompt for the first line origin, AutoCAD automatically selects the second line origin of the previous
dimension to be the first of the new dimension.
There is also no prompt for the dimension line position, AutoCAD automatically matches up with the previous
dimension.
________________________________________________________________________
______________________________________________________________________________
______
NS/CAD LAB/ME/SBSSTC
STC,FZR
Exercise 2: (a) Rectangular array (b) Circular array
The array command in AutoCAD is used to make multiple copies of objects. Although you can use the copy
command to duplicate objects, the array command is more flexible and precise. One advantage of using the
array command is that it allows you to copy objects in a defined angle and exact number of copies.
Therefore, you can create array in various pattern. For example, you can show multiple objects in a row,
column, or irregular
rregular pattern such as a spiral. Let’s look at a few examples below:
Path Array
NS/CAD LAB/ME/SBSSTCT,FZR
LAB/ME/SBSSTC
A) RECTANGULAR ARRY
NS/CAD LAB/ME/SBSSTCT,FZR
B) POLAR ARRY
NS/CAD LAB/ME/SBSSTCT,FZR
LAB/ME/SBSSTC
PATH ARRY
The following steps show you how to use the ARRAYPATH command to bring chairs to an elliptical dining
room table and use the table itself as the path.
1. Open a drawing containing some objects you want to array along a path (or draw some simple
geometry for your source object) and then also draw a line or an open or a closed spline or polyline for your
path.
2. Click Path Array from the Array drop-down button on the Modify panel of the Home tab.
AutoCAD prompts:
Select objects:
3. At the Select Objects prompt, select one or more objects that you want to array along a path.
You can select any and all AutoCAD object types, including block insertions and text.
Object arraying is done based on the position of the objects relative to the starting end of the path
object. If you want the arrayed objects to land on the path, they must be on the path before you
select them.
When you finish selecting objects, AutoCAD prompts:
Select path curve:
4. Select the object you want to serve as the path.
Valid object types include straight lines, open or closed polylines and splines, arcs, circles, and
ellipses, as well as helixes and 3D polylines.
You don’t have to press Enter after you select the path. AutoCAD immediately responds with a
lengthy, multi-option prompt, displays a dynamic preview, and displays the path version of the Array
Creation contextual Ribbon tab.
5. Enter the specifications for your array.
As with rectangular and polar arrays, you can specify the number of items, the distance between
them, and/or the length of a portion of the path to fill. A bit of experimentation will show that these
options are often interrelated; changing one forces another one to change. You can also specify
whether the arrayed objects stay horizontal or rotate to stay parallel to the path.
Again, just like the other array types, you can jump back and forth between grip-editing, Ribbon
entries, the command line options, and Dynamic Input tooltip.
6. Finish building your array.
If you don’t have a grip selected, the default mode is eXit. Simply press Enter or the spacebar, or click
the Close Array button on the Ribbon, and you’re done!
Put the path object on a separate layer. After you complete the array, freeze that layer, and the path object
becomes invisible.
NS/CAD LAB/ME/SBSSTCT,FZR
Exercise 3: Sketch of Metal grate
NS/CAD LAB/ME/SBSSTC,FZR
Exercise 4: Slotted Base
Exercise 5: Link
NS/CAD LAB/ME/SBSSTC,FZR
Exercise 6: Base Plate (Extruding the sketch)
Prob. A
Prob-B
NS/CAD LAB/ME/SBSSTC,FZR
Exercise 8: Handle (Revolve)
NS/CAD LAB/ME/SBSSTC,FZR
Exercise 10: Bell Crank Lever
NS/CAD LAB/ME/SBSCET,FZR
/ME/SBSCET,FZR
Lab Work-II: Using the geometric shape and size data learnt in Lab Work I, extrude
or revolve the sketch to obtain 3
3-D
D drawing. Study and practice various options
available for 3-D
D drawing.
Exercise-1: Bracket Lever
NS/CAD LAB/ME/SBSCET,FZR
/ME/SBSCET,FZR
Exercise 3: Hexagonal Nut and Bolt
NS/CAD LAB/ME/SBSCET,FZR
Exercise 4: Keys
NS/CAD LAB/ME/SBSCET,FZR
NS/CAD LAB/ME/SBSCET,FZR
Exercise 5: Body of Solid Journal Bearing
Exercise 6: Shaft
NS/CAD LAB/ME/SBSCET,FZR
Exercise 7: Cup of Screw Jack
NS/CAD LAB/ME/SBSCET,FZR
Exercise 9: V-Block
NS/CAD LAB/ME/SBSCET,FZR
/ME/SBSCET,FZR