CADKEY Tutorial - Creating a 2D Drawing
In this tutorial you will be creating a simple 2D drawing. The purpose of this tutorial
is to continue introducing the kinds of creation and editing tools you were using in
the Titleblock tutorial. By the end of the tutorial you should be able to create a single
view of a simple mechanical object.
This tutorial assumes you have already mastered some basic concepts about CADKEY. If you you
have not mastered the items in the following list, please review them by choosing:
The tutorial also assumes you have correctly configured CADKEY. If you haven't, return to
the CADKEY Home Page. and do the configuration
Preparing CADKEY for the Drawing
- Start the drawing by loading the file named BLANK created earlier. To load a file,
return to the home menu by choosing ESC then select FILE-PART-LOAD-NO.
- A prompt reads: Enter part filename (): Enter BLANK and press
RETURN. The default file and its settings are loaded.
Drawing the 2D Object
- Return to the home menu, then CREATE-LINE-RECTANG-WID/HT.
- First indicate the width of the rectangle. A prompt reads:
Enter width of rectangle (267) =. Enter a value of 150 and RETURN.
- Now enter the height. A prompt reads: Enter height of rectangle (203) =.
Enter value of 100 and RETURN.
- Once the size has been specified, the rectangle needs to be located on the drawing.
A prompt reads: Indicate lower-left corner. Select
KEY-IN from the menu and enter the coordinate position 0,0,0.
(This represents the X, Y, and Z coordinates of the location point).
Note: If you make a mistake, enter CTRL-Q and pick each of the lines of the
rectangle, then press RETURN to erase it.
- To fit rectangle on-screen, enter ALT-A (zoom auto scale),
then ALT-H (zoom half scale).
- Use the line option to create two short lines in the upper left corner of the
rectangle. Enter ESC-CREATE-LINE-STRING-KEY IN.
- The first X,Y,Z point of the rectangle is entered by keying in 25,100,0
(remember that you enter the coordinates in one at a time).
- Now locate the second point of the first line by keying in 25,75,0.
- Because you are using the Line-String option, the second line has already been
started where your last point was entered. The second line is finished by
entering 0,75,0. Your drawing should now look like Figure 6.
- The a command in the EDIT menu is used to erase part of the lines from
the upper left corner of the rectangle. Enter ESC-EDIT-TRM/EXT-FIRST.
- First select the entity to trim on the portion of the line you want to keep.
The prompt reads: Select entity to trim. Position the cursor on the part of
the line that you want to keep. Pick the horizontal line at about 35,100,0.
- Now select the trimming entity. This line is used to guide were the other
entity is to be trimmed to. A prompt reads: Select trimming entity
(position cursor near intersection but not directly on it). Pick the vertical line
that will act as the cutting entity at about 25,85,0. The long horizontal line
- Trim the long vertical line on the left side of the rectangle by using the same
procedure used in Steps 10-12. The result should look like Figure 7.
- Use CTRL-R to redraw the screen and turn the erased grid points on.
Note: When using the EDIT-TRIM-SINGLE option it may be helpful to
remember that the part of the entity to pick is the keeper and the second pick
is the cutter
- The long vertical line on the right side of the rectangle has to be erased.
Enter CTRL-Q (single delete) to erase the entity.
- A prompt reads: Select entity 1 (press RETURN when done). Pick the line
with the cursor at about 150,50,0.
- A prompt reads: Select entity 2 (press RETURN when done).
Press RETURN to erase the line. The vertical line is now erased.
- An arc is now added to the drawing by entering ESC-CREATE-ARC-BEG+END.
- The command first wants the sweep angle for the arc being drawn.
A prompt reads: Enter included angle (30) =. To draw half a circle
enter 180 and press RETURN.
- Now enter a starting point by keying in coordinates.
A prompt reads: Indicate starting point. Choose KEY-IN and enter 150,0,0.
- Finish the arc by entering the endpoint.
A prompt reads: Indicate ending point. Enter 150,100,0. The arc is
added to the drawing.
- The circle is added to the drawing by entering ESC-CREATE-CIRCLE-CTR+DIA.
- First specify the diameter. A prompt reads: Enter diameter (1) =.
Enter the diameter of 40 and RETURN.
- Now locate it on the drawing. A prompt reads: Indicate center.
Define the center point of the circle by choosing KEY-IN and
entering 100,50,0. The circle is added to the drawing, as shown in Figure 8.
- The small round on the lower-left corner of the 2D drawing is added by
using the FILLET option. This command replaces a hard corner where two
straight lines meet with a tangent arc. Enter ESC-CREATE-FILLET-ARC-TRIM.
- A prompt reads: Enter radius (0.5) =. Enter a radius of 5 and RETURN.
- A prompt reads: Select 1st fillet entity. Pick one of the lines near
the lower left corner of the original
rectangle. Do not put the cursor directly on the corner!
- A prompt reads: Select 2nd fillet entity. Pick the other line near
the corner with the cursor. The fillet is added to the drawing.
- The last entities to add are the center lines. Before this is done, the line
type must be changed. Use ALT-T or click on L-TYPE=1 on the Status
Menu, and click on the center line type in the pop-up menu.
- Draw the center lines by entering ESC-CREATE-LINE-ENDPOINTS-KEY IN.
- First draw a vertical center line by entering 100,-10,0 and 100,110,0.
- Next draw the horizontal center line by entering 70,50,0 and 210,50,0.
The result is seen in Figure 9.
- Enter ALT-T and pick the solid line in the pop-up menu to
change back to visible lines.
- Save your drawing as a PART file called test1 by pressing CTRL-F.
This concludes the tutorial. The next tutorial in the series is