Professional Documents
Culture Documents
AutoCAD Tutorial 3
AutoCAD Tutorial 3
OBJECTIVES:
After completing this tutorial you should be able to:
STEP 1
To work effectively with CAD programs, such as AutoCAD, you must be able to
create three-dimensional models of an object and convert them to two-dimensional
drawings. One aspect of AutoCAD, and many other CAD programs, is that the creation
of a model relies heavily on your understanding of the Cartesian System (X-axis, Y-
axis, and Z-axis) and your ability to relate it to the model in space. In this program you
must change the orientation of the X, Y, and Z planes to suit the needs of the drawing
process. In AutoCAD, variations of the Cartesian System are referred to as the User
Coordinate System (UCS). The User Coordinate System allows you to reposition the
location of the origin point (0,0,0) and the X, Y, and Z axes during a model's
construction.
In the last two tutorials you worked with two-dimensional (flat) drawings and
AutoCAD's default coordinate orientation, referred to as the WORLD Coordinate
System (WCS). One of the main objectives of this tutorial will be to give you some
experience creating and using User Coordinate Systems (UCS), which are coordinate
systems defined by the user. There are some AutoCAD elements you cannot place or
modify unless you change the UCS orientation first.
STEP 2
To begin your model, locate and open the classtemplate file you created in the
Tutorial 1.
Click on the Model tab, next to the Layout1 tab, to move to MODEL Space. Your
model must be created in Model Space, since it is 3-dimensional space.
To see if you have a grasp of the User Coordinate System, and give you some
experience with modeling in AutoCAD, you will change your viewpoint in the
acadtutor3 file. The standard view is aligned with the World Coordinates. Your new
viewpoint will provide a "pictorial" view of a model similar to the one in FIGURE 4.
Read the information on the Viewpoint (Vpoint) command and use its Rotate
option to rotate your view to 300 degrees IN the XY plane and 35 degrees FROM the
XY plane. FIGURE 8 illustrates the change in your view to a model. Your view after
completing this operation will look like the one in FIGURE 9. (Note: Your WCS icon
may be in a different position than the one shown in the illustrations.)
FIGURE 9
FIGURE 8
Notice that the cross-hairs on the screen are now at a skewed angle (see FIGURE 9).
This indicates that your Viewpoint is different, but the WCS has not changed.
To help you visualize your position even better, let's turn on AutoCAD's grid. Find the
Status Line at the bottom of the screen, and click on the GRID button. See the
FIGURE below.
You also should see that the dot pattern (GRID) matches the WCS. The cross hairs and
grid are always aligned with the WCS or UCS. NOTE: If your viewpoint is
perpendicular to the current coordinate system's XY plane, so you are looking at its edge,
the grid disappears and the UCS or WCS icon is replaced by one that looks like a broken
pencil, see the FIGURE to the RIGHT .
STEP 3
To begin assembling your model, you will first create a BOX.
You will use several Primitives to create your model. ***WARNING:*** Getting these
features in the correct place will depend on whether you correctly orient your
coordinate system, so work through this section carefully.
To help you work with primitives, you can display a SOLIDS toolbar, like the Osnap
toolbar you used in the last tutorial. Locate the View pull-down menu, and then select
Toolbars... The Solids toolbar is one of many you can display on the screen though
this command. You also can customize toolbars through the Toolbar dialogue box.
Find the name Solids, and click on the check box to its left. As soon as the Solids
toolbar appears, close the Toolbar dialogue window. Move the Solids toolbar to an
appropriate location by holding down the left mouse button on its top edge and dragging
it.
Before creating your first primitive, look at FIGURE 10 to see what it should look like
after you complete the next set of instructions.
FIGURE 10
To create a box, you will use the Box command. Read the information on the
Box command by clicking on the Box link.
Now, follow the prompts to add a box that starts at the 0,0,0 point.
Note the addition of the THIRD number, which is the Z axis. You must
also work in the Z-axis when working with solids.
The box's second corner should be placed at 60,40, which is the
opposite diagonal corner of the Box's base on the XY plane, and its
height should be 40.
Now, check your drawing against FIGURE 10. If your figure does not match, erase it
and try again.
Notice that the box you created appears to be transparent. This is just one of the ways that
AutoCAD can display a model.
STEP 4
You will now add a second box centered with the first. Because
the orientation of this box will be the same as the first (in World
Coordinates) you will not have to change the coordinate system
before adding it.
You will use the Box command again, but instead of drawing the
box from corner to corner, you will add it about a center point. To
find the center of the original box, you need to add some
construction lines. Look at FIGURE 12 to see where to add these lines.
Notice that two lines have been drawn diagonal across the top and bottom of the box (use
the Endpoint Osnap), and one line connects the top line's midpoint (use the
Midpoint Osnap) to the bottom line's midpoint.
**NOTE: The Intersection Osnap will NOT work with a solid model.
FIGURE 12
With these lines inserted, you are ready to use the CEnter option of the Box command
to add the second box. Consult the information of the Box command again before
inserting this second box. Be sure to select the Center option by typing the capital letters
of this option. Now, use the midpoint Osnap to locate the center of this box at the
midpoint of the vertical construction line you just added. The second corner of the box
should be at @-20,-10,20. Look at FIGURE 13 to see how the box should look when
you are done.
FIGURE 13
— either you forgot to used the midpoint Osnap to select the center
for the box on the vertical line,
OR
— you did not select the Center option before giving the box's
coordinates. Failing to select the Center option is the most common
error made.
After evoking the Box command, the first prompt is Specify corner
of box or [Center] <0,0,0>:.
At this prompt you must type a "ce" and then press Enter to indicate that
you want a box created about a center point.
Erase the box and then try to add it again, keeping these possible errors in mind.
Now, erase the construction lines you used to locate the center for the second box.
You will use the second box you added to cut a rectangular hole through the first. The
command you will use for this operation is called the Subtract command and is a
Boolean Operation. Read the information on this command before you start.
Use the Subtract command to remove the smaller box from the bigger one. Look at
FIGURE 14 to see how the figure should now look.
Hint: Read the description of the prompts for this command carefully. The prompts will
direct you to select the solid or solids you want to subtract another solid or solids
FROM (the larger box) and then to select the solid or solids you want to subtract (the
smaller box). If you are not paying attention, it is easy to get these reversed.
FIGURE 14
After you use the Subtract command, the model doesn't not look any different, so let's
check your model by using the Render command. This is a second way that AutoCAD
can display a solid model, and it is also a good way to see if you completed the last
command correctly. Because the model you are working on is displayed as a wireframe,
you cannot tell if the smaller box was actually removed from the larger one.
If the Render or Hide commands revealed that the model was not correct, undo the
last steps you completed and try again.
STEP 5
To add the next feature, you must change the UCS (User Coordinate System) so
the XY Plane is oriented to the Front face. There are two ways to do this. One way is to
type ucs at a Command: prompt, select the orthoGraphic option and then Front.
The second way is to type dducs at a Command: prompt, which will bring up the UCS
dialogue box. See FIGURE 17. Now,, select the Front UCS orientation in the UCS
dialogue box.
Look at the UCSICON on the AutoCAD screen to be sure the UCS changed.
FIGURE 17
NOTE: Anytime "dd" is at the beginning of a typed command, AutoCAD will display a
dialogue box.
STEP 6
With the UCS oriented to Front, you can add a cylinder, with the Cylinder command
, through this side of the model. NOTE: The UCS change was needed before you
could add this cylinder because the circular base of a cylinder is always oriented with
the XY plane of the current UCS.
To locate the cylinder, you need to add a construction line diagonally across the front
surface of the box (as seen in FIGURE 18). The cylinder will be located at the
midpoint of this construction line.
FIGURE 18
Before adding the cylinder, read the information on the Cylinder command.
Now, add a cylinder at the Midpoint of the diagonal construction line that has a
radius of 10 and a height of -50.
Notice the use of the negative number for height. The cylinder height, which is along
the Z-axis, must be negative so it will be projected into the model. A positive height
value would project the cylinder forward so that it sat on the front of the box's face.
Use the Subtract command to remove the cylinder from the rest of the model. See
FIGURE 19.
NOTE: If your model does not match the one in FIGURE 20 after the last
Subtract operation, then you did not subtract the smaller box from the larger one
earlier. If you subtract it now, the model will still be correct.
FIGURE 19
STEP 7
To carry out the next step, use the UCS command to change back to the World
Coordinate System. You can make this change by typing ucs at a Command:
prompt, and selecting the World option. Check the UCS icon for the W to be sure you
made the change properly.
The last primitive you will add to the model is a small Wedge on its RIGHT FRONT
CORNER. To understand how the Wedge command works, you will need a little
explanation. The Wedge command will prompt you for the two diagonal corners of the
base of the wedge. The next prompt will ask for the wedge's height. Wedges tend to be
oriented in one direction. Therefore, you will create the wedge, rotate it into a new
position, and then move it to its final location.
With this information, activate the WEDGE command. Locate the first corner of the
wedge at the Right Front corner of the existing model. When prompted for the next
corner, use a relative coordinate to place this corner at 30,30 and 20 for the height.
See FIGURE 20.
FIGURE 20
FIGURE 21
Your figure should look like FIGURE 22 when you are
finished.
FIGURE 22
FIGURE 24
FIGURE 25
STEP 8
To finish the model, you will add a cylinder to the middle of the sloped surface of the
wedge. Because the base of a cylinder is always aligned with the XY plane, and we want
to have the cylinder parallel with the top of the wedge, you must reorient the UCS to the
face of the wedge.
AutoCAD allows you to place a UCS anywhere you need it to accomplish the task you
need. To place the UCS, we will use the 3Point option of the UCS command. Reread the
information on the UCS command.
Activate the UCS command, select the New option and then 3point. Look at FIGURE
26. When the prompts ask for a new origin point, use an Osnap to select the point
labeled as 1. When asked for a positive on the new X-axis, select the point labeled 2, and
when as for a positive position on the Y-axis, select the point labeled 3. When you are
finished, the UCS will be oriented to the figure as it is in FIGURE 27.
FIGURE 26
FIGURE 27
With the UCS aligned with the slope of the wedge, construct a line from one corner of
the sloped surface of the wedge diagonally to the opposite corner of the same surface.
See FIGURE 30. Use the Midpoint of this construction line to place a cylinder that has
a radius of 5 and a height of -20. Once the cylinder is placed,
FIGURE 28
FIGURE 29
Subtract the cylinder from the wedge.
To finish the figure, you will use the UNION command to connect the wedge to the rest
of the model. Read the information on the UNION command and then complete the
model.
FIGURE 30
STEP 9
With the model complete, you are ready to insert it into your titleblock.
Move to Layout1 by selecting the Layout1 tab. If the model appears in the layout, click
on the viewport edge and erase it.
Next, use the VPORTS command to create a Single Viewport that fills the drawing
area of the titleblock. HINT: Remember to select the opposite diagonal corners of the
drawing area for the corners of the viewport.
In Layout1, click on the edge of the viewport to select it. HINT: Remember you can
click on the upper edge of the titeblock to select this viewport because it overlaps the
edges of the titleblock image area. Now, locate the Viewport Toolbar and select a scale
of 2:1 in the Scale window to scale the model size. Finally, if the model needs moving,
use the PAN command to adjust its position in the window.
Once the model is centered in the titleblock, you must Explode it before you can
edit the text if it is not already exploded. Use ddedit to edit the text in the block as
needed. Remember, you need to change the size in the SCALE: section to match the
size of the figure inside the titleblock or 2:1. See FIGURE 31.
FIGURE 31
FIGURE 32
You are now ready to Plot your drawing, but first we will make
two additional settings.
The first setting you need to make will remove the hidden edges
in the model when it is printed. To remove these edges, you will
use the Properties command. To make this change, again select
the edge of the viewport containing the model if it is not already
selected. Now, type prop or at a Command: prompt or select
Properties on the Modify menu. The Properties dialogue box
will appear. See FIGURE 32.
FIGURE 33
FIGURE 34
Use the Plot command and make the appropriate settings to print the model. You can
check these settings by reading the information of the PLOT command again. Check the
look of the drawing by selecting Full Preview and then click on OK to send the drawing
to the printer.
In the next tutorial, you will learn how to convert a solid model to a
Multiview Drawing.
This work is copyrighted and the property of Alice Y. Scales and is not to be copied
without permission of the author.
9/5/01