Join Shaun Bryant for an in-depth discussion in this video Rectangles and polygons, part of AutoCAD 2018 Essential Training.
- [Voiceover] We're now going to look at rectangles and polygons in AutoCAD 2017. Now I did mention rectangles and polygons in the previous video where we looked at polylines and splines. A rectangle is a four-sided polyline, and a polygon is a multi-sided polyline. It's as simple as that. That's how they work basically. Now what we're going to do is we're going to have a look at rectangles and polygons using the same drawing, the 04_DrawingObjects.dwg file, which is open at the moment, but what I've done is I've placed some saved model views for you in the drawing again, so that you can utilize these to zoom into the view that we need to work in quickly.
So, we go over to our view control. Click on the word Top like we've done in previous videos. Over to Custom Model Views and select the New Entrance View there, like so. Now that takes us to where the double doors are in the bottom right-hand corner of the building. That's the entrance where you come into the building. What we're going to do, we're going to place a rectangle on the intersections of those four red grid lines. These grid lines. So, we're going to go to the Home tab on the ribbon. We're going to go to the Layers panel first and make sure that we're using the internal wall layer.
So we just select it like so in the flyout like that and make sure that we've got the internal wall layer as the current drafting layer. Then we go over to the Draw panel on the Home tab on the ribbon, and it's top right, it's just up here. So I click there like so, Rectangle. You can see we've got a choice of a rectangle or a polygon. Now I'm going to select Rectangle. Now when I come into the drawing area, it's asking me for the first corner point of my rectangle. You'll place two opposing diagonal corners of your rectangle to place it, but you'll also notice on the dynamic input prompt there, I can use coordinates for the corners.
If you look at the command line, I can add things like a chamfer or a fillet, a thickness, a width, or an elevation to the rectangle itself. Now you won't need to use elevation, because that's when you're working in 3D. We're in a flat, 2D, X-Y plane drawing. If we had that extra third plane of Zed, X, Y, and Zed, we might want an elevation in the Zed axis where the rectangle is placed above the X-Y plane. Chamfer and fillet. Well a chamfer obviously is a beveled edge.
A fillet is a radiused corner. A thickness or a width, that allows you to add a thickness or a width to the actual lines that you're placing to create the rectangle. So, we need to specify that first corner point. Make sure your object snaps are on. We're going to come down here. When I get the intersection of those two grid lines, I click and I drag and you can see I'm forming the rectangle. I now go up to the opposing intersection here. When I see the intersection snap, I click again, and there's my polyline.
If I hover over it, you can see look, it's a rectangle but it gives you the properties of a polyline, as you can see there, replying back on the screen there. So what we've got there now is a rectangular polyline formed by the rectangle command. Now, what about polygons? Polygons themselves go from three sides, obviously, you can't have a two-sided polygon, all the way up to a 1024-sided polygon. Now I don't know what a 1024-sided polygon is called.
I can get up to 12, which is a dodecahedron, but after that, I have to Google that I'm afraid. So, we're going to look at placing a polygon just in here. Now I'm literally going to show you how the polygon command works. This will not form part of the building, but you will see that to create a polygon, the process is subtly different to the rectangle command, but it's on the same pull down menu. So I'm just going to stay on the internal wall layer. What I'm going to do is I'm going to create a little hexagon for you and just place it here.
Now it could potentially be a bit of floor, or anything like that, but more importantly, what we could do if we think about it is take a really nice little hexagon here and have it as part of our entrance annex. Perhaps a decorative bit of floor. So let's go to the layers panel. If I go to I-FLOOR, which I've got here, like so, and I'm going to use that. The selected layer cannot be made the current layer, because it's telling me its an Xref layer or a frozen layer. Ok, let's just check that out.
Let's go back to our layers and we come back here and we look and you'll see the I-FLOOR is frozen. So we just thaw it out like so and make sure that it's thawed out so we can utilize it at a later date. So now, if I now select the layers again, that thawed out layer, the I-FLOOR layer can now be used. So you'll notice you cannot draft on a frozen layer in AutoCAD. Now, I'm going to go back up to the Draw panel, on the Home tab on the ribbon. This time I'm going to select Polygon.
You'll see now that I get prompted for the number of sides. I didn't get that in the rectangle command, because it knows it has to be four sides. Now, I'm going to go for a hexagon. So that's going to be six sides and I press Enter. Now, it asks for the center of the polygon or, and you'll notice on the command line there, I've got the option of Edge. So what you've got to think about here is when I place my polygon, I can either place it inside a circle, which is known as an inscribed polygon, or I can place it around the edge of a circle, a circumscribed polygon, or I can use this edge tool.
Now I'm going to use the edge tool. So I'll just right click, select Edge on the shortcut menu, and I now place the first end point of my edge. Now I'm going to come down here to the doorway. End point there, and as I come out, I'll just pan out this a little bit so that we can see what we're doing as well. Give me one second here. Pan up a bit, like so, there we go, and I'm going to come across to there. If I click there, you can see I've used that edge between the doorway to place that polygon. Now obviously it's a little bit too big. You can easily resize that. You could scale it and so on.
Now what I'm going to do is I'm actually going to remove that. I don't actually need that there. So I can select that like any other object and just hit Erase there on the Modify panel. That's how you would place something like a hexagon. Now it may be that you might have hexagonal columns. I'll give you an example, if you're using grid lines. Zoom in here like so and I'll just place a little hexagon on this column here. Let's get in nice and close on the column. I'm going to utilize the distance from the grid up to the edge of the column as the radius of a circle where you might place a hexagon.
So I'll go back up to the polygon command here. Come into the drawing area and ask for six sides again and Enter. There's the center of the polygon. Click, and I've got Inscribed inside the circle, or Circumscribed about the circle. I'm going to select Inscribed inside the circle. As I come up and I click on here, if I get to that intersection, can you see as I move around and come out, I can place that. You'll see these columns obviously aren't exactly square. Can you see that, because as I come up, they're not going to an exact point. So if I come out here like that and I click there, you can see that there's my hexagon there.
So I could do it that way if I wanted to. Now I'm just going to delete that hexagon, because we don't actually need it, but you can see that obviously I can do it inside a circle, about a circle, or use an edge. So that's how we draw our rectangles and our polygons when we're using AutoCAD 2017.
- Exploring the user interface
- Using the ribbon, status bar, and ViewCube
- Opening, saving, and closing files
- Setting and converting drawing units
- Navigating drawings
- Saving and restoring views
- Drawing and modifying objects
- Drawing accurately
- Reusing content
- Creating output
- Using PDFs in AutoCAD