Combine or subtract 2D shapes to create custom shapes

Sometimes you need to create a 2D profile that is a combination of the basic geometrical shapes that AutoCAD creates. While you might be able to use the PLINE command to create what you want, in some cases, 2 other methods may be easier.

Subtract shapes with the SUBTRACT command

For example, let’s say that you want to create this profile.

autocad-tips-region-custom-shapes-1

Depending on the information you have about the radius of the circle and length of its inset, it might be easier for you to start with these objects:

autocad-tips-region-custom-shapes-2

Here is one way to get the result you want:

  1. Draw the large filleted rectangle, the 2 small rectangles and the circle.
  2. Start the REGION command.
  3. Select all 4 objects and end selection. You’ll see a message: 4  loops extracted. 4 Regions created.
  4. Start the SUBTRACT command. This command isn’t on the ribbon in the 2D Drafting & Annotation workspace, so just type the command on the Command line.
  5. At the Select solids, surfaces, and regions to subtract from .. Select objects: prompt, select only the larger filleted rectangle and end selection.
  6. At the Select solids, surfaces, and regions to subtract .. Select objects: prompt, select the 2 small rectangles and the circle. Then end selection.

AutoCAD subtracts the smaller regions from the larger one, leaving just the desired profile.

Combine shapes with the UNION and INTERSECT commands

You can also use the UNION command to turn the 4 regions on the left to the region on the right.

autocad-tips-region-custom-shapes-3

Finally, you can use the INTERSECT command to find the intersection of 2 regions, as you see here.

autocad-tips-region-custom-shapes-4

Use the BOUNDARY command to create regions

The BOUNDARY command can work like the SUBTRACT command. With the BOUNDARY COMMAND, you can do the following:

  1. Draw the shapes on the left, below.
  2. Start the BOUNDARY command to open the Boundary Creation dialog box.
  3. If you want to also create objects from nested objects (inside the boundary of an outer object), check the island Detection checkbox.
  4. Choose Region from the Object Type drop-down list and click OK. If all you want to do is create the shape on the right, you can choose Polyline from the drop-down list, but you won’t be able to union, subtract, or intersect them.
  5. At the Pick Internal Point prompt, click inside the object or objects that you want to turn into polylines or regions. Press Enter to end the command.
  6. You can now use UNION, INTERSECT, or SUBTRACT the regions.

Note: The BOUNDARY command creates the new objects ON TOP OF the original objects. Move them to see the original objects.

 

Do you use regions in 2D drawings, to combine/subtract them or for some other purpose? Leave a comment!

The post Combine or subtract 2D shapes to create custom shapes appeared first on AutoCAD Tips Blog.