- •Contents
- •Contents at a Glance
- •Acknowledgments
- •Preface
- •Is This Book for You?
- •How This Book Is Organized
- •How to Use This Book
- •Doing the Exercises
- •Conventions Used in This Book
- •What the Icons Mean
- •About the CD-ROM
- •Other Information
- •Contacting the Author
- •Foreword
- •Credits
- •About the Author
- •Summary
- •AutoCAD’s Advantages
- •Comparing AutoCAD and AutoCAD LT
- •Starting AutoCAD and AutoCAD LT
- •Creating a New Drawing
- •Using the AutoCAD and AutoCAD LT Interface
- •Creating a New Folder
- •Using the Interface
- •Saving a Drawing
- •Closing a Drawing and Exiting from AutoCAD and AutoCAD LT
- •Summary
- •Creating a New Drawing from a Template
- •Working with Templates
- •Opening a Drawing with Default Settings
- •Opening an Existing Drawing
- •Using an Existing Drawing as a Prototype
- •Saving a Drawing Under a New Name
- •Summary
- •The Command Line and Dynamic Input
- •Command Techniques
- •Of Mice and Pucks
- •Getting Help
- •Summary
- •Typing Coordinates
- •Displaying Coordinates
- •Picking Coordinates on the Screen
- •Overriding Coordinate Settings
- •Locating Points
- •Summary
- •Choosing Unit Types
- •Drawing Limits
- •Understanding Scales
- •Creating a Title Block
- •Specifying Common Setup Options
- •Customizing with the MVSETUP Command
- •Using the Setup Wizards
- •Summary
- •Using the LINE Command
- •Drawing Rectangles
- •Drawing Polygons
- •Creating Construction Lines
- •Creating Rays
- •Summary
- •Drawing Circles
- •Drawing Arcs
- •Creating Ellipses and Elliptical Arcs
- •Making Donuts
- •Placing Points
- •Summary
- •Panning
- •Using the ZOOM Command
- •Using Aerial View
- •Saving Named Views
- •Working with Tiled Viewports
- •Using Snap Rotation
- •Understanding User Coordinate Systems
- •Creating Isometric Drawings
- •Summary
- •Editing a Drawing
- •Selecting Objects
- •Summary
- •Copying and Moving Objects
- •Resizing Commands
- •Using Construction Commands
- •Creating a Revision Cloud
- •Hiding Objects with a Wipeout
- •Double-Clicking to Edit Objects
- •Grips
- •Editing with the Properties Palette
- •Selection Filters
- •Groups
- •Summary
- •Working with Layers
- •Changing Object Color, Linetype, and Lineweight
- •Working with Linetype Scales
- •Importing Layers and Linetypes from Other Drawings
- •Matching Properties
- •Summary
- •Drawing-Level Information
- •Object-Level Information
- •Measurement Commands
- •AutoCAD’s Calculator
- •Summary
- •Creating Single-Line Text
- •Understanding Text Styles
- •Creating Multiline Text
- •Creating Tables
- •Inserting Fields
- •Managing Text
- •Finding Text in Your Drawing
- •Checking Your Spelling
- •Customizing the spelling dictionary
- •Summary
- •Working with Dimensions
- •Drawing Linear Dimensions
- •Drawing Aligned Dimensions
- •Creating Baseline and Continued Dimensions
- •Dimensioning Arcs and Circles
- •Dimensioning Angles
- •Creating Ordinate Dimensions
- •Drawing Leaders
- •Using Quick Dimension
- •Editing Dimensions
- •Summary
- •Understanding Dimension Styles
- •Defining a New Dimension Style
- •Changing Dimension Styles
- •Creating Geometric Tolerances
- •Summary
- •Creating and Editing Polylines
- •Drawing and Editing Splines
- •Creating Regions
- •Creating Boundaries
- •Creating Hatches
- •Creating and Editing Multilines
- •Creating Dlines
- •Using the SKETCH Command
- •Digitizing Drawings with the TABLET Command
- •Summary
- •Preparing a Drawing for Plotting or Printing
- •Creating a Layout in Paper Space
- •Working with Plot Styles
- •Plotting a Drawing
- •Summary
- •Combining Objects into Blocks
- •Inserting Blocks and Files into Drawings
- •Managing Blocks
- •Creating and Using Dynamic Blocks
- •Using Windows Features
- •Working with Attributes
- •Summary
- •Understanding External References
- •Editing an Xref within Your Drawing
- •Controlling Xref Display
- •Managing Xrefs
- •Summary
- •Preparing for Database Connectivity
- •Connecting to Your Database
- •Linking Data to Drawing Objects
- •Creating Labels
- •Querying with the Query Editor
- •Working with Query Files
- •Summary
- •Working with 3D Coordinates
- •Using Elevation and Thickness
- •Working with the User Coordinate System
- •Summary
- •Working with the Standard Viewpoints
- •Using DDVPOINT
- •Working with the Tripod and Compass
- •Displaying a Quick Plan View
- •Shading Your Drawing
- •Using 3D Orbit
- •Using Tiled Viewports
- •Defining a Perspective View
- •Laying Out 3D Drawings
- •Summary
- •Drawing Surfaces with 3DFACE
- •Drawing Surfaces with PFACE
- •Creating Polygon Meshes with 3DMESH
- •Drawing Standard 3D Shapes
- •Drawing a Revolved Surface
- •Drawing an Extruded Surface
- •Drawing Ruled Surfaces
- •Drawing Edge Surfaces
- •Summary
- •Drawing Standard Shapes
- •Creating Extruded Solids
- •Drawing Revolved Solids
- •Creating Complex Solids
- •Sectioning and Slicing Solids
- •Using Editing Commands in 3D
- •Editing Solids
- •Listing Solid Properties
- •Summary
- •Understanding Rendering
- •Creating Lights
- •Creating Scenes
- •Working with Materials
- •Using Backgrounds
- •Doing the Final Render
- •Summary
- •Accessing Drawing Components with the DesignCenter
- •Accessing Drawing Content with Tool Palettes
- •Setting Standards for Drawings
- •Organizing Your Drawings
- •Working with Sheet Sets
- •Maintaining Security
- •Keeping Track of Referenced Files
- •Handling Errors and Crashes
- •Managing Drawings from Prior Releases
- •Summary
- •Importing and Exporting Other File Formats
- •Working with Raster Images
- •Pasting, Linking, and Embedding Objects
- •Summary
- •Sending Drawings
- •Opening Drawings from the Web
- •Creating Object Hyperlinks
- •Publishing Drawings
- •Summary
- •Working with Customizable Files
- •Creating Keyboard Shortcuts for Commands
- •Customizing Toolbars
- •Customizing Tool Palettes
- •Summary
- •Creating Macros with Script Files
- •Creating Slide Shows
- •Creating Slide Libraries
- •Summary
- •Creating Linetypes
- •Creating Hatch Patterns
- •Summary
- •Creating Shapes
- •Creating Fonts
- •Summary
- •Working with the Customization File
- •Customizing a Menu
- •Summary
- •Introducing Visual LISP
- •Getting Help in Visual LISP
- •Working with AutoLISP Expressions
- •Using AutoLISP on the Command Line
- •Creating AutoLISP Files
- •Summary
- •Creating Variables
- •Working with AutoCAD Commands
- •Working with Lists
- •Setting Conditions
- •Managing Drawing Objects
- •Getting Input from the User
- •Putting on the Finishing Touches
- •Summary
- •Understanding Local and Global Variables
- •Working with Visual LISP ActiveX Functions
- •Debugging Code
- •Summary
- •Starting to Work with VBA
- •Writing VBA Code
- •Getting User Input
- •Creating Dialog Boxes
- •Modifying Objects
- •Debugging and Trapping Errors
- •Moving to Advanced Programming
- •Summary
- •A Final Word
- •Installing AutoCAD and AutoCAD LT
- •Configuring and Using Workspaces
- •Configuring AutoCAD
- •Starting AutoCAD Your Way
- •Configuring a Plotter
- •Discovering AutoCAD and AutoCAD LT
- •Accessing Technical Support
- •Autodesk User Groups
- •Internet Resources
- •System Requirements
- •Using the CD-ROM with Microsoft Windows
- •What’s on the CD-ROM
- •Troubleshooting
- •Index
Chapter 24 Creating Solids and Editing in 3D |
767 |
Sectioning and Slicing Solids
In many drawings, you need to show a cross-section of your models. A cross-section displays the inside of a 3D object. The SECTION and SLICE commands are both used to create crosssection views of your 3D models.
Using the SECTION command
The SECTION command creates a 2D region from a cross-section of a 3D model along a plane that you specify. The original objects are left untouched. Figure 24-20 shows a region created using the SECTION command.
Region created using SECTION
Figure 24-20: The region created using SECTION is shown with a dashed line.
Tip |
The SECTION command creates the region on the current layer. Make the current layer |
|
color different from the object layer color so that the region is clearly visible. |
To use the SECTION command, choose Section from the Solids toolbar. Select the object that you want to section. AutoCAD displays the Specify first point on Section
plane by [Object/Zaxis/View/XY/YZ/ZX/3points] <3points>: prompt. Use these options to define the plane of the cross-section. Table 24-1 explains how to use the options.
768 Part IV Drawing in Three Dimensions
|
Table 24-1: SECTION Options |
|
|
Option |
Description |
|
|
Object |
Enables you to choose a circle, ellipse, arc, spline, or 2D polyline. |
Zaxis |
Defines the plane by defining a Z axis. The sectioning plane is then the XY plane perpendicular |
|
to the Z axis that you defined. You define the Z axis by first specifying a point on the sectioning |
|
plane. This point is the 0,0,0 point (for purposes of this command only) where the sectioning |
|
plane and the Z axis meet. Then you pick a point on the Z axis. |
View |
Defines the section plane parallel to the current view at the intersection of a point that you |
|
specify. |
XY |
Defines the section plane parallel to the XY plane at the intersection of a point that you specify. |
YZ |
Defines the section plane parallel to the YZ plane at the intersection of a point that you specify. |
ZX |
Defines the section plane parallel to the ZX plane at the intersection of a point that you specify. |
3points |
This is the default. Specify three points to define the section plane. Using object snaps is a |
|
good idea. |
|
|
You can move the region that you create and view it separately to spot errors in your models.
Using the SLICE command
The SLICE command slices a solid into two parts along a plane. The original solids are modified but can be reunited with UNION. You can delete either part or keep both. Figure 24-21 shows the result of slicing a model, after one-half of the model has been deleted. This can help you to identify problems in the construction of the model. For example, this slice reveals a fault with the model — the flat disk continues through the central tube — not the desired result.
Figure 24-21: The result of slicing a solid and retaining one of the resulting pieces.
Chapter 24 Creating Solids and Editing in 3D |
769 |
To use the SLICE command, choose Slice from the Solids toolbar. Select the object that you want to slice. AutoCAD displays the Specify first point on slicing plane by
[Object/Zaxis/View/XY/YZ/ZX/3points] <3points>: prompt. Use these options to define the plane of the cross-section. The options are the same as for the SECTION command and are explained in Table 24-1.
On the |
The drawing used in the following exercise on slicing solids, ab24-3.dwg, is in the Results |
CD-ROM |
folder on the CD-ROM. |
|
STEPS: Slicing Solids
1.If you have ab24-03.dwg open from the previous exercise, use this drawing. Use the REGEN command to remove the hidden view. If you don’t have it open, open it from your AutoCAD Bible folder or from the Results folder of the CD-ROM. Make sure that OSNAP is on. Set running object snaps for endpoint, midpoint, center, and quadrant. Make sure that you have both the Solids and the Solids Editing toolbars open. The drawing is shown in Figure 24-22.
4 |
3 |
1
2
Figure 24-22: The 3D model for slicing.
2.Save your drawing as ab24-04.dwg in your AutoCAD Bible folder.
3.
Choose Slice from the Solids toolbar. Follow the prompts:
Select objects: Select the solid model.
Select objects: Right-click.
Specify first point on slicing plane by [Object/Zaxis/View/XY/YZ/ZX/3points]
<3points>: Pick the quadrant at 1 in Figure 24-22.
Specify second point on plane: Pick the quadrant at 2. Specify third point on plane: Pick the quadrant at 3.
Specify a point on desired side of the plane or [keep Both sides]:
Pick the model at 4.
770 Part IV Drawing in Three Dimensions
4.As mentioned earlier, the slicing reveals an error — the disk cuts through the central tube, as shown in Figure 24-23. To fix the error, choose Zoom Realtime from the Standard toolbar and zoom in so that the model takes up the entire screen.
5.Start the CIRCLE command. At the Specify center point for circle or [3P/2P/Ttr (tan tan radius)]: prompt, pick the midpoint at 1 in Figure 24-23. At the Specify radius of circle or [Diameter]: prompt, pick the endpoint at 2.
1
2
Figure 24-23: The solid after slicing and deleting one-half of it.
6.Choose Extrude from the Solids toolbar. Select the new circle. Set the height of extrusion to 16 and accept the default taper angle of 0 (zero).
7.Choose Subtract from the Solids Editing toolbar. At the Select solids and regions to subtract from... Select objects: prompt, select the large solid and right-click to end object selection. At the Select solids and regions to subtract... Select objects: prompt, select the new extruded circle that you just drew and right-click. AutoCAD subtracts the extruded circle from the larger model.
8.Use the HIDE command to hide the model. Your drawing should look like Figure 24-24.
Figure 24-24: The solid after subtracting the extruded circle and applying the HIDE command.
9. Save your drawing. If you’re continuing on to the next exercise, keep the drawing open.
