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 tutorials.

Preparing CADKEY for the Drawing

  1. 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.
  2. A prompt reads: Enter part filename (): Enter BLANK and press RETURN. The default file and its settings are loaded.

Drawing the 2D Object

  1. Return to the home menu, then CREATE-LINE-RECTANG-WID/HT.
  2. First indicate the width of the rectangle. A prompt reads: Enter width of rectangle (267) =. Enter a value of 150 and RETURN.
  3. Now enter the height. A prompt reads: Enter height of rectangle (203) =. Enter value of 100 and RETURN.
  4. 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.

  5. To fit rectangle on-screen, enter ALT-A (zoom auto scale), then ALT-H (zoom half scale).
  6. Use the line option to create two short lines in the upper left corner of the rectangle. Enter ESC-CREATE-LINE-STRING-KEY IN.
  7. 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).
  8. Now locate the second point of the first line by keying in 25,75,0.
  9. 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.

    Figure 6.

  10. 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.
  11. 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.
  12. 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 is trimmed.
  13. 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.

    Figure 7.

  14. 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

  15. The long vertical line on the right side of the rectangle has to be erased. Enter CTRL-Q (single delete) to erase the entity.
  16. A prompt reads: Select entity 1 (press RETURN when done). Pick the line with the cursor at about 150,50,0.
  17. A prompt reads: Select entity 2 (press RETURN when done). Press RETURN to erase the line. The vertical line is now erased.
  18. An arc is now added to the drawing by entering ESC-CREATE-ARC-BEG+END.
  19. 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.
  20. Now enter a starting point by keying in coordinates. A prompt reads: Indicate starting point. Choose KEY-IN and enter 150,0,0.
  21. Finish the arc by entering the endpoint. A prompt reads: Indicate ending point. Enter 150,100,0. The arc is added to the drawing.
  22. The circle is added to the drawing by entering ESC-CREATE-CIRCLE-CTR+DIA.
  23. First specify the diameter. A prompt reads: Enter diameter (1) =. Enter the diameter of 40 and RETURN.
  24. 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.

    Figure 8.

  25. 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.
  26. A prompt reads: Enter radius (0.5) =. Enter a radius of 5 and RETURN.
  27. 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!
  28. A prompt reads: Select 2nd fillet entity. Pick the other line near the corner with the cursor. The fillet is added to the drawing.
  29. 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.
  30. Draw the center lines by entering ESC-CREATE-LINE-ENDPOINTS-KEY IN.
  31. First draw a vertical center line by entering 100,-10,0 and 100,110,0.
  32. Next draw the horizontal center line by entering 70,50,0 and 210,50,0. The result is seen in Figure 9.

    Figure 9.

  33. Enter ALT-T and pick the solid line in the pop-up menu to change back to visible lines.
  34. Save your drawing as a PART file called test1 by pressing CTRL-F.

This concludes the tutorial. The next tutorial in the series is