Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
autocad_2013_for_dummies.pdf
Скачиваний:
24
Добавлен:
19.02.2016
Размер:
24.71 Mб
Скачать

15

Down the Hatch!

In This Chapter

Adding hatching to your drawings

Using predefined and user-defined hatch patterns

Making solid fills

Choosing hatching boundaries

Using annotative hatching

Copying existing hatches

Editing hatches

If you were hoping to hatch a plot (or plot a hatch), see Chapter 16. If you want to hatch an egg, look for Raising Chickens For Dummies, by

Kimberly Willis and Robert T. Ludlow. If you need to fill in closed areas of your drawings with special patterns of lines (crosshatching, or more commonly just hatching) or solid fills,

this is your chapter.

An AutoCAD hatch is a separate object that fills a space; has an appearance dictated by the hatch pattern assigned to it; and by default is associated with the objects that bound the space, such as lines, polylines, or arcs. If you move or stretch the boundaries, AutoCAD normally updates the hatching to fill the resized area.

Batten Down the Hatches!

Drafters often use hatching to represent the type of material

that makes up an object, such as insulation, metal, and concrete. In other cases, hatching helps emphasize or clarify the extent of a particular ­element in the drawing — for example, showing the location of walls in a

www.it-ebooks.info

324 Part III: If Drawings Could Talk

building plan or highlighting a swampy area on a map so you know where to avoid building a road. Figure 15-1 shows an example of hatching in a structural detail. In mechanical design, it’s used to show the cut faces of cross sections.

Figure 15-1: A big batch o’ hatch.

This section gives you a quick jump-start on the basic process used to create hatching and shows you how easy it is. We’ll also cover many of the options included in the Hatch Creation contextual Ribbon tab, shown in Figure 15-2, and how to edit existing hatched areas.

The following steps show you how to hatch an enclosed area by using the pick points method of selecting the hatch area:

1.Start a new drawing, using the acad.dwt template for imperial units or acadISO.dwt for metric.

Draw a circle with a radius of 5 units (imperial) or 50 units (metric). Draw a second circle inside the first with a radius of 2 units (imperial) or 20 units (metric).

2.Start the HATCH command by typing H and pressing Enter, or click the Hatch button on the Draw panel of the Ribbon’s Home tab.

The Hatch Creation contextual Ribbon tab (see Figure 15-2) appears, but just ignore it for the time being.

www.it-ebooks.info

Chapter 15: Down the Hatch! 325

3.Move the cursor around on the screen.

As the cursor moves within any enclosed area in your drawing, a quick preview appears to show you how the final hatching would look like if you picked a point inside that particular area. Starting from outside the larger circle, move it into the space between circles; then into the inner circle, and then back into the space between circles — and note the changes.

4.Change some of the hatch options.

The quick preview updates as you select any variants or change any values in the Hatch Ribbon panels. Try different patterns. The three little arrows along the right side of the Pattern panel scroll you through all the different patterns that are available. Our personal favorite is Escher.

5.Pick a point in the region between the circles.

Press Enter or the spacebar, or right-click and then click Enter.

Congratulations! You’ve just done — in a few seconds — something that would have taken an hour or more in pencil-and-paper days.

But wait! There’s more!

6.Time for a change.

Click the outer circle, and then click and drag one of the four outer grips to change the diameter of the circle. Watch in shock and awe as the hatching updates to match. This is associative hatching.

Now click the inner circle, and then click and drag its center grip to change its location. What happens when you move the smaller one outside the larger one? And what happens when you move it back inside?

Figure 15-2: The Hatch Creation contextual Ribbon tab.

Don’t Count Your Hatches. . .

Now that you’ve seen how easy it is to create hatched areas, explore the main options within the contextual Hatch tabs of the Ribbon. If you start the HATCH command, you get the Hatch Creation tab you used previously. But if you double-click an existing hatch, you get the Hatch Edit tab — they are virtually identical.

www.it-ebooks.info

326 Part III: If Drawings Could Talk

Working from left to right, you find:

Boundaries

If you followed the earlier example in this chapter, you already used the easiest, most intuitive, and most common way of defining the boundary of a hatch when you simply picked inside the desired region. If you pick multiple regions within one run of the HATCH command, each region

is hatched, and the result is one hatch object. This means that later, when you edit the properties of any region, all regions are updated. This is commonly used when hatching the cut faces of a cross section; all faces common to a single item automatically maintain matching hatch properties.

You can also select an area to be hatched by picking specific objects to define the boundary, but you must select enough objects to define a fully enclosed region. In the previous section, our pick points exercise shows how the hatch pattern behaves when you select the region between the circles — it doesn’t hatch the inner circle. This is island detection. If you select specific objects for the boundary, island detec-

tion is turned off. In the exercise, if you had selected the outer circle, the hatching would run right over the inner circle.

No matter which selection method you choose, the boundary must be airtight. Boundary objects can overlap, but there can’t be any leaks, not even microscopic ones. Okay, technically, it is possible to set a fuzz factor to allow for very tiny leaks, but because this defeats the purpose of drawing with precision, we’re not going to tell you about it.

The A Closed Boundary Could Not Be Determined error message means that you need to repair lines or other objects so they define a fully airtight boundary. Sometimes you can use the FILLET command with a 0 (zero) fillet radius to force two lines to meet exactly. Another possibility is to use grip editing to align one endpoint precisely with another. Chapters 10 and 11 discuss these two editing techniques. The HATCH command displays one or more red circles at gaps in the not-quite- enclosed area you want to hatch. Even if it won’t fix the gaps, it does show you where you should fix them.

Moving right along, the next panel in the Hatch tab is Pattern.

Pattern

If you think a bride planning a wedding has a wide range of patterns to choose from, take a peek at AutoCAD’s collection of hatch patterns. The scroll arrows at the right-hand edge of this panel give access to the 82 predefined hatch patterns, including 9 solid and gradient fills that ship with AutoCAD.

www.it-ebooks.info

Chapter 15: Down the Hatch! 327

Hatch patterns are defined by external files named acad.pat or

acadlt.pat (imperial units), or acadiso.pat or acadltiso.pat

(metric units). Each file includes the definitions for all the patterns. You can also create your own hatch patterns — the online help system’s Customization Guide explains how — or you can buy libraries of custom hatch patterns. Any patterns not defined in acad.pat or acadiso.pat are referred to as custom patterns, but you must be careful when using them. Because they are external files, they must be available to AutoCAD when you open a drawing containing them. If you send the drawing to someone else, you must also send the pattern definition file, which can have copyright issues if you bought the patterns.

Autodesk created the hatch patterns whose names begin with AR- particularly for use in architectural drawings, and unlike the non-AR patterns, they do represent real objects such as brick and roof shakes. The AR patterns were designed with a final hatch scale of 1.0 in mind, but in some cases, you’ll have to adjust up or down in order to achieve a suitable scale.

Properties

This panel contains buttons for as many as ten different properties that can be attached to hatches, but many of them can be covered in other ways. We identify them by their default values. Your results may differ.

Pattern: See the Pattern panel.

Use Current: This button refers to color, and should nearly always be ByLayer, which is what the current general color override should be.

None: This button refers to background color, which can be useful when using hatching to portray actual objects. For example, a brick pattern could have a red background so the hatched region looks like red bricks, as shown in Figure 15-3.

Hatch Transparency: The options for this button range from 0 (opaque) to 90% transparent.

Angle: Hatch patterns can be rotated as desired. For example, in mechanical design, you may be cutting a cross section of an assembly. Standard practice is to hatch the resultant cut faces,

usually with ANSI31, and to adjust the rotation angles so that each part has a different angle to help distinguish one from another. Note that some patterns — the ANSI series, in particular — usually have an initial 45-degree rotation built in.

Scale: Ah, here’s the big one (pun intended). We cover it in more detail in the “Size Matters!” section, a little later in this chapter.

www.it-ebooks.info

328 Part III: If Drawings Could Talk

Origin

Typically, AutoCAD creates hatched areas by having them radiate outward from the origin, effectively turning them on and off as they encounter boundaries. This can cause problems with some of the real-object patterns, however. You wouldn’t want a brick wall to start with 68.3% of a brick, so the Origin option lets you snap to an exact point, as shown in Figure 15-3.

Figure 15-3: Poorly laid red bricks (top). Properly laid red bricks (bottom).

Options

Associative: By default, hatches are associative to their boundaries. This means that they know about each other, which explains what happened when you change and move the circles in the earlier pick points exercise.

Annotative: Just like text (Chapter 13) and dimensions (Chapter 14), hatches must be scaled properly to match the drawing scale. We cover this in more detail in the “Size Matters!” section, later in this chapter.

Match properties: This function lets you select an existing hatch object and then copy its properties onto another hatch object, just like the Format Painter in many Windows applications.

Close

This closes the Hatch tab. Well, duh.

www.it-ebooks.info

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]