- •Foreword
- •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
- •Acknowledgments
- •Contents at a Glance
- •Contents
- •Getting Acquainted with AutoCAD and AutoCAD LT
- •Starting AutoCAD and AutoCAD LT
- •Creating a New Drawing
- •Using the AutoCAD and AutoCAD LT Interface
- •Creating Your First Drawing
- •Saving a Drawing
- •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
- •Command Techniques
- •Of Mice and Pucks
- •Getting Help
- •Summary
- •Typing Coordinates
- •Displaying Coordinates
- •Picking Coordinates on the Screen
- •Locating Points
- •Summary
- •Unit Types
- •Drawing Limits
- •Understanding Scales
- •Inserting a Title Block
- •Common Setup Options
- •The MVSETUP Command
- •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
- •The ZOOM Command
- •Aerial View
- •Named Views
- •Tiled Viewports
- •Snap Rotation
- •User Coordinate Systems
- •Isometric Drawing
- •Summary
- •Editing a Drawing
- •Selecting Objects
- •Summary
- •Copying and Moving Objects
- •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
- •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
- •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
- •Getting 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 Menu Files
- •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
- •A Final Word
- •Installing AutoCAD and AutoCAD LT
- •Configuring AutoCAD
- •Starting AutoCAD Your Way
- •Configuring a Plotter
- •System Requirements
- •Using the CD with Microsoft Windows
- •What’s on the CD
- •Troubleshooting
- •Index
Chapter 7 Drawing Curves and Points 119
You draw some donuts in the next exercise.
Placing Points
Points are generally used for reference. It is sometimes helpful to mark a point that you use later as a guide to place an object or to help you return an object to its original position. When it’s no longer needed, you may erase the point. This is a typical construction method. In some cases, the From object snap or object snap tracking can be used instead of a point.
Cross- |
The DIVIDE and MEASURE commands place point objects along an object. Chapter 12 covers |
Reference |
these commands. |
|
Changing the point style
Different disciplines have different conventions for drawing point objects. As a result, AutoCAD and AutoCAD LT provide 20 types of point styles that you can use in your drawing. Before you draw a point, you should set the point style. You can save this setting in your template.
Choose Format Point Style to open the Point Style dialog box, shown in Figure 7-10.
Figure 7-10: Choosing a point style.
To set the point style, click the box showing the style that you want. Then set the point size, which has the following options:
Set Size Relative to Screen: Use this option if you want the point to always appear the same size, no matter how much you zoom in and out — for example, when you’re using the point as a reference. The size is set as a percentage of the screen. This option is the default, with the size set to 5 percent of the screen.
Set Size in Absolute Units: Use this option if you want the point to have a real size, just like any other object. The size is set in units. Use this option when you want the point to stay the same size relative to other objects in your drawing.
Click OK to close the dialog box.
Note When you change the point style, previously drawn points automatically and immediately change to the new style.
120 Part II Drawing in Two Dimensions
Creating points
After you determine the point style, you’re ready to create points. Choose Point from the Draw toolbar.
You see the following on the command line:
Current point modes: PDMODE=0 PDSIZE=0.0000
Specify a point:
Specify the point you want, either by picking a point on the screen or by typing coordinates. (You can specify a Z coordinate to create a point in 3D space.) You can use object snaps to specify the point. (PDMODE and PDSIZE are system variables for the point style and size, respectively.)
When you choose the POINT command from the Draw toolbar, the command automatically repeats the prompt so that you can continue to specify points. To end the command, press Esc. When you choose Draw Point, you can choose Single Point or Multiple Point from the submenu. The command line version draws single points.
If BLIPMODE is on and you’re using the first point style — a small dot — you cannot see the point until you use the REDRAW command to remove the blips.
Tip |
If you’re using the points for temporary reference, instead of erasing them, you can set the |
|
point style to the second style in the Point Style dialog box (no dot) before plotting. Then |
|
the points do not appear on your plot. |
After you create a point, use the Node object snap to snap to the point. |
|
On the |
The drawing used in the following Step-by-Step exercise on drawing donuts and points, |
CD-ROM |
ab07-d.dwg, is in the Drawings folder on the CD-ROM. |
STEP-BY-STEP: Drawing Donuts and Points
1.Open ab07-d.dwg from the CD-ROM.
2.Save the file as ab07-04.dwg in your AutoCAD Bible folder. The drawing contains a rectangle and connecting wires for an electrical switch. Make sure that OSNAP is on. Set running object snaps for endpoint, quadrant, center, and node.
3.Choose Format Point Style. The Point Style dialog box opens. Choose the third point type, the plus sign. The radio button Set Size Relative to Screen should be marked. The Point Size should be 5.0000%. Choose OK.
4. Choose Point from the Draw toolbar. Follow the prompts:
Specify a point: Use From object snap. (Shift+right-click to open the Object Snap shortcut menu.)
Base point: Use the Endpoint object snap to pick the top-left corner
of the rectangle.
<Offset>: @.08,-.09
Specify a point: Press Esc to complete the command.
Chapter 7 Drawing Curves and Points 121
5.Choose Draw Donut. Follow these prompts:
Specify inside diameter of donut <0.5000>: .04 Specify outside diameter of donut <1.0000>: .06
Specify center of donut or <exit>: Use the Node object snap to pick
the point you drew.
Specify center of donut or <exit>: @.19,0 Specify center of donut or <exit>:
6.Start the POINT command again. Follow the prompts:
Specify a point: Right-click and choose the Mid between 2 points option from the shortcut menu.
First point of mid: _ Use the Center object snap to pick the center of the right-hand donut.(You may have to press Tab until you get the center object snap, and not a quadrant object snap.)
Second point of mid: _Use the Perpendicular object snap and pick the lower horizontal line of the rectangle.
Specify a point: Press Esc.
7.Start the LINE command. Follow the prompts:
Specify first point: Use the Quadrant object snap to pick the right (0 degrees) quadrant of the left donut. If you don’t see the Quadrant SnapTip, press Tab until it appears.
Specify next point or [Undo]: Use the Node object snap to pick the point you just drew. End the LINE command.
8.Save your drawing. It should look like Figure 7-11.
Figure 7-11: The completed electrical switch. The points show as plus signs.
Summary
In this chapter, you learned how to draw curved objects and points in AutoCAD and AutoCAD LT. You discovered:
All the ways to draw circles
How to define and draw an arc
How to define an ellipse and an elliptical arc
How to draw a donut
How to set the point style and draw points
In the next chapter, you read how to display your drawing for the greatest ease and comfort.
|
|
|
Viewing Your
Drawing
Often you may wish you could zoom in to see a particular part of a drawing more closely or move the display in a certain direc-
tion to reveal an area that was hidden. You may also want to save a view so that you can return to it some other time. In this chapter, you read about controlling the display of your drawing to meet all your drawing needs and increase productivity.
Regenerating and Redrawing
the Display
AutoCAD and AutoCAD LT are vector programs, which means that they store information about objects in your drawing in terms of coordinates and equations. To display your drawing on your computer screen, the programs convert the vector information to pixels. Occasionally, you may need to redisplay the objects on your screen. You can recalculate the entire drawing — called regenerating —
or access a virtual screen in your computer’s memory that can be accessed very quickly — called redrawing. A redraw is much quicker than a regeneration.
When should you use REDRAW and when REGEN?
Use the REDRAW command to remove blips or to quickly refresh the screen. (The REDRAWALL command redraws the display in all viewports. Viewports are covered later in this chapter.) To redraw the screen, choose View Redraw (which actually executes the REDRAWALL command).
Use the REGEN command whenever you want to recalculate the entire drawing. In common usage, the word regen refers
to the REGEN command as well as regenerate or regeneration. To regenerate the entire drawing, type regen at the command line. (REGENALL regenerates all viewports.)
Certain zooms and pans may require a regeneration, which AutoCAD does automatically.
C 8H A P T E R
In This Chapter
Panning and zooming
Using Aerial View to pan and zoom
Working with views
Creating tiled viewports
Creating User
Coordinate Systems
Drawing isometrically