Part 4

3D Modeling and Imaging

  • Chapter 21: Creating 3D Drawings
  • Chapter 22: Using Advanced 3D Features
  • Chapter 23: Rendering 3D Drawings
  • Chapter 24: Editing and Visualizing 3D Solids
  • Chapter 25: Exploring 3D Mesh and Surface Modeling

Chapter 21

Creating 3D Drawings

Viewing an object in three dimensions gives you a sense of its true shape and form. It also helps you conceptualize your design, which results in better design decisions. In addition, using three-dimensional objects helps you communicate your ideas to those who may not be familiar with the plans, sections, and side views of your design.

A further advantage to drawing in three dimensions is that you can derive 2D drawings from your 3D models, which may take considerably less time than creating them with standard 2D drawing methods. For example, you can model a mechanical part in 3D and then quickly derive its 2D top, front, and right-side views by using the techniques discussed in this chapter.

giacad.tif

The AutoCAD LT® software does not support any of the 3D-related features described in this chapter.

In this chapter, you will learn to:

  • Know the 3D Modeling workspace
  • Draw in 3D using solids
  • Create 3D forms from 2D shapes
  • Isolate coordinates with point filters
  • Move around your model
  • Get a visual effect
  • Turn a 3D view into a 2D AutoCAD drawing

Getting to Know the 3D Modeling Workspace

cert.eps

Most of this book is devoted to showing you how to work in the Drafting & Annotation workspace. This workspace is basically a 2D drawing environment, although you can certainly work in 3D as well.

The AutoCAD® 2014 program offers the 3D Modeling and 3D Basics workspaces, which give you a set of tools to help ease your way into 3D modeling. The 3D Modeling workspace gives AutoCAD a different set of Ribbon panels, but don’t worry. AutoCAD behaves in the same basic way, and the AutoCAD files produced are the same regardless of whether they’re 2D or 3D drawings.

The 3D Basics workspace contains the minimum 3D tools needed to perform 3D functions.

To get to the 3D Modeling workspace, you need to click the Workspace tool in the Quick Access toolbar and then select 3D Modeling (see Figure 21-1).

Figure 21-1 The Workspace tool

c21f001.tif

If you’re starting a new 3D model, you’ll also want to create a new file using a 3D template. Try the following to get started with 3D modeling:

1. Start AutoCAD, and then click the Workspace tool in the Quick Access toolbar and select 3D Modeling. You’ll see a new set of panels appear.
2. To create a new 3D modeling file, click New in the Quick Access toolbar to open the Select Template dialog box. Select acad3D.dwt (if you are using metric, select the acadiso3D.dwt template file) and click Open. Your screen will look similar to Figure 21-2.

Figure 21-2 The AutoCAD 3D Modeling workspace

c21f002.tif

The drawing area displays the workspace as a perspective view with a dark gray background and a grid. This is just a typical AutoCAD drawing file with a couple of setting changes. The view has been set up to be a perspective view by default, and a feature called Visual Styles has been set to Realistic, which will show 3D objects as solid objects. You’ll learn more about the tools you can use to adjust the appearance of your workspace later in this chapter. For now, let’s look at the tool palette and Ribbon that appear in the AutoCAD window.

To the far right is the AutoCAD Materials Browser palette. It shows a graphical list of surface materials that you can easily assign to 3D objects in your model. If the Materials Browser does not open by default, you’ll see how to open it and learn more about materials in Chapter 23, “Rendering 3D Drawings.”

The Ribbon along the top of the AutoCAD window offers all the tools you’ll need to create 3D models. The 3D Modeling workspace Ribbon offers a few of the tabs and panels with which you’re already familiar, but many of the tabs will be new to you (see Figure 21-3). You see the familiar Draw and Modify panels in the Home tab, but there are several other panels devoted to 3D modeling: Modeling, Mesh, Solid Editing, Section, Coordinates, View, and Selection.

Figure 21-3 Some of the Ribbon tabs and panels of the 3D Modeling workspace

c21f003.eps

In addition, other Ribbon tabs offer more sets of tools designed for 3D modeling. For example, the Render tab contains tools that control the way the model looks. You can set up lighting and shadows and apply materials to objects such as brick or glass. You can also control the way AutoCAD illuminates the model through the Lights, Sun & Location, and Materials panels. In the next section, you’ll gain firsthand experience creating and editing some 3D shapes using the Home tab’s Modeling and View panels and the View tab’s Visual Styles panel. This way, you’ll get a feel for how things work in the 3D Modeling workspace.

Drawing in 3D Using Solids

You can work with three types of 3D objects in AutoCAD: solids, surfaces, and mesh objects. You can treat solid objects as if they’re solid material. For example, you can create a box and then remove shapes from the box as if you’re carving it, as shown in Figure 21-4.

Figure 21-4 Solid modeling lets you remove or add shapes.

c21f004.tif

With surfaces, you create complex surface shapes by building on lines, arcs, or polylines. For example, you can quickly turn a series of curved polylines, arcs, or lines into a warped surface, as shown in Figure 21-5.

A mesh object is made up of edges, faces, and vertices. These basic parts create a series of square or triangular areas to define a three-dimensional form. Mesh objects can be created with primitives in the same way solid primitives can. Their behavior is different, though. Mesh objects do not have mass properties like solids, but they can be altered through free-form modeling techniques. Creases as well as splits can be added to the forms. The level of smoothness can be altered, which means you can add more edges, faces, and vertices to create a more rounded and organic-looking object.

Figure 21-5 Using the Loft tool, you can use a set of 2D objects (left) to define a complex surface (right).

c21f005.tif

Next, you’ll learn how to create a solid box and then make simple changes to it as an introduction to 3D modeling.


Converting Old-Style Surface Objects
If you have some experience with AutoCAD 3D prior to AutoCAD® 2011, note that the current surface-modeling features aren’t the same as the surface objects you may have created in the older version of AutoCAD. The current surface objects can interact with solid primitive objects and can be converted into 3D solids. You can convert the old-style surfaces into the new 3D surfaces using the Convtosurface command described in the sidebar “Converting Objects with Thickness into 3D Solids” later in this chapter.

Adjusting Appearances

Before you start to work on the exercises, you’ll want to change the visual style to one that will make your work a little easier to visualize in the creation phase. Visual Styles offers a way to let you see your model in different styles, from sketch-like to realistic. You’ll learn more about Visual Styles in the section “Getting a Visual Effect” later in this chapter. For now, you’ll get a brief introduction by changing the style for the exercises that follow:

1. In the upper-left corner of the drawing area, click the Visual Style Control drop-down list to view the options.
2. Select the Shades Of Gray option. This will give the solid objects in your model a uniform gray color and will also “highlight” the edges of the solids with a dark line so you can see them clearly.

Creating a 3D Box

Start by creating a box using the Box tool in the Home tab’s Modeling panel:

1. Close the Materials Browser by clicking the X on the title bar. You won’t need it for this chapter. If you feel you need to have it back later, you can go to the Materials panel in the Render tab and click the Materials Browser tool.
2. Click the Box tool from the Solids flyout on the Home tab’s Modeling panel.
c21uf001.eps
3. Click a point near the origin of the drawing shown in Figure 21-6. You can use the coordinate readout to select a point near 0,0. Once you click, you see a rectangle follow the cursor.

Figure 21-6 Drawing a 3D solid box

c21f006.eps
4. Click another point near coordinate 20,15, as shown in Figure 21-6. As you move the cursor, the rectangle is fixed and the height of the 3D box appears.
5. Enter 4↵ for a height of 4 units for the box. You can also click to fix the height of the box.

You used three basic steps in creating the box. First, you clicked one corner to establish a location for the box. Then, you clicked another corner to establish the base size. Finally, you selected a height. You use a similar set of steps to create any of the other 3D solid primitives found in the Solids flyout of the Home tab’s Modeling panel. For example, for a cylinder, you select the center, then the radius, and finally the height. For a wedge, you select two corners as you did with the box, and then you select the height. You’ll learn more about these 3D solid primitives in Chapter 24, “Editing and Visualizing 3D Solids.”


Why the Screen Looks Different
The display shown in this book is set up with a lighter background than the default background in AutoCAD so that you can see the various parts of the display more easily on the printed page.
In addition, when you start a 3D model using the acad3D.dwt template, the default layer 0 is set to a color that is a light blue instead of the white or black that is used in the standard acad.dwt template. The blue color is used so that you can see the 3D shapes clearly when the model is displayed using a shaded visual style. If you happen to start a 3D model using the acad.dwt template, you may want to change the default layer color to something other than white or black.

Editing 3D Solids with Grips

Once you’ve created a solid, you can fine-tune its shape by using grips:

1. Adjust your view so that it looks similar to Figure 21-7, and then click the solid to select it. Grips appear on the 3D solid as shown in the figure.
You can adjust the location of the square grips at the base of the solid in a way that is similar to adjusting the grips on 2D objects. The arrow grips let you adjust the length of the site to which the arrows are attached. If you click an arrow grip and you have Dynamic Input turned on, a dimension appears at the cursor, as shown in Figure 21-7. You can enter a new dimension for the length associated with the selected grip, or you can drag and click the arrow to adjust the length. Remember that you can press the Tab key to shift between dimensions shown in the Dynamic Input display.
2. Click the arrow grip toward the front of the box, as shown at the upper left in Figure 21-7. Now, as you move the cursor, the box changes in length.
3. Press Esc twice to clear the grip selection and the box selection.

Figure 21-7 Grips appear on the 3D solid.

c21f007.eps

Constraining Motion with the Gizmo

You can move individual edges by using a Ctrl+click. This will activate the gizmo. The gizmo is an icon that looks like the UCS icon and appears whenever you select a 3D solid or any part of a 3D solid. Try the next exercise to see how it works:

1. Hold down the Ctrl key and move the cursor over different surfaces and edges of the box. They will be highlighted as you do this. Ctrl+click the top-front edge of the box to expose the edge’s grip. The gizmo will appear.
2. The gizmo has three legs pointing in the x-, y-, and z-axes. It also has a grip at the base of the three legs. If your Ctrl+click doesn’t work as described, you may need to change the setting for the Legacyctrlpick system variable. At the Type A Command prompt, enter legacyctrlpick↵, and then enter 0↵. Place the cursor on the blue z-axis of the gizmo, but don’t click. A blue line appears that extends across the drawing area, and the z-axis of the gizmo changes color, as shown in Figure 21-8.

Figure 21-8 Using the gizmo to constrain motion

c21f008.eps
3. Click the z-axis. Now as you move the cursor, the grip motion is constrained in the z-axis.
4. Click again to fix the location of the grip.
5. Press the Esc key to clear your grip selection.
c21i001.tif
6. Click the Undo tool to undo the grip edit.

Here you used the gizmo to change the Z location of a grip easily. You can use the gizmo to modify the location of a single grip or the entire object.

Rotating Objects in 3D Using Dynamic UCS

Typically, you work in what is known as the World Coordinate System (WCS). This is the default coordinate system that AutoCAD uses in new drawings, but you can also create your own coordinate systems that are subsets of the WCS. A coordinate system that you create is known as a User Coordinate System (UCS).

UCSs are significant in 3D modeling because they can help you orient your work in 3D space. For example, you could set up a UCS on a vertical face of the 3D box you created earlier. You could then draw on that vertical face just as you would on the drawing’s WCS. Figure 21-9 shows a cylinder drawn on the side of a box. If you click the Cylinder tool, for example, and place the cursor on the side of the box, the side will be highlighted to indicate the surface to which the cylinder will be applied. In addition, if you could see the cursor in color, you would see that the blue z-axis is pointing sideways to the left and is perpendicular to the side of the box.

The UCS has always been an important tool for 3D modeling in AutoCAD. The example just described demonstrates the Dynamic UCS, which automatically changes the orientation of the x-, y-, and z-axes to conform to the flat surface of a 3D object.

You may have noticed that when you created the new 3D file using the acad3D.dwt template, the cursor looked different. Instead of the usual cross, you saw three intersecting lines. If you look carefully, you’ll see that each line of the cursor is a different color. In its default configuration, AutoCAD shows a red line for the x-axis, a green line for the y-axis, and a blue line for the z-axis. This mimics the color scheme of the UCS icon, as shown in Figure 21-10.

Figure 21-9 Drawing on the side of a box

c21f009.eps

Figure 21-10 The UCS icon at the left and the cursor in 3D to the right are color matched.

c21f010.eps

As you work with the Dynamic UCS, you’ll see that the orientation of these lines changes when you point at a surface on a 3D object. The following exercise shows you how to use the Dynamic UCS to help you rotate the box about the x-axis:

1. Be sure the Object Snap and Allow/Disallow Dynamic UCS features are turned on.
c21uf002.eps
c21i002.tif
2. Click Rotate from the Home tab’s Modify panel or enter RO↵.
3. At the Select objects: prompt, click the box and then press ↵ to finish your selection.
4. At the Specify base point: prompt, don’t click anything, but move the cursor from one surface of the box to a side of the box. As you do this, notice that the surface you point to becomes highlighted. The orientation of the cursor also changes depending on which surface you’re pointing to.
c21i003.tif
5. Place the cursor on the left side as shown in the top image of Figure 21-11; then Shift+right-click your mouse and select Endpoint from the Osnap context menu.

Figure 21-11 Selecting a base point, and the resulting box orientation

c21f011.eps
6. While keeping the side highlighted, place the osnap marker on the lower-front corner of the box, as shown in the top image in Figure 21-11. Click this corner. As you move the cursor, the box rotates about the y-axis.
7. Enter -30 for the rotation angle. Your box should look like the image at the bottom in Figure 21-11.

Here you saw that you could hover over a surface to indicate the plane about which the rotation is to occur. Now, suppose you want to add an object to one of the sides of the rotated box. The next section will show you another essential tool—one you can use to do just that.


Using Object Snaps and Osnap Tracking in 3D Space
If you need to place objects in precise locations in 3D, such as at endpoints or midpoints of other objects, you can do so using object snaps, just as you would in 2D. But you must take care when using osnaps where the Dynamic UCS is concerned.
In the exercise in the section “Rotating Objects in 3D Using Dynamic UCS,” you were asked to make sure you placed the cursor on the side of the box that coincided with the rotational plane before you selected the Endpoint osnap. This ensures that the Dynamic UCS feature has selected the proper rotational plane; otherwise, the box may rotate in the wrong direction.

Drawing on a 3D Object’s Surface

In the rotation exercise, you saw that you could hover over a surface to indicate the plane of rotation. You can use the same method to indicate the plane on which you want to place an object. Try the following exercise to see how it’s done:

c21i004.tif
1. Click Center, Radius from the Circle flyout on the Home tab’s Draw panel or enter C↵.
2. Place the cursor on the top surface of the box, as indicated in the top image of Figure 21-12, and hold it there for a moment. The surface is highlighted and the cursor aligns with the angle of the top surface.

Figure 21-12 Drawing circles on the surface of a 3D solid

c21f012.eps
3. Click a point roughly at the center of the box. The circle appears on the surface, and as you move the cursor, the circle’s radius follows.
4. Adjust the circle so that it’s roughly the same 6-unit radius as the one shown on the lower image in Figure 21-12, and then click to set the radius. You can also enter 6↵.
c21i005.tif
5. Click Offset from the Home tab’s Modify panel, and offset the circle 2 units inward, as shown in the lower image of Figure 21-12. You can use the Center osnap to indicate a direction toward the center of the circle.

Using a Fixed UCS
If you’re working in a crowded area of a drawing, or if you know you need to do a lot of work on one particular surface of an object, you can create a UCS that remains in a fixed orientation until you change it instead of relying on the Dynamic UCS feature. Click Face from the View flyout on the View tab’s Coordinates panel, and then click the surface that defines the plane on which you want to work. The UCS aligns with the selected surface. Press ↵ to accept the face that the Face option has found, or you can use one of the options [Next/Xflip/Yflip] to move to another surface or flip the UCS. Once you’ve set the UCS, you won’t have to worry about accidentally drawing in the wrong orientation. To return to the WCS, click UCS, World from the View tab’s Coordinates panel. You’ll learn more about the UCS in Chapter 22, “Using Advanced 3D Features.”

This demonstrates that you can use Dynamic UCS to align objects with the surface of an object. Note that Dynamic UCS works only on flat surfaces. For example, you can’t use it to place an object on the curved side of a cylinder.

Pushing and Pulling Shapes from a Solid

You’ve just added two 2D circles to the top surface of the 3D box. AutoCAD offers a tool that lets you use those 2D circles or any closed 2D shapes to modify the shape of your 3D object. The Presspull tool in the Home tab’s Modeling panel lets you “press” or “pull” a 3D shape to or from the surface of a 3D object. The following exercise shows how this works:

c21i006.tif
1. Make sure the Polar Tracking tool in the status bar is turned on, and then click the Presspull tool in the Home tab’s Modeling panel. You can also enter Presspull↵ at the Type A Command prompt.
c21uf003.eps
2. Move the cursor to the top surface of the box between both circles. (See the lower-right panel of Figure 21-13.)

Figure 21-13 Move the cursor over different areas of the box and notice how the areas are highlighted.

c21f013.eps
3. With the cursor between the two circles, click the mouse. As you move the mouse, the circular area defined by the two circles moves.
4. Adjust the cursor location so that the cursor is positioned below the center of the circle, as shown in the top-left panel of Figure 21-13. Enter 3↵ to create a 3-unit indentation, as shown in Figure 21-14.

Figure 21-14 Creating an indentation in the box using Presspull

c21f014.eps

You’ve created a circular indentation in the box by pressing the circular area defined by the two circles. You could have pulled the area upward to form a circular ridge on the box. Pressing the circle into the solid is essentially the same as subtracting one solid from another. When you press the shape into the solid, AutoCAD assumes you want to subtract the shape.

Presspull works with any closed 2D shape, such as a circle, closed polyline, or other completely enclosed area. An existing 3D solid isn’t needed. For example, you can draw two concentric circles without the 3D box and then use Presspull to convert the circles into a 3D solid ring. In the previous exercise, the solid box showed that you can use Presspull to subtract a shape from an existing solid.

As you saw in this exercise, the Presspull tool can help you quickly subtract a shape from an existing 3D solid. Figure 21-15 shows some other examples of how you can use Presspull. For example, you can draw a line from one edge to another and then use Presspull to extrude the resulting triangular shape. You can also draw concentric shapes and extrude them; you can even use offset spline curves to add a trough to a solid.

Figure 21-15 Creating complex shapes using the Presspull tool

c21f015.tif

Drawing Outside the Surface
If you use an open 2D object such as a curved spline or line on a 3D surface, the endpoints must touch exactly on the edge of the surface before Presspull will work.

Making Changes to Your Solid

When you’re creating a 3D model, you’ll hardly ever get the shape right the first time. Suppose you decide that you need to modify the shape you’ve created so far by moving the hole from the center of the box to a corner. The next exercise will show you how you can gain access to the individual components of a 3D solid to make changes.

The model with which you’ve been working is composed of two objects: a box and a cylinder formed from two circles. These two components of the solid are referred to as subobjects of the main solid object. Faces and edges of 3D solids are also considered subobjects. When you use the Union, Subtract, and Intersect tools later in this book, you’ll see that objects merge into a single solid—or at least that is how it seems at first. You can gain access to and modify the shape of the subobjects from which the shape is constructed by using the Ctrl key while clicking the solid. Try the following:

1. Press Esc to cancel the previous command. Place the cursor on the components of the solid you’ve made so far. They are highlighted as if they were one object. If you were to click it (don’t do it yet), the entire object would be selected.
2. Hold down the Ctrl key, and move the cursor over the circular indentation. As you do this, the indentation is highlighted (see the top-left image in Figure 21-16).
3. While still holding down the Ctrl key, click the indentation. The grip for the indentation appears, as shown in the lower-right image in Figure 21-16. As you may guess, you can use these grips to change the shape and location of a feature of the selected solid.
4. Click the center square grip of the indentation, and move your cursor around. If you find it a bit uncontrollable, turn off Polar Tracking mode. As you move the cursor, the indentation moves with it.
5. Place the indentation in the location shown in Figure 21-17 and click. You’ve just moved the indentation from the center to the edge of the cylinder.
6. Press the Esc key to clear the selection. Exit the file and save it.

Figure 21-16 You can select subobjects of a 3D solid when you hold down the Ctrl key.

c21f016.eps

Figure 21-17 You can move the indentation to a new location using its grip.

c21f017.tif

This example showed that the Ctrl key can be an extremely useful tool when you have to edit a solid; it allows you to select the subobjects that form your model. Once the subobjects are selected, you can move them, or you can use the arrow grips to change their size.

Creating 3D Forms from 2D Shapes

You’ve seen that 3D solid primitives are great for creating basic shapes, but in many situations you’ll want to create a 3D form from a more complex shape. Fortunately, you can extrude 2D objects into a variety of shapes using additional tools found in the Home tab’s Modeling panel. For example, you can draw a shape like a star and then extrude it along the z-axis, as shown in Figure 21-18. Alternatively, you can use several strategically placed 2D objects to form a flowing surface like the wing of an airplane.

Figure 21-18 The closed polyline on the left can be used to construct the 3D shape on the right.

c21f018.tif

You can create a 3D solid by extruding a 2D closed polyline. This is a more flexible way to create shapes because you can create a polyline of any shape and extrude it to a fairly complex form.

In the following set of exercises, you’ll turn the apartment room from previous chapters into a 3D model. We’ve created a version of the apartment floor plan that has a few additions to make things a little easier for you. Figure 21-19 shows the file you’ll use in the exercise. It’s the same floor plan with which you’ve been working in earlier chapters but with the addition of closed polylines outlining the walls.

Figure 21-19 The unit plan with closed polylines outlining the walls

c21f019.eps

The plan isn’t shaded as in the previous examples in this chapter. You can work in 3D in this display mode just as easily as in a shaded mode:

1. Open the 21-unit.dwg file. Metric users should open 21-unit-metric.dwg.
2. Choose SW Isometric from the 3D Navigation drop-down list in the Home tab’s View panel (see Figure 21-20). You can also type -ViewSwiso↵.

Figure 21-20 Selecting a view from the 3D Navigation drop-down list

c21f020.tif
Your view now looks as if you’re standing above and to the left of your drawing rather than directly above it (see Figure 21-21). The UCS icon helps you get a sense of your new orientation.

Figure 21-21 A 3D view of the unit plan

c21f021.eps
3. Click the Extrude tool in the Home tab’s Modeling panel (see Figure 21-22).

Figure 21-22 Selecting the Extrude tool from the Modeling panel

c21f022.tif
You can also enter Extrude↵ at the command-line interface. You see the message Current wire frame density: ISOLINES=4, Closed profiles creation mode = Solid in the Command window followed by the Select objects to extrude or [MOde]: prompt.
4. Select the wall outlines shown in Figure 21-21, and then press ↵.
5. At the Specify height of extrusion or [Direction/Path/Taper angle/Expression] <-0’-3”>: prompt, place the cursor near the top of the drawing area and enter 8′↵. Metric users should enter 224↵. The walls extrude to the height you entered, as shown in Figure 21-23.

Unlike in the earlier exercise with the box, you can see through the walls because this is a Wireframe view. A Wireframe view shows the volume of a 3D object by displaying the lines representing the edges of surfaces. Later in this chapter, we’ll discuss how to make an object’s surfaces appear opaque as they do on the box earlier in this chapter.

Figure 21-23 The extruded walls

c21f023.tif

Next you’ll add door headers to define the wall openings:

1. Adjust your view so that you get a close look at the doorway shown in Figure 21-24. You can use the Pan and Zoom tools in this 3D view as you would in a 2D view.

Figure 21-24 Adding the door header to the opening at the balcony of the unit plan

c21f024.eps
c21i007.tif
2. Turn off Dynamic UCS mode by clicking the Allow/Disallow Dynamic UCS tool in the status bar so that it’s grayed out. This helps you avoid accidentally orienting your cursor to the wall behind the door header.
c21i008.tif
3. Click the Box tool in the Solids flyout of the Modeling panel.
4. Use the Endpoint osnaps, and click the two points shown in Figure 21-24.
5. At the Specify height or [2Point] <8′-0”>: prompt, point the cursor downward from the points you just selected and enter 12↵. Metric users should enter 30↵. The door header appears.
6. Zoom and pan so that your view resembles Figure 21-25 and then repeat steps 4 and 5 to draw the other door headers.

Figure 21-25 Adding the remaining door headers

c21f025.eps

The walls and door headers give you a better sense of the space in the unit plan. To enhance the appearance of the 3D model further, you can join the walls and door headers so that they appear as seamless walls and openings:

1. Zoom out so that you can see the entire unit. Click the Union tool in the Solid tab and Boolean panel (see Figure 21-26). You can also enter UNI↵.

Figure 21-26 Select the Union tool.

c21f026.tif
2. At the Select objects: prompt, select all the walls and headers, and then press ↵.

Now the walls and headers appear as one seamless surface without any distracting joint lines. You can get a sense of the space of the unit plan. You’ll want to explore ways of viewing the unit in 3D, but before you do that, you need to know about one more 3D modeling feature: point filters.

Isolating Coordinates with Point Filters

AutoCAD offers a method for 3D point selection that can help you isolate the x-, y-, or z-coordinate of a location in 3D. Using point filters (described in the help files as “coordinate filters”), you can enter an X, Y, or Z value by picking a point on the screen and telling AutoCAD to use only the X, Y, or Z value of that point or any combination of those values. For example, suppose you want to start the corner of a 3D box at the x- and y-coordinates of the corner of the unit plan, but you want the Z location at 3′ instead of at ground level. You can use point or coordinate filters to select only the x- and y-coordinates of a point and then specify the z-coordinate as a separate value. The following exercise demonstrates how this works:

1. Zoom into the balcony door, and turn on the F-RAIL layer.
2. Click the Box tool from the Solids flyout on the Modeling panel.
3. At the Specify first corner or [Center]: prompt, Shift+right-click to display the Object Snap menu and then choose Point Filters ⇒ .XY. As an alternative, you can enter .xy↵. By doing this, you are telling AutoCAD that first you’re going to specify the x- and y-coordinates for this beginning point and then later indicate the z-coordinate.
You may have noticed the .X, .Y, and .Z options on the Object Snap menu (Shift+right-click) in step 3. These are the 3D point filters. By choosing one of these options as you select points in a 3D command, you can filter an X, Y, or Z value, or any combination of values, from that selected point. You can also enter filters through the keyboard.
4. At the Specify first corner or [Center]: .XY of: prompt, pick the corner of the unit plan, as shown in Figure 21-27.

Figure 21-27 Constructing the rail using point filters

c21f027.eps
5. At the (need Z): prompt, enter 36↵ (the z-coordinate). Metric users enter 92↵. The outline of the box appears at the 36″ (or 92 cm) elevation and at the corner you selected in step 4.
6. At the Specify other corner or [Cube/Length]: prompt, Shift+right-click to display the Osnap menu again and choose Point Filters ⇒ XY. Select the other endpoint indicated in Figure 21-27.
7. At the (need Z): prompt, a temporary outline of the box appears at the 36″ height. Click the mouse at the endpoint indicated in Figure 21-27 to fix the base outline of the box.
8. Enter 4↵ (10↵ for metric users) for the height of the box. The box appears as the balcony rail, as shown in the bottom image in Figure 21-27.

Converting Objects with Thickness into 3D Solids
If you’ve worked with 3D in AutoCAD before, you probably know that you can give an object a thickness property greater than 0 to make it a 3D object. For example, a line with a thickness property greater than 0 looks like a vertical surface.
c21uf004.eps
In the unit plan exercise, you can do the same for the polylines used to draw the walls. Click the wall polylines, and then right-click and choose Properties. In the Properties palette, change the Thickness value to 8′ or 224 cm.
The walls appear in three dimensions. But be aware that these walls aren’t 3D solids. If you zoom in to a detail of the walls, they appear hollow.
Fortunately, AutoCAD supplies a tool that converts a closed polyline with thickness into a solid. Expand the Home tab’s Solid Editing panel, and then click the Convert To Solid tool. You can also enter convtosolid↵.
Select the polyline walls; press ↵ when you’ve finished your selection. Once you do this, the walls become 3D solids. This operation works with any closed polyline, providing an alternate way of creating a 3D solid. If you have existing 3D models that have been produced using the Thickness property, you can use the Convert To Solid tool to bring your 3D models up-to-date. The Convert To Solid tool can also convert open polylines that have a width and thickness greater than 0. (See Chapter 19, “Drawing Curves,” for more on polylines.)
Another tool, called Convert To Surface, converts objects with thickness into 3D surface objects. You can use 3D surfaces to slice or thicken 3D solids into full 3D solids. You’ll learn more about 3D surfaces in Chapter 25, “Exploring 3D Mesh and Surface Modeling.”

In step 4, you selected the corner of the unit, but the box didn’t appear right away. You had to enter a Z value in step 5 before the outline of the box appeared. Then, in step 6, you saw the box begin at the 36″ elevation. Using point filters allowed you to place the box accurately in the drawing even though there were no features that you could snap to directly.

Now that you’ve gotten most of the unit modeled in 3D, you’ll want to be able to look at it from different angles. Next you’ll see some of the tools available to control your views in 3D.


Get to Know Coordinate Filters
In our own work in 3D, coordinate filters are a real lifesaver. They can help you locate a position in 3D when the drawing becomes crowded with objects. And since a lot of architectural models start from floor plans, you can easily “project” locations into 3D using coordinate filters. Understanding this tool will greatly improve your ability to work in 3D.

Moving Around Your Model

AutoCAD offers a number of tools to help you view your 3D model. You’ve already used one to get the current 3D view. Choosing Southwest Isometric from the View panel’s drop-down list displays an isometric view from a southwest direction. You may have noticed several other isometric view options in that list. The following sections introduce you to some of the ways you can move around in your 3D model.

Finding Isometric and Orthogonal Views

Figure 21-28 illustrates the isometric view options you saw earlier in the Home tab’s View panel drop-down list: Southeast Isometric, Southwest Isometric, Northeast Isometric, and Northwest Isometric. The cameras represent the different viewpoint locations. You can get an idea of their location in reference to the grid and UCS icon.

Figure 21-28 The isometric viewpoints for the four isometric views available from the Home tab’s View panel drop-down list

c21f028.eps

The Home tab’s View panel’s 3D Navigation drop-down list also offers another set of options: Top, Bottom, Left, Right, Front, and Back. These are orthogonal views that show the sides, top, and bottom of the model, as illustrated in Figure 21-29. In this figure, the cameras once again show the points of view.

Figure 21-29 This diagram shows the six viewpoints of the orthogonal view options on the View panel’s 3D Navigation drop-down list.

c21f029.eps

When you use any of the view options described here, AutoCAD attempts to display the extents of the drawing. You can then use the Pan and Zoom tools to adjust your view.

Rotating Freely Around Your Model

You may find the isometric and orthogonal views a bit restrictive. The Orbit tool lets you move around your model in real time. You can fine-tune your view by clicking and dragging the mouse using this tool. Try the following to see how it works:

1. Zoom out so you see an overall view of your model.
2. Click the Orbit tool in the Orbit flyout on the View tab’s Navigate panel.
c21uf005.eps
You can also enter 3dorbit↵ and then right-click and select Other Navigation Modes ⇒ Constrained Orbit.
3. Click and drag in the drawing area. As you drag the mouse, the view revolves around your model. The cursor changes to an orbit icon to let you know you’re in the middle of using the Constrained Orbit tool.

If you have several objects in your model, you can select an object that you want to revolve around and then click the Orbit tool. It also helps to pan your view so that the object you select is in the center of the view.

When you’ve reached the view you want, right-click and choose Exit. You’re then ready to make more changes or use another tool.

Changing Your View Direction

One of the first tasks you’ll want to do with a model is to look at it from all angles. The ViewCube® tool is perfect for this purpose. The ViewCubeis a device that lets you select a view by using a sample cube. If it is not visible in your drawing, do the following:

1. First make sure Visual Styles is set to something other than 2D Wireframe by selecting an option from the Visual Style Control drop-down list.
c21uf006.tif
2. If you don’t already see the ViewCube in the upper-right corner of the drawing area, go to the View tab’s User Interface panel and turn on the ViewCube option in the User Interface flyout.
c21uf007.tif

Constrained Orbit Shortcut
If you have a mouse with a scroll wheel, you can hold down the Shift key while clicking and dragging the wheel to get the same effect as using the Constrained Orbit tool. If this doesn’t work for you, try installing the manufacturer’s software and drivers.

The following list explains what you can do with the ViewCube (see Figure 21-30):

Figure 21-30 The ViewCube and its options

c21f030.eps
  • Click the Home icon to bring your view to the “home” position. This is helpful if you lose sight of your model.
  • You can get a top, front, right-side, or other orthogonal view just by clicking the word Top, Front, or Right on the ViewCube.
  • Click a corner of the cube to get an isometric-style view, or click an edge to get an “edge-on” view.
  • Click and drag the N, S, E, or W label to rotate the model in the XY plane.
  • To rotate your view of the object in 3D freely, click and drag the cube.
  • From the icon at the bottom, select an existing UCS or create a new one from the UCS list.

You can also change from a perspective view to a parallel projection view by right-clicking the cube and selecting Parallel Projection. To go from parallel projection to perspective, right-click and select Perspective or Perspective With Ortho Faces. The Perspective With Ortho Faces option works like the Perspective option except it will force a parallel projection view when you use the ViewCube to select a top, bottom, or side orthographic view.

When you are in a plan or top view, the ViewCube will look like a square, and when you hover your cursor over the cube, you’ll see two curved arrows to the upper right of the cube (see Figure 21-31).

Figure 21-31 The ViewCube top view

c21f031.tif

You can click on any of the visible corners to go to an isometric view or click the double-curved arrows to rotate the view 90 degrees. The four arrowheads that you see pointing toward the cube allow you to change to an orthographic view of any of the four sides.


Setting the Home View
In a new file, the ViewCube’s home view is similar to the SW Isometric view. To set your own home view, right-click the ViewCube and select Set Current View As Home.

Using SteeringWheels

The ViewCube is great for looking at your model from different angles. But if your application requires you to be inside your model, you’ll want to know how to use the SteeringWheels® feature. The SteeringWheels feature collects a number of viewing tools in one interface. You can open SteeringWheels by clicking the SteeringWheels tool in the View tab’s Navigate panel (see Figure 21-32) or from the Navigation bar.

Figure 21-32 The SteeringWheels tool

c21f032.tif

You can also type Navswheel↵. When you do this, the SteeringWheels tool appears in the drawing area and moves with the cursor.

The SteeringWheels options are fairly self-explanatory. Just be aware that you need to use a click-and-drag motion to use them:

Pan To pan your view, click and drag the Pan option.
Zoom To zoom, click and drag the Zoom option.
Orbit The Orbit option lets you revolve your view about your model.
Look The Look option swivels your point of view around your model as if you were standing still and moving your “camera” around.
Center The Center option is a bit less obvious, but it is an important tool for the SteeringWheels feature. Click and hold the Center option and then drag the circular cursor that appears onto a 3D object. In any visual style other than 2D Wireframe, you will see a green sphere that indicates the center of your view for the Orbit option. Place this green sphere on the object at the desired center of your orbit. For example, if you want to use the Orbit option to look at all sides of a cube, click and drag the Center option so that the green sphere is at the center of the cube. Release the mouse button when you’ve placed the sphere where you want it (see Figure 21-33).

Figure 21-33 Placing the green sphere of the Center option

c21f033.tif
If you are in a 2D Wireframe view, you will have to place the cursor on the edge of the object before you’ll see the green sphere.
Walk The Walk option is similar to the Walk tool in the Render tab’s Animations panel. (See “Changing Where You Are Looking” later in this chapter for more on the Walk tool.) Click and drag the Walk option, and you’ll see a blue square and a cursor arrow that points in a direction away from the square (see Figure 21-34). Your view moves smoothly in the direction of the arrow as if to follow it.

Figure 21-34 Using the Walk option

c21f034.tif
Rewind The Rewind option literally rewinds the views you’ve seen while using the SteeringWheels feature. Click and drag the Rewind option, and you see a series of panels like movie frames in a video-editing program (see Figure 21-35).

Figure 21-35 The frames of the Rewind tool

c21f035.tif
As you move the mouse from right to left, the views in the AutoCAD drawing area are played back smoothly in reverse order. Move left to right to move forward in time through the views. This is especially helpful if your model has accidentally shifted out of view. You can roll back your views to one before the model flew out of view.
Up/Down The Up/Down option will move your view up or down respectively along the z-axis using a slider control.

SteeringWheels offers a number of options in a right-click menu. This menu can also be opened by clicking the arrowhead in the lower-right corner of the wheel. Most of these right-click menu options are self-explanatory, but a few of them are worth a brief description.

If you click the Basic Wheels option in the SteeringWheels right-click menu, you’ll see Tour Building and View Object. Select the Tour Building Wheel option. Figure 21-36 shows these variations on the basic SteeringWheels wheel, and they offer a pared-down set of options for the two types of viewing options indicated by the name of the wheels.

Figure 21-36 Variations of the SteeringWheels wheel

c21f036.eps

You’ll also see mini versions available for the wheels from the SteeringWheels menu. The mini versions are much smaller, and they do not have labels indicating the options. Instead you see segmented circles, like a pie. Each segment of the circle is an option. Tool tips appear when you point at a segment, telling you what option that segment represents. Other than that, the mini versions work the same as the full-sized wheels.

The SteeringWheels feature takes a little practice, but once you’ve become familiar with it, you may find that you use it frequently when studying a 3D model. Just remember that a click-and-drag motion is required to use the tools effectively.

Changing Where You Are Looking

AutoCAD uses a camera analogy to help you set up views in your 3D model. With a camera, you have a camera location and a target, and you can fine-tune both in AutoCAD. AutoCAD also offers the Swivel tool to let you adjust your view orientation. Using the Swivel tool is like keeping the camera stationary while pointing in a different direction. While viewing your drawing in perspective mode, click Pan on the View tab’s Navigation bar, right-click in the drawing area, and select Other Navigation Modes ⇒ Swivel. (Remember that you need to right-click on the ViewCube and select Perspective for the perspective mode.)

At first the Swivel tool might seem just like the Pan tool. But in the 3D world, Pan actually moves both the camera and the target in unison. Using Pan is a bit like pointing a camera out the side of a moving car. If you don’t keep the view in the camera fixed on an object, you are panning across the scenery. Using the Swivel tool is like standing on the side of the road and turning the camera to take in a panoramic view.

To use the Swivel tool, do the following:

c21i009.tif
1. While in a perspective view, click Pan on the View tab’s Navigate panel or on the Navigation bar.
2. Right-click in the drawing area, and choose Other Navigation Modes ⇒ Swivel. You can also type 3dswivel↵ at the Type A Command prompt.
3. Click and drag in the drawing to swivel your point of view.
4. When you have the view you want, right-click and select Exit.

If you happen to lose your view entirely, you can use the Undo tool in the Quick Access toolbar to return to your previous view and start over.

Flying Through Your View

Another way to get around in your model is to use the Walk or Fly view options. If you’re familiar with computer games, this tool is for you. To get to these options, start the Pan tool as you did in the last exercise, and then right-click and select Other Navigation Modes ⇒ Fly. If you don’t see the Other Navigation Modes menu option, make sure that you are in a perspective view.


Where to Find Walk
The Walk tool is part of a flyout on the Animations panel. Typically, the Animations panel is not displayed. To display it, select the Render tab, right-click in the Ribbon, and select Panels ⇒ Animations. The Walk tool is in the upper-right corner of the panel. The Fly tool is in the flyout of the Walk tool.

If you right-click while in this mode and click Display Instruction Window, a window will appear on the Communications Center. This message in the window tells you all you need to know about the Walk and Fly tools. You can use the arrow keys to move through your model. Click and drag the mouse to change the direction in which you’re looking.

If you press the F key, Walk changes to Fly mode. The main difference between Walk and Fly is that in Walk, both your position in the model and the point at which you’re looking move with the Up and Down arrow keys. Walk is a bit like Pan. When you’re in Fly mode, the arrow keys move you toward the center of your view, which is indicated by a crosshair.

In addition to the crosshair, you’ll see a palette that shows your position in the model from a top-down view (see Figure 21-37).

You can use the palette to control your view by clicking and dragging the camera or the view target graphic. If you prefer, you can close the palette and continue to “walk” through your model. When you’re finished using Walk, right-click and choose Exit.

Figure 21-37 The Position Locator palette uses a top-down view.

c21f037.tif

Changing from Perspective to Parallel Projection

When you create a new drawing using the acad3D.dwt template, you’re automatically given a perspective view of the file. If you need a more schematic parallel projection style of view, you can get one from the ViewCube’s right-click menu (see Figure 21-38). You can return to a perspective view by using the same context menu shown in the figure.

Figure 21-38 The Perspective projection and Parallel projection tools

c21f038.tif

Getting a Visual Effect

Although 3D models are extremely useful in communicating your ideas to others, sometimes you find that the default appearance of your model isn’t exactly what you want. If you’re only in a schematic design stage, you may want your model to look more like a sketch instead of a finished product. Conversely, if you’re trying to sell someone on a concept, you may want a realistic look that includes materials and even special lighting.

AutoCAD provides a variety of tools to help you get a visual style, from a simple wireframe to a fully rendered image complete with chrome and wood. In the following sections, you’ll get a preview of what is available to control the appearance of your model. Later, in Chapter 23, you’ll get an in-depth look at rendering and camera tools that allow you to produce views from hand-sketched “napkin” designs to finished renderings.

Using Visual Styles

In the earlier tutorials in this chapter, you drew a box that appeared to be solid. When you then opened an existing file to extrude the unit plan into the third dimension, you worked in a Wireframe view. These views are known as visual styles in AutoCAD. You used the Shades Of Gray visual style when you drew the box. The unit plan used the default 2D Wireframe view that is used in the AutoCAD Classic style of drawing.

Sometimes, it helps to use a different visual style, depending on your task. For example, the 2D Wireframe view in your unit plan model can help you visualize and select things that are behind a solid. AutoCAD includes several shaded view options that can bring out various features of your model. Try the following exercises to explore some of the other visual styles:

1. Click the Visual Styles drop-down list in the Home tab’s View panel. You can also find the list in the View tab’s Visual Styles panel. A set of graphic images appear that give you an idea of what each visual style shows you (see Figure 21-39). You can also access the visual styles from the Visual Style Control drop-down list located at the upper-left side of the drawing screen, but you will not get the graphical images.

Figure 21-39 The Visual Styles drop-down

c21f039.tif
2. Select Wireframe. You can also enter Vscurrentwireframe↵. Your model appears as a transparent wireframe object with a gray background.
3. To get to the shaded view of your model, choose Realistic from the Visual Styles drop-down list or enter VscurrentRealistic↵.

You may have noticed a few other Visual Styles options. Figure 21-40 shows a few of those options as they’re applied to a sphere. 2D Wireframe and Wireframe may appear the same, but Wireframe uses a perspective view and a background color, whereas 2D Wireframe uses a parallel projection view and no background color.

Figure 21-40 Visual styles applied to a sphere

c21f040.eps

Creating a Sketched Look with Visual Styles

You may notice blanks in the visual styles options in the View tab’s Visual Styles drop-down list. These spaces allow you to create custom visual styles. For practice, you’ll create a visual style similar to the existing Sketchy style so that you can learn how the rough look of that style was created. The following exercise will step you through the process:

1. Click the Visual Styles Manager from the Visual Styles drop-down. The Visual Styles Manager appears (see Figure 21-41). You can also enter Visualstyles ↵. This palette looks similar to the Properties palette with the addition of thumbnail examples of the visual styles at the top of the palette.

Figure 21-41 The Visual Styles Manager

c21f041.tif
c21i010.tif
2. Click the Create New Visual Style tool in the Visual Styles Manager toolbar. The Create New Visual Style dialog box opens (see Figure 21-42).

Figure 21-42 The Create New Visual Style dialog box

c21f042.tif
3. Enter Sketch in the Name box.
4. Enter Hand Drawn Appearance in the Description box, and then click OK. You see a new thumbnail in the bottom-left corner of the samples at the top of the palette.

You’ve just created a new visual style. This new style uses the default settings that are similar to the Realistic visual style but without the Material Display option turned on. The material setting causes objects in your drawing to display any material assignments that have been given to objects. You’ll learn more about materials in Chapter 23.

Now that you have a new visual style, you can begin to customize it. But before you start your customization, make your new visual style the current one so that you can see the effects of your changes as you make them:

c21i011.tif
1. Click the Apply Selected Visual Style To Current Viewport tool in the Visual Styles Manager toolbar.
The display changes slightly, and you see the name Sketch appear in the Visual Styles drop-down list as well as the upper-left corner of the drawing area.
Next you’ll turn on the two features that will give your new visual style a sketch-like appearance.
2. Use the scroll bar to the left of the Visual Styles Manager to scroll down to the bottom of the list of options.
c21i012.tif
3. Locate the Edge Modifiers option group, and click the Line Extensions Edges tool in the Edge Modifiers title bar.
Edges of your model now appear to be drawn with lines extending beyond the corners.
c21i013.tif
4. Click the Jitter Edges tool in the Edge Modifiers title bar. The edges take on a sketched look, as shown in Figure 21-43.
5. Save the unit plan file.

Figure 21-43 The 3D unit plan with the Sketch visual style

c21f043.tif

The 3D view has taken on a hand-drawn appearance. Notice that the lines overhang the corners in a typical architectural sketch style. This is the effect of the Line Extensions Edges option you used in step 3. The lines are made rough and broken by the Jitter Edges setting. You can control the amount of overhang and jitter in the Edge Modifiers group of the Visual Styles Manager to exaggerate or soften these effects.

With your newly created Sketch visual style, the model looks like it’s transparent. You can make it appear opaque by turning off the Show option under the Occluded Edges group in the Visual Styles Manager (see Figure 21-44).

Figure 21-44 The Show option in the Occluded Edges group in the Visual Style Manager

c21f044.tif

Finally, you can control some of the commonly used visual style properties using options in the View tab’s Visual Styles panel. This panel offers control over isolines, color, face style, shadows, and textures for the current visual style (see Figure 21-45).

Figure 21-45 Visual Styles options in the Visual Styles panel

c21f045.eps

In-Canvas Viewport Controls

Beginning in AutoCAD® 2012, controls are built into each viewport that allow you to quickly change between visual styles and model views without starting either command. These controls are found in the upper-left portion of the viewport. Clicking the view name will bring up a list of the available views to choose from. Likewise, clicking on the visual style will bring up a list of available visual styles. Clicking on either of them will instantly make the selected style or view current in that viewport.

Turning a 3D View into a 2D AutoCAD Drawing

Many architectural firms use AutoCAD 3D models to study their designs. After a specific part of a design is modeled and approved, they convert the model into 2D elevations, ready to plug into their elevation drawing.

If you need to convert your 3D models into 2D line drawings, you can use the Flatshot tool in the Home tab’s expanded Section panel.

c21uf008.tif

Set up your drawing view, and then click the Flatshot tool or enter Flatshot↵ at the command-line interface to open the Flatshot dialog box (see Figure 21-46).

Figure 21-46 The Flatshot dialog box

c21f046.tif

Printing Your Model Using Visual Styles
You can print a drawing that uses visual styles either from the Model tab or from a Layout tab. If you’re printing from the model view, click Plot from the Quick Access toolbar. Then, in the Plot dialog box, select the visual style from the Shade Plot drop-down list in the Shaded Viewport Options group. If you’re plotting from a Layout tab, select the layout viewport border, right-click, and choose Shade Plot from the context menu. You can select from a list of visual styles on a cascading menu. Once you’ve done this, plot your layout as you normally would.

Select the options you want to use for the 2D line drawing, and then click Create. Depending on the options you select, you’ll be prompted to select an insertion point or indicate a location for an exported drawing file. The 2D line drawing will be placed on the plane of the current UCS, so if you are viewing your model in a 3D view but you are in the World UCS, the 2D line drawing will appear to be projected onto the XY plane.

Flatshot offers the ability to place the 2D version of your model in the current drawing as a block, to replace an existing block in the current drawing, or to save the 2D version as a DWG file. Table 21-1 describes the Flatshot options in more detail.

Table 21-1: Flatshot options

OptionWhat it does
Destination
Insert As New BlockInserts the 2D view in the current drawing as a block. You’re prompted for an insertion point, a scale, and a rotation.
Replace Existing BlockReplaces an existing block with a block of the 2D view. You’re prompted to select an existing block.
Select BlockIf Replace Existing Block is selected, lets you select a block to be replaced. A warning is shown if no block is selected.
Export To A FileExports the 2D view as a drawing file.
Filename And PathDisplays the location for the export file. Click the Browse button to specify a location.
Foreground Lines
ColorSets the overall color for the 2D view.
LinetypeSets the overall linetype for the 2D view.
Obscured Lines
ShowDisplays hidden lines.
ColorIf Show is turned on, sets the color for hidden lines.
LinetypeIf Show is turned on, sets the linetype for hidden lines. The Current Linetype Scale setting is used for linetypes other than continuous.
Include Tangential EdgesDisplays edges for curved surfaces.

Things to Watch Out for When Editing 3D Objects
You can use the Move and Stretch commands on 3D objects to modify their z-coordinate values—but you have to be careful with these commands when editing in 3D. Here are a few tips that we’ve picked up while working on various 3D projects:
  • If you want to move a 3D solid using grips, you need to select the square grip at the bottom center of the solid. The other grips move only the feature associated with the grip, like a corner or an edge. Once that bottom grip is selected, you can switch to another grip as the base point for the move by doing the following: After selecting the base grip, right-click, select Base Point from the context menu, and click the grip you want to use.
  • The Scale command will scale an object’s z-coordinate value as well as the standard x-coordinate and y-coordinate. Suppose you have an object with an elevation of 2 units. If you use the Scale command to enlarge that object by a factor of 4, the object will have a new elevation of 2 units times 4, or 8 units. If on the other hand that object has an elevation of 0, its elevation won’t change because 0 times 4 is still 0. You can use the 3dscale command to restrict the scaling of an object to a single plane.
  • You can also use Mirror and Rotate (on the Modify panel) on 3D solid objects, but these commands don’t affect their z-coordinate values. You can specify z-coordinates for base and insertion points, so take care when using these commands with 3D models.
  • Using the Move, Stretch, and Copy commands (on the Modify panel) with osnaps can produce unpredictable and unwanted results. As a rule, it’s best to use coordinate filters when selecting points with osnap overrides. For example, to move an object from the endpoint of one object to the endpoint of another on the same z-coordinate, invoke the .XY point filter at the Specify base point: and Specify second point: prompts before you issue the Endpoint override. Proceed to pick the endpoint of the object you want, and then enter the z-coordinate or pick any point to use the current default z-coordinate.
  • When you create a block, it uses the currently active UCS to determine its own local coordinate system. When that block is later inserted, it orients its own coordinate system with the current UCS. (The UCS is discussed in more detail in Chapter 22.)

One useful feature of Flatshot is that it can create a 2D drawing that displays the hidden lines of a 3D mechanical drawing. Turn on the Show option, and then select a linetype such as Hidden for obscured lines to produce a 2D drawing like the one shown in Figure 21-47.

Figure 21-47 A sample of a 2D drawing generated from a 3D model using Flatshot. Note the dashed lines showing the hidden lines of the view.

c21f047.tif

Using the Point Cloud Feature

As you might guess from the name, a point cloud is a set of data points in a 3D coordinate system. They are often the product of 3D scanners, which are devices that can analyze and record the shape of real-world objects or environments. Point cloud data can be used to reproduce an object or environment as a digital model that can then be used for a video game, movie production, 3D model, or even as-built drawings.

AutoCAD enables you to import raw point cloud data through a set of tools that can be found in the Insert tab’s Point Cloud panel (see Figure 21-48).

Figure 21-48 The Point Cloud panel in the Insert tab

c21f048.tif

AutoCAD can import point cloud data from several file types: FLS, FWS, LAS, XYB, XYZ, TXT, ASC, PTG, PTS, PTX, CLR, and CL3. You can also attach an indexed point cloud file through the External References palette just as you would a DWG, DWF, or other image file. AutoCAD can reference an ISD file, a PCG file, an RCP file, or an RCS file. The last two file types (Recap Project and RecapScan files) can be produced with the Autodesk ReCap program, a separate application that comes with AutoCAD (see the sidebar “Autodesk ReCap”).


Autodesk ReCap
Autodesk ReCap is an application that runs outside of AutoCAD. This additional program lets you take raw data from 3D scans and package it in a way AutoCAD can use. ReCap can handle the massive amounts of data collected from 3D scanners so that you can aggregate the scans. It features tools that enable you to clean up the data, sort it, compress it, and visualize it. Once this is accomplished, ReCap will put the data into a file format that AutoCAD can easily digest and use. ReCap requires users to have and log into their Autodesk 360 account.

Once the raw point cloud data has been imported, AutoCAD creates an ISD or PCG file from that data, indexes it, and displays it in your file. To import the data, use the Create Point Cloud tool in the Point Cloud panel. This tool can take some time to process a file, so indexing is performed in the background. This enables you to continue to work while a file is being indexed.

The indexing icon appears in the status bar to remind you that a point cloud is being indexed. If for some reason you need to cancel the indexing, you can right-click the icon and select Cancel Indexing.

Once AutoCAD has produced an ISD or PCG file from the indexed data, these files can then be attached to a drawing file using the Attach tool in the Point Cloud panel, or through the Xref Manager. Selecting an attached point cloud displays a bounding box around the data and activates the contextual Cloud Edit Ribbon tab. This tab provides a set of tools that you can use to manipulate your point cloud by clipping it (similar to the Clip tool), changing the point density, adjusting the color display of the point cloud, or running analysis tools.

Because point clouds can consume a great deal of memory, you can use the Density slider in the expanded Point Cloud panel to control the density of the point cloud or in the Cloud Edit Ribbon tab. The lower the density, the less impact the point cloud will have on performance. You can also control the real-time density of the point cloud while zooming or panning in your file. The lower the real-time density, the quicker AutoCAD can process the point cloud while you zoom or pan.

Once you have the point cloud attached to a drawing, you can use the points to help guide you in building a 3D model. You can use the Node osnap to snap to the individual points in the point cloud. The referenced Point Cloud is selectable. When you do select it, a Contextual Ribbon tab will appear. This tab has several tools that will help you display your point cloud. There are slider bars to increase or decrease the density of the points (how many are currently being displayed). You can change the color of the points or use any color data your scanning device may have gathered. There are also clipping tools to help speed up your file by reducing the number of points to process. This clipping feature can also help control what is being displayed in your file.

The Bottom Line

Know the 3D Modeling workspace. When you work in 3D, you need a different set of tools from those for 2D drafting. AutoCAD offers the 3D Modeling workspace, which provides the tools you need to create 3D models.
Master It Name some of the Ribbon panels that are unique to the 3D Modeling workspace.
Draw in 3D using solids. AutoCAD offers a type of object called a 3D solid that lets you quickly create and edit shapes.
Master It What does the Presspull command do?
Create 3D forms from 2D shapes. The Modeling panel offers a set of basic 3D shapes, but other tools enable you to create virtually any shape you want from 2D drawings.
Master It Name the command that lets you change a closed 2D polyline into a 3D solid.
Isolate coordinates with point filters. When you’re working in 3D, selecting points can be a complicated task. AutoCAD offers point filters or coordinates to let you specify the individual x-, y-, and z-coordinates of a location in space.
Master It What does the .XY point filter do?
Move around your model. Getting the view you want in a 3D model can be tricky.
Master It Where is the drop-down list that lets you select a view from a list of predefined 3D views?
Get a visual effect. At certain points in your model making, you’ll want to view your 3D model with surface colors and even material assignments. AutoCAD offers several ways to do this.
Master It What are the steps to take to change the view from Wireframe to Conceptual?
Turn a 3D view into a 2D AutoCAD drawing. Sometimes, it’s helpful to convert a 3D model view into a 2D AutoCAD drawing. AutoCAD offers the Flatshot tool, which quickly converts a 3D view into a 2D line drawing.
Master It What type of object does Flatshot create?
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.128.204.5