Folks who do heavy-duty 3D modeling somewhat derisively refer to the result of adding thickness to 2D objects as 2?D — a bit more than 2D, but not quite 3D. That’s because extrusion is a limited 3D technique compared to creating real surface meshes and solids, as described in the following two sections. You can’t model most objects in a detailed way with extrusion alone. Imagine a set of wooden blocks in which every block has a uniform thickness, with no tapering allowed — kind of dull, huh? Even AutoCAD LT, despite its advertised 3D limitations, can do extrusion (although only the simple kind of extrusion described in the following steps). Nonetheless, extrusion is a fun and fairly low-stress way to get started with 3D, and it’s adequate for some simple modeling tasks. It’s also a good warm-up exercise for full 3D solid extrusion, which I describe later in this chapter.

The following steps show the general procedure for creating “2?D” extruded objects. 

1. Define a suitable UCS (user coordinate system), as described earlier in “Coordinate systems: The WCS and UCSs.”

The extrusion direction will be perpendicular to the UCS, so think about the orientation of the 2D object and which way you want it to “pop out” into 3D space.

2. Draw a 2D object.

See Chapter 5 for more information. 

3. Open the Properties palette.

See Chapter 6 for more information. 

4. Press Esc to make sure that no objects are selected. 

5. Click the object to select it. 

6. In the Thickness field, type an extrusion thickness and press Enter.

AutoCAD extrudes the object perpendicular to the UCS in which you created it, as shown in Figure 8-8.

Figure 8-8: Just add thickness and voila — instant 3D! (Or 2?D, anyway.)

  If you extrude closed polylines and then shade or render them, the extruded shapes appear hollow — that is, without any tops or bottoms on them. You can work around this limitation by using the 3DFACE command to add threesided or four-sided surfaces as “lids.” You can build up irregular shapes by using a combination of three-sided and four-sided faces. A better approach in most cases is to use the EXTrude command, which creates a true solid out of closed polylines and other closed shapes. (EXTrude requires AutoCAD — it’s not included in AutoCAD LT.)

Meshing around with surface meshes

For surface models that are more complex than simple extrusions of 2D objects, you can use a variety of AutoCAD commands that draw 3D meshes. One set of commands draws surface model representations of 3D primitives: box, pyramid, wedge, dome, sphere, cone, torus, dish, and mesh. (In this case, the word primitive isn’t a pejorative. A 3D primitive is a relatively simple shape that can be used alone or as a subcomponent of a more complex 3D object.)

To create these objects, choose Draw>Surfaces>3D Surfaces, select a primitive shape from the image tile menu (shown in Figure 8-9), and follow the command line prompts. It’s like constructing your own set of wooden blocks, except that they don’t take up any space in your closet after you’re finished playing with them!

Figure 8-9: A torus mesh — the perfect 3D surface snack.

  The Surfaces submenu of the Draw menu includes commands for creating complex 3D surfaces from 2D lines and curves. For example, with the Revolved Surface menu choice (the REVSURF command), you revolve a set of 2D line and arc segments around an axis of revolution to “sweep out” a 3D surface. But in most cases, you’re better off using solid modeling commands such as REVolve instead.

A solid(s) foundation

Solid modeling is in many ways the culmination of 3D CAD. Solids more accurately represent most real- world objects than do wireframes or surfaces. And even when representational accuracy isn’t the main issue, it’s easier to construct many kinds of models with solids.

Solid modeling also places more serious demands on computer software and hardware. It takes a sophisticated program and fast computer — not to mention a capable human being running all this stuff — to create useful solid models. That’s why solid modeling historically has lagged behind wireframe and surface modeling and only recently become common on ordinary PCs. AutoCAD’s solid modeling capabilities have improved steadily over the years, but most people who do real solid modeling use AutoCAD add-on applications or separate, stand-alone programs that have been created with this task in mind. Examples include Inventor from Autodesk and SolidWorks from SolidWorks Corporation.

  Many special-purpose solid modeling programs use a combination of solid and surface modeling techniques for maximum flexibility in constructing and editing 3D models. These kinds of programs — and solid modeling in general — are becoming especially popular in mechanical design.

Constructing the basic building blocks — or solid primitives — for a solid model in AutoCAD isn’t difficult. As with wireframe and surface objects, you follow these steps: 

1. Define a suitable UCS (user coordinate system).

See “Coordinate systems: The WCS and UCSs,” earlier in this chapter. The UCS controls the construction plane and basic 3D orientation of the solid. 

2. Choose Draw>Solids and then choose a solid from the top half of the submenu.

As shown in Figure 8-10, your choices are Box, Sphere, Cylinder, Cone, Wedge, and Torus. (These are similar to the surface mesh choices shown in Figure 8-9. In this case, though, you’re creating solid instead of surface versions.)

Figure 8-10: Everything you need for a solid foundation.

  When you see a 3D object in a drawing, you can’t tell by looking whether it’s a 2D extruded object, surface mesh, or solid. If you want to find out, open the Properties palette and select the object. The drop-down list at the top of the palette shows the type of object that you selected.

Constructing solid primitives is pretty simple and immediately gratifying. For example, you can quickly put together a virtual cityscape by populating your drawing with boxes, cylinders, cones, and wedges representing buildings. For additional gratification, you’ll want to shade or render them (see the “Ending with Rendering” section, later in this chapter). If you have any questions about any of the 3D solid primitive commands, choose Contents>User’s Guide>Create and Modify Objects>Draw Geometric Objects>Create 3D Objects>Create 3D Solids in the AutoCAD online help.

After the solid primitives, the next pair of commands on the Draw>Solids submenu is Extrude and Revolve:

? Extruding is similar to adding thickness (see “Extruding from 2D to 3D,” earlier in this chapter) except that it creates true solids rather than “2?D” objects. In addition, you can specify tapers with the EXTrude command.

? Use the REVolve command to create a solid by rotating a closed object around an axis.

  The commands described in this section are the building blocks of solid modeling. Developing useful 3D models takes a lot more than just knowing the basics. You can model simple objects by using solid primitives, extrusion and revolution, and the editing techniques discussed in the next section. But for most real-world solid modeling work, you’ll want additional software and learning resources.

Editing in three dimensions

When you’re ready to modify wireframes or surfaces, you can use most of the editing commands described in Chapter 6. Grip editing also works well on most wireframe and surface objects.

As with 3D drawing, you need to be a more careful when editing in 3D to make sure that the editing transformations you apply occur correctly in all three spatial dimensions. Display your model in multiple viewports from different viewpoints so that you can see what’s going on and catch mistakes right away.

Вы читаете AutoCAD 2005 for Dummies
Добавить отзыв
ВСЕ ОТЗЫВЫ О КНИГЕ В ИЗБРАННОЕ

0

Вы можете отметить интересные вам фрагменты текста, которые будут доступны по уникальной ссылке в адресной строке браузера.

Отметить Добавить цитату