Boolean Operations - 3D Editing

Topics covered in this Lesson:

Union | Subtract | Intersect | Extrude Face | Slice | 3D Align

First, to explain the funny name : "It (Boolean operations) was named after George Boole, who first defined an algebraic system of logic in the mid 19th century."

Working in 3D usually involves the use of solid objects. At times you may need to combine multiple parts into one, or remove sections from a solid. AutoCAD has some commands that make this easy for you. These are the boolean operations as well as some other helpful commands for solids editing.:

COMMAND INPUT ICON DESCRIPTION
UNION
(Boolean)
UNION / UNI Box Icon Joins two or more solids into creating one based on the total geometry of all.
SUBTRACT
(Boolean)
SUBTRACT / SU Sphere Icon Subtracts one or more solids from another creating a solid based on the remaining geometry.
INTERSECT
(Boolean)
INTERSECT / IN Cylinder Icon Creates a single solid from one more solids based on the intersected geometry.
EXTRUDE FACE SOLIDEDIT Cone Icon Allows you to increase the size of a solid by extruding out one of its faces.
SLICE SLICE Slice Icon Slices a solid along a cutting plane.
3D ALIGN 3DALIGN 3D Align Icon Aligns 2 3D Objects in 3D space.

The boolean commands work only on solids or regions. They are easy to work with IF you follow the command line prompts. Here is an example of each.

Start these exercises by drawing a box 5W X 7L X 3H and a cylinder 3 units in diameter so that the center of the circle is on the midpoint of the block.

Union

Shown below (left) there is a box and a cylinder. These are two separate objects. If you want to combine them into one object (right), you have to use the union command.

Before Union
After Union

The UNION command combines one or more solid objects into one object.

Here are the command line prompts and the resulting object:

Command: UNION <ENTER>
Select objects: <SELECT THE BLOCK> 1 found
Select objects: <SELECT THE CYLINDER> 1 found
Select objects: <ENTER>

NOTE: The object that you select first will determine the properties of the unioned object when it is created.

Subtract

The subtract command is used to cut away, or remove the volume of one object from another. It is important to check the command line when using this command. Remember that AutoCAD always asks for the object that you are subtracting FROM first, then it asks for the objects to subtract. Here is an example:

Before Subtract
After Subtract

The SUBTRACT command removes the volume of one or more solid objects from an object.

Command: SUBTRACT
Select solids and regions to subtract from...
Select objects: <SELECT THE BLOCK> 1 found <ENTER>
Select objects: Select solids and regions to subtract...
Select objects: <SELECT THE CYLINDER> 1 found <ENTER>
Select objects: <ENTER>

You can also Subtract any number of solids from a number of solids. If you do this, the solids that you subtracted from will become ONE object - even if they are not touching. Be careful with this (although you can always slice the object if you need to).

Intersect

This command creates a new solid from the intersecting volume of two or more solids or regions. AutoCAD will find where the two objects have an volume of interference and retain that area and discard the rest. Here is an example of this command shown below:

Before Intersect
After Intersect

The INTERSECT command combines the volume of one or more solid objects at the areas of interference to create one solid object.

Command: INTERSECT
Select objects: <SELECT THE BLOCK> 1 found
Select objects: <SELECT THE CYLINDER> 1 found
Select objects: <ENTER>

You can intersect solids that are not touching - they will become one object.

Try these 3 boolean commands with various 3D solid objects to get familiar with them. Draw the block in Lesson 3-2. Draw the outline of the block, extrude it - then draw the circle and extrude it. Then subtract the circle from the block.

These commands will allow you do a lot of 3D work, using only the extrude and these boolean commands. Of course, there are some other ways to edit 3D solids.

Slice

This command does exactly what the name implies. You can slice a 3D solid just like you were using a knife.

Start with the basic block and cylinder shape you used in the examples above.

Slice Pickpoints
Slice Result

The INTERSECT command combines the volume of one or more solid objects at the areas of interference to create one solid object.

Command: SLICE
Select objects: 1 found
Select objects: Specify first point on slicing plane by
[Object/Zaxis/View/XY/YZ/ZX/3points] <3points>: <PICK POINT 1>
Specify second point on plane: <PICK POINT 2>
Specify third point on plane: <PICK POINT 3>
Specify a point on desired side of the plane or [keep Both sides]: <Pick on the side towards the cylinder>

This is a very useful command - think of it as a trim in 3D. Make sure you have your Osnaps on for this command and that you pick the correct points. In a complex 3D drawing, this can be tough to see. Undo this slice and try picking 3 other points. See if the results match what you thought they would do.

Extrude Face

Just as there is a "trim"-like command in 3D - there is also a "stretch". This is a new command in recent versions.

I usually start this command by clicking on the Ribbon item Home > Solids Editing > Extrude Faces.

The command is quite easy to use, but you need to be careful on which face you select.

Try to extend one edge of the block by 1 inch. Start the command and pick the face on the side (on the bottom line). You'll notice that the bottom face highlights as well. Next type R and pick the bottom face to remove it. Then follow the command line to finish the command.

Command: _solidedit
Solids editing automatic checking: SOLIDCHECK=1
Enter a solids editing option [Face/Edge/Body/Undo/eXit] <eXit>: F
Enter a face editing option
[Extrude/Move/Rotate/Offset/Taper/Delete/Copy/coLor/Undo/eXit] <eXit>: E
Select faces or [Undo/Remove]: <PICK BOTTOM LINE OF SIDE FACE> 2 faces found.
Select faces or [Undo/Remove/ALL]: R
Remove faces or [Undo/Add/ALL]: <PICK AN EDGE ON THE BOTTOM FACE> 2 faces found, 1 removed.
Remove faces or [Undo/Add/ALL]: <ENTER>
Specify height of extrusion or [Path]: 1 <ENTER>
Specify angle of taper for extrusion <0>: <ENTER>
Solid validation started.
Solid validation completed.
Enter a face editing option
[Extrude/Move/Rotate/Offset/Taper/Delete/Copy/coLor/Undo/eXit] <eXit>: <ENTER>

You should end up with this:

Extrude Face Result

Another way of editing faces in AutoCAD 2007 and newer is to use grips to extrude the faces, just like you would on a 2D object. Here is an image below that shows some of the grips available. This option is only available on the basic shapes shown in lesson 3-10.

3D Grips in AutoCAD 2007

3D Align

Sometimes, you may find it faster or easier to draw something separately and then move and align it into place. The command to use this in 3D is (funnily enough) 3DALIGN.

This is a simple example, but will show you the method.

Draw a box that is 5 x 5 x 6 tall. Next draw a cylinder that is 3 in diameter and 1 tall. It should look like this:

3D Align in AutoCAD 2007

The goal will be to align the cylinder on the front face of the box where the dotted line is.

Turn on your quadrant Osnaps. Start the 3DALIGN command. You will first be asked to select the objects - select the cylinder and press enter.

Now you will be asked to select the 3 points as indicated below: the center and 2 quadrants. Now the cylinder will be "stuck" to your cursor as AutoCAD asks where it needs to go.

Line the cylinder up with the box by using object tracking to locate the center of the face on the box first. Then pick on the midpoints to line up the cylinder to the box. After you pick the 3rd point, the cylinder should move into place and end the command.

Here's a view of the points that were picked in case you had trouble.

3D Align in AutoCAD 2007

The finished 'alignment job' should look like this after using the hide command.

3d Align in AutoCAD 2007

Review:

After learning how to draw some basic 3D solids, you can see that using equally basic editing commands you can have a lot of options. Before advancing, review these commands by drawing simple 3D shapes and editing them.

With the commands explained on these pages, you will be able draw most of the shapes you will need in 3D. There are other options, but get very familiar with these 3D editing options before moving on. The drawings done in the sample drawing section were done almost exclusively with the commands taught in Lessons 3-7 to 3-11. Your approach will make the project either easy or difficult. Think of the various ways to draw an object before starting. You could save days with some forethought.

Extra Practice: Draw this object as a 3D solid using primitive solids and boolean operations.

Extra Practice: Draw this object as a 3D solid using primitive solids and boolean operations.

Video: Boolean Operations and 3D Editing

You Scored:

fun_facts_about Autocad_Autodesk

​​Fun fact: AutoCAD is used in more than 50,000 educational institutions.

Please support
MyCADsite.com
Give a donation!

Donate
support_mycadsite_tutorial
  • To cover this months server costs
  • Exceeding amounts will go to creating new content
  • ​​Even a penny will help​

Did you like the lesson? ​❤️

FOR TEACHERS

If you teach AutoCAD, you know it can be a challenge for students of varying backgrounds to learn the program. Our tutorials have been used in schools for years - Help yourself and your students, and give them a complete AutoCAD course that teaches the software. The lesson format was used in my CAD classes I have been teaching previously. Learn how you can use these assets in your classroom.

AUTOCAD TUTORIALS

Support this site by downloading the tutorials. Get all of the AutoCAD videos and tutorials for only $29. You will get all that you see on the site, but without the ads - AND - you will be supporting the site to keep it growing.

AUTOCAD QUIZZES

Test yourself with quizzes. Each tutorial includes a quiz at the end of it and each level of tutorials has a quiz which lets you review the material after you have learned it. Take the quiz and check your scores instantly - then move on to the next lesson! This is a great way to learn AutoCAD online.

AutoCAD Graduate Certificate