From the course: AutoCAD 2016 Essential Training
Using the Hatch command
From the course: AutoCAD 2016 Essential Training
Using the Hatch command
- In this video we're going to explore the Hatch command. Open the Mechanical sample file in the Chapter 08 folder and zoom into the top view. Make sure that you zoom in so that the entire top view is visible on the screen. I need to zoom out a bit. I'll type z + enter and then press enter again for the real time option and then I'll drag downward so that I can see the entire part. I'll also pan by dragging the mouse wheel and then press escape. The reason I have to be careful about this is the Hatch command uses a ray-casting algorithm to actually analyze what's on the screen. So if I'm trying to hatch this upper rectangle and part of it is sticking off the screen like that it might not be able to find the boundary. So I'm going to make sure that it's all on the screen before I use the Hatch command. Now let's go up here to the Draw panel and open up this fly-out menu and select Hatch. Now the cursor should say Pick internal point. If it doesn't that's because someone has used Select objects previously. The Hatch command is sticky so that means if you use Select objects mode it's going to stay that way until you change it next time. So if your cursor says Select objects you have to go over here and click Pick Points. If it says Pick internal point, don't do anything. You're ready to go. Now move the cursor over the part and you may or may not see a preview image like this. In some areas it won't show a preview like right here because it's having more difficulty determining that boundary. It will have more luck in simpler areas like this one. Up here it can't find it. It's not having much luck. Down here it's okay. Now this really is two separate regions but AutoCAD thinks it's one. Let's zoom in there. Move the cursor around. Sometimes you can convince it to separate that into two pieces. No such luck this time. It really is random. The hatch pattern doesn't always work consistently so you have to kind of experiment with it. Now I'd like to hatch this area and I don't see a preview, but I'm going to hope that AutoCAD finds the area and just click. In this case it worked. Sometimes it won't and you'll get an error message and you just have to zoom in a little more and try again. Like if I go over here and click, it gives me that error message, A closed boundary could not be determined. And there's a reason for that and I can actually see it right here on the screen. There's a tiny gap right there and it's not able to find that boundary because the ray-casting algorithm escapes out through that hole and it can't recognize this as a boundary. But let's not worry about that right now. Let's focus on this single hatch pattern that we are creating. So right now it's coming in with the last selected pattern. In this case it's the ANSI31 pattern. There are many patterns to choose from in this list and I recommend that instead of clicking on these arrows you click on this little arrow to expand the selection area. There are several different standards here that have emerged over the years AutoCAD's been in existence. There's the ANSI pattern. There are these AR patterns for architecture. There are also patterns that are just single words like BRICK, CORK, CLAY. There's also gradient patterns and if you go down further you'll find the ISO standard patterns. So there's sort of sets of patterns that you can choose from and they appear in different scales. So this one here is too dense evidently at a scale of one. Here's where you set the scale. Let's change that to a larger number. Let's try five. I'll type 5 and press tab to have that take effect. That looks better. You can also interactively change the angle by dragging this over and you can optionally make it more transparent. And this is nice so that your hatch patterns don't really visually dominate your drawing but they appear more in the background. This will still give us a sense of materiality to the object, this is steel, and that's all we want. We don't want to have this compete visually with the dimensions. I'll make it a little brighter so you can see it at least while we're designing it. Now over here you can change the color specifically to something else. I could make it blue. And it also has an optional background color. What if we had an orange background with blue lines on top of that. These are all possibilities. I'm going to clear that out and say no background, None. I will also clear this out and say assign the color by the layer. Let's open the Properties slide out. Right here we can choose a different layer. We're using the current layer which is layer Part right now. I'd like to open that up and choose layer Hatch. So now it assumes the color of layer Hatch which is yellow. Another thing you can do with hatch patterns is set the origin point. Click this button and zoom in on a likely origin point like this corner. Snap to that point and the hatch pattern will line up with it. This is very helpful when you're making tile patterns for example. You want them to line up. Let's expand the Options slide out. And over here we have different ways to detect islands. Let's open that up. Normal island detection works like this. Where the point that we clicked is hatched and then the next boundary within that is not hatched. And then the one within that is hatched again. And you can kind of tell that from this icon. Hatch, no hatch, hatch. This one is just the outer area. This one is ignore all the islands and just hatch everything. So I think in this case I just want to have the Outer Island Detection on because I don't want to hatch the hole. Gap Tolerance is helpful when you want to bridge over gaps like you see down here. So if I increase the gap tolerance to some small value and I don't really know what the units are here, but I'm just going to increase that a little bit. And then I'll click down here and we still have a problem. Continue hatching this area and maybe increase the gap tolerance more. And then click down here. No such luck. We'll have to try another approach. In the next video I'll show you how to create a hatch pattern by selecting objects. And that's a more robust method of creating boundaries.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.