- •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
436 Part II Drawing in Two Dimensions
Dimension System Variables
All of the settings that you make in the Dimension Styles dialog box are stored in a large number of system variables devoted to dimensions. (See Chapter 5 for more information about system variables).
To read about the dimension variables, choose Help Help and click the Contents tab. Double-click Command Reference and then double-click System Variables. Double-click D System Variables. All of the variables starting with DIM are dimension system variables.
Once upon a time, the only way to manage dimensions was by knowing all of the dimension system variables and individually setting each one. Today, the Dimension Style Manager makes it much easier to manage dimensions. However, if you want to create scripts or AutoLISP routines to manage your dimensions, you need to understand how the dimension system variables work, because scripts and AutoLISP routines cannot access dialog boxes.
You can use the DIMSTYLE command on the command line to list all of the system variable settings for a dimension style. Type -dimstyle at the command line. Use the STatus option to display the current style’s system variable values. You can get a great education in dimension system variables by printing out and perusing this list.
The other DIMSTYLE options are:
Save: Saves a dimension style.
Restore: Makes a dimension style current.
Variables: Lists dimension variables, such as the STatus option, but lets you first choose the dimension style for which you want to list the variables.
Apply: Updates dimensions to the current style, including overrides. This is equivalent to choosing Update from the Dimension toolbar.
?: Lists all dimension styles in the drawing.
You can also create dimension style overrides by using the DIMOVERRIDE command (Dimension Override). You need to know the name of the system variable and the setting code that you want. The command displays the Enter dimension variable name to override (or Clear overrides): prompt. To create an override, type the system variable and its setting. Then select the dimensions for which you want to override dimension style settings. To clear all dimension style overrides, type c . Then select the dimensions for which you want to remove overrides.
Creating Geometric Tolerances
You can use the TOLERANCE command to create geometric tolerances. (For another way to specify tolerances, see the “Formatting tolerances” section earlier in this chapter.) This command creates feature control frames, which define tolerances. This method of denoting tolerances conforms to international standards such as ISO (International Standards Organization), ANSI (American National Standards Institute), or JIS (Japanese Industrial Standards). Figure 15-36 shows a drawing using tolerance feature-control frames.
Chapter 15 Creating Dimension Styles and Tolerances |
437 |
Tolerance symbol for concentricity
Tolerance value
Datum
Figure 15-36: An example of tolerance feature-control frames.
Thanks to Jerry Butterfield of Clow Value Company, Oskaloosa, Iowa, for this drawing.
Starting the tolerance frame
Creating a tolerance frame is a step-by-step process that depends on what information you want to include. To start the frame, choose Tolerance from the Dimension toolbar, which opens the Geometric Tolerance dialog box, shown in Figure 15-37.
Figure 15-37: The Geometric Tolerance dialog box.
Use this dialog box to build the frame. The frame enables you to create two rows of two tolerances and three datum references (for up to three dimensions), as well as a projected tolerance zone value, and a symbol and datum identifier. You’ll rarely, if ever, use all of the features in the frame.
Follow these steps to build the frame:
1. Click the first Sym box to open the Symbol dialog box, shown in Figure 15-38.
Figure 15-38: Use the Symbol dialog box
to choose the symbol for the type of geometry for which you want to specify tolerance.
438 Part II Drawing in Two Dimensions
2.Choose the symbol for the geometric characteristic that you are tolerancing. (Table 15-1 explains these symbols.) If you don’t need a symbol, click the blank box. The Symbol dialog box disappears.
3.To insert a diameter symbol before the first tolerance, click the black Dia box to the left of the text box in the Tolerance 1 section.
4.Type the tolerance value in the Value box.
5.If you want to specify a material condition, click the black MC box to the right of the text box. The Material Condition dialog box opens, shown in Figure 15-39. Choose the symbol that you want. The dialog box disappears.
Figure 15-39: The Material Condition dialog box.
6.If desired, complete a second tolerance.
7.If desired, type a datum in the Datum box of the Datum 1 section, usually A.
8.If desired, add a material condition, using the same method described in Step 5.
9.If desired, type in datum references in the Datum 2 and Datum 3 sections, usually B and C with material conditions.
10.If you need to specify a projected tolerance zone for a perpendicular part, type a value in the Height box. Then click the Projected Tolerance Zone box to insert the Projected Tolerance Zone symbol.
11.Finally, if you want to specify a datum identifier, type the identifier letter in the Datum Identifier box.
12.Click OK to return to your drawing.
If you choose a material condition symbol and then change your mind, click the material condition box again and choose the blank square to delete your symbol.
Table 15-1: Tolerance Symbols
Symbol |
Name |
Symbol |
Name |
|
Position |
|
Flatness |
|
Concentricity |
|
Circularity |
|
Symmetry |
|
Straightness |
|
Parallelism |
|
Surface profile |
Chapter 15 Creating Dimension Styles and Tolerances |
439 |
Symbol |
Name |
Symbol |
Name |
|
Perpendicularity |
|
Line profile |
|
Angularity |
|
Circular runout |
|
Cylindricity |
|
Total runout |
|
Inserting the tolerance frame |
|
After you complete the frame, you’re returned to your drawing with the Enter tolerance |
|
location: prompt on the command line. Specify any point to insert the frame. |
Tip |
You can create a matching Datum reference to place on your model by creating a tolerance |
|
frame with no symbol and only the Datum letter. |
Editing a tolerance frame
To edit a geometric tolerance, double-click the tolerance frame. The Geometric Tolerance dialog box opens, and you can make any changes that you need. Click OK to return to your drawing.
On the |
The drawing used in the following exercise on creating geometric tolerances, ab15-c.dwg, |
CD-ROM |
is in the Drawings folder on the CD-ROM. |
STEPS: Creating Geometric Tolerances
1.Open ab15-c.dwg from your CD-ROM.
2.Save the file as ab15-06.dwg in your AutoCAD Bible folder. This drawing of a gear operator is shown in Figure 15-40. The Dim layer is current. If the Dimension toolbar is not visible, right-click any toolbar and choose Dimension.
1
Figure 15-40: A mechanical drawing using geometric tolerances.
