(Throwing) Curves

Table 9-1 lists the AutoCAD commands for drawing curvy things. It shows you the tool icons found on the Ribbon, toolbars, and menus, and gives the command name with alias (where one exists) if you like to type. It also tells you where to find or how to enter the commands using both the Ribbon in the Drafting & Annotation workspace and the Draw toolbar and Draw menu in the AutoCAD Classic environment.

Table 9-1 AutoCAD Drawing Commands for Curved Objects

image

image Slideout panels are part of the Ribbon interface in AutoCAD 2012's Drafting & Annotation, 3D Basics, and 3D Modeling workspaces. Slideouts are present in panels that show a small down-pointing triangle next to the panel title. To open a slideout, click the panel title bar (for example, Draw on the Home tab). The panel expands downward, and a pushpin icon appears at the left end of the panel title bar. After you click a tool button, the slideout panel closes. Click the pushpin in the title bar to pin the panel — that is, force it to stay open.

If you're familiar with earlier AutoCAD releases, you may suspect that the Draw panel in AutoCAD 2012's Ribbon interface is also missing some commands. Well, as they used to say in the '90s, the paradigm has shifted! Those commands are still there, they've just shifted around to reflect the task-based Ribbon layout. For example, block creation and insertion used to live on the classic Draw menu and Draw toolbar, but in the newer user interface, those tools have moved to the Block panel, which can be found on both the Insert and Home tabs. Similarly, the text commands (whose classic interface home was also on the Draw menu and Draw toolbar) are on the Ribbon's Annotate and Home tabs.

Going full circle

AutoCAD offers an easy and intuitive way to draw circles, and it also offers … other ways. The easy way is to define the center point of the circle and then to specify the radius (the default option) or the diameter. You can also define a circle by choosing one of the following options of the command (for those other ways):

  • 2-Point (2P): Draws a circle where the distance between two specified points is equal to the diameter of the circle. If you're keyboarding, enter 2P at the command prompt to choose this option; it's spelled out as 2-Point on tooltips.
  • 3-Point (3P): Draws a circle through any three specified points.
  • Tangent-Tangent-Radius (Ttr): Draws a circle tangent to two existing drawing objects and a specified radius.
  • Tangent-Tangent-Tangent: Draws a circle tangent to three valid existing drawing objects. (By valid, I mean it's mathematically possible to construct a circle tangent to the three selected objects.) Note that you can't create this kind of circle by typing a command option at the command line because there is no such command option. This method is actually a macro and you run it by choosing Tan, Tan, Tan from the Circle button menu on the Home tab's Draw panel.

Figure 9-1 illustrates these six different ways of drawing circles. Whether these additional methods are useful or not depends on the kinds of drawings that you make and how geometry is defined in your industry. Get familiar with the default center point/radius method and then try the other methods to see whether they may be helpful to you. If you find yourself going around in circles, you can always draw them the default way and move them into position with other geometry.

image

Figure 9-1: Pi R squared; circles R round.

Follow these steps to use the CIRCLE command:

  1. Click the Home tab on the Ribbon.

    The most frequently used commands in AutoCAD are found on the Ribbon's Home tab.

  2. Set an appropriate layer current and set other object properties that you want applied to the circles that you'll draw.
  3. image Click the Circle button on the Ribbon's Draw panel or type C and press Enter.

    AutoCAD starts the CIRCLE command and prompts you to specify the center point of the circle. If Dynamic Input is toggled on, press the down-arrow on your keyboard to see the options at the crosshairs. The command line shows

    Specify center point for circle or [3P/2P/Ttr (tan tan
             radius)]:

    The prompts show the methods other than “center point plus radius” that you can use to draw circles in AutoCAD. (No, tan tan radius is not a mathematician's dance.) Look up CIRCLE command in the online help if you think you may have a use for these less-common circle-drawing techniques.

  4. Specify the center point by clicking a point or typing coordinates.

    image Use one of the precision techniques described in Chapter 7 if you're doing real drafting. Object snap, snap, and typing coordinates all work well for specifying the center point.

    AutoCAD then prompts you to specify the circle's radius.

    Specify radius of circle or [Diameter]:

    image Type D and press Enter if you prefer to enter the diameter rather than the radius and you've forgotten your two-times tables — or, more seriously, if the diameter is easier to type exactly than the radius is.

  5. Specify the radius by typing a distance or clicking a point.

    AutoCAD draws your circle and returns to a blank command prompt. The first point you picked is the center. The command prompt doesn't tell you so, but if you pick a second point instead of entering a number (or typing D to invoke the Diameter option), AutoCAD interprets the distance between the first and second points as the radius value.

Arc-y-ology

Arcs in AutoCAD are, quite simply, pieces of circles. As with circles, AutoCAD offers you an easy way to define arcs. Just specify three points on-screen to define the arc, easy as one-two-three. These points tell AutoCAD where to start the arc, how much to curve it, and where to end it.

Sounds pretty easy, right? So, where's the problem? The trouble is that you nearly always have to specify arcs more exactly than is possible by using this method. AutoCAD helps you specify such arcs, too — but the procedure ain't easy.

You can start your arc by specifying the center of the arc or the start point. If you choose the Center option, AutoCAD prompts you for the center point first and the start point second. AutoCAD defines arcs counterclockwise, so pick a start point in a clockwise direction from the endpoint. After you specify the center and start point, AutoCAD presents several options you can choose, including the following:

  • Angle: Specifies the included angle that the arc sweeps out. A 180-degree angle, for example, is a semicircle.
  • Length of chord: Specifies the length of an imaginary straight line connecting the endpoints of the arc. Most people seldom or never use this option.
  • Endpoint: Specifies where the arc ends. It's the default option and often the easiest to use.

If you specify the start point as the first option, you can choose among the following three command options as well:

  • Center: Prompts you for the arc's center point and then finishes with the three options listed previously.
  • End: Specifies the endpoint of the arc. You then need to define the angle that the arc covers, its direction, its radius, or its center point.
  • Second point: The default option. The second point you choose isn't the endpoint; instead, it's a point on the arc that, along with the start point and endpoint, defines how much the arc curves. After you enter the second point, you must enter an endpoint to complete the arc.

image To get a feel for how these permutations can be strung together to create different arc-drawing methods, click the down arrow beside the Arc tool button on the Ribbon's Draw panel and look at the drop-down menu that unfurls, as shown in Figure 9-2. Using the Ribbon is also the most direct way of actually using any of these options — at least until you're really familiar with the program and are adept at entering keyboard shortcuts.

image

Figure 9-2: A deluge of Arc options, with the results of using some of those options.

The following example shows how you draw an arc with the default start point/second point/endpoint method:

  1. Set an appropriate layer current and set other object properties that you want applied to the arcs that you'll draw.
  2. image Click the Arc button on the Home tab's Draw panel, or type A and press Enter.

    AutoCAD starts the ARC command and prompts you to specify the start point of the arc. The command line shows

    Specify start point of arc or [Center]:
  3. Specify the start point by clicking a point or typing coordinates.

    AutoCAD prompts you to specify a second point on the arc.

  4. Specify a second point on the arc by clicking a point or typing coordinates.

    image The second point lies somewhere along the curve of the arc. AutoCAD determines the exact curvature of the arc after you choose the final endpoint in the following step. To align the second point with an existing object, use an Object Snap mode.

    AutoCAD prompts you to specify the endpoint of the arc; as you move the crosshairs around, AutoCAD shows how the arc will look.

  5. Specify the endpoint of the arc by clicking a point or typing coordinates.

    AutoCAD draws the arc, as shown previously in Figure 9-2.

image As you may recall, pressing Enter repeats the last command. What often throws new AutoCAD users is that Enter doesn't repeat the options of the last command. If you draw an arc using the Center, Start, End option, for example, pressing Enter isn't going to repeat that method — it's going to repeat the ARC command in its default form, and the three points you pick probably won't give you the arc you meant to draw. Bottom line: Watch the command line!

Solar ellipses

In case you've forgotten your ninth-grade math, an ellipse is like a squished circle (please excuse the technical jargon). Mathematically, an ellipse is defined by a major (long) axis and a minor (short) axis. These axes determine the ellipse's length, width, and degree of curvature. An elliptical arc is an arc cut from an ellipse.

The AutoCAD ELLIPSE command provides a straightforward way of drawing an ellipse: You specify the two endpoints of one of its axes and then specify an endpoint on the other axis. But like the ARC command, the ELLIPSE command offers a bunch of other options:

  • Arc: Generates an elliptical arc, not a full ellipse. You define an elliptical arc just as you do a full ellipse. The methods that I discuss in this section for creating an ellipse apply to either.
  • Center: This option requires that you define the center of the ellipse and then the endpoint of an axis. You can then either enter the distance of the other axis or specify that a rotation around the major axis defines the ellipse. If you choose the latter, you can enter (or drag the ellipse to) a specific rotation for the second axis that, in turn, completely defines the ellipse.
  • Rotation: With this option, you specify an angle which defines the curvature of the ellipse — small angles make fat ellipses (0 degrees creates a circle, in fact), and large angles make skinny ellipses. The name of the option, Rotation, has something to do with rotating an imaginary circle around the first axis. If you can figure out the imaginary circle business, you have a better imagination than I do.

image The following command line example creates an ellipse by using the default endpoints of the axes method. Figure 9-3 shows an ellipse and an elliptical arc.

Command: ELLIPSE
Specify axis endpoint of ellipse or [Arc/Center]: pick or
           type the first endpoint of one axis
Specify other endpoint of axis: pick or type the other
           endpoint of one axis
Specify distance to other axis or [Rotation]: pick or type
           the endpoint of the other axis

image You can create elliptical arcs (as opposed to the circular arcs that the AutoCAD ARC command draws) by using the Arc option of the ELLIPSE command; it's perfect for drawing those cannonball trajectories! Alternatively, you can draw a full ellipse and use the TRIM or BREAK command to cut a piece out of it.

image

Figure 9-3: To make an omelet, sometimes you have to break a few ellipses.

Splines: The sketchy, sinuous curves

Most people use CAD programs for precision drawing tasks: straight lines, carefully defined curves, precisely specified points, and so on. AutoCAD is not the program to free your inner artist — unless your inner artist is Mondrian. Nonetheless, even meticulously created CAD drawings sometimes need freeform curves. The AutoCAD spline object is just the thing for the job.

You can use AutoCAD splines in two ways:

  • Eyeball the location and shape of the curve and don't worry too much about getting it just so. That's the freeform, sketchy, not-too-precise approach that I describe in this section.
  • Specify their control points and curvature characteristics precisely.

image Beneath their easygoing, informal exterior, AutoCAD splines are really highly precise, mathematically-defined entities called NURBS curves (NonUniform Rational B-Spline curves). Mathematicians and some mechanical and industrial designers care a lot about the precise characteristics of the curves they work with. For those people, the AutoCAD SPLINE and SPLINEDIT commands include a number of advanced options. Look up spline curves in the AutoCAD online help if you need precision in your splines.

Drawing splines is straightforward, if you ignore the advanced options. The following procedure draws a freeform curve with the SPLINE command:

  1. Set an appropriate layer current and set other object properties that you want applied to the spline segments that you'll draw.
  2. image Click the Spline Fit button on the Home tab's Draw panel slideout or type SPL and press Enter.

    AutoCAD starts the SPLINE command and prompts you to specify the start point of the spline. The command line shows

    Current settings: Method=Fit Knots=Chord Specify first
             point or [Method/Knots/Object]:
  3. Specify the start point by clicking a point or typing coordinates.

    AutoCAD prompts you to specify additional points:

    Enter next point or [start Tangency/toLerance]:
  4. Specify additional points by clicking or typing coordinates.

    After you pick the second point, press the down-arrow key to display additional options at the Dynamic Input tooltip. (Enable Dynamic Input at the status bar if you need to.) The command line shows

    Enter next point or [end Tangency/toLerance/Undo/Close]:

    image Because you're drawing a freeform curve, you usually don't need to use object snaps or other precision techniques when picking spline points.

  5. Press Enter after you've chosen the endpoint of your spline.

    AutoCAD draws the spline.

image You can specify the start and end tangency of the spline to control the curvature of the start points and endpoints of the spline. If all you're after is a swoopy freeform curve, just picking points as in this example works fine.

Figure 9-4 shows some examples of splines.

image

Figure 9-4: A slew of splines.

image After you've drawn a spline, you can grip edit it to adjust its shape. See Chapter 10 for information about grip editing. If you need finer control over spline editing, look up the SPLINEDIT command in the AutoCAD online help.

Donuts: The circles with a difference

A donut in AutoCAD is another special type of polyline object that you create with (what else?) the DONUT command. (The rectangles and regular polygons I show you in Chapter 8 are also polyline objects.) Creating a donut is a simple way to define a single object that consists of two concentric circles with the space between them filled.

When you start the DONUT command, AutoCAD prompts you for the inside diameter and the outside diameter — the size of the hole and the size of the donut — as measured across their widest points. After you've entered these values, AutoCAD prompts you for the center point of the donut. But one donut is rarely enough, so AutoCAD keeps prompting you for additional center points until you press Enter (the AutoCAD equivalent of saying, “no, really, I'm full now!”).

image The following example draws a regulation-size donut, with a 1.5-inch hole and 3.5-inch outside diameter.

Command: DONUT
Specify inside diameter of donut <0.5000>: 1.5
Specify outside diameter of donut <1.0000>: 3.5
Specify center of donut or <exit>: pick or type the center
           point of one or more donuts

image You can use the DONUT command to create a filled circle — also known as a jelly-filled donut. Just specify an inside diameter of 0. Figure 9-5 shows both kinds of donuts.

image

Figure 9-5: Donuts, plain and jelly-filled.

Revision clouds on the horizon

It's customary in many industries to submit a set of drawings at different project milestones or stages of completion and then submit them again later with revisions — corrections, clarifications, and requested changes. Usually, the recipients like to locate changed stuff easily, and a common drafting convention is to call attention to revised items by drawing freeform clouds around them. The REVCLOUD command makes quick work of drawing such clouds.

Drawing revision clouds is easy, after you understand that you click only once in the drawing area. That one click defines the starting point for the cloud's perimeter. After that, you simply move the crosshairs around, and the cloud takes shape. When you return to near the point that you clicked in the beginning, AutoCAD automatically closes the cloud.

image The following command line example shows you how to draw a revision cloud. Figure 9-6 shows what revision clouds look like.

Command: REVCLOUD
Minimum arc length: 0.5000 Maximum arc length: 0.5000 Style:
           Normal
Specify start point or [Arc length/Object/Style] <Object>:
           pick a point along the perimeter of your future
           cloud
Guide crosshairs along cloud path… sweep the crosshairs
           around to define the cloud's perimeter

You don't need to click again. Simply move the crosshairs around without clicking. AutoCAD draws the next arc segment of the cloud when your crosshairs reach the minimum arc length distance from the end of the previous arc segment.

Continue moving the crosshairs around until you return to the point where you clicked first.

image

Figure 9-6: Meanwhile, revision clouds were gathering over Europe.

image Here are a few tips for using revision clouds:

  • It's a good idea to put revision clouds on their own layer so you can choose to plot with or without the clouds visible.
  • You'll probably find it easier to control the shape of revision clouds if you turn off Ortho mode before you start the command.
  • You may need to add a triangle and number, as shown in Figure 9-6, to indicate the revision number. A block with an attribute is a good way to handle this requirement: Chapter 17 covers blocks and attributes.

image If the revision cloud's arcs are too small or too large, erase the cloud, restart the REVCLOUD command, and use the command's Arc Length option to change the minimum and maximum arc lengths. The default minimum and maximum lengths are 0.5 (or 15 in metric drawings). If you make the minimum and maximum lengths equal (which is the default), the lobes will be approximately equal in size. If you make them unequal, there will be more variation in lobe size — you'll get fluffier clouds. Fortunately, all these options are more than most non-meteorologists will need.

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

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