In this chapter, we continue to introduce additional advanced tools, including
By the end of the chapter, you will have the complete 3D object design tool set in your hands.
Estimated time for completion of chapter: 2 hours.
With this chapter, we continue to introduce advanced 3D tools. While they are not the primary tools you use in day-to-day 3D work, they are still needed to round out your knowledge. Specifically, we add polysolid, helix, 3D path array, and 3Dalign to the list and focus on working with faces (move, offset, delete, rotate, copy, and color) as well as edges (copy and color).
After trying out polysolid, you may never create a wall via the extrude command again. A polysolid is analogous to a polyline. What you get is continuous sections of extruded rectangles similar to continuous sections of a pline in 2D. It is a great tool for quickly constructing 3D walls of a building. Once you begin creating the polysolid, you can continue to “stitch” forward one section at a time by just pointing the mouse in the direction you want to go and entering a distance (usually with Ortho on).
Step 1. Start polysolid via any of the preceding methods.
AutoCAD says:_Polysolid Height=4.0000, Width=0.2500, Justification=Center Specify start point or [Object/Height/Width/Justify]<Object>:
Step 2. These are the default values for the height and width, and they are OK for now. Go into the SW Isometric view and activate Ortho. Then, click anywhere on the screen.
AutoCAD says: Specify next point or [Arc/Undo]:
Step 3. A connected polysolid is drawn every time you click, so do several clicks and press Enter when done, then shade and color the polysolid. You should have something similar to what is shown in Figure 25.1 on your screen.
To create a section of a wall similar to the one you made in Chapter 24, you need to change the height and width of the polysolid by selecting h for height or w for width in the suboptions.
For height,
Enter 72 for the height.
For width,
Enter 5 for the width.
Polysolid has two more useful features. The first occurs if you select the Arc suboption while clicking around; you can create an arc section, as seen in Figure 25.2.
The second very useful feature is the ability of the polysolid command to convert regular 2D geometric objects into polysolids using the Object suboption. These objects can be rectangles, arcs, circles, and others, as seen in Figures 25.3 and 25.4. Simply begin the polysolid command, press o for Object, and select the shape. The height is dictated by the Height setting, which can be easily changed.
After apparently receiving many requests, called wish list entries, on this topic, Autodesk finally included the helix command. It pretty much does what it advertises, creating a basic 3D helix coil, as seen in Figure 25.5.
Step 1. Start helix via any of the preceding methods.
AutoCAD says: Number of turns=3.0000 Twist=CCW
Step 2. You are asked here to specify where you want the helix coil to be. Generally, you click on any random point to just create the helix. Afterward, you can move it into a specific position according to design needs.
AutoCAD says: Specify base radius or [Diameter]<1.0000>:
Step 3. This is the overall radius or diameter of the bottom part of the coil. Enter any value; 10 is used in this example.
AutoCAD says: Specify top radius or [Diameter]<10.0000>:
Step 4. The top radius or diameter of the coil does not necessarily have to be the same as the bottom; this way your coil can taper in or expand if necessary. For this example, however, we choose the top and bottom to be the same size (10).
AutoCAD says: Specify helix height or [Axis endpoint/Turns/turn Height/tWist]<1.0000>:
Step 5. Although you can manually pull the helix into shape at this point, a better approach is to indicate the number of turns and helix height. Type in t for Turns and press Enter.
AutoCAD says: Enter number of turns<3.0000>:
Step 6. Enter any reasonable value; 10 is used for this example.
AutoCAD says: Specify helix height or [Axis endpoint/Turns/turn Height/tWist]<1.0000>:
Step 7. Now type in the height you wish the helix to have; 40 is used in this example.
The final result is seen on the left-hand side of Figure 25.6. Now, how would you give the helix a thickness, like a real spring? We recently covered the answer to that: the sweep command. Create a small circle profile positioned near the helix. Using the helix as a path, create a sweep of the circle profile as seen in the rest of Figure 25.6.
While this is an easy way to model the coil as presented in the challenge drawing of the previous chapter, resist the temptation to do so and search for other ways.
The array command was first introduced in Chapter 8. Having gone through a bit of a redesign, array is now command-line driven and features a new, third variation, the path array. This allows you to select an object and a path. Multiple instances of that object are then created along the path. The same exact thing can be done in 3D.
To try this out, we create a spiral staircase. Draw a small step consisting of a 20″×8″ rectangle extruded to a thickness of 1″, as seen in Figure 25.7. Do not forget to add color and shade.
Then, using your new helix skills, create a helix of any reasonable size. The one used in this example is 15×15, with a height of 50. The step is rotated 90° to align with the bottom of the helix, as seen in Figure 25.8.
Finally, run through the path array command (it is the same for 3D as for 2D). Just as a reminder, you are asked to select the object and indicate this is a path array. Then, type in 50 when asked how many objects. Finally, press Enter twice to complete the 3D path array command. Your results should look similar to Figure 25.9, which shows the new staircase from two views. Note that the path is still visible but can be erased if desired, of course.
While this was just a “quick and dirty” example, you can easily see how some time spent crafting a proper set of stairs, handrails, and a frame yields a graceful and impressive design of a spiral staircase with comparatively modest effort. You will try this out in one of the end-of-chapter exercises.
As you may recall from Level 2, aligning objects in 2D can be somewhat tricky, and the align command is quite useful in quickly and easily mating up geometric pieces. In 3D, aligning objects can be even more of a challenge, especially if they are out of alignment in all three axes. Therefore, 3Dalign is almost mandatory to accomplish this. Go ahead, create and position the two blocks as described next.
In Figure 25.10, on the left (Block 1) is a 25″×15″ block, extruded to 15″. It is even with the X, Y, and Z axes, as seen in the standard SW Isometric view, while a similar, copied Block 2 on the right has been rotated 15° along the X and Y axes and 30° along the Z axis. We need to align Face 1 with Face 2 by moving Block 2 (since it is the rotated one) and bringing it around to have its face match up with the face of the correctly aligned Block 1.
Step 1. Start the 3Dalign command via any of the preceding methods.
Step 2. Select just the misaligned Block 2 (you could, in theory, pick Block 1 as well) and press Enter.
AutoCAD says: Specify source plane and orientation …Specify base point or [Copy]:
Step 3. Here, you need to click on and choose three consecutive source points on Block 2’s face that you want used as points of attachment to Block 1. Several combinations are possible, so let us arbitrarily choose the points shown in Figure 25.11. As you select these three points,
AutoCAD says: Specify second point or [Continue]<C>: Specify third point or [Continue]<C>: Specify destination plane and orientation …Specify first destination point:
Step 4. Now, you are ready to specify the destination points. Here you have to be careful and think about what those points actually are, as random choices produce random results. Observe that, in this example, Block 2 needs to be rotated 180° for its lighter face to match up to Block 1’s lighter face. Therefore, the destination points need to be mirror images of the source points, not the exact same ones.
The order we picked the source points was Top Left→Top Right→Bottom Right. As we swing Block 2 around, the corresponding points on Block 1 are Top Right→Top Left→Bottom Left. Do you see why? Visualize this on a nearby object, one that you can pick up, locate the points on, and turn around: perhaps a cell phone or a book. Let us now select those points, as seen in Figure 25.12. As you are doing this,
AutoCAD says: Specify first destination point: Specify second destination point or [eXit]<X>: Specify third destination point or [eXit]<X>:
Step 5. Select the points carefully; Block 2 may be in the way, so you need to trust your OSNAPs (or just stay in wireframe mode to see the points). The final result is shown in Figure 25.13.
Suppose you created a hole in a block via extrusion and subtraction, as seen in Figure 25.14. How would you delete that hole, if it is no longer needed, without redrawing or otherwise damaging the original block? What if you need to move the hole from its center position to another area of the block? Or, what if you just need to change its diameter? All this and more are addressed by the various faces operations, such as move face, copy face, offset face, delete face, rotate face, and even color face.
Being able to easily modify the position, geometry, and sizing of 3D features is a fundamental requirement of all solid modeling programs. The parametric modeling software on the market approaches this in various ways, some better than others. The Spatial Technologies ACIS kernel that powers AutoCAD’s 3D modeler is not quite on the level of the Parasolid, Granite, or CAA, which power the high-end NX, Pro/Engineer, and CATIA software, respectively (see Appendix H for more information on kernels), but it does a decent job working with embedded 3D features using the various faces tools. Let us cover them all, one at a time, as they are very important in effective 3D design.
Everything you create in AutoCAD 3D has faces. They may be the faces of an object, such as the extruded hole or actual surfaces of larger objects. When AutoCAD refers to faces, it is those objects or surfaces that can be moved or copied. In some cases, you can interpret this as moving or copying an entire feature (such as the extruded hole in the upcoming examples) or, in other cases, an actual surface of an object.
Delete faces is probably the easiest of the face commands to start with. It is meant to be used to delete full features, such as an extruded cylinder (hole), not surfaces. To try it out, draw a random size block with a hole in it, as seen in Figure 25.15.
Step 1. Start up delete face (a solid editing command) via any of the preceding methods.
AutoCAD brings up a lengthy solid editing menu (unless typing):
Solids editing automatic checking: SOLIDCHECK=1
Enter a solids editing option [Face/Edge/Body/Undo/eXit]<eXit>:_face
Enter a face editing option Extrude/Move/Rotate/Offset/Taper/Delete/Copy/ coLor/mAterial/Undo/eXit]<eXit>:_color
Select faces or [Undo/Remove]:
Step 2. Click to select the hole. Be careful to pick only the hole not surrounding geometry.
Step 4. The hole is removed, as seen in Figure 25.15. Press Esc to return to the command line.
Step 5. The delete faces command can also be used to delete unwanted fillets in 3D. Simply run the command, select the fillet, and it reverts to a “0” radius (sharp corner), as seen in the sequence of Figure 25.16.
The move faces command moves the hole to another location. Undo the face deletion you just practiced and let us try to move the hole around.
Step 1. Start up move face via any of the preceding methods.
Step 2. AutoCAD shows the same lengthy solid editing menu (not reproduced here) and asks you to select the faces (the hole). From there, the command is exactly like a regular move command. It asks for a base point to move from and a second point to move to. Be sure to have Ortho on when doing this. On completion, the hole is moved, as seen in Figure 25.17.
Copy faces copies any element you select in the same exact manner that move faces works. It is more useful for a slightly different application, involving actual faces as opposed to elements like a hole, however. To try out both approaches, leave your hole in its new position at the edge of the block and do the following:
Step 1. Start up copy face via any of the preceding methods.
Step 2. You are prompted for a base point to copy from and a second point to copy to. However, you have to be careful how you apply this command. If you copy the extruded hole, the new hole is not a solid and cannot be subtracted. What you get is shown in Figure 25.18.
What happened was that just the edge was copied, and we discuss how to deal with this properly when we discuss edges. Meanwhile, what exactly is copy faces good for? Well, remember that you can move and copy not just features but also surfaces. We copy a surface off to the side and extrude it into a shape, as shown next in Figures 25.19 and 25.20. This can be useful because you need not create new profiles from scratch but can reuse complex geometry.
Offset faces can accomplish essentially the same thing as extrude. While you are used to extruding 2D objects into the third dimension, extrude and offset faces can also be used to lengthen or shorten what is already a 3D object by extruding or offsetting the face you pick, and the solid material stretches or shrinks to meet the new position of this face. The approach is essentially the same, so we focus on offset faces.
Step 1. Start up offset face via any of the preceding methods.
Step 2. AutoCAD once again runs through the lengthy solid editing menu and asks you to select a face. Pick the face you want to offset and press Enter. AutoCAD then asks you to specify the offset distance. Enter some value, and you see the result, similar to that shown in Figure 25.21.
Offset faces can also come in handy when attempting to change the size of an embedded feature, such as the hole’s diameter in this case. Applying offset faces to the hole, we get the result seen in Figure 25.22, when adding an offset of 3 to it.
Rotate faces is primarily for rotating embedded 3D features. Since it is hard to see the rotation of a circle, let us draw a new part, consisting of a random size plate with a cutout, as seen in Figure 25.23. Next to the cutout is a small extrusion for reference purposes. We would like to rotate this cutout 90°:
Step 1. Start up rotate face via any of the preceding methods.
Step 2. AutoCAD once again gives you a lengthy solid editing menu (not reproduced here) and asks you to pick the faces for rotation. Carefully select both straight and curved faces and press Enter.
AutoCAD says: Specify an axis point or [Axis by object/View/Xaxis/Yaxis/Zaxis]<2points>:
Step 3. You are free to choose any axis for the rotation or use two points to specify a new one. For this example, the Z axis is used.
AutoCAD says: Specify the origin of the rotation<0,0,0>:
Step 4. The origin of the rotation is up to you to choose. For this example though, OTRACK is used to select the exact center of the cutout.
AutoCAD says: Specify a rotation angle or [Reference]:
Step 5. Once again, this is up to you, but 90° is used for this example.
AutoCAD rotates the cutout and says: Solid validation started. Solid validation completed. Enter a face editing option.
The result is seen in Figure 25.24.
AutoCAD gives you the ability to color any of the faces. This is easy to do and is a useful trick to make the faces stand out (we do this with edges as well later on).
Step 1. Start up color face via any of the preceding methods.
Step 2. Select a face, and you see the familiar color dialog box from Chapter 3.
Working with edges is a short topic, as there are only two items to cover: color edges and copy edges.
This command is very similar to color faces. You may not see the new colored edge as easily since it is just that, an edge, basically a thin line.
Step 1. Start up color edge via any of the preceding methods.
Step 2. Select an edge, and you see the familiar color dialog box from Chapter 3.
Recall that, when copy faces was attempted on an extruded hole, there was a problem, as we were unable to subtract the copied hole. Copy edges gets around this problem by copying only the original circle, which can now be extruded. With a simple shape, such as a circle, you could also just redraw it and extrude; but with more complex shapes, this copy edge technique is quite useful. An example follows graphically via Figure 25.25. Go ahead and try this command out on your own.
Practice all the face and edge editing commands we just covered. We conclude the chapter with an explanation on how the helix was created by hand.
So how was helical coil drawn in the previous chapter? Have you made an earnest attempt to create it without using the helix tool? Here is the answer. You have to visualize what a helix really is: a bunch of circles connected together. All we need to do is figure out a way to connect them and the rest is easy. Here is one possible way. Draw a circle and “split it in two” by drawing a line across it quadrant to quadrant, trimming off one half and mirroring the half right back, as seen in Figure 25.26 (you can also use the break command).
Now go into 3D and use rotate3D to raise one half of the circle 15° up (or down) around the Y axis, as seen in Figure 25.27.
At this point, it is just a matter of connecting a bunch of these segments, as seen in Figure 25.28. The final step is to use the sweep command to create the thickness for the coil, as seen in Figure 25.29 (remember to use many circles, as one gets used up for each section). Union the entire coil and assign color and shading. The final coil is shown in Figure 25.30.
Why were you asked to create this helix when AutoCAD has an automated command for this? Well, mainly because it is a good exercise in critical thinking in a situation that has no easy answer (at least prior to the introduction of the helix command in AutoCAD 2007). Very often, situations arise in which you have to depict something complex and no ready- to-use tools are available; after all, every possible design scenario cannot be accounted for by AutoCAD. You have to stop, think of what you do have available, and see how you can use these tools creatively to construct something new.
Everything used in the construction of this helix is familiar to you, but the combination of commands is novel. That is the key, finding ways to accomplish a task using the tools you already have. It is a virtual certainty you will run into drawing situations where you need to think out of the box. Ideally, you will remember this exercise and remember to think in terms of fundamental tools.
You should understand and know how to use the following concepts and commands before moving on to Chapter 26:
18.118.122.244