Chapter 6. Drawing Simple Lines

Lines are the most commonly drawn object in 2D AutoCAD drawings — you'll use the LINE command a lot! Straight edges just happen to be very common in the real world. Related commands for drawing rectangles, polygons, and construction lines are also important, so you should have all these commands in your arsenal. This chapter explains how to draw all these types of objects.

Using the LINE Command

The LINE command draws straight line segments. Part I includes several exercises in which you drew lines. However, the LINE command has several options, and you can still learn a few tricks of the trade by focusing on the actual LINE command.

Using the LINE Command

If you continue to draw line segments, the subsequent prompts are different. Here's how to use them:

  • The command displays the Specify next point or [Undo]: prompt for the next two segments. Right-click (or press the down-arrow key if you have Dynamic Input turned on) and choose Undo (or type u

    Using the LINE Command
  • After creating at least two line segments, the command displays the Specify next point or [Close/Undo]: prompt. Right-click (or press the down-arrow key if you have Dynamic Input on) and choose Close (or type c

    Using the LINE Command

If you previously drew a line, press Enter at the Specify first point: prompt to start the line at the endpoint of the last line. If you most recently drew an arc, press Enter to start the line at the endpoint of the arc and draw it tangent to the arc.

STEPS: Using the LINE Command

  1. Start a new drawing by using the acad.dwt or acadlt.dwt template.

    Note

    This exercise assumes that you have Dynamic Input on (click the Dynamic Input button on the status bar to turn it on, if necessary) and that you are using the default settings of polar format and relative coordinates. Make sure that the 2D Drafting & Annotation workspace is chosen from the Workspace Switching pop-up list on the status bar. Close any palettes that may be open.

  2. Save the drawing in your AutoCAD Bible folder as ab06-01.dwg.

  3. Using the LINE Command
  4. Click the Ortho Mode button on the status bar.

  5. Move the cursor to the right in the 0-degree direction and type .4667

    Using the LINE Command
  6. Type .7341<129

    Using the LINE Command
  7. Move the cursor to the right in the 0-degree direction and type .4668

    Using the LINE Command
  8. Assume that this was a mistake. Type u

    Using the LINE Command
  9. The Specify next point or [Close/Undo]: prompt reappears. With the cursor still in the 0-degree direction, type .4667

    Using the LINE Command
  10. Type c

    Using the LINE Command
  11. Start the LINE command again.

  12. At the Specify first point: prompt, press Enter. The line starts at the previous endpoint.

  13. Type .8071<270

    Using the LINE Command
  14. Save your drawing. It should look like Figure 6.1.

    The completed gate valve symbol.

    Figure 6.1. The completed gate valve symbol.

Note

Other aspects of lines are covered elsewhere in this book. Chapter 11 explains how to draw dashed and dotted lines. Chapter 16 explains how to create polylines, which combine line segments and curves into one object. Chapter 16 also covers multilines and dlines — sets of parallel lines that you draw all at once. Chapter 21 discusses how to draw 3D lines and polylines.

Drawing Rectangles

The RECTANG command draws rectangles. Rectangles are used in all disciplines. The RECTANG command has a number of options that specify how the rectangle appears and how you define the rectangle's dimensions.

Drawing Rectangles
Specify first corner point or [Chamfer/Elevation/Fillet/Thickness/Width]:

Select one of the options. If you don't want to use any of the options, just specify one corner of the rectangle, using any method of specifying a coordinate.

Note

You can chamfer and fillet the corners as you create the rectangle. (Chapter 10 covers chamfering and filleting.) You can specify a width for the rectangle's line (see Chapter 16). You can also create a 3D box by using the elevation and thickness options (see Chapter 21). The RECTANG command creates a polyline, meaning that all four sides of the rectangle are one object, rather than four separate line objects. Chapter 16 covers polylines.

If you use one of the options, the first prompt returns so that you can specify the first corner point or use another option. After you specify the first point, you see the Specify other corner point or [Area/Dimensions/Rotation]: prompt.

To immediately create the rectangle, specify the corner diagonally opposite the first corner that you specified. You can use any method of specifying coordinates. For example, if you know that the rectangle should be 6 inches wide and 3 inches high, you can specify the second point as 6,3. (If Dynamic Input is turned off or set to absolute coordinates, add the @ symbol before the X,Y coordinates.) You can also use one of the options below:

  • Area. If you know the area of the rectangle, and only its length or width, then use this option. First you enter the area. Then you specify either the length or the width, and AutoCAD calculates the side that you didn't specify, based on the area you entered.

  • Dimensions. If you know the length and width of the rectangle, then use this option (although it may be simpler to specify the opposite corner, as I described earlier). You are prompted for the length and width. You then need to move the mouse to specify if you want the second corner to be above and to the right, or in any other direction from the first corner. When you see the rectangle you want, click it.

  • Rotation. If you want to rotate the rectangle as you create it, then simply enter a rotation angle and pick the opposite corner. Alternatively, instead of entering a rotation angle, you can pick two points to specify a rotation angle and then pick the opposite corner. This last option is great if you want to align the rectangle with an existing object.

Note

All the options for rectangles, except for Area, remain as defaults for future rectangles that you draw. As a result, you can use the Dimensions option to quickly draw a number of identical rectangles.

Drawing Polygons

Drawing Polygons

First specify the number of sides. Then choose one of three methods of defining the polygon, as described in Table 6.1.

Table 6.1. POLYGON Command Options

Option

Description

Edge

Right-click and choose the Edge option. Specify the two endpoints of any edge of the polygon to complete the polygon.

Inscribed in circle

After specifying the center, right-click and choose Inscribed in Circle. Then specify the radius from the center to a vertex (point). This defines the polygon with reference to an imaginary circle whose circumference touches all the vertices of the polygon.

Circumscribed about circle

After specifying the center, right-click and choose Circumscribed about Circle. Then specify the radius from the center to the midpoint of a side. This defines the polygon with reference to an imaginary circle whose circumference touches all the midpoints of the polygon's sides.

If you type a number for the radius, then the bottom edge of the polygon is horizontal. However, if you pick a point for the radius with your mouse, you can specify the orientation of the polygon. As you rotate the mouse cursor around the center, you see the polygon rotate. Click when you like what you see.

Note

When you type a number for the radius, the bottom edge aligns with the snap rotation angle, which is usually 0. Chapter 8 explains how to change this angle.

The POLYGON command creates a polyline, meaning that the entire polygon is one object, rather than a series of line segments.

In the exercise that follows, I indicate inches with a double prime (″) and feet with a single prime (′). You may find this notation clearer when a measurement has both feet and inches, but you do not actually need to type the double prime for inches. When you have a measurement that is only in inches, it saves time to leave out the double prime.

Note

The drawing used in this exercise on drawing rectangles and polygons, ab06-a.dwg, is in the Drawings folder on the DVD.

STEPS: Drawing Rectangles and Polygons

  1. Open ab06-a.dwg from the DVD.

  2. Save the drawing in your AutoCAD Bible folder as ab06-02.dwg. Verify that snap and grid are on, set at 1″. Object Snap should be off.

    Note

    This exercise assumes that you have Dynamic Input on (click the Dynamic Input button on the status bar to turn it on, if necessary), that you use the default settings for the polar format and relative coordinates, and that you are in the default 2D Drafting & Annotation workspace (if necessary, click the Workspace Switching button on the status bar to choose it).

  3. POLYGON Command Options
  4. At the Specify first corner point or [Chamfer/Elevation/Fillet/Thickness/Width]: prompt, move the cursor to 0′-1″,0′-1″ and click. At the Specify other corner point or [Area/Dimensions/Rotation]: prompt, type 21″,19

    POLYGON Command Options
  5. Start the RECTANG command again. At the Specify first corner point or [Chamfer/Elevation/Fillet/Thickness/Width]: prompt, Shift+right-click and choose the From object snap. Pick the bottom-left corner of the rectangle. At the <Offset>: prompt, type @2,2

    POLYGON Command Options
  6. At the Specify other corner point or [Area/Dimensions/Rotation]: prompt, type 19″,13

    POLYGON Command Options
  7. Right-click and choose Repeat RECTANG. At the prompt, find 0′8″,1′7″ (on a snap point) and click. At the Specify other corner point or [Area/Dimensions/Rotation]: prompt, type 11,2

    POLYGON Command Options
  8. Again, start the RECTANG command. At the prompt, find 1′1″,1′8″ and click. At the Specify other corner point or [Area/Dimensions/Rotation]: prompt, type 1,-5

    POLYGON Command Options
  9. POLYGON Command Options
  10. At the Enter an option [Inscribed in circle/Circumscribed about circle] <I>: prompt, press Enter to accept the default. This means that you indicate the radius from the center to the vertices. (If your prompt shows <C> as the default, type i

    POLYGON Command Options
  11. At the Specify radius of circle: prompt, type 1/2

    POLYGON Command Options
  12. Repeat Steps 9 through 11, using a center of 1′5,1′8.

  13. Start the POLYGON command again. At the Enter number of sides <5>: prompt, type 3

    POLYGON Command Options
  14. At the Specify center of polygon or [Edge]: prompt, right-click and choose the Edge option.

  15. At the Specify first endpoint of edge: prompt, choose the top-left corner of the faucet rectangle (1′1″,1′8″), which is on a snap point.

  16. At the Specify second endpoint of edge: prompt, choose the top-right corner of the faucet rectangle to complete the triangle.

  17. Turn off the grid to get a better look at the drawing. You have completed the sink, which should look like Figure 6.2. Save your drawing.

    The completed sink, drawn with rectangles and polygons.

    Figure 6.2. The completed sink, drawn with rectangles and polygons.

Creating Construction Lines

Sometimes you want to create a line that is used solely for the purpose of reference. A construction line is a temporary or reference line used to help you draw or to show a relationship between objects. For example, you might want to do the following:

  • Draw two lines from the midpoints of two perpendicular lines so that you can use their intersection as the center for a circle.

  • Draw a line from one object to another to visually indicate the relationship between the two objects.

  • Show the relationship between equivalent parts of a model shown in front and right-side views.

  • Draw a line through the center of an object shown in cross-section so that you can show dimensions from the centerline to the edge of the object.

You could use regular lines for these purposes. However, construction lines (also known as xlines) are unique in that they extend infinitely in both directions. This makes them especially useful for seeing the relationships among various objects in your drawing.

Of course, construction lines are not actually infinite. However, they extend to the edge of the drawing area on your screen, and if you zoom out to see more of your drawing, they expand so that they always extend to the edge of the screen. The object snap tracking feature (covered in Chapter 4) sometimes eliminates the need for construction lines; nevertheless, sometimes you can work more easily having a line visible for several commands and then erasing it.

If you zoom to show the extents of your drawing, AutoCAD or AutoCAD LT ignores the xlines and shows you just the extents of the regular objects in your drawing. Chapter 8 covers the ZOOM command.

Creating Construction Lines
Specify a point or [Hor/Ver/Ang/Bisect/Offset]:

Table 6.2 lists the possible options. AutoCAD or AutoCAD LT continues to prompt you for more points so that you can continue to draw construction lines — much like the LINE command. Press Enter to end the command.

Table 6.2. XLINE Command Options

Option

Description

Specify a point

This option enables you to define the construction line with two points. At the first prompt, specify a point. At the Specify through point: prompt, specify another point. The first point becomes the base point for subsequent construction lines that you can draw by specifying other through points.

Hor

To draw a construction line parallel to the X axis, type h

XLINE Command Options

Ver

To draw a construction line parallel to the Y axis, type v

XLINE Command Options

Ang

Type a

XLINE Command Options

Bisect

To draw a construction line that bisects an angle (divides the angle in half), type b

XLINE Command Options

Offset

To draw a construction line parallel to a line, type o

XLINE Command Options

Creating Rays

Rays are similar to construction lines, except that they start at a specific point and extend to infinity in one direction only. If you need a line to extend in only one direction, using a ray may be less confusing.

Note

You can use most object snaps with construction lines and rays. (You can't use an endpoint for construction lines or a midpoint for rays.) You can edit construction lines and rays like any other object.

Creating Rays

Note

The drawing used in this exercise on drawing construction lines and rays, ab06-b.dwg, is in the Drawings folder on the DVD.

STEPS: Drawing Construction Lines and Rays

  1. Open ab06-b.dwg from the DVD.

  2. Save the drawing as ab06-03.dwg in your AutoCAD Bible folder.

  3. Creating Rays
  4. At the Specify a point or [Hor/Ver/Ang/Bisect/Offset]: prompt, choose point

    Creating Rays
  5. At the Specify through point: prompt, choose point

    Creating Rays
    A pipe with cross-section.

    Figure 6.3. A pipe with cross-section.

  6. Press Enter to end the command. Notice that the drawing has been set up so that the construction line is drawn in green and with a noncontinuous linetype. This is to distinguish it from the main drawing. (See Chapter 11 for details on how to set up a drawing in this way.)

  7. A pipe with cross-section.
  8. At the Specify start point: prompt, choose point

    A pipe with cross-section.
  9. At the Specify through point: prompt, choose point

    A pipe with cross-section.
  10. Save your drawing.

Summary

This chapter covered the ins and outs of lines. You read about:

  • Using the LINE command

  • Drawing rectangles

  • Drawing polygons

  • Creating construction lines, including xlines that extend infinitely in both directions and rays that extend infinitely in one direction

The next chapter explains how to draw curves and point objects. Curves include circles, arcs, ellipses, and donuts.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.154.252