Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

AutoCAD & AutoCAD LT All-In-One Desk Reference For Dummies (2006)

.pdf
Скачиваний:
90
Добавлен:
17.08.2013
Размер:
17.7 Mб
Скачать

322 Creating Solid Primitives

Figure 5-1:

The outline of a 2D floor plan converted to 3D walls with the POLYSOLID command.

Figure 5-2:

A table created from boxes.

Box

A box is a six-sided object that is either a cube or rectangular. A box could be used for virtually anything from a table (see Figure 5-2) to a door or even a building in the background of a conceptual drawing. To start the BOX command, choose Draw Modeling Box. After specifying the first corner or the center of the box, you can then finish defining the base of the box by selecting the opposite corner, creating a cube, or defining its length. Based on the option you select, you may need to define the box’s height.

Wedge

A wedge is half of a box diagonally from an upper edge to a lower edge. A wedge might be useful for creating a ramp, a roof slope, or even a slice of chocolate cake. Figure 5-3 shows some of the different sizes of wedges that can be created with the WEDGE command. To start the WEDGE command, choose Draw Modeling Wedge. After specifying the first corner or the center of the wedge, you can then finish defining the base of the wedge by selecting the opposite corner, creating a cube, or defining its length. Based on the option selected, you may need to define the wedge’s height.

Creating Solid Primitives 323

Figure 5-3:

Some different shapes and sizes of wedges.

Figure 5-4:

Some different shapes and sizes of cones.

Figure 5-5:

A sphere.

Cone

A cone is an object with a circular base that has either a point or a flat top. The base of a cone can be larger than its top and even be elliptical rather than circular. You might use a cone for a handle or pull, a cup, or a planter. Figure 5-4 shows some of the different sizes and types of cones that can be created with the CONE command. To start the CONE command, choose Draw Modeling Cone. After specifying the center of the cone’s base, specify the radius or diameter of the base and then its height.

Sphere

A sphere is a full circular object that is created from the very center of the object. The sphere is one of two types of 3D solids that is created half above and half below the current XY plane (see Figure 5-5). Torus is the other type of 3D solid created above and below the current XY plane, which we discuss later in this chapter in the section called “Torus.” To start the SPHERE command, choose Draw Modeling Sphere. After specifying the center of the sphere, you specify its radius or diameter.

Book V

Chapter 5

Workingwith Solids

324 Creating Solid Primitives

Figure 5-6:

Different shapes and sizes of cylinders.

Figure 5-7:

A torus.

Cylinder

A cylinder is a circle or ellipse with height and is commonly created from the center of the object. Cylinders can be used for a variety of things, like the legs of a table or chair, glasses, or a shaft for a gear. Figure 5-6 shows some of the different sizes and types of cylinders that can be created with the CYLINDER command. To start the CYLINDER command, choose Draw Modeling Cylinder. After specifying the center of the cylinder’s base, specify the radius or diameter of the base and then its height.

Torus

A torus is a 3D donut that is created from the very center of the object. The torus, like the sphere, is created half above and half below the current XY plane (see Figure 5-7). To start the TORUS command, choose Draw Modeling Torus. After specifying the center of the torus, specify its radius or diameter, and then the radius or diameter of the tube.

Pyramid

A pyramid is similar to a cone, except instead of a circular base, it has a polygon-shaped base that can have from 3 to 32 sides and either a point or a flat top. You might use a pyramid for the top of a building, base of a street sign, or even a light fixture. Figure 5-8 shows some of the different sizes and types of pyramids that can be created with the PYRAMID command. To start the PYRAMID command, choose Draw Modeling Pyramid. After you spec-

ify the center or the edge of the pyramid’s base, specify the radius or use the inscribed option and then its height.

Editing Solids 325

The PYRAMID command is new in AutoCAD 2007.

Figure 5-8:

Different shapes and sizes of pyramids.

Editing Solids

You can edit a solid in many different ways, and some of these ways are not always easy to recognize. AutoCAD allows you to select a solid and access grips to modify certain characteristics of the solid, which could be its height, base size, or some other characteristic. Along with being able to edit solids directly with grips, you can also manipulate faces and edges of a solid through the SOLIDEDIT command and by using the Ctrl key when selecting objects. You can edit solid in many other ways, like using the TRIM and FILLET command, and other specialized commands used only on solids.

Solid editing

The SOLIDEDIT command allows you to modify a face, an edge, or the entire body of a 3D solid. Based on how you edit a 3D solid, you have different options available. Many of the options that are part of the SOLIDEDIT command are available on the Solid Editing toolbar or are found under the Solid Editing submenu of the Modify menu on the menu bar.

Table 5-1 lists the different options of the SOLIDEDIT command and what they are used for.

Table 5-1

SOLIDEDIT Command Options

 

 

Command Option

Description

 

 

 

 

 

 

Imprint Edges

Imprints a 2D or 3D object onto a 3D solid. The object to

 

 

 

 

 

be imprinted must intersect one or more faces of the 3D

 

 

 

solid that it is to be imprinted on. After the object has

 

 

 

 

 

 

been imprinted onto the solid, you can then extrude the

 

 

 

new face that is created if the imprinted object creates a

 

 

 

closed area on the 3D solid.

 

 

 

 

Book V

Chapter 5

Workingwith Solids

(continued)

326 Editing Solids

Table 5-1 (continued)

 

 

Command Option

Description

 

 

Color Edges

Allows you to specify a different color for an edge on the

 

 

 

 

 

3D solid.

 

 

 

 

 

 

 

 

 

 

Copy Edges

Allows you to select edges on a 3D solid that you want to

 

 

 

 

 

copy. The copied edges result in 2D objects such as lines

 

 

 

and arcs.

 

 

 

 

 

Extrude Faces

Allows you to extrude a selected face away or into the

 

 

 

 

 

3D solid that it belongs to.

 

 

 

 

 

 

 

 

 

 

Move Faces

Allows you to move a selected face on the 3D solid. This

 

 

 

 

 

works great for moving holes or notches in a surface.

 

 

 

 

 

 

 

 

 

 

Offset Faces

Allows you to offset a selected face on the 3D solid.

 

 

 

 

 

 

 

 

 

 

 

 

Delete Faces

Allows you to delete a selected face, fillet, or chamfer on

 

 

 

 

 

the 3D solid.

 

 

 

 

 

 

 

 

 

 

Rotate Faces

Allows you to rotate a selected face on a 3D solid.

 

 

 

 

 

 

 

 

 

 

 

 

Taper Faces

Allows you to taper a selected face on a 3D solid. This

 

 

 

 

 

causes the face to flare out or in based on the specified

 

 

 

axis and angle provided.

 

 

 

 

 

Color Faces

Allows you to specify a different color for a face on the

 

 

 

 

 

3D solid.

 

 

 

 

 

 

 

 

 

 

Copy Faces

Allows you to select faces on a 3D solid that you want to

 

 

 

 

 

copy. The copied edges result in 2D regions being cre-

 

 

 

ated for each face selected.

 

 

 

 

 

 

 

 

 

Clean

Performs a scrubbing of the 3D solid and cleans up any

 

 

 

 

 

redundant edges, vertices, and unused geometry.

 

 

 

 

 

 

 

 

 

 

Separate

Creates separate 3D solid objects based on 3D solids

 

 

 

 

 

with disjointed volumes; this doesn’t separate Boolean

 

 

 

objects with a single volume.

 

 

 

 

 

 

 

 

 

Shell

Hollows out a 3D solid based on a specified wall thick-

 

 

 

 

 

ness. A positive offset distance creates the shell to the

 

 

 

inside of the perimeter, whereas a negative value cre-

 

 

 

ates the shell to the outside of the perimeter.

 

 

 

 

 

 

Check

Performs a validation on the 3D solid object to determine

 

 

 

 

 

that it is valid with the ShapeManager.

 

 

 

 

 

 

 

 

Editing Solids 327

Using grips to edit solids

Grips are a very powerful way to edit objects such as lines and arcs. You can use grips to edit some of the properties of a solid after it has been created in the drawing. To edit a solid using grips, select the solid with no command running and then select the grip you want to edit. Some grips allow you to change the overall size of the solid, whereas others allow you to change part of the solid like its base or top in the case of a cone. Figure 5-9 shows a cone selected and its grips displayed.

The grip editing of solids has been greatly improved in AutoCAD 2007. In previous releases, you could only use grips to move solids, but now you are able to modify a solid after it has been created. The Properties palette has also been updated to allow you to edit a solid after it has been created in the drawing.

Figure 5-9:

Grips displayed on the selected cone.

Booleans

3D solids can be unioned together to form a complex object using the UNION command. Along with being able to union 3D solids, you can also subtract from them with the SUBTRACT command. A 3D solid can also be created based on the intersecting of two or more 3D solids with the INTERSECT command. For more information on these commands, see Chapter 4 of this minibook and the online Help system.

Filleting and chamfering

3D solids can be filleted and chamfered just like 2D objects. You use the FILLET and CHAMFER commands that you are already familiar with. The FILLET command allows you to fillet as many edges that you want to on a solid, whereas CHAMFER must be done face by face. Figure 5-10 shows a solid that has had its edges filleted and chamfered. To remove a fillet or a chamfer from a solid, you use the Delete Faces option of the SOLIDEDIT command.

Book V

Chapter 5

Workingwith Solids

328 Editing Solids

Figure 5-10:

A 3D solid before and after it was filleted and chamfered.

Slice

At times, you may only want a portion of the 3D solid for your model. In these cases, you can use the SLICE command. You can slice a 3D solid using a planar object like a circle, ellipse, 2D polyline, or a surface, among many others. You can keep both halves of the solid after it has been sliced, or whichever side you want to keep. Figure 5-11 shows a solid that has been sliced in half. To start the SLICE command, choose Modify 3D Operations Slice. After you specify the 3D solid to slice, you specify the axis or object you want to use as the cutting plane and then you decide which part of the resulting objects to keep.

Figure 5-11:

A 3D solid sliced in half.

Chapter 6: Working with Surfaces

In This Chapter

Creating surfaces

Editing surfaces

In the previous chapter, we cover creating and modifying 3D solids. This chapter takes a similar look at creating and modifying surfaces. Many

commands allow you to create primitives out of surfaces instead of a 3D solid. Surfaces take a little more planning to create and modify than 3D solids do, but they do have advantages, depending on what you are trying to model.

Creating Surfaces

AutoCAD offers a variety of commands that allow you to create primitives as surfaces, which are similar to the commands that allow you to create 3D primitives. Just like the primitive 3D solids, surfaces help to form the foundation of 3D modeling in AutoCAD. Surfaces are not as easy to modify as 3D solids are, but you can deform and change their shapes much more easily than you can a 3D solid. Most of the primitives that can be created as 3D solids can be created with surfaces through the use of the 3D command or a command that is specific to the primitive.

3D face

A surface can be either threeor four-sided. Most of the commands in this chapter create meshes that are composed of multiple surfaces to create a primitive. The 3DFACE command allows you to create a single threeor foursided surface (see Figure 6-1). As you create a surface with the 3DFACE command, you can control which sides of the surface are visible when the model is viewed as hidden, shaded, or rendered. To start the 3DFACE command, choose Draw Modeling Meshes 3D Face. After specifying the first corner, you specify two more points and then press Enter to create a three-sided surface, or specify a fourth point to create a four-sided surface. You can continue to specify additional points to create additional surfaces. As you specify points, you can toggle the visibility of the edge that is created.

330 Creating Surfaces

Figure 6-1:

An open box created with surfaces, and a threeand foursided surface.

3D mesh

A mesh is a group of vertices that form a particular pattern to create a group of surfaces based on the number of vertices specified (see Figure 6-2). If a mesh is exploded, the result is individual surfaces that are created between the specified vertices. A mesh is commonly created as an open object, but can be closed through the use of the PEDIT command. To start the 3DMESH command, choose Draw Modeling Meshes 3D Mesh. After you start the 3DMESH command, you are prompted to specify the size in the M and N directions, which determines the number of vertices that you are prompted for. After the M and N directions have been specified, you specify all the vertices to create the mesh.

Figure 6-2:

A couple of meshes created with the 3DMESH command.

Planar surface

A planar surface is an object that can be created by specifying two corners to form a rectangular object, or selecting objects that form a closed object just like the region command does (see Figure 6-3). Unlike many of the commands that create surfaces and meshes in this chapter, exploding a planar surface results in the creation of a region. To start the PLANESURF command, choose Draw Modeling Planar Surface. After you start the PLANESURF command, you are prompted to specify the first corner of the planar surface and then the opposite corner, which creates the planar surface on the xy plane. Alternatively, you are prompted to select a closed object.

Creating Surfaces 331

The PLANESURF command is new in AutoCAD 2007.

Figure 6-3:

Two planar surfaces: one created by picking two corners and the other

created with a closed spline.

The system variables SURFU and SURFV control the number of lines that are displayed for the surface but do not affect the actual creation of the planar surface.

Box

A box is created using the AI_BOX command and looks just like one created with the BOX command. The 3D solid that is created with the BOX command can be edited using grips and retains the appearance of a box, but the surface version of a box can be easily be deformed or stretched to fit into a specific shape, which can result in the final object not being a box (see Figure 6-4). To start the AI_BOX command, type the command in at the command line or the dynamic input tooltip. After the command starts, you specify the first corner of the box, its length and width, and finally its height. After the box is created, you have the option of rotating it along the z axis.

Figure 6-4:

Some of the boxes that can be created with the AI_BOX command, and one (on the far right) modified with grips.

Book V

Chapter 6

WorkingSurfaces

with