272 62 25MB
English Pages 755 Year 2011
Up and Running with AutoCAD® 2012 2D and 3D Drawing and Modeling
This page intentionally left blank
Up and Running with AutoCAD® 2012 2D and 3D Drawing and Modeling
Elliot Gindis
Amsterdam•Boston•Heidelberg•London NewYork•Oxford•Paris•SanDiego SanFrancisco•Singapore•Sydney•Tokyo AcademicPressisanimprintofElsevier
AcademicPressisanimprintofElsevier 225WymanStreet,Waltham,MA02451,USA TheBoulevard,LangfordLane,Kidlington,Oxford,OX51GB,UK Copyright©2012ElsevierInc.Allrightsreserved Nopartofthispublicationmaybereproducedortransmittedinanyformorbyanymeans,electronic ormechanical,includingphotocopying,recording,oranyinformationstorageandretrievalsystem, withoutpermissioninwritingfromthepublisher.Detailsonhowtoseekpermission,further informationaboutthePublisher’spermissionspoliciesandourarrangementswithorganizations suchastheCopyrightClearanceCenterandtheCopyrightLicensingAgency,canbefoundatour website:www.elsevier.com/permissions. ThisbookandtheindividualcontributionscontainedinitareprotectedundercopyrightbythePublisher (otherthanasmaybenotedherein). Notices Knowledgeandbestpracticeinthisieldareconstantlychanging.Asnewresearchandexperience broadenourunderstanding,changesinresearchmethods,professionalpractices,ormedical treatmentmaybecomenecessary. Practitionersandresearchersmustalwaysrelyontheirownexperienceandknowledgeinevaluating andusinganyinformation,methods,compounds,orexperimentsdescribedherein.Inusingsuch informationormethodstheyshouldbemindfuloftheirownsafetyandthesafetyofothers,including partiesforwhomtheyhaveaprofessionalresponsibility. Tothefullestextentofthelaw,neitherthePublishernortheauthors,contributors,oreditors, assumeanyliabilityforanyinjuryand/ordamagetopersonsorpropertyasamatterofproducts liability,negligenceorotherwise,orfromanyuseoroperationofanymethods,products,instructions, orideascontainedinthematerialherein. Library of Congress Cataloging-in-Publication Data Gindis,Elliot. UpandrunningwithAutoCAD2012.2Dand3Ddrawingandmodeling/ElliotGindis. p.cm. Includesindex. Summary:“Throughoutthebook,thefollowingmethodsareusedtopresentmaterial:-Explainthenewconcept orcommandandwhyitisimportant.—Coverthecommandstepbystep(ifneeded),withyourinputandAutoCAD responsesshownsoyoucanfollowandlearnthem.–Giveyouachancetoapplyjust-learnedknowledgetoa real-lifeexercise,drawing,ormodel.—Testyourselfwithend-of-chapterquizzesanddrawingexercisesthatask questionsabouttheessentialknowledge”—Providedbypublisher. ISBN978-0-12-387029-2(pbk.) 1.Computergraphics.2.AutoCAD.3.Computer-aideddesign.4.Three-dimensionaldisplaysystems.I.Title. II.Title:2Dand3Ddrawingandmodeling. T385.G542420116209.00420285536—dc23 2011014774 British Library Cataloguing-in-Publication Data AcataloguerecordforthisbookisavailablefromtheBritishLibrary ISBN:978-0-12-387029-2 ForinformationonallAcademicPresspublications visitourwebsiteatwww.elsevierdirect.com PrintedintheUnitedStatesofAmerica 11 12 13 14 15 9 8 7 6 5 4 3 2 1
CONTENTS
ACKNOWLEDGMENTS ................................................................................................. xvii ABOUT THE AUTHOR ....................................................................................................xix PREFACE.....................................................................................................................xxi
LEVEL 1 CHAPTER 1 1.1 1.2 1.3
l
Chapters 1–10 ...........................................................1 AutoCAD Fundamentals: Part I .................................................................3
Introduction and Basic Commands ........................................................................4 The AutoCAD Environment ....................................................................................5 Interacting with AutoCAD .....................................................................................9 Method 1. Type in the Commands on the Command Line ...................................................... 9 Method 2. Select the Commands from the Drop-Down Cascading Menus ............................... 9 Method 3. Use Toolbar Icons to Activate the Commands ..................................................... 10 Method 4. Use the Ribbon Tabs, Icons, and Menus ............................................................ 10
1.4
Practicing the Create Objects Commands ...........................................................13 Line ................................................................................................................................ 13 Circle .............................................................................................................................. 14 Arc .................................................................................................................................. 15 Rectangle ........................................................................................................................ 16
1.5
View Objects......................................................................................................19 Zoom .............................................................................................................................. 19 Pan ................................................................................................................................. 19 Regen ............................................................................................................................. 19
1.6
Practicing the Edit/Modify Objects Commands ...................................................20 Erase .............................................................................................................................. 20 Move............................................................................................................................... 20 Copy ............................................................................................................................... 21 Rotate ............................................................................................................................. 22 Scale .............................................................................................................................. 23 Trim ................................................................................................................................ 24 Extend ............................................................................................................................ 25 Offset ............................................................................................................................. 26 Mirror .............................................................................................................................. 27 Fillet ............................................................................................................................... 28
1.7 1.8
Selection Methods .............................................................................................29 Drawing Accuracy—Part 1..................................................................................30 Ortho (F8)........................................................................................................................ 30
1.9
Drawing Accuracy—Part 2..................................................................................30 OSNAPs .......................................................................................................................... 30
1.10 OSNAP Drafting Settings ....................................................................................33 Summary....................................................................................................................33
v
CONTENTS
CHAPTER 2 2.1 2.2 2.3
AutoCAD Fundamentals: Part II ..............................................................39
Grips..................................................................................................................40 Units and Scale ..................................................................................................41 Snap and Grid ....................................................................................................42 To Set Snap ..................................................................................................................... 42 To Set Grid ...................................................................................................................... 43
2.4 2.5
Cartesian Coordinate System .............................................................................43 Geometric Data Entry .........................................................................................44 Dynamic Input.................................................................................................................. 44 Manual Input ................................................................................................................... 47
2.6
Inquiry Commands .............................................................................................48 Area ................................................................................................................................ 49 Distance ......................................................................................................................... 49 List ................................................................................................................................. 50 ID ................................................................................................................................... 51 Radius and Angle ............................................................................................................. 52
2.7
Additional Drafting Commands ............................................................................52 Explode ........................................................................................................................... 53 Polygon ........................................................................................................................... 53 Ellipse ............................................................................................................................. 55 Chamfer .......................................................................................................................... 56 Templates ....................................................................................................................... 57 Limits ............................................................................................................................. 58 Save ............................................................................................................................... 58 Help Files ........................................................................................................................ 58 TANgent OSNAP ............................................................................................................... 60
vi
Summary....................................................................................................................61 CHAPTER 3 3.1
Layers, Colors, Linetypes, and Properties ...............................................67
Introduction to Layers ........................................................................................68 What Are Layers? ............................................................................................................. 68 Why Use Them? ............................................................................................................... 68 Creating and Deleting Layers ............................................................................................ 68 Making a Layer Current ..................................................................................................... 69 Assigning Layer Colors ..................................................................................................... 69 Layer Freeze/Thaw and On/Off .......................................................................................... 72 Layer Lock/Unlock ........................................................................................................... 72
3.2 3.3
Introduction to Linetypes ....................................................................................73 Introduction to Properties ..................................................................................74 Properties Palette ............................................................................................................ 75 Match Properties ............................................................................................................. 76 Layers Toolbar ................................................................................................................. 76
3.4
In-Class Drawing Project: Floor Plan Layout .........................................................77 Basic File Preparation....................................................................................................... 77 Starting the Floor Plan ...................................................................................................... 78 Drawing the Inner Wall Geometry ....................................................................................... 79 Drawing the Doors and Windows ....................................................................................... 80
Summary....................................................................................................................83 SPOTLIGHT ON: ARCHITECTURE .................................................................................87 CHAPTER 4 4.1 4.2
Text, Mtext, Editing, and Style ................................................................93
Introduction to Text and Mtext ...........................................................................94 Text ...................................................................................................................94 Editing Text ...................................................................................................................... 95
CONTENTS
4.3
Mtext ................................................................................................................96 Formatting Mtext .............................................................................................................. 97
4.4 4.5 4.6
Style ................................................................................................................101 Spell Check .....................................................................................................102 In-Class Drawing Project: Adding Text and Furniture to Floor Plan Layout ...........104 NEArest OSNAP ............................................................................................................. 106
Summary..................................................................................................................107 CHAPTER 5 5.1 5.2
Hatch Patterns ...................................................................................113
Introduction to Hatch .......................................................................................114 Hatch Procedures.............................................................................................115 Step 1. Pick the Hatch Pattern You Want to Use ............................................................... 115 Step 2. Indicate Where You Want the Pattern to Go .......................................................... 116 Step 3. Fine-Tune the Pattern by Adjusting Scale and Angle (If Necessary) .......................... 118 Step 4. Preview the Pattern and Accept It If OK ................................................................ 119
5.3
Working with Hatch Patterns ............................................................................120 Exploding Hatch Patterns ................................................................................................ 120 Hatch Pattern Layers and Colors ..................................................................................... 120 Advanced Hatch Topics ................................................................................................... 122
5.4
Gradient and Solid Fill ......................................................................................123 Solid Fill ........................................................................................................................ 125
5.5 In-Class Drawing Project: Adding Hatch to Floor Plan Layout ..............................126 Summary..................................................................................................................127 CHAPTER 6 6.1 6.2
Dimensions ........................................................................................131
Introduction to Dimensions ...............................................................................132 Types of Dimensions .........................................................................................132 Linear Dimensions ......................................................................................................... 133 Aligned Dimension ......................................................................................................... 134 Diameter Dimension....................................................................................................... 135 Radius Dimension .......................................................................................................... 136 Angular Dimension ......................................................................................................... 137 Continuous Dimensions.................................................................................................. 138 Baseline Dimensions ..................................................................................................... 139 Leader and Multileader ................................................................................................... 140 Secondary Dimensions ................................................................................................... 143
6.3 6.4
Editing Dimensions...........................................................................................145 Customizing Dimensions ...................................................................................145 Dimstyle ........................................................................................................................ 146
6.5 In-Class Drawing Project: Adding Dimensions to Floor Plan Layout .....................150 Summary..................................................................................................................151 CHAPTER 7 7.1
Blocks, Wblocks, Dynamic Blocks, Groups, and Purge ............................157
Introduction to Blocks ......................................................................................158 Difference between Blocks and Wblocks .......................................................................... 158 Creating a Block ............................................................................................................ 158
7.2 7.3 7.4
Insert ..............................................................................................................160 Purge...............................................................................................................162 Wblocks ..........................................................................................................163 Inserting Wblocks .......................................................................................................... 164
7.5 Dynamic Blocks ...............................................................................................164 7.6 Groups .............................................................................................................168 Summary..................................................................................................................172
vii
CONTENTS
SPOTLIGHT ON: MECHANICAL ENGINEERING.............................................................177 CHAPTER 8 8.1
Polar, Rectangular, and Path Arrays.......................................................181
Polar Array.......................................................................................................182 Steps in Creating a Polar Array ....................................................................................... 182 Additional Operations with Polar Array ............................................................................. 184 Legacy Polar Array (Pre-AutoCAD 2012) ........................................................................... 187
8.2
Rectangular Array ............................................................................................187 Steps in Creating a Rectangular Array ............................................................................. 188 Additional Operations with Rectangular Array ................................................................... 189 Legacy Rectangular Array (Pre-AutoCAD 2012) ................................................................. 191
8.3
Path Array .......................................................................................................192 Steps in Creating a Path Array ........................................................................................ 192 Additional Operations with Path Array .............................................................................. 193
8.4 In-Class Drawing Project: Mechanical Device ....................................................194 Summary..................................................................................................................198 CHAPTER 9 9.1 9.2
Basic Printing and Output ....................................................................203
Introduction to Printing and Plotting .................................................................204 The Essentials .................................................................................................204 What Printer or Plotter to Use ......................................................................................... 204 What Paper Size to Use ................................................................................................. 205 What Area to Plot .......................................................................................................... 205 At What Scale to Plot ..................................................................................................... 206 What Pen Settings to Use .............................................................................................. 206 What Orientation to Use................................................................................................. 207 What Offset to Use ........................................................................................................ 207 Miscellaneous............................................................................................................... 207
viii 9.3
The Plot Dialog Box .........................................................................................207 Preview......................................................................................................................... 209
9.4 Page Setup Manager........................................................................................210 Summary..................................................................................................................211 CHAPTER 10 Advanced Output—Paper Space...........................................................215 10.1 Introduction to Paper Space .............................................................................216 What Is Paper Space? ................................................................................................... 216
10.2 Paper Space Concepts .....................................................................................217 Layouts ........................................................................................................................ 217 Viewports ..................................................................................................................... 223 Scaling ......................................................................................................................... 226 Layers .......................................................................................................................... 229 Text and dims ............................................................................................................... 233 Annotation .................................................................................................................... 236
Summary..................................................................................................................238 Level 1
l
LEVEL 2
Answers to Review Questions .................................................................243 l
Chapters 11–20 .....................................................251
CHAPTER 11 Advanced Linework .............................................................................253 11.1 Introduction to Advanced Linework ...................................................................253 11.2 Pline (Polyline) ................................................................................................254 Pedit ............................................................................................................................ 255 Exploding a Pline ........................................................................................................... 256 Additional Pline Options ................................................................................................. 256
CONTENTS
11.3 11.4 11.5 11.6
Xline (Construction Line) .................................................................................258 Ray .................................................................................................................259 Spline ..............................................................................................................260 Mline (Multiline) ..............................................................................................262 Modifying the Mline ....................................................................................................... 263 Mlstyle (Multiline Style) .................................................................................................. 263 Mledit (Multiline Edit)..................................................................................................... 267 Other Mline Properties ................................................................................................... 268
11.7 Sketch ............................................................................................................269 Applications of Sketch ................................................................................................... 271
Level 2 Drawing Project (1 of 10): Architectural Floor Plan ........................................272 Summary..................................................................................................................273 CHAPTER 12 Advanced Layers ................................................................................277 12.1 Introduction to Advanced Layers ......................................................................277 12.2 Script Files ......................................................................................................278 12.3 Layer State Manager ........................................................................................279 12.4 Layer Filtering..................................................................................................282 Level 2 Drawing Project (2 of 10): Architectural Floor Plan ........................................285 Summary..................................................................................................................286 CHAPTER 13 Advanced Dimensions .........................................................................289 13.1 Introduction to Advanced Dimensions ...............................................................290 13.2 Dimension Style Manager .................................................................................290 Lines Tab ...................................................................................................................... 291 Symbols and Arrows Tab ................................................................................................ 292 Text Tab ........................................................................................................................ 292 Fit Tab .......................................................................................................................... 294 Primary Units Tab .......................................................................................................... 295 Alternate Units Tab ........................................................................................................ 296 Tolerances Tab .............................................................................................................. 298
13.3 Introduction to Constraints ..............................................................................299 13.4 Geometric Constraints .....................................................................................300 Types of Geometric Constraints ...................................................................................... 300 Adding Geometric Constraints ........................................................................................ 301 Hiding, Showing, and Deleting Geometric Constraints....................................................... 303
13.5 Dimensional Constraints ..................................................................................303 Working with Dimensional Constraints ............................................................................ 305
13.6 Dimension Driven Design ..................................................................................306 Level 2 Drawing Project (3 of 10): Architectural Floor Plan ........................................307 Summary..................................................................................................................308 SPOTLIGHT ON: INTERIOR DESIGN ............................................................................311 CHAPTER 14 Options, Shortcuts, CUI, Design Center, and Express Tools ....................315 14.1 Options ...........................................................................................................316 Files Tab ....................................................................................................................... 316 Display Tab ................................................................................................................... 318 Open and Save Tab........................................................................................................ 320 Plot and Publish Tab ...................................................................................................... 322 System Tab ................................................................................................................... 324 User Preferences Tab..................................................................................................... 325 Drafting Tab .................................................................................................................. 327 3D Modeling Tab ........................................................................................................... 328
ix
CONTENTS
Selection Tab .............................................................................................................. 328 Profiles Tab ................................................................................................................. 329
14.2
Shortcuts ......................................................................................................331 pgp File ...................................................................................................................... 331 Altering the pgp File..................................................................................................... 332
14.3 14.4 14.5
Customize User Interface ...............................................................................333 Design Center ................................................................................................337 Express Tools ................................................................................................339 Blocks ........................................................................................................................ 341 Text ............................................................................................................................ 341 Layout Tools................................................................................................................ 343 Dimension .................................................................................................................. 343 Selection Tools ........................................................................................................... 343 Modify ........................................................................................................................ 344 Draw .......................................................................................................................... 345 File Tools .................................................................................................................... 345 Web Tools ................................................................................................................... 345 Tools .......................................................................................................................... 346 Layer Express Tools ..................................................................................................... 347
Level 2 Drawing Project (4 of 10): Architectural Floor Plan ........................................350 Summary..................................................................................................................350 CHAPTER 15 Advanced Design and File Management Tools .......................................353
x
15.1 15.2 15.3 15.4 15.5
Introduction to Advanced Design and File Management Tools ..........................354 Align .............................................................................................................354 Audit and Recover..........................................................................................356 Blend ............................................................................................................357 Break and Join ...............................................................................................358 Break, Method 1 ......................................................................................................... 358 Break, Method 2 ......................................................................................................... 359 Join ............................................................................................................................ 359
15.6 15.7 15.8 15.9 15.10 15.11 15.12 15.13 15.14 15.15 15.16 15.17 15.18 15.19 15.20 15.21 15.22 15.23 15.24 15.25 15.26 15.27 15.28
CAD Standards ..............................................................................................360 Calculator......................................................................................................361 Defpoints .......................................................................................................363 Divide and Point Style ....................................................................................364 Donut ............................................................................................................365 Draw Order ....................................................................................................365 eTransmit ......................................................................................................366 Filter .............................................................................................................368 Hyperlink .......................................................................................................370 Lengthen .......................................................................................................371 Object Tracking (OTRACK) .............................................................................372 Overkill..........................................................................................................373 Point and Node ..............................................................................................374 Publish ..........................................................................................................374 Raster ...........................................................................................................375 Revcloud .......................................................................................................376 Sheet Sets ....................................................................................................377 Selection Methods .........................................................................................380 Stretch ..........................................................................................................382 System Variables ...........................................................................................383 Tables ...........................................................................................................383 Tool Palette ...................................................................................................386 UCS and Crosshair Rotation ...........................................................................387 Method 1 ................................................................................................................... 387 Method 2 ................................................................................................................... 388
CONTENTS
15.29 Window Tiling ................................................................................................389 15.30 Wipeout.........................................................................................................390 Level 2 Drawing Project (5 of 10): Architectural Floor Plan ........................................394 Summary..................................................................................................................395 CHAPTER 16 Importing and Exporting Data ..............................................................399 16.1 16.2
Introduction to Importing and Exporting Data ..................................................399 Importing and Exporting to and from MS Office Applications ............................400 Word into AutoCAD ...................................................................................................... 400 AutoCAD into Word ...................................................................................................... 400 Excel into AutoCAD ...................................................................................................... 401 AutoCAD into Excel ...................................................................................................... 402 PowerPoint into AutoCAD .............................................................................................. 402 AutoCAD into PowerPoint .............................................................................................. 403
16.3 Screen Shots .................................................................................................403 16.4 JPG................................................................................................................403 16.5 PDFs .............................................................................................................403 16.6 Other CAD Software .......................................................................................405 16.7 Exporting and the Save As Feature .................................................................407 16.8 Inserting and OLE ...........................................................................................408 Level 2 Drawing Project (6 of 10): Architectural Floor Plan ........................................410 Summary..................................................................................................................412 CHAPTER 17 External References (Xrefs) .................................................................413 17.1
Introduction to Xrefs ......................................................................................414 What Is an Xref?.......................................................................................................... 414 Why Do We Need an Xref? What Is the Benefit? ............................................................. 414
17.2
Using Xrefs ....................................................................................................415 Xref Menu ................................................................................................................... 417
17.3 Layers in Xrefs ...............................................................................................418 17.4 Editing and Reloading Xrefs ............................................................................419 17.5 Multiple Xrefs ................................................................................................420 17.6 Ribbon and Xrefs ............................................................................................421 Level 2 Drawing Project (7 of 10): Architectural Floor Plan ........................................422 Summary..................................................................................................................422 SPOTLIGHT ON: ELECTRICAL ENGINEERING ..............................................................425 CHAPTER 18 Attributes ...........................................................................................429 18.1 18.2 18.3 18.4 18.5
Introduction to Attributes ...............................................................................429 Creating the Design .......................................................................................430 Creating the Attribute Definitions ...................................................................430 Creating the Attribute Block ...........................................................................433 Attribute Properties and Editing......................................................................434 Exploding Attributes ..................................................................................................... 434 Inserting Attributes ...................................................................................................... 435
18.6 Attribute Extraction .......................................................................................435 18.7 Invisible Attributes .........................................................................................440 Level 2 Drawing Project (8 of 10): Architectural Floor Plan ........................................441 Summary..................................................................................................................441 CHAPTER 19 Advanced Output and Pen Settings ......................................................445 19.1 19.2
Introduction to Advanced Output and Pen Settings ..........................................446 Setting Standards ..........................................................................................446
xi
CONTENTS
19.3 The ctb File .....................................................................................................447 Step 1 .......................................................................................................................... 450 Step 2 .......................................................................................................................... 450 Step 3 .......................................................................................................................... 451
19.4 Additional ctb File Features..............................................................................451 19.5 The lwt Option .................................................................................................452 Level 2 Drawing Project (9 of 10): Architectural Floor Plan ........................................453 Summary..................................................................................................................455 CHAPTER 20 Isometric Drawing ...............................................................................457 20.1 Introduction to Isometric Perspective ...............................................................458 Why Use Isometric Perspective Instead of 3D? ................................................................ 458 When Not to Use Isometric Perspective........................................................................... 458
20.2 Basic Technique ..............................................................................................458 20.3 Ellipses in Isometric Drawing............................................................................461 20.4 Text and Dimensions in Isometric Drawing ........................................................462 Level 2 Drawing Project (10 of 10): Architectural Floor Plan ......................................463 Summary..................................................................................................................466 Level 2
l
LEVEL 3
Answers to Review Questions .................................................................471 l
Chapters 21–30 .....................................................477
CHAPTER 21 3D Basics ..........................................................................................479
xii
21.1 Axes, Planes, and Faces ...................................................................................479 21.2 3D Workspaces, Ribbon, Toolbars, and 3D Options ............................................481 21.3 Entering and Exiting 3D ...................................................................................483 21.4 Projecting into 3D ............................................................................................486 21.5 3D Dynamic Views ...........................................................................................490 21.6 Extrude ...........................................................................................................491 21.7 Visual Styles: Hide and Shade ..........................................................................491 21.8 ViewCube and Navigation Bar ...........................................................................496 Summary..................................................................................................................498 CHAPTER 22 Primitives ...........................................................................................501 22.1 Introduction to Primitives .................................................................................502 Box .............................................................................................................................. 502 Wedge .......................................................................................................................... 503 Cone ............................................................................................................................ 503 Sphere ......................................................................................................................... 504 Cylinder ........................................................................................................................ 504 Torus ............................................................................................................................ 505 Pyramid ........................................................................................................................ 505
22.2 Applying Primitives ..........................................................................................506 Summary..................................................................................................................506 CHAPTER 23 Object Manipulation ............................................................................509 23.1 Introduction to Object Manipulation..................................................................510 Rotate3D ...................................................................................................................... 510 3Drotate (Gizmo) ........................................................................................................... 511 Mirror3D ....................................................................................................................... 512 3Darray ........................................................................................................................ 516 3Dscale........................................................................................................................ 518 3Dmove........................................................................................................................ 519 Fillets and Chamfers in 3D............................................................................................. 521
Summary..................................................................................................................523
CONTENTS
SPOTLIGHT ON: AEROSPACE ENGINEERING ...............................................................527 CHAPTER 24 Boolean Operations. ...........................................................................531 24.1 Introduction to Boolean Operations ..................................................................531 Union ........................................................................................................................... 532 Subtract ....................................................................................................................... 533 Intersect ....................................................................................................................... 535 3D Modeling Exercise: Building Wall with Door and Window .............................................. 536
Summary..................................................................................................................539 CHAPTER 25 Solid Modeling ...................................................................................543 25.1 Introduction to Solid Modeling..........................................................................544 Revolve ........................................................................................................................ 544 Shell ............................................................................................................................ 548 Taper ............................................................................................................................ 549 3D Modeling Exercise: Wastebasket ............................................................................... 551 Loft .............................................................................................................................. 553 3D Modeling Exercise: Mechanical Drill Bit ...................................................................... 556 Path Extrusion............................................................................................................... 558 Sweep .......................................................................................................................... 560 Drawing Challenge: Helical Coil ...................................................................................... 561
Summary..................................................................................................................562 CHAPTER 26 Advanced Solids, Faces, and Edges......................................................567 26.1 Introduction to Advanced Solids, Faces, and Edges ...........................................568 Polysolid ....................................................................................................................... 568 Helix ............................................................................................................................ 570 3D Path Array ................................................................................................................ 571 3Dalign ........................................................................................................................ 572
26.2 Working with Faces .........................................................................................574 Delete Faces ................................................................................................................. 575 Move Faces .................................................................................................................. 576 Copy Faces ................................................................................................................... 577 Offset Faces ................................................................................................................. 578 Rotate Faces................................................................................................................. 578 Color Faces................................................................................................................... 580
26.3 Working with Edges .........................................................................................580 Color Edges .................................................................................................................. 580 Copy Edges ................................................................................................................... 580 Helical Coil Explained .................................................................................................... 581
Summary..................................................................................................................583 CHAPTER 27 Surfaces and Meshes .........................................................................585 27.1 Introduction to Surfaces and Meshes................................................................586 27.2 Surfacing Commands .......................................................................................586 Planar Surface .............................................................................................................. 586 Region.......................................................................................................................... 588 Rulesurf ....................................................................................................................... 588 Tabsurf ......................................................................................................................... 589 Revsurf......................................................................................................................... 592 Edgesurf ....................................................................................................................... 593 3Dface and 3Dmesh ..................................................................................................... 595
27.3 Smooth Mesh Primitives ..................................................................................596 Mesh Modification 1. Smoothness ................................................................................. 598
xiii
CONTENTS
Mesh Modification 2. Filters and Gizmos ......................................................................... 598 Mesh Modification 3. Additional Tools ............................................................................. 600
Summary..................................................................................................................601 SPOTLIGHT ON: CIVIL ENGINEERING .........................................................................603 CHAPTER 28 UCS, Vports, Text, and Dimensions in 3D..............................................607 28.1 Introduction to UCS, Vports, Text, and Dimensions in 3D ...................................608 28.2 Advanced UCS .................................................................................................609 UCS ............................................................................................................................. 609 World ........................................................................................................................... 610 UCS Previous ................................................................................................................ 610 Face UCS...................................................................................................................... 611 Object .......................................................................................................................... 611 View ............................................................................................................................. 611 Origin ........................................................................................................................... 612 Z-Axis Vector ................................................................................................................. 613 3 Point ......................................................................................................................... 613 X, Y, and Z..................................................................................................................... 614 Named UCS .................................................................................................................. 615
28.3 Views and View Manager .................................................................................615 28.4 Vports .............................................................................................................616 28.5 Text and Dimensions in 3D ...............................................................................621 Summary..................................................................................................................624 CHAPTER 29 Dview, Walk and Fly, Animation, and Action Recording ............................629 xiv
29.1 Dynamic View ..................................................................................................630 CAmera ........................................................................................................................ 631 TArget........................................................................................................................... 631 Distance ....................................................................................................................... 631 POints .......................................................................................................................... 632 PAn .............................................................................................................................. 633 Zoom ........................................................................................................................... 633 TWist............................................................................................................................ 633 CLip ............................................................................................................................. 633 Hide ............................................................................................................................. 635 Off ............................................................................................................................... 635 Undo ............................................................................................................................ 635
29.2 Cameras ..........................................................................................................635 29.3 Walk and Fly ....................................................................................................638 29.4 Path Animation ................................................................................................642 29.5 Action Recording .............................................................................................644 Summary..................................................................................................................647 CHAPTER 30 Lighting and Rendering........................................................................651 30.1 Introduction to Lighting and Rendering .............................................................652 30.2 Lighting ...........................................................................................................652 Point Light .................................................................................................................... 653 Spotlight ....................................................................................................................... 656 Distant Light ................................................................................................................. 658 Shadows, Sun, and Sky.................................................................................................. 659
30.3 Materials and Rendering ..................................................................................663 Materials ...................................................................................................................... 664 Rendering ..................................................................................................................... 666
Summary..................................................................................................................670
CONTENTS
Level 3
l
Answers to Review Questions .................................................................671
Appendices ...............................................................................677 APPENDIX A
Additional Information on AutoCAD .......................................................679
Who Makes AutoCAD?..............................................................................................679 What Is AutoCAD LT? ...............................................................................................679 How Is AutoCAD Purchased and How Much Does It Cost?..........................................680 Are There Significant Differences between AutoCAD Releases? ..................................681 Is There an AutoCAD for the Mac? ............................................................................681 A Brief History of Autodesk and AutoCAD ..................................................................683 AutoCAD Releases ...................................................................................................684 Major Autodesk Products..........................................................................................685 AutoCAD Related Websites .......................................................................................685 APPENDIX B
Other CAD Software, Design and Analysis Tools, and Concepts...............689
APPENDIX C
File Extensions ...................................................................................695
APPENDIX D
Custom Linetypes and Hatch Patterns ..................................................697
APPENDIX E
Principles of CAD Management ............................................................701
Part Part Part Part Part
1. 2. 3. 4. 5.
Know the Seven Golden Rules of AutoCAD .....................................................701 Know the Capabilities and Limitations of AutoCAD .........................................702 Maintain an Office CAD Standard ...................................................................704 Be an Effective Teacher and Hiring Manager...................................................705 Stay Current and Competent..........................................................................706
APPENDIX F
AutoLISP Basics and Advanced Customization Tools ..............................707
APPENDIX G
PC Hardware, Printers and Plotters, and Networks .................................713
APPENDIX H
What Are Kernels? ..............................................................................717
APPENDIX I
Lighting, Rendering, Effects, and Animation ..........................................719
APPENDIX J
AutoCAD Certification Exams ...............................................................721
APPENDIX K
AutoCAD Employment .........................................................................723
APPENDIX L
AutoCAD Humor, Oddities, Quirks, and Easter Eggs ...............................725
INDEX .....................................................................................................................729
xv
This page intentionally left blank
ACKNOWLEDGMENTS
Atextbookofthismagnitudeisrarelyaproductofonlyoneperson’seffort.Ithankalltheearly andongoingreviewersofthistextandChrisRamirezofVerticalTechnologiesConsultingfor researchandideaswhenmostneededaswellasusingthetextinhisclassroom.Abigthank youalsotoKarenMiletskyatPrattInstituteofDesign,RussellandTituSarderatNetcom InformationTechnology,andeveryoneatNewYorkInstituteofTechnology,RoboTECHCAD solutions,andotherpremiertrainingcentersfortheirpastandpresentsupport. ExtensivegratitudealsogoestoJosephP.Hayton,JeffFreeland,MichaelJoyce,MariaAlonso, BeckyPease,GnomiGouldinandtherestoftheteamatElsevierforbelievingintheproject andfortheirinvaluablesupportingettingthebookouttomarket. Finally,Iwouldliketothankmyfriendsandfamily,especiallymyparents,BorisandTatyana Gindis,fortheirpatienceandencouragementaswellasstandingbymeasmonthsofwork turnedintoyears. Thisbookisdedicatedtothehundredsofstudentswhohavepassedthroughmyclassrooms andmadeteachingtheenjoyableadventureithasbecome.
xvii
This page intentionally left blank
ABOUT THE AUTHOR
ElliotGindisstartedoutusingAutoCADprofessionallyina NewYorkCityareacivilengineeringcompanyinSeptember 1996,movingontoconsultingworkshortlyafterward. Hehassincedraftedinawidevarietyofields,ranging fromallaspectsofarchitectureandbuildingdesignto electrical,mechanical,civil,structural,andraildesign.These assignments,includinglengthystayswithIBMandSiemens TransportationSystems,havetotaledover60companiesto date. In1999,Elliotbeganteachingpart-timeatPrattInstitute ofDesign,followedbypositionsatNetcomInformation Technology,RoboTECHCADsolutions,andmorerecently attheNewYorkInstituteofTechnology.In2003,Elliot formedVerticalTechnologiesConsultingandDesign (www.VTCDesign.com),anAutoCADtrainingirmthathastrainednumerouscorporate andgovernmentclientsasdiverseasenvironmentalengineeringirmsandtheFBIinusing andoptimizingAutoCAD. Elliotholdsabachelor’sdegreeinaerospaceengineeringfromEmbryRiddleAeronautical University.HecurrentlyresidesintheAtlantaareaandcontinuestobeinvolvedwith AutoCADeducationandCADconsulting.Up and Running with AutoCAD 2012,which carefullyincorporateslessonslearnedfromnearly16yearsofteachingandindustrywork, ishisthirdtextbookonthesubject.
xix
This page intentionally left blank
PREFACE
WHAT IS AUTOCAD? AutoCADisadraftinganddesignsoftwarepackagedevelopedandmarketedbyAutodesk®, Inc.Asof2011,ithasbeenaroundforapproximately29years—severallifetimesinthe softwareindustry.Ithasgrownfrommodestbeginningstoanindustrystandard,often imitated,sometimesexceeded,butneverequaled.Thebasicpremiseofitsdesignissimple andisthemainreasonforAutoCAD’ssuccess.Anythingyoucanthinkof,youcandraw quicklyandeasily.Formanyyears,AutoCADremainedasuperb2Delectronicdrafting board,replacingthepencilandpaperforanentiregenerationoftechnicalprofessionals.In recentreleases,its3Dcapabilitiesinallymatured,andAutoCADisnowalsoconsideredan excellent3Dvisualizationtool,especiallyforarchitectureandinteriordesign. Thesoftwarehasarathersteeplearningcurvetobecomeanexpertbutasurprisinglyeasy onetojustgetstarted.Mostimportant,itiswellworthlearning.Thisistrulyglobalsoftware thathasbeenadoptedbymillionsofarchitects,designers,andengineersworldwide.Overthe years,Autodeskexpandedthisreachbyintroducingadd-onpackagesthatcustomizeAutoCAD forindustry-speciictasks,suchaselectrical,civil,andmechanicalengineering.However, underneathalltheseadd-onsisstillplainAutoCAD.Thissoftwareremainshugelypopular. Learnitwell,asitisstilloneofthebestthingsyoucanaddtoyourresumeandskillset.
ABOUT THIS BOOK Thisbookisnotlikemostonthemarket.Whilemanyauthorscertainlyviewtheirparticular textasuniqueandnovelinitsapproach,Irarelyreviewedonethatwascleartoabeginner studentanddistilledAutoCADconceptsdowntobasic,easytounderstandexplanations.The problemmaybethatmanyoftheavailablebooksarewrittenbyeitherindustrytechnical expertsorteachersbutrarelybysomeonewhoisactivelyboth.Onereallyneedstointeract withtheindustryandthestudents,inequalmeasure,tobridgethegapbetweenrealityand theclassroom. AfteryearsofAutoCADdesignworkinthedaytimeandteachingnightsandweekends,Iset outtocreateasetofclassroomnotesthatoutlined,inaneasytounderstandmanner,exactly howAutoCADisusedandapplied,nottheoreticalmusingsorclinicaldescriptionsofthe commands.Thesenoteseventuallywereexpandedintothebookthatyounowhold.The rationalewassimple:Ineedthispersontobeupandrunningassoonaspossibletodoa job.Howdowemakethishappen?
TEACHING METHODS ThisbookhasitsrootsinacertainphilosophyIdevelopedwhileattendingengineering schoolmanyyearsago.Whilethere,Ihadsometimesbeenfrustratedwiththecomplex presentationofwhatinretrospectamountedtorathersimpletopics.Myfavoritequote was,“Mostideasinengineeringarenotthathardtounderstandbutoftenbecomesoupon explanation.”Themoralofthatquotewasthatconceptscanusuallybedistilledtotheir essenceandexplainedinaneasyandstraightforwardmanner.Thatisthejobofateacher: Nottoblowawaystudentswithtechnicalexpertisebuttouseexperienceandtop-level knowledgetosortoutwhatisimportantandwhatissecondaryandtoexplaintheessentials inplainlanguage.
xxi
PREFACE
SuchistheapproachtothisAutoCADbook.Iwanteverythingheretobehighlypracticaland easytounderstand.Therearefewdescriptionsofproceduresorcommandsthatarerarely usedinpractice.Ifwetalkaboutit,youwilllikelyneedit.Theirstthingyoumustlearnis howtodrawaline.YouseethiscommandontheirstfewpagesofChapter1.Itisessential topresentthe“core”ofAutoCAD,essentialknowledgecommontojustaboutanydrafting situation,allofitmeanttogetyouupandrunningquickly.Thisstrippeddownapproach provedeffectiveintheclassroomandwascarefullyincorporatedintothistext.
TEXT ORGANIZATION Thisbookcomesinthreeparts:Level1,Level2,andLevel3: Level 1(Chapters1–10)ismeanttogiveyouawidebreadthofknowledgeonmanytopics, asortof“milewide”approach.Thesetenchapterscomprise,inmyexperience,the completeessentialknowledgesetofanintermediateuser.Youthencanworkon, ifnotnecessarilysetupandmanage,moderatetocomplexdrawings.IfyourCAD requirementsaremodestorifyouarenotrequiredtodraftfulltime,thenthisis whereyoustop. Level 2(Chapters11–20)ismeantforadvanceduserswhoareCADmanagers,full-time AutoCADdraftspersons,architects,orself-employedandmustdoeverything themselves.Thegoalhereisdepth,asmanyfeaturesnotdeemedcriticallyimportant inLevel1arerevisitedtoexploreadditionaladvancedoptions.Alsointroducedare advancedtopicsnecessarytosetupandmanagecomplexdrawings. Level 3(Chapters21–30)isallabout3D.Solidknowledgeoftheprevioustwolevelsis highlyrecommendedbeforestartingthesechapters.The3Dmaterialcoversall aspectsofAutoCADsolidmodelingincludinglightsandrendering. xxii
Throughoutthebook,thefollowingmethodsareusedtopresentmaterial: Explainthenewconceptorcommandandwhyitisimportant. Coverthecommandstepbystep(ifneeded),withyourinputandAutoCADresponses shownsoyoucanfollowandlearnthem. l Giveyouachancetoapplyjust-learnedknowledgetoareal-lifeexercise,drawing,or model. l Testyourselfwithend-of-chapterquizzesanddrawingexercisesthataskquestionsabout theessentialknowledge. l l
Youwillnotseeanextensivearrayofdistracting“learningaids”inthistext.Youwill, however,seesomecommonfeaturesthroughout,suchas Commands: These are presented in almost all cases in the form of a command matrix, such as the one shown here for a Line. You can choose any of the methods for entering the command.
Tips and tricks: These are seen mostly in the first few chapters and one is shown here. They are very specific, deliberate suggestions to smooth out the learning experience. Do take note.
TIP 1: The Esc (Escape) key in the upper lefthand corner of your keyboard is your new best friend. It gets you out of just about any trouble you get yourself into. If something does not look right, just press the Esc key and repeat the command. Mine was worn out learning AutoCAD, so expect to use it often.
PREFACE
Step-by-step instructions: These are featured Step 1. Begin the line command via any of whenever practical and show you exactly the previous methods. how to execute the command, such as the l AutoCAD says: Specify first point: example with line here. What you type in and Step 2. Using the mouse, left-click anywhere what AutoCAD says are in the default font: on the screen. Courier New. The rest of the steps are in l AutoCAD says: Specify next point the standard print font. or [Undo]: Step 3. Move the mouse elsewhere on the screen and left-click again. You can repeat Step 2 as many times as you wish. When you are done, click Enter or Esc. Learning objectives and time for completion: Each chapter begins with this, which builds a “road map” for you to follow while progressing through the chapter, as well as sets expectations of what you will learn if you put in the time to go through the chapter. The time for completion is based on classroom teaching experience but is only an estimate. If you are learning AutoCAD in school, your instructor may choose to cover part of a chapter or more than one at a time. Summary, review questions, exercises: Each chapter concludes with these. Be sure to not skip these pages and to review everything you learned.
In this chapter, we introduce AutoCAD and discuss the following: l l l l
Introduction and the basic commands The Create Objects commands The Edit and Modify Objects commands The View Objects commands, etc.
By the end of the chapter, you will… Estimated time for completion of chapter: 3 hours. SUMMARY REVIEW QUESTIONS EXERCISES
WHAT YOUR GOAL SHOULD BE Justlearningcommandsisnotenough;youneedtoseethebigpictureandtrulyunderstand AutoCADandhowitfunctionsforittobecomeeffortlessandtransparent.Thefocusafterall isonyourdesign.AutoCADisjustoneofthetoolstorealizeit. Agoodanalogyisicehockey.Professionalplayersdonotthinkaboutskating;tothemitis secondnature.Theyarefocusedonstrategy,scoringagoal,andgettingbythedefenders.This mentalityshouldbeyoursaswell.Youmustbecomeproicientthroughstudyandpractice, tothepointwhereyouareworkingwithAutoCAD,notstrugglingagainstit.Itthenbecomes “transparent”andyoufocusonlyonthedesign,totrulyperformthebestarchitectureor engineeringworkofwhichyouarecapable. Ifyouareinaninstructor-ledclass,takegoodnotes.Ifyouareself-studyingfromthistext, payverycloseattentiontoeverytopic;nothinghereisunimportant.Donotskiporcut corners,andcompleteeverydrawingassignment.Mostimportant,youhavetopractice,daily ifpossible,asthereisnosubstituteforsittingdownandusingthesoftware.Noteveryone thesedayshastheopportunitytolearnwhileworkingandgettingpaid;companieswant ready-madeexpertsanddonotwanttowait.Ifthatisthecase,youhavetopracticeonyour ownintheeveningoronweekends.Justtakingaclassorreadingthisbookaloneisnot enough. Itmayseemlikeabigmountaintoclimbrightnow,butitiscompletelydoable.Onceon top,youwillindthatAutoCADisnotthefrustratingprogramitmayhaveseemedinthe earlydaysbutanintuitivesoftwarepackagethat,withproiciencyofuse,becomesanatural extensionofyourmindwhenworkingonanewdesign.That,intheend,isthemarkof successfulsoftware;ithelpsyoudoyourjobeasierandfaster.Youcancontactmeat [email protected].Goodluck!
xxiii
This page intentionally left blank
LEVEL
Chapters 1–10
1
LEVEL 1 Chapters 1–10 Level1istheverybeginningofyourstudies.NopriorknowledgeofAutoCADisassumed, onlybasicfamiliaritywithcomputersandsometechnicalaptitude.Youarealsoatan advantageifyouhavehanddraftedbefore,asmanyAutoCADtechniqueslowfromtheold paperandpencildays,afactalludedtolaterinthechapters. WebeginChapter1byoutliningthebasiccommandsunderCreateObjectsandModify ObjectsfollowedbyanintroductiontotheAutoCADenvironment.Wethenintroducebasic accuracytoolsofOrthoandOSNAP. Chapter2continuesthebasicsbyaddingunitsandvariousdataentrytools.Theseirsttwo chaptersarethemostimportant,assuccesshereensuresyouwillunderstandtherestandbe abletofunctionintheAutoCADenvironment. Chapter3continuesontolayers,theneachsucceedingchaptercontinuestodealwithone ormoremajortopicsperchapter:textandmtextinChapter4,hatchinginChapter5,and dimensioninginChapter6.Inthesesixchapters,youareaskedtonotonlypracticewhat youlearnedbutapplytheknowledgetoabasicarchitecturalloorplan.Chapter7introduces blocksandwblocksandChapter8arrays.Atthispoint,youareaskedtodrawanother project,thistimeamechanicaldevice.Level1concludeswithbasicprintingandoutputin Chapter9andinallyadvancedprintingandoutput(paperspace)inChapter10. Besuretodedicateasmuchtimeaspossibletopracticingwhatyoulearn;therereallyisno substitute.
2
CHAPTER
1
AutoCAD Fundamentals Part I
3
LEARNING OBJECTIVES In this chapter, we introduce AutoCAD and discuss the following: l Introduction and the basic commands l The Create Objects commands l The Edit/Modify Objects commands l The View Objects commands l The AutoCAD environment l Interacting with AutoCAD l Practicing the Create Objects commands l Practicing the Edit/Modify Objects commands l Selection methods—Window and Crossing l Accuracy in drafting—Ortho l Accuracy in drafting—OSNAPs
Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 1 Chapters 1–10 Bytheendofthechapter,youwilllearntheessentialbasicsofcreating,modifying,and viewingobjects;theAutoCADenvironment;andaccuracyintheformofstraightlinesand precisealignmentofgeometricobjectsviaOSNAPpoints. Estimatedtimeforcompletionofthechapter:3hours.
1.1 INTRODUCTION AND BASIC COMMANDS AutoCAD2012isaverycomplexprogram.Ifyouaretakingaclassorreadingthistextbook, thisissomethingyouprobablyalreadyknow.Thecommandsavailabletoyou,alongwith theirsubmenusandvariousoptions,numberinthethousands.So,howdoyougetahandle onthemandbeginusingthesoftware?Well,youhavetorealizetwoimportantfacts. First,youmustunderstandthatonatypicalworkday,95% of your AutoCAD drafting time is spent using only 5% of the available commands, over and over again.Sogettingstartedis easy;youneedtolearnonlyahandfulofkeycommands;andasyouprogressandbuild conidence,youcanadddepthtoyourknowledgebylearningnewones. Second,youmustunderstandthateventhemostcomplexdrawingisessentiallymade up of only a few basic fundamental objects that appear over and over againinvariouscombinationson thescreen.Onceyoulearnhowtocreateandeditthem,youcandrawsurprisinglyquickly. Understandingthesefactsisthekeytolearningthesoftware.Wearegoingtostripawaythe perceivedcomplexitiesofAutoCADandreduceittoitsessentialcore.Letusgoaheadnow anddevelopthelistofthebasiccommands. Foramoment,viewAutoCADasafancyelectronichand-draftingboard.Intheolddaysof pencil,eraser,andT-square,whatwasthesimplestthingthatyoucoulddraftonablank sheetofpaper?Thatofcourseisaline.Letusmakealistwiththefollowingheader,“Create Objects,”andbelowitadd“Line.” 4
So,whatothergeometricobjectscanwedraw?Thinkofbasicbuildingblocks,thosethat cannotbebrokendownanyfurther.Acirclequaliiesandsodoesanarc.Becauseitisso commonanduseful,throwinarectangleaswell(eventhoughyoushouldnotethatitisa compoundobject,madeupoffourlines).Hereistheinallistoffundamentalobjectsthat wehavejustcomeupwith: CreateObjects l l l l
Line Circle Arc Rectangle
Assurprisingasitmaysound,thesefourobjects,inlargequantities,makeupthevast majorityofatypicaldesign,soalreadyyouhavethebasictools.Wewillcreatetheseonthe AutoCADscreeninabit.Fornow,letuskeepgoingandgettherestofthelistdown. Nowthatyouhavetheobjects,whatcanyoudowiththem?Youcanerasethem,whichis probablythemostobvious.Youcanalsomovethemaroundyourscreenand,inasimilar manner,copythem.Theobjectscanrotate,andyoucanalsoscalethemupordowninsize. Withlines,iftheyaretoolong,youcantrimthem,andiftheyaretooshort,youcanextend them.OffsetisasortofprecisecopyandoneofthemostusefulcommandsinAutoCAD. Mirrorisused,asthenameimplies,tomakeamirror-imagecopyofanobject.Finally,filletis usedtoputacurveontwointersectinglines,amongotherthings.Wewilllearnafewmore usefulcommandsabitlater,butfornow,undertheheader“Edit/ModifyObjects,”listthe commandsjustmentioned: Edit/ModifyObjects Erase Move
l l
CHAPTER 1 AutoCAD Fundamentals Part I l l l l l l l l
Copy Rotate Scale Trim Extend Offset Mirror Fillet
Onceagain,assurprisingasitmaysound,thisshortlistrepresentsalmosttheentiresetofbasic Edit/ModifyObjectscommandsyouneedonceyoubegintodraft.Startmemorizingthem. Toinishup,letusaddseveralViewObjectscommands.WithAutoCAD,unlikepaperhand drafting,youdonotalwaysseeyourwholedesigninfrontofyou.Youmayneedtozoomin foraclose-uporouttoseethebigpicture.Youmayalsoneedtopanaroundtoviewother partsofthedrawing.Withawheeledmouse,socommononcomputersthesedays,itis veryeasytodoboth,aswesoonsee.Tothislistweaddtheregencommand.Itstandsfor regenerate,anditsimplyrefreshesyourscreen,somethingyoumayindusefullater.Sohereis thelistforViewObjects: ViewObjects Zoom Pan l Regen l l
So,thisisitfornow,just17commandsmakingupthebasicset.Hereiswhatyouneed todo: 1. Asmentionedbefore,memorizethemsoyouknowwhatyouhaveavailable. 2. Understandthebasicidea,ifnotthedetails,behindeachcommand.Thisshouldbeeasy todo,because(exceptformaybeoffsetandfillet)thecommandsareintuitiveandnot crypticinanyway;erasemeanserase,whetheritisAutoCAD,amarkeronawhiteboard, orapencilline. WearereadynowtostartAutoCAD,discusshowtointeractwiththeprogram,andtryallthe commandsout.
1.2 THE AUTOCAD ENVIRONMENT Itisassumedthatyourcomputer,whetherathome,school,ortrainingclass,isloadedwith AutoCAD2012.ItisalsoassumedthatAutoCADstartsupjustine(viatheAutoCADiconor Startmenu)andeverythingisconiguredright.Ifnot,askyourinstructor,astherearejusttoo manythingsthatcangowrongonaparticularPCorlaptop,anditisbeyondthescopeofthis booktocoverthesesituations.Ifalliswell,startupAutoCAD.Youshouldseethescreendepicted inFigure1.1.Yourparticularscreen’sappearancemayvaryslightly,whichwediscusssoon. Thisisyourbasic“outofthebox”AutoCADenvironmentfortheDrafting&Annotation workspace.Fromboththelearningandteachingpointsofview,thisscreenlayout(and thelayoutofthelastfewreleases)isanimprovementoverolderversionsofAutoCAD,and Autodeskhasdoneanadmirablejobincontinuingtokeepthingscleanand(relatively)simple. NotethatyoumayalsoseealargepanelappearuponAutoCADstartup(itisnotshown here).ItiscalledtheAutodeskExchange,anon-linetoolforadditionalfunctionalityand thehelpiles.Wewillnotdiscussitrightnow,sojustdeleteitviathe“X”attheupperright corner.Thereisa“Showthiswindowatstartup”checkboxatthelowerleftoftheExchange panel.Ifthatisleftunchecked,youwillnotseeituponstartupanymore.Itmaybeagood ideatoleaveitassuchuntilwegettotalkingaboutthistool.
5
LEVEL 1 Chapters 1–10
FIGURE 1.1 6
AutoCAD 2012.
AutoCADwentthroughamajorfaceliftinrecentyears,beginningwithRelease2009.Ifyou caughtaglimpseofearlierversions,youmayhavenoticedtoolbarspresent.Theyarestill around,butwhatwehavenow,dominatingtheupperpartofthescreen,iscalledtheRibbon. ItisanewwayofinteractingwithAutoCAD,andwediscussitindetailsoon.Otherscreen layoutsorworkspacesareavailabletoyou,includingonewithtoolbars.Theycanbeaccessed throughthemenuseeninFigure1.2,whichislocatedatthetopleftofthescreen,depending onsettings.
FIGURE 1.2 Workspace switching.
Ifyouclickonthedownarrowofthatmenu,youseetheworkspaceswitchingmenu,shown inFigure1.3.Here,youcanswitchtoAutoCADClassicifdesired,whichremovestheRibbon andloadsthescreenwithtoolbarsandapalette.Giveitatry.So,whichworkspacetouse? Well,fornowswitchbacktotheDrafting&Annotationworkspace(seenbeingselectedin Figure1.3). Next,letustakeatourofthefeaturesyouarelookingatonthescreen,asshowninFigure1.4. Thefollowingisabriefdescriptionofwhatislabeled.Besuretoreadeachdescription carefully,astheAutoCADenvironmenthasbeenalteredslightlyoutofnecessityandwill remainthiswayfortherestofthetextbook.Whathasbeenaddedorchanged(andwhy)is detailedinthisbulletedlist.
CHAPTER 1 AutoCAD Fundamentals Part I
FIGURE 1.3 Workspace switching menu.
7
FIGURE 1.4 AutoCAD 2012 screen elements.
l
Drawing Area.Thedrawingareatakesupmostofthescreenandiscoloredadarkgrayin thedefaultversionoftheenvironment.Thisiswhereyouworkandyourdesignappears. Itisbesttochangethedrawingareatoblacktoeaseeyestrain,aslesslightwillradiate towardyou.Inthistextbook,however(asinmosttextbooks),thecolorwillalwaysbe whitetoconserveinkandforclarityonaprintedpage.Ifyouwishtochangethecolorof thedrawingarea,youneedtoright-clickinto“Options…”,choosetheDisplaytab,then Colors… .Finally,changethecolorfromthedrop-downmenuontheright.Wecoverall thisinmoredetailinChapter14,soyoushouldaskyourinstructorforassistanceinthe meantime,ifnecessary.
LEVEL 1 Chapters 1–10
l
l
l
l
l
l
8
l
l
Command Line(s).Rightbelowthedrawingareaisthecommandlineor,bydefault, threelines.ThisiswherethecommandsmaybeenteredandalsowhereAutoCADtells youwhatitneedstocontinue.Alwayskeepaneyeonwhatappearshere,asthisisone ofthemainwaysthatAutoCADcommunicateswithyou.Althoughwediscussanewer “headsup”on-screeninteractionmethodinChapter2,thecommandlineremainsvery relevant.Itiscoloredgrayandwhitebydefaultbutischanged(inamannersimilartothe drawingarea,forthesamereasons)toallwhiteinthistextbook.Thisisaminordetail,so youcanleaveyourcommandline“asis”ifyouwish. UCS Icon.ThisisabasicX-Y-Z(Zisnotvisible)gridsymbol.Itwillbeimportantlaterin advancedstudiesand3D.Itcanbeturnedoff,asisshownviaatipinalaterchapter.The signiicanceofthisiconisgreat,andwestudyitindetaillateron.Fornow,justobserve thattheYaxisis“up”andtheXaxisis“across.” Paper Space/Model Space Tabs.TheseModel/Layout1/Layout2tabs,notunlikethose usedinMicrosoft’sExcel,indicatewhichdrawingspaceyouarein,andareimportant inChapter10whenwecoverpaperspace.Thoughyoucanclickonthemtoseewhat happens,besuretoreturntotheModeltabtocontinuefurther. Toolbar.Toolbarscontainiconsthatcanbepressedtoactivatecommands.Theyarean alternativetotypingandtheRibbon,andmostcommandscanbeaccessedthisway. AutoCAD2012hasdozensofthem.Youmaynothaveatoolbarpresentonyourscreen atthemoment.Ifthatisthecase,donotworry,weactivateafewtoolbarsshortly. Crosshairs.Crosshairsaresimplythemousecursorandmovearoundalongwiththe movementsofyourmouse.Theycanbefullsizeandspantheentirescreenorasmall (lyspeck)size.Youcanchangethesizeofthecrosshairsifyouwish,andfullscreenis recommendedinsomecases.Fornow,wewillleaveitasis. Drawing & Construction Aids.Thesevarioussettingsassistyouindraftingand modeling.Weintroducethemasnecessary.Bydefault,theseaidsareingraphical symbolformandsomemaybeactivated,whichyoucandeterminebyobservingtheir color.Iftheyareoff,theyaregray;ifon,thenlightblue.Besuretoturn them all to offfor now.Wewillactivatethemasneeded.Thereisalsoonemoresigniicantdifferencehere. Allthedrawingaidshavebeenconvertedfromiconsymbolstowrittensymbols.The reasonforthisisthatitiseasierfornewstudentstojustreadthemandusethem;no additionalmemorizationofwhatthesymbolsmeanisneeded,onlyknowledgeofhow tousethem.Ifyouwishtodothesame,right-clickonanyofthemanduncheck“Use Icons.”Ifyoupreferthemasicons,thenleavethemasis,buttheyareconvertedforthe remainderofthistextbook.Notethatthereareadditionaldrawingandconstruction aidsallthewaytothefarright,onthesameband.Wediscussthemlaterinthetext,as needed. Ribbon.ThisisarelativelynewwayofinteractingwithAutoCAD’scommands,tobe discussedsoon.TheRibbonirstappearedinAutoCAD2009andissomewhatsimilarto theapproachusedinMicrosoftWord,Excel,andPowerPoint. Cascading Drop-down Menus.ThisisanotherwaytoaccesscommandsinAutoCAD. Thesemenus,sonamedbecausetheydropoutlikeawaterfall,maybehiddeninitially, butyoucaneasilymakethemvisibleviathedownarrowattheverytopofthescreen,to therightofDrafting&Annotation(visibleinFigure1.2).Alengthymenuappears.Select “ShowMenuBar”towardthebottom,andthecascadingmenusappearasabandacross thetopofthescreen,abovetheRibbon.Youshouldkeepthesemenusintheirspotfrom nowon;theyarereferredtooften.
Reviewthisbulletedlistcarefully;itcontainsalotofuseful“gettoknowAutoCAD” information.Youdonothavetochangeyourenvironmentexactlyassuggested—howyou likeyourAutoCADtolook,afterall,ispersonaltastetosomeextent.Howeverbesureto understandhowtodoitifnecessaryandwhythelookofAutoCADisthewayitisinthe textbook.
CHAPTER 1 AutoCAD Fundamentals Part I
1.3 INTERACTING WITH AUTOCAD OK,soyouhavethebasiccommandsinhandandideallyagoodunderstandingofwhat youarelookingatontheAutoCADscreen.Wearereadytotryoutthebasiccommandsand eventuallydraftsomething.So,howdoweinteractwithAutoCADandtellitwhatwewant drawn?Therearefour primary ways(Methods1–4),whichfollow,roughlyintheorderthey appearedovertheyears.Therearealsotwooutdatedmethods,calledthetabletandthescreen side menu(datingbacktotheveryearlydaysofAutoCAD),butwedonotcoverthem. Method 1. Type inthecommandsonthecommandline(AutoCADv1.0–current). Method 2.Selectthecommandsfromthedrop-down cascading menus(AutoCADv1.0– current). Method 3.Usetoolbariconstoactivatethecommands(AutoCAD12/13–current). Method 4.UsetheRibbontabs,icons,andmenus(AutoCAD2009–current). Detailsofeachmethodincludingtheprosandconsfollow.Mostcommandsarepresented inallfourprimaryways,andyoucanexperimentwitheachmethodtodeterminewhatyou prefer.Eventually,youwillsettleononeparticularwayofinteractingwithAutoCADora hybridofseveral.
Method 1: Type in the Commands on the Command Line ThiswastheoriginalmethodofinteractingwithAutoCADand,tothisday,remainsthemost foolproofwaytoenteracommand:goodold-fashionedtyping.AutoCADisuniqueamong leadingCADsoftwareinthatithasretainedthismethodwhilealmosteveryoneelsemoved tographicicons,toolbars,andRibbons.Ifyouhatetyping,thiswillprobablynotbeyour preferredchoice. However,donotdiscountkeyboardentryentirely;AutoCADhaskeptitforareason.When thecommandsareabbreviatedtooneortwoletters(Line L,Arc A,etc.),inputcanbe incrediblyfast.Justwatchaprofessionaltypistforproofofthespeedwithwhichonecan enterdataviaakeyboard.Otheradvantagestotypingarethatyounolongerhavetoolbarsor aRibbonclutteringuppreciousscreenspace(thereisneverenoughofit)andyounolonger havetotakeyoureyesoffthedesigntoindanicon;instead,thecommandisliterallyatyour ingertips.Thedisadvantageisofcoursethatyouhavetotype. Tousethismethod,simplytypeinthedesiredcommand(spellingcounts!)atthecommand line,asseeninFigure1.5,andpressEnter.Thesequenceinitiatesandyoucanproceed. AnumberofshortcutsarebuiltintoAutoCAD(tryusingjusttheirstletterortwoofa command),andwelearnhowtomakeourownshortcutsinadvancedchapters.Thismethod isstillpreferredbymany“legacy”users(akindwaytosaytheyhavebeenusingAutoCAD forever).
FIGURE 1.5 AutoCAD 2012 command line (circle typed in).
Method 2: Select the Commands from the Drop-down Cascading Menus Thismethodhasalsobeenaroundsincethebeginning.Itpresentsawaytoaccessvirtually everyAutoCADcommand,andindeedmanystudentsstartoutbycheckingoutevery
9
LEVEL 1 Chapters 1–10
FIGURE 1.6 AutoCAD 2012 cascading drop-down menus.
10
oneofthemasacrashcourseonwhatisavailable—afunbutnotveryeffectivewayof learningAutoCAD.Goaheadandexaminethecascadingmenus;thesearesimilarinbasic arrangementtoothersoftware,andyoushouldbeabletonavigatethroughthemeasily.We refertothemonoccasioninthefollowingformat:Menu→Command.So,forthesequence showninFigure1.6,youwouldreadDraw→Circle→3 Points.
Method 3: Use Toolbar Icons to Activate the Commands ThismethodhasbeenaroundsinceAutoCADswitchedfromDOStoWindowsinthe mid-1990sandisafavoriteofawholegenerationofusers;toolbarsareafamiliarsight withvirtuallyanysoftwarethesedays.Toolbarscontainsetsoficons(seeFigure1.7foran example),organizedbycategories(Drawtoolbar,Modifytoolbar,etc.).Youpresstheicon youwant,andacommandisinitiated.Onedisadvantagetotoolbars,andthereasonthe Ribbonwasdeveloped,isthattheytakeupalotofspaceand,arguably,arenotthemost effectivewayoforganizingcommandsonthescreen.
FIGURE 1.7 AutoCAD 2012 Draw toolbar.
YoucanaccesssometoolbarsbyactivatingtheAutoCADClassicWorkspaceorallofthemat anytimebysimplyselectingTools→Toolbars→AutoCADfromthecascadingmenus.When youdothat,amenuwillappear(Figure1.8)andyoucansimplycheckofftheonesyouwant ordonotwant.Youalsocanaccessthesamemenubyright-clickingonanyofthetoolbars themselves.Onceyouhaveafewup,youtypicallyjustdockthemontoporofftotheside. ItishighlyencouragedtobringuptheStandard,Draw,andModifytoolbarsforlearning purposes.Weneednootheronesfornowbutbringthemupasneeded.
Method 4: Use the Ribbon Tabs, Icons, and Menus ThisisthemostrecentlyintroducedmethodofinteractingwithAutoCADandfollowsa newtrendinsoftwareuserinterfacedesign,suchasthatusedbyMicrosoftanditsOfice
CHAPTER 1 AutoCAD Fundamentals Part I 2007(seeninFigure1.9withWord®).Noticehowtoolbarshavebeendisplacedby“tabbed” categories(Home,Insert,PageLayout,etc.),whereinformationisgroupedtogetherbya commontheme. SoitgoeswiththenewAutoCAD.TheRibbonwasintroducedwithAutoCAD2009,anditis heretostay.ItisshownagainbyitselfinFigure1.10.
11
FIGURE 1.8 Toolbar menu.
FIGURE 1.9 MS Word Ribbon.
FIGURE 1.10 AutoCAD 2012 Ribbon.
LEVEL 1 Chapters 1–10 Noticewhatwehavehere.Acollectionoftabs,indicatingasubjectcategory,isfoundat thetop(Home,Insert,Annotate,etc.),andeachtabrevealsanextensivesetoftools(Draw, Modify,Annotation,etc.).AtthebottomoftheRibbon,additionaloptionscanbefound byusingthedroparrows.Inthismannerthetoolbarshavebeenrearrangedinwhatis,in principle,amorelogicalandspace-savingmanner. Additionally,tooltipsappearifyouplaceyourmouseoveranyparticulartoolformorethan asecond.Anothersecondyieldsanevenmoredetailedtooltip.InFigure1.11,youseethe Hometabselected,followedbyadditionaloptionsviathedroparrow,andinallythemouse placedoverthepolygoncommand.Afewmomentsofwaitingrevealsthefulltooltip; pressingtheiconactivatesthecommand.
12 FIGURE 1.11 Polygon command and tool tip.
FamiliarizeyourselfwiththeRibbonbyexploringit.Itpresentssomelayoutadvantages, andspecializedRibbonscanbedisplayedviaotherworkspaces.Thedisadvantageofthis newmethodisthatitisarelativelyadvancedtoolthatpresentsmanyadvancedfeatures rightawayandsomeconfusionisliabletocomeupforabrand-newuser.Itisalsonotideal forlongtimeuserswhotype,andsomeveteransinmyupdateclassesturnthefeatureoff. TheRibbonisthesinglebiggestchangetoAutoCAD’suserinterfaceandrepresentsajump forwardinuser/softwareinteraction,buttheultimatedecisiontouseitisuptoyou.
TIP 1: TheEsc(Escape)keyinthe upperleft-handcornerofyourkeyboardisyour newbestfriendwhilelearningAutoCAD.Itgetsyou outofjustaboutanytroubleyougetyourselfinto. Ifsomethingdoesnotlookright,justpresstheEsc keyandrepeatthecommand.Minewaswornout learningAutoCAD,soexpecttouseitoften.
Beforewetryoutourbasiccommands,letusbeginalist oftips.Theseareamixofgoodideas,essentialhabits, andtime-savingtrickspassedalongtoyoueveryonce inawhile(mostlyintheirstfewchapters).Makea noteofthemastheyareimportant.Hereistheirst, mosturgentlyneededone.
IntheinterestoftryingoutnotjusttheRibbonbut alsotoolbars,cascadingmenus,andtypingwhile learningthebasics,bringupthethreetoolbarsmentioned earlier,Standard,Draw,andModify,shuttingoffalltherest.Thisisthesetupyouseein alltheupcomingAutoCADscreenshots.Finally,closeoutanyloatingpalettesand,ifyou wish,removeyourscrollbars(askyourinstructorhow).Theytakeuproomandarenotan eficientwaytogetaroundthescreen—welearnfarmoreeffectivepanandzoommethods soon.Revieweverythinglearnedthusfarandproceedtotheirstcommands.
CHAPTER 1 AutoCAD Fundamentals Part I
1.4 PRACTICING THE CREATE OBJECTS COMMANDS Letustrythecommandsnow,onebyone.Althoughitmaynotbeallthatexciting,itis extremelyimportantthatyoumemorizethesequenceofpromptsforeachcommand,as thesearereallytheABCsofAutoCAD. Remember:Ifacommandisnotworkingright,oryouseelittlebluesquares(theyarecalled grips,andwecoverthemverysoon),justpressEsctogetbacktotheCommand:statusline, atwhichpointyoucantryitagain.Allfourmethodsofcommandentryarepresented: typing,cascadingmenus,toolbaricons,andtheRibbon.Alternateeachmethoduntilyou decidewhichoneyouprefer.ItisperfectlyOKtouseahybridofmethodsfornow.
➤ Line
Step 1.Beginthelinecommandviaanyoftheprecedingmethods. m AutoCADsays:Specify first point: Step 2.Usingthemouse,left-clickanywhereonthescreen. m AutoCADsays:Specify next point or [Undo]: Step 3.Movethemouseelsewhereonthescreenandleft-clickagain.YoucanrepeatStep2 asmanytimesasyouwish.Whenyouaredone,clickEnterorEsc.Youshouldhave abunchoflinesonyourscreen,eitherseparateorconnectedtogether,asshownin Figure1.12.
FIGURE 1.12 Lines drawn.
13
LEVEL 1 Chapters 1–10 Youneednotworryaboutseveralthingsatthispoint.Theirstisaccuracy;weintroduce atremendousamountofaccuracylaterinthelearningprocess.Thesecondistheoptions availableinthebrackets,suchas[Undo];wecoverthoseasnecessary.Whatisimportantis thatyouunderstandhowyougotthoselinesandhowtodoitagain.Inasimilarmanner,we moveontotheothercommands.
➤ Circle
Step 1.Beginthecirclecommandviaanyoftheprecedingmethods. m AutoCADsays:Specify center point for circle or [3P/2P/Ttr (tan tan radius)]:
Step 2.Usingthemouse,left-clickanywhereonthescreenandmovethemouseoutaway fromthatpoint. m AutoCADsays:Specify radius of circle or [Diameter] : Noticethecirclethatforms;itvariesinsizewiththemovementofyourmouse. Thevalueinbracketsmayofcoursebedifferentinyourcase. Step 3.Left-clicktoinishthecirclecommand.RepeatSteps1through3severaltimes,and yourscreenshouldlooklikeFigure1.13. 14
FIGURE 1.13 Circles drawn.
CHAPTER 1 AutoCAD Fundamentals Part I ThemethodjustusedtocreatethecirclewascalledCenter, Radius,andyoucouldspecify anexactradiussizeifyouwish,byjusttypinginavalueaftertheirstclick(tryit).Asyou mayimagine,thereareotherwaystocreatecircles—sixwaystobeprecise,asseenwiththe Ribbonandcascadingmenus(Figures1.14and1.15).
15 FIGURE 1.14
FIGURE 1.15
Additional circle options (Ribbon).
Additional circle options (cascading menus).
SpecialattentionshouldbepaidtotheCenter,Diameteroption.Oftenstudentsareasked tocreateacircleofacertaindiameter,andtheyinadvertentlyuseradius.Thisislessofa problemwhenusingtheRibbonorthecascadingmenus,butyouneedtowatchoutif typingorusingtoolbars,asyouwillneedtopressdfor[Diameter]beforeenteringavalue; otherwise,guesswhatitwillbe.Wefocusmuchmoreonthesebracketedoptionsasthe courseprogresses.You get a chance to practice the other circle options as part of the end of chapter exercises.
➤ Arc
Step 1.Beginthearccommandviaanyoftheprecedingmethods. m AutoCADsays:Specify start point of arc or [Center]: Step 2. Left-clickwiththemouseanywhereonthescreen.Thisistheirstofthreepoints necessaryforthearc. m AutoCADsays:Specify second point of arc or [Center/End]:
LEVEL 1 Chapters 1–10
Step 3.Clicksomewhereelseonthescreentoplacethesecondpoint. m AutoCADsays:Specify end point of arc: Step 4.Left-clickathird(inal)time,somewhereelseonthescreen,toinishthearc. PracticethissequenceseveralmoretimestofullyunderstandthewayAutoCADplacesthe arc.YourscreenshouldlooksomethinglikeFigure1.16.
16
FIGURE 1.16 Arcs drawn.
Themethodjustusedtocreatethearcsiscalled3 Pointand,withoutinvokingother options,isaratherarbitrary(eyeball)methodofcreatingthem,whichisjustineforsome applications.Justaswithcircles,thereare,ofcourse,otherwaystocreatearcs—11waystobe precise,asseenwiththeRibbonandcascadingmenus(Figures1.17and1.18). Notalloftheseoptionsareused,andsomeyouwillprobablyneverneed,butitisworth goingoverthemtoknowwhatisavailable.You get a chance to practice the other arc options as part of the end of chapter exercises.
➤ Rectangle
CHAPTER 1 AutoCAD Fundamentals Part I
FIGURE 1.17 Additional arc options (Ribbon).
FIGURE 1.18 Additional arc options (cascading menus).
Step 1.Begintherectanglecommandviaanyoftheprecedingmethods. m AutoCADsays:Specify first corner point or [Chamfer/Elevation/ Fillet /Thickness/Width]:
Step 2.Left-click,andmovethemousediagonallysomewhereelseonthescreen. m AutoCADsays:Specify other corner point or [Area/Dimensions/ Rotation]:
Step 3.Left-clickonemoretimetoinishthecommand.Yourscreenshouldlookmoreor lesslikeFigure1.19. Thereareofcoursemoreprecisewaystodrawarectangle.InStep3,youcanpressdfor Dimensionsandfollowthepromptstoassignlength,width,andacornerpoint(where youwantit)toyourrectangle.Tryitout,butaswithallbasic shapesdrawnsofar,donotworrytoomuchaboutsizing andaccuracy,justbesuretounderstandandmemorize TIP 2: Toquicklyeraseeverythingon thesequencesforthebasiccommand—thatiswhatis thescreen,typeineforerase,pressEnter,andtype importantfornow. inall.ThenpressEntertwice.AftertheirstEnter,all theobjectsaredashed,indicatingtheywereselected So,nowyouhavecreatedthefourbasicshapesused successfully.ThesecondEnterinishesthecommand inAutoCADdrawings(andendedupwithalotof bydeletingeverything.Needlesstosay,thiscommand junk).Letuseraseallofthem,andgetbacktoablank sequenceisusefulonlyintheearlystagesoflearning screen.Todothis,weneedtointroduceTip2,which AutoCAD,whenyoudonotintendtosavewhatyou isquiteeasytojusttype.Noticetheuseofthee aredrawing.Youmaywanttoconvenientlyforgetthis abbreviation;wewillseemoreofthisasweprogress. particulartipwhenyoubegintoworkonacompany project.Fornowitisveryuseful,butwewilllearn So,letusputallofthistogooduse.Createthe farmoreselectiveerasemethodslater. drawingshowninFigure1.20.Usetherectangle,line, circle,andarccommands.Donotgetcaughtuptrying
17
LEVEL 1 Chapters 1–10
FIGURE 1.19 18
Rectangles drawn.
FIGURE 1.20 Simple house sketch.
tomakeeverythinglineupperfectly,justdoaquicksketch.Then,youcantelleveryonethat youlearnedhowtodrawahouseinAutoCADwithintheirsthalfhour.Well,sortof. Atthispointitisnecessarytomentionthezoomandpancommands.Theseareveryeasyif youhaveamousewithacenterwheel(asmostPCsdothesedays).
CHAPTER 1 AutoCAD Fundamentals Part I
1.5 VIEW OBJECTS Zoom Putyouringeronthemousewheelandturnitbackandforthwithoutpressingdown. Thehouseyoujustcreatedgetssmaller(rollback)orlarger(rollforward)onthescreen. Rememberthough,theobjectremainsthesame;yourviewisjustzoominginandout.
Pan Putyouringeronthemousewheel,butthistimepressandhold.Ahandsymbolappears. Nowmovethemousearoundwhilekeepingthewheeldepressed.Youareabletopanaround yourdrawing.Rememberagain,thedrawingisnotmoving;youaremovingaroundit.
Regen Thisistheeasiestcommandyouwilllearn.JusttypeinregenandpressEnter.Thescreen refreshes.OneuseforthisisifyouarepanningoverandAutoCADdoesnotletyougo further,asifyouhitawall.Simplyregenandproceed. Whilethemousemethodiseasiest,thereareotherways tozoomandpan.Onealternativeisusingtoolbars, andpartoftheStandardtoolbar(whichyoushould haveonyourscreen)hassomeZoom(magnifying glass)andPan(hand)iconsforthispurpose,asseen inFigure1.21. Exploretheiconoptionsonyourown,butone particularzoomoptioniscriticallyimportant:Zoom toExtents.Ifyoumanagedtopanyourlittlehouse rightoffthescreenandcannotindit,thiscomesin handy,andafulltiponZoomtoExtentsispresentednext. Whatifyoudidsomethingthatyoudidnotwanttodo andwishedyoucouldgobackasteportwo?Well,like mostprograms,AutoCADhasanundocommand, whichbringsustothefourthtip. Nowthatyouhavedrawnyourhouse,leaveiton yourscreenandletusmoveon.Wenowhavetogo throughalltheEdit/ModifyObjectscommands,one byone.Eachofthemiscriticaltocreatingeventhe mostbasicdrawings,sogothrougheachcarefully, payingcloseattentiontothestepsinvolved.Alongthe way,theoccasionaltipisaddedastheneedarises.
TIP 3: Typeinzforzoom,pressEnter, typeinthelettere,thenpressEnteragain.Thisis calledZoom to ExtentsandmakesAutoCADdisplay everythingyousketched,illinguptheavailablescreen space.Ifyouhaveamiddle-buttonwheelonyour mouse,thendouble-clickitforthesameeffect.This techniqueisveryimportanttoiteverythingon yourscreen. 19
TIP 4: Toperformtheundocommand inAutoCADjusttypeinuandpressEnter.Do nottypetheentirecommand—ifyoudothat,more optionspopup,whichwedonotreallyneedatthis point,soasimpleusufices.Youcandothisasmany timesasyouwantto(eventothebeginningofthe drawingsession).YoucanalsousethefamiliarUndo andRedoarrowsseenattheverytopofthescreenand alsoaspartoftheStandardtoolbar.Yes,AutoCADhas aRedo;itwasoncecalledtheoopscommand.Oops stillexists,butitscomplexityhasgrownandwedo notexploreitatthemoment.
Justtoremindyou:TheEsckeygetsyououtof anymistakesyoumakeandreturnsyoutothebasic commandline.Besuretoperformeachsequenceseveral timestoreallymemorizeit.Asyoulearntheirstcommand,erase,youalsoareintroduced
FIGURE 1.21 Zoom and Pan icons.
LEVEL 1 Chapters 1–10 tothepicking objectsselectionmethod,whichissimilar throughouttherestofthecommands.Also,keepa TIP 5: Hatetokeephavingtotype,pull amenu,orclickonaniconeachtimeyoupractice closeeyeonthecommandline,asitiswhereyouand thesamecommand?Well,noproblem.Simplypress AutoCADcommunicatefornow,anditisatwo-way thespacebarorEnter,andthiswillrepeatthelast conversation. commandyouused.There,youjustsavedafew Finally,beforeyougetstarted,hereisanotheruseful minutesperdayforthatcoffeebreak. tipthatstudentsusuallyappreciateearlyontosave sometimeandeffort.
1.6 PRACTICING THE EDIT/MODIFY OBJECTS COMMANDS ➤ Erase
20
Step 1.Begintheerasecommandviaanyoftheprecedingmethods. m AutoCADsays:Select objects: Step 2.Selectanyobjectfromthehouseinthepreviousdrawingassignment(Figure1.20) bytakingthemouse,positioningitoverthatobject(notintheemptyspace),and left-clickingonce. m AutoCADsays:Select objects: 1 found.Theobjectbecomesdashed.You sawthisbeforewhenweerasedeverythinginTip2.Itmeanstheobjectswere selected.AutoCADcontinuestoaskyou:Select objects:.Watchoutforthis step.AutoCADalwaysasksthis,incaseyouwanttoselectmoreobjects,soget usedtoit.Youaredone,however,so… Step 3.PressEnterandtheobjectwilldisappear. Practicethisseveraltimes,usingtheundocommandtobringtheobjectback.Makesureyou keepitthere,sinceyouneedittopracticethenextfewcommands.Youcanofcourseselect morethanoneobject,asthisisthewholepointofbeingaskedtoselectagain.Asyouclick oneachone,itbecomesdashed.Youcandothisuntilyourunoutofobjectstoselect;there isnolimit.Todeselectanyobjects,holddowntheShiftkeyandclickonthem.Theywillbe removedfromtheselectionset.
➤ Move
Step 1.Beginthemovecommandviaanyoftheprecedingmethods. m AutoCADsays:Select objects: Step 2.Selectanobjectbypositioningthemouseoverthatobject(nottheemptyspace)and left-clickingonce. m AutoCADsays:Select objects: 1 found.Theobjectbecomesdashed. m AutoCADthenasksyouagain:Select objects:
CHAPTER 1 AutoCAD Fundamentals Part I
Step 3.Unlessyouhavemorethanoneobjecttomove,youaredone,sopressEnter. m AutoCADsays:Specify base point or [Displacement] : Step 4.Left-clickanywhereonorneartheobjectto“pickitup”;thisiswhereyouare movingitfrom. m AutoCADsays:Specify second point or :
Step 5.Movethemousesomewhereelseonthescreenandleft-clicktoplacetheobjectin thenewlocation.Thisiswhereyouaremovingitto. Undowhatyoujustdidandpracticeitagain.Figure1.22showsthemovecommandin progress.Noticehowthedashedcircleremainsthereasa“shadow”untilyouplaceyour circleinitsnewlocation.
21
FIGURE 1.22 Move command in progress.
➤ Copy
Step 1.Beginthecopycommandviaanyoftheprecedingmethods. m AutoCADsays:Select objects: Step 2.Selectanobjectbypositioningthemouseoverthatobjectandleft-clickingonce. m AutoCADsays:Select objects: 1 found.Theobjectwillbecomedashed. m AutoCADthenasksyouagain:Select objects: Step 3.Unlessyouhavemorethanoneobjecttocopy,youaredone,sopressEnter. m AutoCADsays:Specify base point or [Displacement/ mOde]:
Step 4.Left-clickanywhereonorneartheobjectto“pickitup”;thisiswhereyouare copyingitfrom. m AutoCADsays:Specify second point or :
LEVEL 1 Chapters 1–10
Step 5.Movethemousesomewhereelseonthescreenandleft-clicktocopytheobjectto thenewlocation.Thisiswhereyouarecopyingitto.Noticethatadashedcopyof theobjectremainsinitsoriginallocationuntilyoucompletethecommand.Youcan copyasmanytimesasyouwant. Undowhatyoujustdidandpracticeitagain.Figure1.23showsthecopycommandin progress.Thedashedcircleremainsthereasa“shadow”untilyoucopyyournewcirclesinto theirnewlocations.
22
FIGURE 1.23 Copy command in progress.
➤ Rotate
Step 1.Begintherotatecommandviaanyoftheprecedingmethods. m AutoCADsays:Current positive angle in UCS: ANGDIR = counterclockwise ANGBASE = 0,andonthenextline:Select objects: Step 2.Selectanyobjectasbefore,rememberingtopressEnteragainaftertheselection. Sofar,itisquitesimilartoerase,move,andcopy. m AutoCADsays:Specify base point:Thismeansselectthepivotpointofthe object’srotation(thepointaboutwhichitrotates).Ifyouselectacircleforyour object,trytostayawayfromthecenterpoint,asyourrotationeffortsmaybeless thanspectacular. Step 3.Clickanywhereonorneartheselectedobject. m AutoCADsays:Specify rotation angle or [Copy/Reference] : Step 4.Movethemousearoundinawidecircleandtheobjectrotates.Noticehowthe motiongetssmootherasyoumovethemousefartheraway.Youcanclickanywhere forarandomrotationangleoryoucantypeinaspeciicnumericaldegreevalue.
CHAPTER 1 AutoCAD Fundamentals Part I Figure1.24showstherotatecommandinprogress.
23 FIGURE 1.24 Rotate command in progress.
➤ Scale
Step 1.Beginthescalecommandviaanyoftheprecedingmethods. m AutoCADsays:Select objects: Step 2.Selectanyobjectasbefore,rememberingtopressEnteragainaftertheirst selection. m AutoCADsays:Specify base point:Thismeansselectthepointfromwhich thescalingoftheobject(upordown)istooccur. Step 3.Clicksomewhereonorneartheobjectordirectlyinthemiddleofit. m AutoCADsays:Specify scale factor or [Copy/Reference] : Step 4.Movethemousearoundthescreen.Theobjectgetsbiggerorsmaller.Youcan randomlyscaleitorenteranumericalvalue.Forexample,ifyouwantittwiceasbig, enter2;halfsizewillbe.5.
LEVEL 1 Chapters 1–10 Figure1.25showsthescalecommandinprogress.
FIGURE 1.25 Scale command in progress.
➤ Trim
24 Topracticethiscommandyouirstneedtodrawtwointersectinglines,onehorizontaland onevertical,similartoaplussign.Oncethisisdone,goaheadandperformthesequence thatfollows. Step 1.Beginthetrimcommandviaanyoftheprecedingmethods. m AutoCADsays: Current settings: Projection = UCS, Edge = None Select cutting edges... Select objects or :
Step 2. Left-clickononeofthelines.Youcanchoosetheverticalorhorizontal,itdoesnot matter.Thisisyourcutting edge.Theotherline,theoneyoudidnotpick,istrimmed attheintersectionpointofthetwolines.Thecuttingedgelinebecomesdashed. m AutoCADsays:Select objects or : 1 found Step 3.PressEnter. m AutoCADsays:Select object to trim or shift-select to extend or[Fence/Crossing/Project/Edge/eRase/Undo]:
Step 4.Goaheadandpickanywhereonthelinethatyoudidnotyetselectanditistrimmed. YoucanrepeatStep4asmanytimesasyouwant,butwearedone,sopressEnter.Practice thisseveraltimesbypressinguthenEnterandrepeatingSteps1through4.Remembertwo thingstoavoidmistakes:Pickthecuttingedgeirst,anddonotforgettopressEnterbefore pickingthelinetobechopped. Youcanalsodoatrimbetweentwoormorelines,asshowninFigure1.26.Thisis somethingweneedintheirstmajorproject,sopracticebothtypesoftrims.Inbothcases, thelinesselectedascuttingedgesarenowdashed,andthelinesabouttobetrimmedhave thecursor(smallbox)overthem.
CHAPTER 1 AutoCAD Fundamentals Part I
FIGURE 1.26 Trim command in progress.
➤ Extend
Topracticethiscommand,weirstneedtodrawtwointersectinglines,justasfortrim, butthenusethemovecommandtorelocatetheverticallinedirectlytotheright(orleft) ofthehorizontalline,ashortdistanceaway,sowecanextendthehorizontallineintothe vertical.YoucanseethisinFigure1.27.Oncethisisdone,goaheadandperformtheextend command.
FIGURE 1.27 Extend command in progress.
Step 1.Begintheextendcommandviaanyoftheprecedingmethods. m AutoCADsays: Current settings: Projection = UCS, Edge = None Select boundary edges... Select objects or :
25
LEVEL 1 Chapters 1–10
Step 2.Atthispoint,left-clickontheverticalline.Thisisthetargetintowhichyouextend thehorizontalline.Itbecomesdashed.AutoCADsays:Select objects: 1 found. Step 3.PressEnter. m AutoCADsays:Select object to extend or shift-select to trim or [Fence/Crossing/Project/Edge/Undo]:
Step 4.Picktheendofthehorizontallinethatisclosesttotheverticalline.Thearrowis whatextendsintotheverticallinetarget. YoucanrepeatStep4asmanytimesasyouwant,butwearedone,sopressEnter.Practice thisseveraltimesbypressinguthenEnterandrepeatingSteps1through4.InFigure1.27, thedashedverticallineisthe“target”andthesolidhorizontallineisthe“arrow.”Thecursor (box)ispositionedtoextendthearrowintothetargetbyclickingonce.
➤ Offset
26
Thiscommandisoneofthemoreimportantonesyouwilllearn.Itspowerliesinits simplicity.Thiscommandcreatesnewlinesbythedirectionalparalleloffsetconcept,where ifyouhavealineonyourscreen,youcancreateanewonethatisacertaindistanceaway butparalleltotheoriginal.Toillustrateit,irstdrawarandomverticalorhorizontalline anywhereonyourscreen. Step 1.Begintheoffsetcommandviaanyoftheprecedingmethods. m AutoCADsays:Specify offset distance or [Through/Erase/Layer] :
Step 2.Enteranoffsetvalue(useasmallnumberfornow,2or3).ThenpressEnter. m AutoCADsays:Select object to offset or [Exit/Undo] : Step 3.Pickthelinebyleft-clickingonit;thelinebecomesdashed. m AutoCADsays:Specify point on side to offset or [Exit/Multiple/ Undo] :
FIGURE 1.28 Offset command in progress.
CHAPTER 1 AutoCAD Fundamentals Part I
Step 4.Pickadirectionforthelinetogo,whichistooneofthetwosidesoftheoriginal line.Itdoesnotmatterexactlyhowfarawayfromtheoriginallineyouclick,as thedistancehasalreadybeenspeciied.Youcankeepdoingthisoverandoverby selectingthenewlinethenthedirection(seeFigure1.28).Ifyouwanttochangethe offsetdistance,youmustrepeatSteps1and2. Thesigniicanceoftheoffsetcommandmaynotbereadilyapparent.Manystudents, especiallyoneswhomayhavedonesomehanddrafting,comeintolearningAutoCADwith thepreconceivednotionthatitisjustacomputerizedversionofpencilandpaper.Whilethis istrueinsomecases,inothers,AutoCADrepresentsaradicaldeparture.Whenyoubegina newdrawingonpaper,youliterallydrawlineafterline.WithAutoCAD,surprisinglylittle linedrawingoccurs.Afewaredrawn,andthentheoffsetcommandisemployedthroughout. Learnthiscommandwell,youwillneedit.
➤ Mirror
Thiscommand,muchasthenameimplies,createsamirrorcopyofanobjectoversome plane.Itissurprisinglyusefulbecauseoftenjustcopyingandrotatingisnotsuficientor takestoomanysteps.Tolearnthiscommand,youhavetothinkofareal-lifemirror,with youstandinginfrontofit.Theoriginalobjectisyou,theplaneisthedoorwiththemirror attached(whichcanswingonahinge),andthenewobjectisyourmirroredrelection.To practicethiscommand,drawatrianglebyjoiningthreelinestogether,asseeninFigure1.29.
FIGURE 1.29 Mirror command in progress.
Step 1.Beginthemirrorcommandviaanyoftheprecedingmethods. m AutoCADsays:Select objects: Step 2.SelectallthreelinesofthetriangleandpressEnter. m AutoCADsays:Specify first point of mirror line:
27
LEVEL 1 Chapters 1–10
Step 3.Clickanywherenearthetriangleandmovethemousearound.Younoticethenew objectappearstobeanchoredbyonepoint.Thisistheswingingmirrorrelection. m AutoCADsays:Specify second point of mirror line: Step 4.Clickagainneartheobject(makethesecondclickfollowanimaginarystraightline down).Younoticethenewobjectdisappear.Donotpanic;rathercheckwhatthe commandlinesays. m AutoCADsays:Delete source objects? [Yes/No] : Step 5.TheresponseinStep4justaskedyouifyouwanttokeeptheoriginalobject.Ifyou do(themostcommonresponse),thenjustpressEnterandyouaredone.Figure1.29 illustratesStep3.
➤ Fillet
Filletsareallaroundus.ThisisnotjustanAutoCADconceptbutratheranengineeringdescription foraroundededgeonacornerofanobjectoratanintersectionoftwoobjects.Theseedgesare addedtoavoidsharpcornersforsafetyorothertechnicalreasons(suchasaweld).Bydeinition, ailletneedstohavearadiusgreaterthanzero;butinAutoCAD,ailletcanhavearadiusof zero,allowingforsomeusefulediting,asweseesoon.Toillustratethiscommand,irstdrawtwo perpendicularlinesthatintersect,asseenintheirstboxofFigure1.30. 28
FIGURE 1.30 Fillet command summary.
Step 1.Begintheilletcommandviaanyoftheprecedingmethods. m AutoCADsays: Current settings: Mode = TRIM, Radius = 0.0000 Select first object or [Undo/Polyline/Radius/Trim/Multiple]: Step 2.Putaradiusontheillet.TypeinrforradiusandpressEnter. m AutoCADsays:Specify fillet radius :
Step 3.Enterasmallvalue,perhaps0.5or1.PressEnter. m AutoCADsays:Select first object or [Undo/Polyline/Radius/Trim/ Multiple]:
Step 4.Selecttheirst(horizontal)line,somewhereneartheintersection.Itbecomes dashed. m AutoCADsays:Select second object or shift-select to apply corner or [Radius]:
CHAPTER 1 AutoCAD Fundamentals Part I
Step 5.Asyourmousemovestowardthesecond(vertical)line,youseeapreviewofthe resultingillet(iftheilletisvalid).Thispreviewcapabilityisanewfeatureof AutoCAD2012.Goaheadandclickthesecondlinesomewhereneartheintersection; ailletoftheradiusyouspeciiedisadded. Thesearethestepsinvolvedinaddingailletwitharadius.Youcanalsodoailletwitha radiusofzero,sorepeatSteps1through5,entering0fortheradiusvalue.Thisisveryuseful tospeeduptrimmingandextending.Intersectinglinescanbeilletedtoterminateatone point,andiftheyaresomedistanceapart,theycanbeilletedtomeettogether.Allthisis possiblewitharadiusofzero.Inthesecases,thenewpreviewfeatureshowsagreenXwhere thelinesintersect.Tryoutallthevariations.Figure1.30summarizeseverythingdescribedso far.The1and2indicateasuggestedorderofclickingthelinesforthedesiredeffect. Well,thisisitfornow.Wecoveredthebasiccommands.Thesecommandsformthe essentialsofwhatwecallbasicCADtheory.All2Dcomputer-aideddesignprogramsneed tobeabletoperformthesefunctionsinordertowork,thoughothersoftwaremayreferto themdifferently,suchasperhapsusing“displace”insteadof“move,”butthecapabilitystill hastobethere.Besuretomemorizethesecommandsandpracticethemuntiltheybecome secondnature.TheyaretrulytheABCsofbasiccomputerdrafting,theirimportancecannot beoverstated,andyouneedtomasterthemtomoveon.
1.7 SELECTION METHODS Beforewetalkabouttheaccuracytoolsavailabletoyou,weneedtobrielycoveramore advancedtypeofselectionmethodcalledWindow/Crossing.Youmayhavealreadyseen thisbyaccident:Whenyouclickrandomlyonthescreenwithoutselectinganyobjectsand dragyourmousetotherightorleft,arectangularshapeforms.Itiseitherdashedorsolid (dependingonsettings,theseshapesmayhaveagreenorblueill)andgoesawayonceyou clickthemousebuttonagainorpressEsc.Thishappenstobeapowerfulselectiontool. l
l
Crossing.Acrossingappearswhenyouclickanddragtotheleftofanimaginaryvertical line(upordown)andisadashedrectangle.Any object it touches is selected. Window.Awindowappearswhenyouclickanddragtotherightofanimaginaryvertical line(upordown)andisasolidrectangle.Any object falling completely inside it is selected.
Figure1.31showswhatboththeCrossingandtheWindowlooklike.Practiceselecting objectsinconjunctionwiththeerasecommand.Drawseveralrandomobjectsandstartup theerasecommand.Then,insteadofpickingeachoneindividually(ordoingErase,All), selectthemwitheithertheCrossingorWindowandmakeanoteofhoweachfunctions. Thisisaveryimportantandusefulselectionmethod.
FIGURE 1.31 Crossing and Window.
29
LEVEL 1 Chapters 1–10
1.8 DRAWING ACCURACY—PART 1 Ortho (F8) Sofar,whenyoucreatedlines,theywerenotperfectlystraight.Rather,youmayhavelined themupbyeye.Thisofcourseisnotaccurateenoughformostdesigns,soweneeda bettermethod.Ortho(whichstandsfororthographic)isanewconceptwenowintroduce thatallowsyoutodrawperfectlystraightverticalorhorizontallines.Itisnotsomucha commandasaconditionyouimposeuponyourlinespriortostartingtodrawthem.Toturn ontheOrthofeaturejustpresstheF8keyatthetopofyourkeyboard,orclicktodepressthe ORTHObuttonatthebottomofthescreen.Thenbegindrawinglines.Youseeyourmouse cursorconstrainedtoonlyverticalandhorizontalmotion.Orthoisusuallynotsomething youjustsetandforgetabout,asyourdesignmaycallforavariedmixofstraightandangled lines,sodonotbeshyaboutturningthefeatureonandoffasoftenasnecessary,sometimes rightinthemiddleofdrawingaline.
1.9 DRAWING ACCURACY—PART 2 OSNAPs Whiledrawingstraightlines,wegenerallylikethoselinestoconnecttoeachotherinavery preciseway.Sofarwehavebeeneyeballingtheirpositionrelativetoeachother,butthatis notaccurateandismorereminiscentofsketching,notseriousdrafting.Lines(orforthat matterallfundamentalobjectsinAutoCAD)connecttoeachotherinverydistinctand speciiclocations(twolinesarejoinedendtoend,forexample).Letusdevelopthesepoints foracollectionofobjects.
ENDPOINT 30
ENDpointsarethetwolocationsattheendsofanyline.Anotherobjectcanbeprecisely attachedtoanendpoint.Thesymbolforitisasquare,asillustratedinFigure1.32.
FIGURE 1.32 Endpoints.
MIDPOINT MIDpointisthemiddleofanyline.Anotherobjectcanbepreciselyattachedtoamidpoint. Thesymbolforitisatriangle,asillustratedinFigure1.33.
FIGURE 1.33 Midpoint.
CENTER CENteristhecenterofanycircle.Anotherobjectcanbepreciselyattachedtoacenterpoint. Thesymbolforitisacircle,asillustratedinFigure1.34.
CHAPTER 1 AutoCAD Fundamentals Part I
FIGURE 1.34 Center.
QUADRANT QUADrantsarethefourpointsattheNorth(90°),West(180°),South(270°),andEast(0°, 360°)quadrantsofanycircle.Anotherobjectcanbepreciselyattachedtoaquadrantpoint. Thesymbolforitisadiamond,asillustratedinFigure1.35.
31 FIGURE 1.35 Quadrants.
INTERSECTION INTersectionisapointthatislocatedattheintersectionofanytwoobjects.Youmaybegina lineorattachanyobjecttothatpoint.ThesymbolforitisanX,asillustratedinFigure1.36.
FIGURE 1.36 Intersection.
PERPENDICULAR PERPendicularisanOSNAPpointthatallowsyoutobeginorendalineperpendicularto anotherline.Thesymbolforitisthestandardmathematicalsymbolforaperpendicular (90°)angle,asillustratedinFigure1.37.
LEVEL 1 Chapters 1–10
FIGURE 1.37 Perpendicular.
ThesearethesixfundamentalOSNAPpointswementionfornow.Thereareothersof course,suchasNode,Extension,Insertion,Tangent,Nearest,ApparentIntersection,and Parallel,butthoseareusedfarlessoften;andwiththeexceptionofTangent,Near,andNode (coveredinupcomingchapters),theyarenotdiscussed. SohowdoyouusetheOSNAPsthatwehavedevelopedsofar?Therearetwomethods. TheirstistotypeintheOSNAPpointasyouneedit(onlythecapitalizedpartneedstobe typedin:END,MID,etc.).Forexample,drawaline.Then,begindrawinganotherline,but beforeclickingtoplaceit,typeinendandpressEnter.AutoCADaddsthewordof,atwhich pointyouneedtomovethecursortoroughlytheendoftheirstline.Thesnapmarkerfor endpoint(asquare)appears,alongwithatooltipstatingwhatitis.Clicktoplacetheline; nowyournewlineispreciselyattachedtotheirstline.
32
Inthesamemanner,tryoutalltheothersnappointsmentioned(drawafewcirclesto practiceQuadandCenter).Inallcases,beginbytypingline,thenoneofthesnappoints, followedbyEnter.Thenbringthemousecursortotheapproximatelocationofthatpoint andclick.
FIGURE 1.38 Drafting Settings dialog box.
CHAPTER 1 AutoCAD Fundamentals Part I
1.10 OSNAP DRAFTING SETTINGS Asyoumayimagine,thereisafasterwaytouseOSNAP.Theideaistohavethesesettings alwaysrunninginthebackgroundsoyouneednottypetheminanymore.Tosetthemup,you needtotypeinosnaporselectTools→Drafting Settings…fromthecascadingdrop-down menu.TheOSNAPdialogboxappears(Figure1.38).First,makesuretheObjectSnaptab isselected,andthenselecttheClearAllbutton.Finally,checkoffthesixsettingsmentioned previously(Endpoint,Midpoint,Center,Quadrant,Intersection,Perpendicular),andpressOK. Sonowyouhavesettheappropriatesettings,butyoustillneedtoturnthemon.Forthat,we needtomentionanotherFkey.IfyoupressF3orpresstheOSNAPtogglebuttonatthebottom ofthescreen,theOSNAPsettingsbecomeactive.Goaheadanddothis,thenbeginthesameline drawingexercise;seehowmucheasieritisnowasthesnapsettingsappearontheirown.Thisis thepreferredwaytodraw,withthemrunninginthebackground.FeelfreetopressF3anytime youdonotneedthemanymore;OSNAPisalsonotsomethingthatyoumaywantallthetime. Figure1.38showstheDraftingSettingsdialogbox,withthediscussedOSNAPpointschecked.
SUMMARY Youshouldunderstandandknowhowtousethefollowingconceptsandcommandsbefore movingontoChapter2: AutoCADdrawingenvironment m DrawingArea,CommandLine,CascadingMenus,Toolbars,Ribbon l CreateObjects m Line m Circle m Arc m Rectangle l Edit/ModifyObjects m Erase m Move m Copy m Rotate m Scale m Trim m Extend m Offset m Mirror m Fillet l ViewObjects m Zoom m Pan m Regen l Selectionmethods m Crossing m Window l Ortho(F8) l OSNAP(F3) m ENDpoint m MIDpoint m CENter m QUADrant m INTersection m PERPendicular
l
33
LEVEL 1 Chapters 1–10 Additionally,youshouldunderstandandknowhowtousethefollowingtipsintroducedin thischapter: TIP 1.TheEsc(Escape)keyintheupperleft-handcornerofyourkeyboardisyournewbest friendwhilelearningAutoCAD.Itwillgetyououtofjustaboutanytroubleyouget yourselfinto.Ifsomethingdoesnotlookright,justpresstheEsckeyandrepeatthe command. TIP 2.Toquicklyeraseeverythingonthescreen,typeineforerase,pressEnter,andtypeinall. Then,pressEntertwice.AftertheirstEnter,alltheobjectsaredashed,indicatingtheywere selectedsuccessfully.ThesecondEnterinishesthecommandbydeletingeverything. TIP 3.Typeinzforzoom,pressEnter,typeinthelettere,thenpressEnteragain.Thisis calledZoom to ExtentsandmakesAutoCADdisplayeverythingyousketched,illingup theavailablescreenspace.Ifyouhaveamiddle-buttonwheelonyourmouse,then double-clickitforthesameeffect. TIP 4.ToperformtheundocommandinAutoCADjusttypeinuandpressEnter.Donottype intheentirecommand—ifyoudothat,moreoptionspopup,whichwedonotreally needatthispoint,soasimpleusufices.Youcandothisasmanytimesasyouwant (eventothebeginningofthedrawingsession).YoucanalsousethefamiliarUndo andRedoarrowsseenattheverytopofthescreenandalsoaspartoftheStandard toolbar. TIP 5.Hatetokeephavingtotype,pullamenu,orclickaniconeachtimeyoupracticethe samecommand?Well,noproblem.SimplypressthespacebarorEnter,andthis repeatsthelastcommandyouused.
34
REVIEW QUESTIONS Answer the following questions based on what you learned in Chapter 1. You should have the commands memorized, so copy the questions to another sheet of paper, close the book, and try to answer them without looking them up. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15.
List the four Create Objects commands covered. List the ten Edit/Modify Objects commands covered. List the three View Objects commands covered. What is a workspace? What four main methods are used to issue a command in AutoCAD? What is the difference between a selection Window and Crossing? What is the name of the command that forces lines to be drawn perfectly straight horizontally and vertically? Which F key activates it? What six main OSNAP points are covered? Draw the snap point’s symbol next to your answer. What command brings up the OSNAP dialog box? Which F key turns the OSNAP feature on and off? How do you terminate a command-in-progress in AutoCAD? What sequence of commands quickly clears your screen? What sequence of commands allows you to view your entire drawing? How do you undo a command? How do you repeat the last command you just used?
EXERCISES 1. Draw the following sets of lines on the left and practice the 2-Point, 3-Point, and Tan, Tan, Tan circle options. You may use the Ribbon, cascading menus, or typing. In all cases, use OSNAPs to connect the circle precisely to the drawn lines. The result you should get is shown in on the right. (Difficulty level: Easy; Time to completion: 5 minutes)
CHAPTER 1 AutoCAD Fundamentals Part I
2. Draw an arc using the Start, Center, End option (a commonly used one) as follows. First, draw the three lines shown on the left, making use of the mirror command as needed, then draw the arc itself. Be sure to select from the bottom up, as shown, and use OSNAPs. The result you should get is shown on the right. Try the same exercise by picking from the top down, noticing the difference. (Difficulty level: Easy; Time to completion: 5 minutes)
35
3. Draw a simple door using the 3-Point arc method. This requires some precise mouse clicking and we introduce an alternate method in Chapter 3, but for now this is a good exercise to try. First draw, copy, rotate, and position the lines as seen in Steps 1 through 4, then add the arc as shown in Step 5 (use Ortho and OSNAPs throughout). You may have to try it a few times to get it to look right. Finally, erase the bottom line to complete the door as seen in Step 6. (Difficulty level: Easy; Time to completion: 5 minutes)
LEVEL 1 Chapters 1–10
4. Draw the following sets of arbitrary electrical connection shapes. You need only the basic Create and Modify commands, including rectangle, circle, line, offset, fillet, and mirror, as well as OSNAPs and Ortho. Specific sizes are not important at this point yet, but make your drawing look similar, and use accuracy in connecting all the pieces. (Difficulty level: Easy; Time to completion: 10 minutes)
36
5. Draw the following house elevation using what you learned. You need only the basic Create and Modify commands. The overall sizing can be approximated; however, use Ortho (no crooked lines) and make sure all lines connect using OSNAPs. (Difficulty level: Intermediate; Time to completion: 15 minutes)
6. Draw the following sets of random shapes. You need only the basic Create and Modify commands, but you use almost every one of them, including multiple cutting edges trim. The overall sizing is completely arbitrary, and your design may not look exactly like this one, but be sure to draw all the elements you see here and use OSNAP precision throughout. (Difficulty level: Intermediate; Time to completion: 15 minutes)
CHAPTER 1 AutoCAD Fundamentals Part I
7. Draw the following side view of a car using what you learned. You need only the basic Create and Modify commands. The overall sizing (including multiple fillets needed on most corners) can be approximated; however, use accuracy and make sure all lines connect using OSNAPs. (Difficulty level: Intermediate; Time to completion: 20 minutes)
37
This page intentionally left blank
CHAPTER
2
AutoCAD Fundamentals Part II
39
LEARNING OBJECTIVES You learned a great deal in the first chapter, in fact the majority of what you need to know to get started on a design. This chapter serves as a “clean up” and concludes the basic introduction to AutoCAD, as there are just a few more topics to get to. Here, we discuss the following: l Using grips l Setting units l l l
Using Snap and Grid Understanding the Cartesian coordinate system Geometric data entry
Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 1 Chapters 1–10
l
l l l l l l l l l
Inquiry commands: m Area m Distance m List m ID Explode command Polygon command Ellipse command Chamfer command Templates Setting limits Save Help files TANgent OSNAP
Bytheendofthechapter,youwillhavelearnedallthenecessarybasicstobegindrafting yourirstproject,includingsettingproperunits,analyzingwhatyouhavedone,andsaving yourwork.AfteranintroductiontolayersinChapter3,youwillbeginarealisticarchitectural design. 40
Estimatedtimeforcompletionofchapter:2hours.
2.1 GRIPS WebeginChapter2withgrips,anaturalprogressionfromlearningtheOSNAPpoints. Thesearerelativelyadvancededitingtools,butchancesareyoualreadymadethemappear byaccidentbyclickinganobjectwithoutselectingacommandirst.ThatisOK;justpress Escandtheygoaway.But,whatarethesemysteriousbluesquares?Takeacloselook;after learningOSNAPs,theseshouldlookfamiliar. Gripsarecontrolpoints,locationsonobjectswhereyoucanmodifythatobject’ssize, shape,orlocation.Theyarequitesimilartothe“handles”thatyouindinPhotoshop®or Illustrator®ifyouarefamiliarwiththoseapplications. Totryouttheconcept,irstdrawsomelines,arcs,circles,andrectangles.Thenactivategrips byclickingonanyoftheshapes(asseeninFigure2.1).Theobjectsbecomedashedandthe gripsappear.Whenyourmousehoversoveroneofthem,thegripturnspink.Ifyouclick onit,itbecomesred,meaningitisactive(orhot).Withthegripactivated,movethemouse around.Theobjectchangesinoneofseveralways.Alineorcirclecanbemovedaroundif thecentergripisselected.Acirclecanbescaledupordowninsizeiftheouterquadrantsare selected.Arcscanbemadelargerortheirlengthincreased.Othergrips,suchastheendpoints ofalineorcornersofarectangle,change(orstretch)theshapeofthatobjectifactivatedand moved.Trythemallout. Thereisofcoursemuchmoretogrips.Formallyreferredtoasmultifunctional grips,they performotherconstructiontasksviaanavailablevertexmenuthatappearsifyouholdyour mouseoverthem.Weexplorethisindepthinalaterchapter.
CHAPTER 2 AutoCAD Fundamentals Part II
FIGURE 2.1 Grips on circles, rectangles, arcs, and lines.
41
2.2 UNITS AND SCALE Wehavenotyettalkedaboutanydrawingunits,suchasfeet,inches,orcentimeters.When youpracticedtheoffsetcommand,youenteredavalue,suchas2or3,butwhatdiditmean? Well,asyouinadvertentlydiscovered,thedefaultunitsysteminAutoCAD,untilyouchange it,isasimpledecimalsystemofthetypeweuseineverydaylife.However,itisunitless, meaningthatthe2or3youenteredcouldhavebeenanything—feet,inches,yards,meters, miles,ormillimeters.Thinkaboutit:Itisaneasyandpowerfulidea,butitisuptoyoutoset theframeofreferenceandsticktoit.So,ifyouaredesigningacityand1isequaltoamile, then2istwomilesand0.5ishalfamile.AutoCADdoesnotcare;itgivesyouasystemand letsyouadaptittoanysituationordesign.Then,youjustdrawinreal-lifeunitsor,aswesay inCAD,1-to-1units.ThisistheGoldenRuleofAutoCAD.Always draw everything to real-life size.Donotscaleobjectsupordown. AdecimalsystemofunitsisOKformanyengineeringapplications,butwhatabout architecture?Architectsprefertheirdistancesbrokendowntofeetandinches,becauseit isalwayseasiertounderstandandvisualizeadistanceof22'-6"than270".Toswitchto architecturalunits,typeinunitsandpressEnter,orselectFormat→Units…fromthe cascadingmenus,andthedialogboxinFigure2.2appears. SimplyselectArchitecturalfromthedrop-downmenuattheupperleftandignoretherestof theoptionsinthedialogbox;thereisnoneedtochangeanythingelseatthispoint.Now,as youdrawandenterinunits,theyarerecognizedasfeetorinches.Toenterin5feet(suchas whenusingtheoffsetcommand),type5'.Toenterin5inches,thereisnoneedforaninch sign,justtypeinthenumber5;AutoCADunderstands.Tomixfeetandinches,typein5'6, whichisofcourse5'-6";thereisnoneedforahypheneither.
LEVEL 1 Chapters 1–10
42 FIGURE 2.2 Drawing Units dialog box.
2.3 SNAP AND GRID Thesetwoconceptsgohandinhand.Theideahereistosetupaframeworkpatternonthe screenthatrestrictsthemovementofthecrosshairstopredeterminedintervals.Thatway, drawingsimpleshapesiseasybecauseyouknowthateachjumpofthemouseonthescreen isequaltosomepresetunit.Snapisthefeaturethatsetsthatinterval,butyouneedthegrid tomakeitvisible.Onewithouttheotherdoesnotmakesense,andusuallytheyaresetequal toeachother.SnapandGridarenotusedthatoftenintheindustry,butitisagreatlearning tool,andwedosomedrawingsattheendofthischapterusingthem.Italsohelpsknowing aboutthisfeature,asitisofteninadvertentlyactivatedbypressingtheSnaporGridbuttons atthebottomofthescreen.
To Set Snap Typeinsnap. m
AutoCADsays:Specify snap spacing or [ON/OFF/Aspect/Style/Type] > Expression:,atwhichpointyoucanentersomemathfunctionusingthe familiarcharacterssuchas,,*,and/.PressingEnteragainyieldsananswer. 362
Nottoolongagothelimitofthecalculatorwas32,767and32,768asthelargestdisplayable inalinteger,butthatrestrictionwasliftedsomewherearoundtheAutoCAD2005release,and youcannowworkwithintegernumbersbetween2,147,483,647and2,147,483,648(that is2tothe15thand31stpowers,respectively,ifyoureallywantedtoknowwherethoseseemingly randomnumberscamefrom). Letususethepreviouslydescribedcalcommandtoassistindesign,becausecrunching numbersalonecanbedonebyyourhandheldorWindowscalculator.Supposeyouneed tooffsetalineonehalfofsomenumber,butyoudonotknowwhatthatvalueis(sayone halfof17.625",forexample).Insteadofreachingforthatcalculator,letAutoCADdoboth: calculateonehalfof17.625aswellasoffsettheline,allinonecommand.Todothis, 1. Drawalineofanyreasonablesize. 2. Starttheoffsetcommandviaanymethod. 3. Youdonotknowtheoffsetdistancesoletususethecalculator. 4. Typein‘cal(theapostrophemakescal,oranycommand,temporarilytransparent, meaningyoucanenteritwithoutexitingoutofanother,in-progresscommand,whichin thiscaseisoffset).PressEnter. 5. The>>>> Expression:promptasksfortheexpression.Enter17.625/2andpressEnter. 6. Youranswer(8.8125)appears,andyoumayresumetheoffsetcommand. 7. Continuingasusual,selectthelineandpickadirectiontocompletetheoffsetandEsc toexit. Thiswasaverysimplecaseofhowthecalculatorassistsindesigntasks.Itcandoalotmore inthatregardandyouareencouragedtoexaminetheHelpilesforadditionalexamples. Thecalculatorfunctionisnotjustatypedcommandlinebutalsonowcomesinagraphic version.Ifyouusethisgraphicversion,youareusingwhatisreferredtoasaQuickCal.Itis almostawholenewcommandalltoitselfandhasquiteabitmorefunctionality.
CHAPTER 15 Advanced Design and File Management Tools
StartuptheQuickCalcommandviaanyoftheprecedingmethodsandyouseeFigure15.13.
363
FIGURE 15.13 QuickCalc.
TheNumberPadandScientiickeypadsareself-explanatory.Ifyoueverusedahandheld calculator,youshouldberightathomewiththisone.Variables,atthebottom,arenot covered,butUnitsConversiondeservesaspecialmention.Itisaveryusefultoolforconverting betweenawidevarietyofLength,Area,Volume,andAngularvalues.Simplyselectfromthe ieldsontheright(drop-downarrowsappear)andenterthevaluestoconvertjustbelowthat. Aconvertedvalueappearsaccordingtowhatyourequested.
15.8 DEFPOINTS Defpointsisnotacommand,butratheraconceptthatappearsoftenandbearsashort mention.Defpointsstandsfordeinitionpoints,andtheyappearinthedrawing(and
LEVEL 2 Chapters 11–20 mysteriouslyintheLayersdialogbox,wheremostusersirstnoticethem)assoonasyou addanydimensiontoyourdrawing.Whataretheyexactly?Theyarethetinypointswhere adimensionattachesitselftotheobjectbeingdimensioned.TheDefpointslayerdoesnot goawayeasilyandusuallypromptsquestionsfromstudentsastoitsnatureandintent.The layerfortunatelydoesnotplot,andyoucanprettymuchdisregarditsexistenceifyouchoose. Onebeneitofitnotplottingisthatyoucanputanyobjectsthatyoudonotwanttoseeon paperonit(suchasviewports,asisdiscussedinChapter10).Infact,thatisexactlywhat manyusersdo,thoughadedicatedVPlayerisrecommendedinstead.Inconclusion,donot worryaboutDefpointsandcontinueon.
15.9 DIVIDE AND POINT STYLE Dividedoesexactlywhatitadvertises;itdividesanobjectintoequallyspacedintervals. Notehoweverthattheobjectisnotactuallybrokenintothosesegments(thatisforabreak commandtodo)butratherjustdividedbyequallyspacedpoints.Then,youcanusethese pointsasguidesforfurtherwork.Letusgivethisatry. Step 1.Drawahorizontallineofanysize. Step 2.TypeindivideandpressEnter.Alternativelyyoucanusethecascadingmenu Draw→Point→Divide.ThereisnotoolbarorRibbonequivalent. m AutoCADsays:Select object to divide: Step 3.Selecttheline. m AutoCADsays:Enter the number of segments or [Block]: Step 4.Entersomevalue,10,forexample,andpressEnter.
364
Thelinelooksthesame,withnoapparentdivisions.Itseemsasthoughthecommandhas notworked.Itactuallyworkedjustine,andthelineisdividedintothetensegmentsusing ninepoints,asexpected.Theproblemisthatyoucannotseethepoints;theyareobscured bytheline,andweneedtochangethepointstyletosomethingmorevisible.Usingthe cascadingmenus,selectFormat→Point Style.Youwillthenseethedialogboxshownin Figure15.14.
FIGURE 15.14 Point Style.
Selectapointstylethatisnottoocomplex;theXformatinthetoprow(secondfromright) isapopularone.PressOKandthedividedlineappearsasyouwereexpectingit,dividedinto thetenvisiblesegments(Figure15.15). So,howexactlycanyouusethistoyourbeneit?Well,theNodeOSNAP,whichisdiscussed laterinthischapter,allowsyoutoconnecttopoints.Ifyouactivateit,youcanattachnew
CHAPTER 15 Advanced Design and File Management Tools
FIGURE 15.15 Divided line.
geometry,perhapsnewlines,tothoseXs.Thisisquiteusefulinbasicconstructionand layout.Noteaninterestingquirk.Ifyouzoominorout,thepointschangesize,butrevert backto“standard”sizeupontypinginregen.
15.10 DONUT Althoughthiscommandseesonlyoccasionaluse,itisstillworthamention.Itcreatesexactly whatitadvertises:adonutofvaryingsize.Brokendownintoitscomponents,adonutistwo circlesofdifferentsize,oneinsidetheother,andasolidhatchill.Youcantechnicallycreate thisshapewithexistingtechniques,butthedonutcommandjustmakesiteasier.Youhave controloverthesizesofbothcirclesand,asaresult,thesizeofthedonut.Theinnerillis alwaysasolidhatch.Letusgiveitatry. Step 1.StartthedonutcommandbytypingindonutandpressingEnter.Alternativelyyou canusethecascadingmenusDraw→Donut. m AutoCADsays:Specify inside diameter of donut : Step 2.YoucanacceptthisbypressingEnterortypeinanothervalue(weacceptthe0.5in thisexample). m AutoCADsays:Specify outside diameter of donut : Step 3.Onceagain,youcanacceptthisvalueortypeinyourown(weacceptthe1.0inthis example). m AutoCADsays:Specify center of donut or : Step 4.Clickanywhereonthescreenandthedonutappears,asseeninFigure15.16.
FIGURE 15.16 Donut.
15.11 DRAW ORDER Draw Orderreferstothestackingorderofobjectspositionedoneontopofanother.This featureiscommonlyusedinmostgraphicdesignprogramsandhasanoccasionalusein AutoCADaswell.Thestackingorderisusuallynotofmajorconcerninday-to-daybasic drafting.Ifitemsintersect,theonedrawnlastisontop;andincasesoftwointersectinglines, theintersectionpointisonepixelinsize,hardlyworthasecondthought. Sometimes,however,suchaswhentwoormorehatchpatternsarestacked,theorderis critical.WeusethisfeaturelaterinthischaptertogreateffectwhenwediscussWipeout.For now,justknowwheretheDrawOrdercommandis.Itisfoundinthecascadingmenuunder Tools→Draw Order,withoptionsforObjects,Text,Hatches,andDimensions. BringtoFrontandSendtoBacksendobjectsstrictlytoandfromthetopandbottomofthe order,whileBringAboveObjectsandBringBelowObjectsaremoreselective,movingitems onestepatatime.Withthesefourtools,youcanarrangeanyamountofobjectsinanyorder.
365
LEVEL 2 Chapters 11–20
15.12 eTRANSMIT Thepurposeofthiscommandistoassistwithemailingdrawings.Theproblemisthat,when drawingsaresentout,itemscanbeinadvertentlyomitted.Theseomissionsmayinclude somethingmajor,likeassociatedxrefs,orsomethingsecondary,suchasfontsandstyles.As aprojectgrowsmorecomplexitiseasytoforgettosendxrefsandeveneasiertoforgetabout theuniquefonts,styles,andctbilesthathavebeengeneratedovertime.Therecipientofthe emailmayhaveonlysomeoftheseandwhatheorshedownloadsandreconstructsonthat endmaynotbequitewhatyoumayhaveintendedtobeseen. TheeTransmitcommandisago-getterofsorts.Itsniffsouteveryassociatedileand everythingelsethatmayberelevanttorecreatetheile(s)inanewlocationasoriginally intended.Then,itpackageseverythingtogetherinafolderandsendsitout.Whileveteran usershaveremarkedthatanexperiencedandawaredesignerneedstoalwayshaveaclear ideaofwhattosend(eTransmitisarecentinvention,afterall),itisstillavaluabletoolfor novicesandexpertsalike. So,whatis(andwhatisnot)includedintheeTransmittransmittal?Hereisapartiallistof whatisincluded.Youshouldknowofmostoftheseiles.IfnotrefertoAppendixC. *.dwg.Rootdrawingileandanyattachedexternalreferences. *.dwf.Designwebformatilesthatareattachedexternallytotherootdrawingorxrefs. *.xls.MicrosoftExcelspreadsheetilesthatarelinkedtodataextractiontables. *.ctb.Color-dependentplotstyleilesusedtocontroltheappearanceoftheobjectsinthe
drawingsofthetransmittalsetwhenplotting. *.dwt.Drawingtemplateileassociatedwithasheetset. *.dst.Sheetsetile. *.dws.Drawingstandardsileassociatedtoadrawingforstandardschecking.
366
Hereisapartiallistofwhatisnotincluded.Donotworryifyoudonotrecognizeallthese formats.YouwillknowmostofthembytheendofLevel2. *.arx,*.dbx,*.lsp,*.vlx,*.dvb,*.dll.Customapplicationiles(ObjectARX,
ObjectDBX,AutoLISP,VisualLISP,VBA,and.NET). *.pat.Hatchpatterniles. *.lin.Linetypedeinitioniles. *.mln.Multilinedeinitioniles.
TouseeTransmit,saveyourworkbutkeeptheileopen.TypeinetransmitandpressEnter. AlternativelyyoucanusethecascadingmenuFile→eTransmit….Thereisnotoolbaror Ribbonalternative.Youareaskedtosavetheileifithasnotbeensavedyet.Then,thedialog boxinFigure15.17appears. Theprocedureishighlyautomated,butyoudohavetoselectafewparameters.Thecurrent drawingthatisopenistheonethatispackagedtogether.Someoftheincludeditemsare shownintheiletree.Expandingthe signsshowsspeciiciles(whichyoucandeselectif desired).YoualsoaddmoredrawingstothetransmittalusingtheAddFile…button.Ifyou areinewithjustthecurrentdrawing(andwhatisincludedinit)thenpresstheTransmittal Setups…button.YouthenseethedialogboxshowninFigure15.18. Letuscreateanewsetupasanexercise.PresstheNew…buttonandthedialogboxin Figure15.19appears.GivethetransmittalanameandpressContinue.Thedialogboxin Figure15.20thenappears. Allyoureallyhavetodohereisvisuallycheckallthesettings.Lookingattheieldsfrom theleft,toptobottom,weseetheZipoptionforactuallysendingtheiles(recommended), followedbyavarietyofinformationrelatedtoformats,names,andlocations.Unlessyou haveaspeciicreasontochangesomething,leaveeverythingasdefault.Ontheright-hand
CHAPTER 15 Advanced Design and File Management Tools
FIGURE 15.17 Create Transmittal.
367
FIGURE 15.18 Transmittal Setups.
FIGURE 15.19 New Transmittal Setup.
LEVEL 2 Chapters 11–20
FIGURE 15.20 Modify Transmittal Setup.
368 side,toptobottom,leaveeverythingundertheActionscategoryasdefault(unchecked)as wellaseverythingundertheIncludeoptionscategory(middlethreeboxeschecked). WhendonepressOK,thenCloseinthenextdialogbox(Figure15.18),andinallyOK inthemainsetupbox(Figure15.17).YouareaskedwheretoputtheZipileandforany last-minutenamechanges.PressingSavedropstheZipileintoitsplace,anditisreadyfor emailing.
15.13 FILTER Filterswerebrielydiscussedinthecontextofadvancedlayers(Chapter12).Whiletheideas introducedhereareroughlysimilar,theapplicationisslightlydifferent,soletusreviewthem fromthebeginning. Filtersarenothingmorethanamethodtoisolateandselectobjectsusingtheirfeaturesor properties.So,forexample,youcanisolateandselectallthecirclesbyvirtueofthembeing circles,andindgreenobjectsbecausetheyallhavethecolorgreenincommon.Youcanalso addtogetherpropertiesandcreaterequestslike“Findmecirclesthatareredonly”andso on.Thisisagoodtoolforquicklyindingstuffinacomplexdrawing.Onceyouindthese objects,youcanthenchangetheirproperties,deletethem,ordowhateverelseisneeded. Toexperimentwithilters,letusirstcreateasimpledrawingthatisjustacollectionof shapes.Drawthesetofcircles,rectangles,andarcsseeninFigure15.21.Then,changethe shapes’colorstoblueorred. TypeinfilterandpressEnter.Thereisnocascadingmenu,toolbar,orRibbonequivalent. ObjectSelectionFiltersappears,asshowninFigure15.22.Theprocedurehereistoirst selecttheilter,thenaddittothelist,andinallyapplyit.
CHAPTER 15 Advanced Design and File Management Tools
FIGURE 15.21 Basic shapes for filters.
369 FIGURE 15.22 Object Selection Filters.
SelectArcfromtheSelectFilterdrop-downmenuontheleft.ThenpresstheAddtoList: buttonjustbelowthat.Forgoodmeasure,letusalsoaddthecolorred.Selectthecolorfrom thesameSelectFiltermenu.Notice,atthatpoint,theSelectbuttonlightsup.Goaheadand selectthecolorred.Then,pressAddtoList:.YouriltershouldlooklikeFigure15.23.
FIGURE 15.23 Objects and colors selected.
Now,presstheApplybutton.AutoCADasksyoutoselectobjects.Selecteverythingbytyping inall.EveryredarcinthedrawingbecomesdashedaftertheirstEnter.PressEnteragain andthegripscomeon,asseeninFigure15.24.NowtypeinEraseandpressEnter.Because theyareselected,alltheredarcsdisappear.FilterscanbesavedforfutureuseviatheSaveAs: buttonandthelistingcanbemodiiedordeletedviatheEditItem,Delete,andClearList buttons.
LEVEL 2 Chapters 11–20
FIGURE 15.24 Segmented arcs selected by filter.
15.14 HYPERLINK Thehyperlinkcommandattachesahyperlinktoeitheranobjectortext.Duringthisprocess, youareaskedtospecifywhatthishyperlinkopenswhenactivated.Itcanbeawebsite(usually) oradocument(sometimes).Ineithercase,itisagreatcommandtoquicklyaccessadditional usefulinformation.Someone,forexample,canseeadrawingofaproductandfollowthelink toawebsiteofthemanufacturerorcallupanExcelilethatlistsallthespecsofadesign. Totryoutthehyperlinkfeatures,drawasymbolforachair(makeablock)andatextwebsite address,asseeninFigure15.25.
370
FIGURE 15.25 Chair and web address.
Wewouldliketolinkthechair(anobject)toafurniturewebsite(IKEA®,forexample)and linktheGoogletext(atext string)totheGooglewebsite. TypeinhyperlinkandpressEnter.Alternatively,youcanusethecascadingmenuInsert→ Hyperlink.ThereisnotoolbarorRibbonequivalent.AutoCADasksyoutoselectobjects.Go aheadandpickthechairblock.ThedialogboxinFigure15.26thenappears. Enterthenameofthedesiredwebsiteintheappropriateield.ThatiswhereitsaysTypethe ileorWebpagename,notTexttodisplay.Notmuchelseneedstobedone,sopressOK. RepeattheprocessfortheGoogletext. HoveryourmouseoverthechairthentheGoogletextandnoticethereissomethingnew. Ahyperlinksymbolappears,withtextpromptingyoutoholddowntheCtrlkeyandclick tofollowthelink(Figure15.27).Ifyourcomputeriscurrentlyconnectedtotheinternet, goaheadanddothatinbothcases(chairandGooglewebsite)tobringuptherespective websites. Thereisaninterestingvariationtothis,asmentionedearlier.Youneednotattachawebsite tothelink.Youcanalsoattacharegulardocument,soitiscalledupwhenthehyperlink isclickedon,asbefore.Prettymuchanythingcanbeattachedifitcanbefoundandthe computercanruntheapplication:Word,Excel,PowerPointdocuments,pictures,videos— younameit.
CHAPTER 15 Advanced Design and File Management Tools
FIGURE 15.26 Insert Hyperlink.
371
FIGURE 15.27 Hyperlink.
Todothis,followthesamestepsasbefore,butthistimeselecttheFile…buttonunderthe Browsefor:headerontherightsideofthedialogbox.Findtheileofinterest,double-click onit,andOKtheHyperlinkdialogbox.Thatisit;thedocumentisnowattachedtoyour objectortextandsupersedesanyotherlinksyoumayhave. Asainalnote,recallthatExpressToolshaveacategorycalledWebTools.Weskippeddiscussing theminChapter14becausethehyperlinkcommandwasnotyetintroduced.Takeafew minutesnowtolookoverwhatisavailable.TheseexpresscommandsincludetoolstoShow, Change,andFind&ReplaceURLs.TheseareusefulwhenyouhavemultipleURLsinyour drawingandneedtomanagethem.Thethreetoolsareverystraightforwardtouseandwedo notspendanyfurthertimeonthem.
15.15 LENGTHEN Thelengthencommandisquiteabitliketheextendcommandinitseffectbutgoesabout doingitdifferentlyandisworthaddingtoyourAutoCADvocabulary.Thecommandworks bylengtheningnon-closedobjects,suchaslinesorarcs(circlesandrectanglesdonot qualify).Youcanlengthentheobjectsbychangeinsize[DElta],bypercentageaddedor subtracted[Percent],bytotalinalsize[Total],ordynamically“onthely”[Dynamic]. Allthisappliestoangles(ofarcs)aswell.Totryitout,drawanarcandaline(Figure15.28).
LEVEL 2 Chapters 11–20
FIGURE 15.28 Arc and line for lengthen.
Step 1.TypeinlengthenandpressEnter.Alternatively,usethecascadingmenu Modify→Lengthen.ThereisnotoolbarorRibbonequivalent. m AutoCADsays:Select an object or [DElta/Percent/Total/DYnamic]: Step 2.PickthePercentchoicebytypinginpandpressingEnter. m AutoCADsays:Enter percentage length : Step 3.Enteravaluesuchas150andpressEnter. m AutoCADsays:Select an object to change or [Undo]: Step 4.Pickthelineanditlengthens150%.PressEsctoexitthecommand. Theprocessisessentiallythesamewiththearcandotherlengtheningoptions.Repeatthe commandseveraltimesandrunthrougheachoption.
15.16 OBJECT TRACKING (OTRACK) 372
ObjectsnaptrackingisadrawingaidthatallowsyoutoindvariousOSNAPpointsofan objectandconnecttothemwithoutactuallydrawinganythingthattouchesthatobject,a sortofremoteOSNAP.ThisfunctioncanbeactivatedwhentheOTRACKbuttonispressed inatthebottomoftheAutoCADscreenandisdeactivatedwhenthebuttonispressedback out.Thebestwaytoseethepurposeandfunctionofthiscommandistotryit.Drawaseries ofrectanglesorsquaresspacedsomedistanceapart,asshowninFigure15.29.Youneednot numberthem;thatisonlyforidentifyingpurposes.
FIGURE 15.29 Rectangles for OTRACK.
Whatwewanttodoisconnectaseriesoflinesfrom(andto)themidpointsofeachofthese shapesviarightangles(notdirectly).Anexampleofthismaybeacablediagramoran electricalschematic.Onewaywouldbetostartalinefromthemidpointoftherightsideof shape1,stopsomewhererandomly,andrepeattheprocessfromthetopofshape2.Then youcanusetrim,extend,orillettoconnectthelines.This,however,iscumbersomeand slow. Abetterwayistobeginthelinefromtherightsidemidpointofshape1asbefore(turnon ORTHOalso),butthenactivateOTRACKand,without clicking,positionthemouseoverthe
CHAPTER 15 Advanced Design and File Management Tools midpointofthetopofshape2.Astraightdashedverticallineappears.Followthatdashed linebackupuntilthemousemeetsthestraighthorizontaldashedline.Thenandonlythen, clickonceandcontinuetodrawthelinetoshape2.ThisisshowninFigure15.30.Notice whatOTRACKdoes.Itsenseswherethatmidpointofshape2isandgivesyouapositionto conirmandclickbeforeproceeding.Completesimilarlinesfromthebottomofshape2to thetopofshape3andthen4.
FIGURE 15.30 OTRACK in progress.
15.17 OVERKILL ThisinterestingcommandistechnicallypartoftheExpressToolsunderModify→Delete duplicate objects,butitismoreentertainingtotypeinitsratherdramaticothername.What overkilldoesthoughisquiteuseful.Itdeletesduplicateobjectsthatoverlapeachother.In the2DlatworldofAutoCAD,itcanbequitechallengingandtimeconsumingtoindthese overlaps,especiallyifsimilarshapesandcolorsareinvolved.Withoverkill,yousimplyselect theoffendingobjectsandAutoCADiguresoutwhichtokeepandwhichtodelete,effectively mergingthemallintoone. Totryitout,drawivelines,oneontopofanother.Althoughitmaynotbeobvioustoa novice,anexperiencedusernoticestheselinesareabitdarkerand“fuzzy,”indicatingthe presenceofanoverlap;itissubtlebutthere.NowtypeinoverkillandpressEnter.AutoCAD asksyoutoselectobjects.SelectallivelinesusingaWindoworCrossing(notoneatatime) andpressEnterwhendone.ThedialogboxinFigure15.31appears.
FIGURE 15.31 Overkill.
Youcanleaveallthedefaultsastheyare,pressingOKtohaveallthelinesmergeintoone line.Thisisprobablythesimplestapplicationoftheoverkillcommand.However,whatifthe linesareondifferentlayers?
373
LEVEL 2 Chapters 11–20 Inthiscase,youhavetocheckoffIgnoreLAYERSandthecommandmergesthelayersinto one.Numericfuzzworksbycomparingthedistancesbetweennearlyoverlappingobjects andactsonthemifthedistancefallsinsidethefuzzvalue.Overkillhasotherusefulfeatures aswell,sogothroughthecommand,referringtotheExpressToolsHelpilesformore information.
15.18 POINT AND NODE Youhavealreadyseenandusedpointswhenwediscussedthedividecommandearlierin thischapter.Inthatexample,pointswerecreatedasameanstodivideanobject.Toseethem clearly,youneededtomodifytheformofthepoint,fromadottosomethingmorevisible, usingFormat→Point Style…. Thepointcommandcanalsobeusedtocreatepointsfromscratch,asdescribednext.
Step 1.Startthepointcommandviaanyoftheprecedingmethods. m AutoCADsays:Current point modes: PDMODE=3 PDSIZE=0.0000 Specify a point:
374
Step 2.Clickanywhereandapointappears. Asyoumayimagine,pointsbythemselvesarenottoouseful,butchangethemtoanXand theycanbeusedtocreate“anchors”towhichyoucanattachgeometry.Forthis,youneedan OSNAPpointthatcandothat.ItiscalledNodeandisoneofthe13OSNAPs.Thesymbol isacirclewithanXsuperimposedonit.GoaheadandactivateNodeandpracticedrawing somelinesthatoriginatefromthepointsyoujustcreated.
15.19 PUBLISH ThePublishcommandisaconvenientwaytoprintmultiplesheets(layouts)allatonce. ThiscommanddependsonknowingthebasicsofPaperSpace,soyoumaywanttoreview Chapter10ifneeded.Assuming,however,thatyouhavedoneso,theideahereisquite simple.Whenailewithmultiplelayoutsisopened,thepublishcommandseesthemand allowsyoutoprintthemallatonce,asopposedtoclickingoneachtaboneatatimeand usingtheplotcommand.Forthisexample,ailecalledAltaElevationisopened.Itfeatures adesignspreadoutovertwolayouts:aPlanViewandanElevationView.Thepublish commandisthenstartedviaanyofthefollowingmethods.
CHAPTER 15 Advanced Design and File Management Tools ThedialogboxinFigure15.32thenappears.Notethatitcanbeexpanded,ifitisnot,by pressingtheShowdetailsbuttononthelowerleft.
375
FIGURE 15.32 Publish dialog box.
Thedialogboxfeaturessomeoptionstoine-tunepublishing,suchasaddingadditional sheets,plotstamp,decidinghowmanycopies,andafewothers.Allyouhavetodoatthis pointisjustpressthePublishbuttononthebottomandAutoCADwillprintoutonecopy ofeverysinglelayouttheilecontains.Itisquickandeasyandsavestime.Goaheadand explorethisveryusefulcommandonyourownforadditionalfeatures.
15.20 RASTER RasterisatermyoumayhearinAutoCADcircles,anditisnotsomuchacommandasa conceptingraphicdesign.Arastergraphicisnothingmorethanabitmap,whichinturn isagridofpixelsviewableonanydisplaymedium,suchaspaperoracomputermonitor. Thismethodofpresentinggraphicsstandsinmarkedcontrasttovectorgraphics,whichare basedonunderlyingmathematicalformulas.Vectorscanbescaledupordownwithnoloss ofclarity,whilebitmapscannot.Sorasterimagesarebasicallypictures.Thesecaneasilybe insertedintoAutoCADascoveredinapreviouschapter. RastergraphicsholdauniqueplaceinAutoCADhistory.Theywereneededtoimplementa massiveworldwideconversionfrompaper-basedhand-drawndesignstoCADiles.When itbecameobviousthatcomputer-aideddesignwasthefuture,millionsuponmillionsof hand-drawndocuments,spanningdecadesofdesignwork,werescannedintothecomputer, becamebackgrounds,andwerepatientlyredrawn.Governmentandprivateindustries
LEVEL 2 Chapters 11–20 aroundtheindustrialworldcollectivelyspentlargesumsofmoneyandmanyworkhours totransformthesearchivesintoviableCADilesforfutureuse.Mostofthisworkwasdone duringaten-yearspan(1988–1998),althoughsomeofitwasstartedpriorandsomework isstillongoing.Irecallputtinginsomesigniicantscreentimedoingtheseconversionsearly inmycareer,andforanewAutoCADuser,thiswasexcellent,ifboring,practice:scan,draw, print,check,andrepeat. Rasterscanningsoftwarecanbequitesophisticated.Atthetime,weusedregularlargesheet scannersthatsimplypulledupthegraphiconthescreen.Wethentuggedatituntilitwasthe rightsize(bycomparingadrawnlinetoascannedknowndimension).Later,weacquired moresophisticatedsoftwarethatactuallyrecognizedshapesandattemptedrecreatingthese piecesofgeometrytosomewhatmixedresults.Anysmudges,imperfections,oroddshapes couldconfusethesystem.Noiselevel(sensitivity)settingswereusedtocontrolhowmuch waspickedup,anditwasusuallybettertosetitlower,soyoucouldaddwhatwasmissing ratherthanconstantlyeraseaccidentallypickedupjunk.AsanAutoCADusertoday,youmay neverneedthesetools,butitisgoodtoknowwhattheyarejustincase.
15.21 REVCLOUD Thisisacommandthatthousandsofarchitectswerescreamingfor.Revisionclouds,or revcloudsforshort,areusedtoindicatechangesonadrawing.Youcanuseanellipse,rectangle, orcirclejustaswell,buttheseshapesblendtooeasilywithactualdesignwork,andthe unmistakablecloudshapeisabetterchoice.Revcloudswereoncedrawnusingarcs,an extremelytediousprocess.Finally,someprogram-savvydesignerswroteroutinestoautomate theprocess.Autodeskthenjumpedonboardandrevcloudswereborn.Letusgiveitatry.
376
Step 1.Startuptherevcloudcommandviaanyoftheprecedingmethods. m AutoCADsays: Minimum arc length: 0.5000 Maximum arc length: 0.5000 Style: Normal Specify start point or [Arc length/Object/Style]:
Step 2.Clickanywhereonce. m AutoCADsays:Guide crosshairs along cloud path... Step 3.Drawacircularshapedrevcloudconnectingthelastarctotheirstone(noextra clickingneeded). m AutoCADsays:Revision cloud finished. YourresultshouldlooksomewhatsimilartoFigure15.33(youmayhavetozoominorout toseetherevcloud). Thecommandhasseveraloptions.Forexample,ifyoudonotconnectthelastarctotheirst andinsteadjustright-click,AutoCADasksyou:Reverse direction [Yes/No] :. Hereyoucanactuallyturntherevcloud“insideout,”thoughthisisrarelydone.Youcan alsochangethesizeofthecloud’sarcsbyselectingtheArc lengthoption,andeventurn objects(likecircleandrectangles)intorevcloudsusingtheObjectoption.Takethetimeto experimentwithallofthese.
CHAPTER 15 Advanced Design and File Management Tools
FIGURE 15.33 Revcloud.
15.22 SHEET SETS LikemanynewfeaturesinAutoCAD,thesearenotrevolutions,ratherbutevolutionsof previousideas.Thistool,introducedinAutoCAD2005,wasmeanttocombinesomeaspects ofpaperspacelayoutsandthepublishcommandwithafewnewtwists,tocreatean“all underoneroof”methodofsettingupthepresentationandprintingofaproject.Theideais tosetupsheetsets(1Layout 1Sheet)thatdeineexactlywhatisneededtoplotoutthe entirejobcorrectly.Thesesheetscancomefromdifferentdrawingsandevendifferentjobs andaregroupedtogetherbytheirrespectivecategories.Theideaisthattheyarenoweasierto handleandorganize. Therehasbeensomereluctanceintheindustrytouseatoolthatsomewhatduplicatesexisting functionality(evenifnewfeaturesareadded),butafeworganizations,notsurprisinglyones thatproducejobsthatspandozensofsheets,tooktothissheetsetidea.Weprovideabrief overview,andyoucanthendecideifyouwanttopursuethisfurther. Tocreateasheetset,youneedtosetitup.GotoFile→New Sheet Set…andyouseewhatis showninFigure15.34.Selecttheirstchoice,anexamplesheetset,andpressNext.What isshowninFigure15.35appears.
FIGURE 15.34 Create Sheet Set, Begin.
377
LEVEL 2 Chapters 11–20
FIGURE 15.35 Create Sheet Set, Sheet Set Example.
378
Selecttheappropriatesheetset,ArchitecturalImperialforexample,andpressNext. Figure15.36appears.Hereyoucangivethesetanameandlocation.PressNext andwhat isshowninFigure15.37appears.Thevarioussheetsetssortedbycategoryarevisible.Press FinishandtheSheetSetManagerappears,asseeninFigure15.38.
FIGURE 15.36 Create Sheet Set, Sheet Set Details.
CHAPTER 15 Advanced Design and File Management Tools
FIGURE 15.37 Create Sheet Set, Confirm.
379
FIGURE 15.38 Sheet Set Manager.
Thiswasalljusttosetupthebasicsheets(placeholders).Theyarestillblankandneed drawingsassociatedwiththem.Right-clickontheArchitecturalfolderandselectImport LayoutsasSheet….WhatisshowninFigure15.39appears. YounowhavetobrowsefortherightdrawingassociatedwiththeArchitecturallayout. Continuedownthecategoriesuntilallareilled.Thisisjustthebasicideaofsheetssets.It isanextensivetoolthatcanspanmanymorepagesofdescriptions,andyoushouldexplore someofitonyourown.
LEVEL 2 Chapters 11–20
FIGURE 15.39 Import Layouts as Sheets.
15.23 SELECTION METHODS
380
Whatweoutlinehereareafewothermethodsofselectingitemsthatyoumayhavenot yetseen:theFence(F),Windowpolygon(WP),andCrossingpolygon(CP).Alltheseare applicablewhenselectingobjectsforanumberofoperationssuchaserase,move,copy,and trim. TotryouttheWindowpolygon: Step 1.Drawasetofcircles,asseeninFigure15.40.
FIGURE 15.40 Window polygon.
Step 2.Begintheerasecommandviaanymethodyouprefer. Step 3.Whenitistimetoselectobjects,typeinwpforWindow polygonandpressEnter. m AutoCADsays:First polygon point: Step 4.Clickanywhere. m AutoCADsays:Specify endpoint of line or [Undo]:
CHAPTER 15 Advanced Design and File Management Tools
Step 5.Continueto“stitch”yourwayaroundthecirclesyouwishtoselect,andright-click whendone. NoticethedifferenceherebetweenthestandardWindowselectiontool(strictlyrectangular innature)andthelexible“anyshapeyouwantit”Windowpolygon(Figure15.40).Its actionofcourseissimilar;everythingitenclosesisselected. TotryouttheCrossingpolygon: Step 1.Drawanothersetofcircles,asseeninFigure15.41,orjustundoyourprevioussteps.
FIGURE 15.41 Crossing polygon.
Step 2.Begintheerasecommandviaanymethodyouprefer. Step 3.Whenitistimetoselectobjects,typeincpforCrossing polygonandpressEnter. m AutoCADsays:First polygon point: Step 4.Clickanywhere. m AutoCADsays:Specify endpoint of line or [Undo]: Step 5.Continueto“stitch”yourwaythroughthecirclesyouwishtoselect,andright-click whendone. Asyoucansee,theCrossingpolygon(Figure15.41)worksthesameexactwayasthe Windowpolygon,exceptanythingittouchesgetsselected,muchlikehowtheregular Crossingoperates. Thefenceoptionworksbyhavingadrawnlinebethecuttingtoolduringatrimcommand andselectsmultiplelinestobetrimmed.Drawabunchofverticallines,andonehorizontal line,asseeninFigure15.42.Thenexecutethetrimcommand,butwhenitistimetoselect thelinestobetrimmed,typeinfforfence,andclicktwicetodrawalineacrossthelinesto betrimmed,inallypressingEntertomakethemdisappear.
FIGURE 15.42 Fence command and the results.
381
LEVEL 2 Chapters 11–20 Incaseyoudiscovereditonyourown,yes,youcanaccomplishtheexactsamethingusing aregularCrossingtoeliminatethelinesonceacuttingedgeisselected.However,thefence commandcomesinhandywhengoingaroundcorners,asthelexibleline-basedapproach canbendaroundanyshape,whiletherigidrectangularshapedcrossingcannot.Tryoutboth methods,aswellasusingfencearoundcorners.
15.24 STRETCH Thisisaneasycommandtolearnanduse,anditcanworkwondersforquickshapemodiications. ThestretchcommandusestheCrossingtooltoliterallystretchshapes.Createtworectangles,as seeninFigure15.43.
FIGURE 15.43 Rectangles for stretch.
Wewanttostretchtherightsidesofbothrectanglessomedistance.
382
Startthestretchcommandviaanyoftheprecedingmethods. UsingaCrossing(thisdoesnotworkwiththeWindowselector),selecttheirstquarterorso oftherectangles,asseeninFigure15.44.
FIGURE 15.44 Starting the stretch command.
Theybecomedashed.PressEnterandclickanywheretobeginstretchingthem,asseenin Figure15.45.YouneedtohaveOrthoonandallOSNAPsoff. Finally,clickelsewhereandtherectangleshaveanewlength.Youdidnothavetoexplode andredrawthemorusegrips.YoucanusetheDisplacementoptiontokeyinspeciicX,
CHAPTER 15 Advanced Design and File Management Tools
FIGURE 15.45 Stretch in progress.
Y,orZdistancesorstretchtoanotherOSNAPpoint.Notethatstretchdoesnotworkon partiallyselectedcirclesanditmoves,notstretches,fullyselectedones.
15.25 SYSTEM VARIABLES Thereisnotmuchtosayaboutsystemvariablesexcepttomakeyouawareofwhattheyare, soiftheycomeupinreadingofothertextsortheAutoCADHelpiles,youknowwithwhat youaredealing.SystemvariablesareYes/No,On/Off,or0,1,2,3typesofcommandsused toindicateapreference or a setting.AutoCAD2012hasover850ofthemforeveryconceivable variable(somethingthatchanges)inthesoftware,andlistingthemallisfutile,althoughif youwishtoseethemall,typeinsetvar,pressEnter,thentypein?,andpressEntertwice. Manysystemvariablesaresetgraphicallyviaadialogbox,andusersmaynotevenbeaware orknowitisasystemvariabletheyarechanging.PerusingtheHelpilesandAutoCAD literature,especiallyonanadvancedlevel,youindmanyreferencestothem.Knowing systemvariablesisimportantforthosewishingtolearnadvancedcustomization(suchas AutoLISP). Hereisausefulexamplethatistypedinonthecommandline.Supposeyouaremirroring textandthenewsetisbackwards,asseeninFigure15.46.
FIGURE 15.46 Mirrtext.
Thatisnotquiteright,asyouwanttexttobereadableevenaftermirroring,sosomesort ofsystemvariable(SV)needstobeset.TheresponsibleSViscalledmirrtext,anditisofthe On/Offvarietyrepresentedby0and1.Somehowitgotsetto1,andneedstobe0.Type inmirrtext,pressEnter,typeinthenewvalueof0,andpressEnteragain.Trythemirror commandagain—itshouldworkinenow. Asmentionedbefore,thisisjustoneexample;therearehundredsofothers.Keepaneyeout forthem.AfteryearsofusingAutoCAD,youwillamassaformidablecollectionofusefulSVs thatcanresolvesomethornyproblemsforlessexperienceddesigners.
15.26 TABLES Ifyouhavenotyetusedtables,hereisaquickprimeronthem.Theyareprettymuchwhat youmightexpect,abunchofrowsandcolumns,withaheaderontop,readyforyoutoenter
383
LEVEL 2 Chapters 11–20 information.Youcanspecifythenumberofrowsandcolumnsandaddortakethemaway atalatertimeaswell.Tablesaresortoflikelow-techExcelspreadsheetsandcanbeusefulin certainsituations(likewhenyouneeddatadisplayedinahurry).Wecoversomebasicshere andletyouexploremoreonyourown.
Startthetablecommandviaanyoftheprecedingmethods.YouseeFigure15.47.
384
FIGURE 15.47 Insert Table.
UndertheColumn&rowsettingscategory,setyourcolumnsandrowsaswellastheir respectivewidthsandheights(wedoa10 10here).WhendonepressOKandyouare askedtoclickwhereyouwantthetabletogo.Whenyoupositionit,youseewhatisshown inFigure15.48. Here,youareaskedtosetuptheheader.TypeinSampleDataTableandpressOK.Yousee thecompletedtableinFigure15.49.Youcannowillinthetablewithdatabyclickingin eachindividualcellandtypinginvalues,asseeninFigure15.50. Thereismoretothiscommand,suchassizingandmodiicationofthetable,aswellassome abilitytolinkupwithExcelspreadsheets,sogoaheadandexploreitfurther.Youcanalsoset upstylesoftablesbyirstusingthetablestylecommand,whichgivesyouthedialogboxfor “designing”atable(Figure15.51). PressNew…andgiveyourstyleaname.YouthengettheNewTableStyledialogbox(Figure 15.52).Hereyoucanworkwiththegeneralproperties,text,andbordersofthenewtable, similartoanExcelspreadsheet,anddesignacustomstylethatitsyourneeds.
CHAPTER 15 Advanced Design and File Management Tools
FIGURE 15.48 Insert header.
FIGURE 15.49 Fill in header.
385
FIGURE 15.50 Fill in individual cells.
FIGURE 15.51 Table Style.
LEVEL 2 Chapters 11–20
FIGURE 15.52 New Table Style.
15.27 TOOL PALETTE Thisusefulpalette,showninFigure15.53,canbeaccessedbytypingintoolpalettesand alternativelyviacascadingmenuTools→Palettes→Tool PalettesorbypressingCtrl 3. Itmayalsobeonyourscreenalready,buthiddenawayofftotheside.Toseeit,youhaveto hoverthemouseoverthepalette’sspineanditrevealsitself.This“auto-hide”featurecanbe disabledviaaright-click(onthespine)menu,seeninFigure15.54. 386
FIGURE 15.53
FIGURE 15.54
Tool Palettes, All Palettes.
Tool Palettes, Spine menu.
CHAPTER 15 Advanced Design and File Management Tools Thetoolpaletterepresentsacollection of commonly used commands and predefined blocks. WhatyouactuallyseewhenthepalettecomesupmaybedifferentfromFigure15.53,asit dependscompletelyonwhatmenuispulleduporwhattabisclicked.Inallcases,tousethis palette,justclickonacommand(orclickanddrag)anditisexecutedasthoughyoutyped orselectedatoolbaricon.Toaccessmoremenus,simplyright-clickonthegray“spine.”As mentionedbefore,themenuinFigure15.54appears. Evenmoretabsareavailableinthispalette.Gotothebottomleftofthetabs(whereitlooks likeseveraltabsarebunchedtogether)andleft-click.Anotherextensivemenuappears,as showninFigure15.55.
FIGURE 15.55 Tool Palettes, Tabs menu.
Takethetimetogothrougheachofthemenuchoices.Theamountofavailableblocksis quiteextensive. Althoughwedonotgointothisfurther,youmayalsocustomizewhattabsyouhaveavailable bycreatingyourownandaddingcustomcommandsandblockstoit.Thisissimilartocreating newtoolbarsusingtheCUI,ascoveredinChapter14.Youcanalsomodifyexistingcommands inthetabs;inally,theentirepalettecanbehidden,docked,andevenmadetransparent,soit isalwaystherebutyoucanseewhatyouaredoingunderneathit,aneat,ifdistracting,trick. Explorealltheoptions;mostareeasytoigureoutandself-explanatory.
15.28 UCS AND CROSSHAIR ROTATION RotatingthecrosshairsortheUCSiconisaveryusefultrickforworkingwithtiltedshapes. Noteverythingyouworkonwillbeperfectlyhorizontalandvertical.Somedesigns,orparts thereof,willberotatedatsomeangle,anditwouldbenicetoalignthecrosshairstothem. Thisallowsforeasierdrawingandbetterorientationforthedesigner.Commandssuchas Orthocannowbeimplementedatthenewtiltedangle. RotatingtheUCSiconistechnicallynotthesameasrotatingjustthecrosshairs,butwedo notsplithairs(sotospeak)overtheconceptualdifferences,andwetreatbothmethodsas equivalentfornow.TherearetwowaystorotatetheCrosshairs/UCSicon:thelegacymethod priortoAutoCAD2012(usingsnaportheUCScommand)andthenewmethodviatheUCS icongripsmenu,whichwecoverirst.
Method 1 InAutoCAD2012,theUCSicongainedsomenewfunctionalityintheformofgrips.Itseems likeanoddplacetoaddgrips—theiconisnotaconstructionobjectafterall—butitworks
387
LEVEL 2 Chapters 11–20 well.Todemonstrate,drawarectangletiltedata45°angleandclickontheUCSicon.You seethreegripsappear.Theouteronescanbeclickedagaintomanuallyrotatetheicontoany desiredangle.Theinneronecanbeusedtomovetheiconaround.Eachofthegripsreveals amenuaswell.Weignoretheinnergripfornowandfocusontheouterones.Selectthe RotateAroundZAxischoice(Figure15.56)andAutoCADpromptsyoutoenterarotation angle(also45°inthiscase).
FIGURE 15.56 UCS grip menu.
Onceyouenterthevalue,thecrosshairsrotateandturnacolorfulgreenandred.Seethe rotationofthecrosshairsinFigure15.57.IfyouhaveOrthoon,youcannowdrawlinesthat arealignedtoyourrectangle.
388
FIGURE 15.57 Rotated crosshairs.
Notethatyoucanalsoachievethesameresultbythesefollowingsteps: Step 1.TypeinucsandpressEnter. m AutoCADsays:Specify origin of UCS or [Face/NAmed/OBject/Previous/ View/World/X/Y/Z/ZAxis] : Step 2.TypeinzandpressEnter.YoualwayswanttorotatearoundtheZaxisin2D. m AutoCADsays:Specify rotation angle about Z axis Step 3.Typein45°forthisexample.TheUCSiconisrotatedalongwiththecrosshairs.
ToreturnbacktotheusualorientationoftheUCS/Crosshairs,youcantypeinucs,press Enter,andtypeinwforWorld,orselectWorldfromthecentergripmenu,asseeninFigure 15.58.
Method 2 Thislegacymethoddoessomethingdifferent:ItrotatesthecrosshairsbutnottheUCS icon.Itisaminorvariationonthesameidea,butitisoneyoushouldbeawareof.In2D AutoCAD,thismakesnopracticaldifference,asstatedearlier.In3D,thereisamoresigniicant consequence,andtheUCSmethodisused.
CHAPTER 15 Advanced Design and File Management Tools
FIGURE 15.58 UCS World.
Step 1.TypeinsnapandpressEnter. Step 2.TypeinroandpressEnter. Step 3.Forbasepoint,typein0,0. Step 4.Forangleofrotationtypeinperforperpendicular. Step 5.Selectanangledline. Step 6.TurnofftheSNAPcommand. Togetbacktonormal,repeatallsixsteps,excepttypein0atstep4.
15.29 WINDOW TILING Thisisjustasimpletoolforallowingviewingoftwodrawingssidebysideinaconvenient manner.OpenuptwodrawingsinonesessionofAutoCADandpressRestoreDown(middle button)attheupperrightforoneofthedrawings,sothetwodrawingsaretiledoneon topoftheother.YouseesomethingsimilartoFigure15.59.Then,selectWindow→Tile Verticallyfromthedrop-downmenuasseeninFigure15.60.Afterthebuttonisclickedon, youseewhatisshowninFigure15.61.Theactivedrawingishighlighted.
FIGURE 15.59 Window tiling, start.
389
LEVEL 2 Chapters 11–20
FIGURE 15.60 Window→Tile Vertically.
390
FIGURE 15.61 Window tiling, end.
Bothdrawingsarelinedupneatlyonthescreen.Youcannowclickinandoutofeachand usecopyandpastecommandstotransferitemsifnecessary.Thesamethingcanofcoursebe doneforahorizontaltiling.
15.30 WIPEOUT Forreasonsthatmaynotbeimmediatelyapparentbutareexplainedindetail,thiscommand isoneofthemostimportantin2Dinproducingdrawingsthatnotonlypossessextraordinary claritybutareeasytoworkwithandmodify.Whenusedproperly,wipeoutistrulyan “insiders’”secret,notknownbybeginnerstudents,andoneofthereasonswhydrawings donebyAutoCADexpertshavethatintangible“something”thatsetsthemapartfromthose donebylessexperienceddesigners. First,letusdeinewhatwipeoutis.Itissimplyatoolthatcreatesamask(orscreen)that blocksouttheviewer’sabilitytoseeotherdrawngeometrycoveredbythewipeout.Touse
CHAPTER 15 Advanced Design and File Management Tools it,drawashapeofsomesort.Thentypeinwipeout,pressEnter,andclickyourwayaround allorpartoftheshape.WhenyoupressEnterorright-click,theshapedisappearsbehindthe wipeout,asseeninFigure15.62.
FIGURE 15.62 Creating a wipeout and the result.
Noticethewipeoutitselfisstillvisible(somethingtobeaddressedlater),butthedouble circleshapehasbeenpartiallyblockedasexpected.Practiceusingthiscommandafewtimes justtobecomefamiliarwithit. Rememberthatawipeoutitselfisanobject.Itcanbemoved,erased,copied,rotated,scaled, andjustaboutanythingelseyoucandotoaregulargeometricobject.Youcanalsoclickon thewipeout(clickonthelines,nottheblankcenter)toactivateitsgrips.Thenthegripscan beusedtoreshapeitintoanyshapewhatsoever,asseeninFigure15.63.
391
FIGURE 15.63 Wipeout grips.
So,whatissoimportantaboutwipeout?Well,thiscommandallowsustodosomethingvery specialin2Dwork.Wecangiveourdesignsdepth. Whenyoulookaroundyouintherealworld,objectsaregenerallynottransparent.So,if youarelookingatabusinfrontofabuilding,partofthebuildingisobscuredbythebus. Ifanothercarweretoparkbetweenyouandthebus,itwouldobscurepartofthebus,and soforth.In3D,thisisnoproblematall.Allobjectsaresolid,andwhiletheycanbeviewed intransparentwireframeform,aclickofthebuttongivesyourenderedmodelsthatcreate an instant illusion of depth.Thisisimportant,asitmatchesoureverydayexperienceandwe quicklyidentifywhatwearelookingat.IntheimageinFigure15.64,thechairandthe computermonitorbothblockapartofthecomputerdesk.Itiseasytotellwhatisinfront ofwhatintherenderedimageontheleft,butnotaseasywiththewireframeimageonthe right. Letustrythesamethingwiththebusandcar,asseeninFigure15.65.Whichisinfrontof which?Youreallycannottellwithoutshadingtheimage,asinFigure15.66.
LEVEL 2 Chapters 11–20
FIGURE 15.64 Solid and wireframe images.
FIGURE 15.65 392
Bus, building, and car—wireframe.
FIGURE 15.66 Bus, building, and car—solid.
In2D,though,wehaveaproblem:Wecannotshadeintheconventionalsense.Everything isdrawnusinglinesandnothingissolid,eventhoughitmaybeinreallife.Inaplanview ofanarchitecturalloorplan,thisisnotanissue,aswearelookingstraightdown,butwhat aboutinelevationview,suchasthepreviousimages?Asectionthrougharoominelevation viewmayfeaturefurnitureobscuringwallsandwallsobscuringotheritemsbehindthem.Or, inelectricalengineering,wehaveequipmentonarackobscuringmountingholes.Toprovide realismandasenseofdepth,weneedtosomehowobscureourviewofitemsnotseen.Of course,youcantrimlineworkbehindtheobject,butwhatiftheobjectmoves?Younowhave agapinghole.Weneedawaytotemporarilyobscureandhidegeometrythatistieddirectly totheobjectdoingthehiding,soifitmoves,thelineworkreappears.Wipeoutisthesecretto thattrick. InFigure15.67,noticehowtheequipmentboltedtotherackobscurespartoftherack.Now, iftheequipmentismoved,suchasinFigure15.68(noticethenumberstotheleftchange from20U–22Uto8U–10U),thewipeoutmoveswithitanditactslikeasolidobject.The moveissuccessfullydonewithnotrimmingnecessary.
CHAPTER 15 Advanced Design and File Management Tools
FIGURE 15.67 Electrical gear on a rack with a wipeout.
FIGURE 15.68 Electrical gear relocated.
Whatifyoudidnothaveawipeout?SuchisthecaseinFigure15.69.Noticethattherackis visibleunderneaththeequipment,givingnoindicationofdepth.Youwouldhavetotrim linestoachievethis.
FIGURE 15.69 Same gear with no wipeout.
Insummary,whenawipeoutisattachedtoanobject,itpreventsanythingbehinditfrom beingseen,exactlyasinreallife.So,abookshelfwithawipeoutattachedblocksthewall behinditandelectricalequipmentblocksthemountingholestowhichitisattached.Move theobjectandthewipeoutmoves,alsoblockingoutwhateveryouhappentobeblocking. Thisisthetechniquethattheprosusetogivedrawingsauniquelyrealisticlookin2D design,andyoushouldlearnthisaswell.Letusgothroughsomedetails. Theessentialstepsofmakingthistechniqueworkincludethefollowing: Step 1.Createthedrawingofwhatyouaredesigning,suchastheequipmentrackinFigure 15.70.
FIGURE 15.70 Wipeout, Step 1.
Step 2.Usingwipeout,clicktotracetheoutlineofthedrawingpointbypoint(justthefour cornersinthiscase). Step 3.UsingTools→Draw Order→Send to Back,putthewipeoutbehindthedesign. Step 4.Makeablockoutofthedesignandwipeout.
393
LEVEL 2 Chapters 11–20 Theobjectisnow“solidiied”andcanbeplacedinfrontofotherobjects.Ifyoucreatemore objectsinthismanner,youcansimplyusetheDrawOrdertooltoshuflethemaroundtop tobottomasneeded(aslongasallofthemareblocks).Inthismanner,youcancreatea ratherimpressivesenseofdepthandclaritytoanotherwisebusydrawing. TakeacloselookatFigure15.71.Itisalargersectionofthesamecabinetshowninthe previousigures.Itcouldnothavebeendonethiswaywithoutextensiveuseofthewipeout command.Noticehowitiseasytotellwhichequipmentisinfrontandwhichisbehindthe rack.Thereareinfactseverallayersofobjects:theequipmentboltedtothefrontoftherack, thentherackitself,thentheequipmentinthebackoftherack.
394
FIGURE 15.71 Full equipment rack with multiple wipeouts.
Theinalitemtomentionwithwipeoutsisthattheythemselvescanbehidden(whiletheir abilitytohideobjectsremainsineffect).Todothis,simplytypeinwipeout,pressEnter,and selectfforFramesinthesubmenu.AutoCADthensays:Enter mode [ON/OFF] :.If youtypeinoff,AutoCADturnsoffallwipeoutsonthescreen,whilepreservingtheireffects onotherobjects.
LEVEL 2 DRAWING PROJECT (5 OF 10): ARCHITECTURAL FLOOR PLAN ForPart5ofthedrawingproject,youaddincarpetingandlooringtoyourloorplan.Thisis somewhatarbitraryandmayormaynotbethetypeofcarpeting,tile,orlooringanarchitect wouldselectonanotherdesign.Youmayofcourseuseadifferentpatternifyouwish.As always,besuretousetheproperlayering. Step 1.Ataminimumusethefollowinglayerconvention: m A-Carpeting(Gray_9). m A-Flooring(Color_32). Step 2.Freezealllayersthatarenotrelevanttothecarpeting,leavingonlywalls,wallhatch, appliances,andwindows.Drawasetoftemporarylinestoblockoffdoorwaysso thehatchdoesnotbleedfromoneroomintoanother.Finallycreatethecarpeting/ looringplanshowninFigure15.72.
CHAPTER 15 Advanced Design and File Management Tools
FIGURE 15.72 Carpeting and flooring layout.
SUMMARY Youshouldunderstandandknowhowtousethefollowingconceptsandcommandsbefore movingontoChapter16: l l l l l l l l l l l l l l l l l l l l l l l l l l
Align AuditandRecover Blend BreakandJoin CADStandards Calculator Defpoints DivideandPointStyle Donut DrawOrder eTransmit Filter Hyperlink Lengthen ObjectTracking(OTRACK) Overkill PointandNode Publish Raster Revcloud Sheetsets Selectionmethods Stretch Systemvariables Tables Toolpalette
395
LEVEL 2 Chapters 11–20 UCSandcrosshairrotation Windowtiling l Wipeout l l
REVIEW QUESTIONS Answer the following based on what you learned in Chapter 15: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12.
What are the purposes of the audit and recover commands? What is the difference? For join to work, lines have to be what? The defpoints layer appears when you create what? Does the divide command actually cut an object into pieces? What is the idea behind eTransmit? To what can you attach a hyperlink? What can you call up using a hyperlink? How do you activate a hyperlink? What is the idea behind overkill? Can you make a revcloud out of a rectangle? A circle? What three new selection methods are discussed? Do you use a Crossing or a Window with the stretch command? Name a system variable mentioned as an example. Explain the importance of the wipeout command. What does it add to the drawing?
EXERCISES 396
1. Draw the following two rectangles according to the dimensions given. Pedit the width to 0.25" and shade each separately with a solid hatch, with color 9. Then use align to place the 10" box on top of the 4" box. (Difficulty level: Easy; Time to completion: 5 minutes)
2. Draw the following set of lines and chamfer them to the dimensions shown. Then, pedit the result to a thickness of 0.25". (Difficulty level: Easy; Time to completion: 5 minutes)
CHAPTER 15 Advanced Design and File Management Tools
3. Draw the following line and divide it into seven sections using six points of the style shown. Then, pedit the line to a thickness of 0.25" and break it using the break command (First point option) at each of the points. Finally, offset each alternate section 0.5" up and 0.5" down, as shown. (Difficulty level: Easy; Time to completion: 5 minutes)
4. Draw the following rectangle, circle, and triangle according to the dimensions shown. Then use revcloud and the object option to turn each into a revcloud. Finally, pedit the new shapes to a thickness of 0.25". (Difficulty level: Easy; Time to completion: 5 minutes)
397
This page intentionally left blank
CHAPTER
16
Importing and Exporting Data
399
LEARNING OBJECTIVES In this chapter, we learn how AutoCAD interacts with other software you are likely to use in the course of design work. We cover the following topics: l AutoCAD and MS Word l AutoCAD and MS Excel l AutoCAD and MS PowerPoint l AutoCAD and JPGs l AutoCAD, PDFs, and screen shots l AutoCAD and other CAD software l Exporting and Save As l Importing and OLE
Bytheendofthechapter,youwillsmoothlyimportandexportdataamongavarietyof commonoficeanddesignapplications. Estimatedtimeforcompletionofchapter:2hours.
16.1 INTRODUCTION TO IMPORTING AND EXPORTING DATA AutoCADandthedesignerswhouseitusuallydonotworkina“softwarevacuum.”They typicallyinteractwithnotonlyAutoCADbutanumberofotherapplications,someofthem genericandusedbymanyotherprofessions,othersuniquetotheirownield.Assuch, thereisoftenaneedtoeitherimportdataintoorexportdataout ofAutoCAD.Examples Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 2 Chapters 11–20 arenumerous,suchasanarchitectwhowishestotransfernotestypedinMSWordintohis projectdetailspageinAutoCADoranengineerwhoneedstodropinanExcelspreadsheet. Justasoften,AutoCADdrawingsmayneedtobeinsertedintoMSWordreports,PowerPoint presentations,andotherapplications.YoumaythenneedtocreatePDFsofyourdrawingor insertaPDForanimageintoone. Swappingilesamongthevarioussoftwareapplicationshasbeentrickyinthepast.Software companiesareundernoobligationtomakesuchtaskslowsmoothly,asitisnottheir businesswhatelseyoumayhaveonyourPC(whichmayincludeprogramsfromadirect competitor).Ofcourse,suchthinkingscoresnopointswiththecustomer,sodevelopers dotrytominimizecompatibilityissueswheneverpossible.Today,suchtaskslowmuch smootherbutstillrequireknowledgeofproceduresthatcanbeuniquetoeachapplication. Thesheerquantityofsoftwareonthemarketisstaggering,sowelimitthediscussionto Softwareoriletypesthatareusedorencounteredbyvirtuallyeveryonewhousesa computer(Word,Excel,PowerPoint,JPG,andPDF). l SoftwarethathasspecialrelevancetoAutoCADusers(suchasotherCADprograms). l
Wefocusontwodistincttasks,howtoimportilesfromtheseapplicationsandhowtoexport AutoCADilesintothem,analyzingeachsoftwarepairingbi-directionally,andconcludewith abriefoverviewoftheexportandinsertfeaturesandOLE.
16.2 IMPORTING AND EXPORTING TO AND FROM MS OFFICE APPLICATIONS 400
WebeginwithMSWord,Excel,andPowerPoint,asthoseareprobablytheonesmost importantandrelevanttothemajorityofusers.Throughout,unlessnotedotherwise,we makeextensiveuseofCopyandPaste.TheseCopy/Pastetoclipboardtoolsaresomeofthe mostusefulincomputing,allowingyoutoshiftaroundjustaboutanythingfromonespot toanother.ThekeyboardshortcutsareCtrlCforcopyandCtrl Vforpasteoryoucan justright-clickandselectCopyandPaste. Beawarethatthe“copy”isnotAutoCAD’sstandardcopycommand,sodonotusethat. Yes,somestudentsmixtheseup,soletusbeclearfromthestart.OpenupWord,Excel,and PowerPointandkeepthemhandyaswegothrougheachone.
Word into AutoCAD Anexampleofthismaybewhenyouwouldliketobringinextensivetypedconstruction notesontooneofthepagesoftheAutoCADlayout. GoaheadandclickanddragtohighlightthetextinWordirstandright-clickorCtrl C tocopytotheclipboard.GototheAutoCADscreen,butdonotright-clickandpastethe textin.Ifyoudothis,itwillappearasanembeddedobject,withawhitebackground(seen inthetoplineofFigure16.1),andwillnotbeeditable.Instead,createanmtextieldofan appropriatesize,andpastethecopiedtextintoit.Theresultiseasilyeditabletextthatcanbe furtherformatted,asseeninthebottomlineofFigure16.1.
AutoCAD into Word Anexampleofthismaybewhenyouarepreparingareportandwouldliketoincludesome ofthegraphicsspreadoutamongthetexttoenhanceclarityorsupportdocumentation. ThisisadirectapplicationoftheCopy/PastefunctionorthePrtScn(printscreen)key.With Copy/PasteyounolongerhavetochangethebackgroundcolorofAutoCADbeforeinsertion asyouoncedid.Developersinallyconcededtothefactthat,yes,mostpaperiswhiteand
CHAPTER 16 Importing and Exporting Data
FIGURE 16.1 Insertion of MS Word text.
401 FIGURE 16.2 Insertion of an AutoCAD design into Word.
theblackAutoCADbackgroundjustdoesnotlookright—anautomaticcolorchangeis performed,butbecarefulwitholderAutoCADreleases. Onceinserted,somecroppingisnecessarytogetridofexcesswhitespace.OftenthePrint Screenbuttonfollowedbypastinginiseasier,andthe2007Wordandnewerversionsbring thecroppingtooluprightawaywhenyouclickthepasted-inscreenshot.Indeed,thiswas theinitialmethodforimportingscreenshotsthroughoutthistextbook. AtypicalviewofthisprocedureisshowninFigure16.2.
Excel into AutoCAD Anexampleofthismaybewhenyouwouldliketobringaspreadsheetintoyourelectrical engineeringdrawingthatdetailsthetypeofconnectionsandwiringusedinadesign. Onceagain,youuseCopy/Paste.InExcel,createasmallgroupofcells,numberthem(adding bordersifdesired),thenhighlightall,right-clickCopy,gointoAutoCAD,andright-clickPaste. Assoonasyoudothis,thedialogboxinFigure16.3appears. ThisistheOLE(objectlinkedembedded)TextSizedialogbox,whichallowsyoutoalterthe textheightofyourinsertedspreadsheet.Theexactsizeisnottooimportantfornow;youcan easilyscaleobjectsupordownanytimeafterinsertion,buttheconceptofOLEisimportant andisdiscussedagainsoon.Fornow,pressOK,andyouseewhatisshowninFigure16.4 (zoominifneeded).
LEVEL 2 Chapters 11–20
FIGURE 16.3 OLE Text Size.
FIGURE 16.4 Embedded Excel cells.
402
ThisisyourbasicExcelinsertion.Thecellsareregularobjects(verymuchlikeblocks),and youcanerase,copy,andmovethemasneeded.Youcanalsoscalethembyclickingonceand movingaroundtheresultinggrippoints.Youcannotmirrororrotatethecells,however. Amajorquestionusuallyarisesatthispointfromstudents.AretheinsertedExcelcellslinked toExcel,allowingforchangesandupdates?Theyarenotinthetruesenseoftheword.What youcandoisdouble-clickontheseinsertedcellsandExceliscalleduptemporarilyforediting purposes,butanychangesmadetotheoriginalileafteraccessingitfromExcel(notAutoCAD) arenotrelectedinAutoCAD. Havingtrulylinkedilesisaveryusefulidea.TherearesomefancyExcel/AutoCADinterfacesin theindustrywhereextensiveExceldataisusedtogeneratecorrespondingAutoCADdrawings, butthistrickrequiresadditionalprogrammingandextensivecustomizationandisbeyondthe scopeofthisbook.
AutoCAD into Excel ThisactionbasicallypastesanimageintoExcelwiththesameCopy/Pasteprocedureasfor Word.This,however,israrelydone,asExcelisprimarilyforspreadsheetdata;andunlessyou needasupportingdrawing,thereisjustnooverwhelmingreasontodothis.
PowerPoint into AutoCAD Thisactionisnotverycommon,asPowerPointisalmostalwaysthedestinationfortext andgraphics,notanintermediatesteptobeinsertedintosomethingelse.However,ifitis needed,youcaninsertslidesintoAutoCADviaregularCopy/Paste.
CHAPTER 16 Importing and Exporting Data
AutoCAD into PowerPoint Thismakesalotmoresense,asyoumaywanttoinsertadrawingintoaPowerPoint presentation.Fortunately,PowerPointbehavesverymuchlikeWordinthisparticularcase, andoneCopy/PastefollowedbysomecroppingisallittakestoinsertanAutoCADdesign, andnonewtechniquesneedtobelearned.
16.3 SCREEN SHOTS Screen shotsorscreen capturesrefertocapturingasnapshotofeverythingonyourscreenasseen byyou,theuser,andsenttomemory,tobeinsertedsomewhere.Thisisdonebysimplypressing thePrintScreenbutton,whichonmostcomputersiscalledPrtScn,SysRq,orsometimesjust F12.YoucancapturewhatisonyourscreenthiswayandinsertitintoWordorPowerPoint,then cropoutwhatyoudonotneedtosee.WhilemanycomputerusersmayknowofthePrintScreen functiontoactuallyprintsomething,theymayoverlookthisusefultrickforinsertingdatainto otherapplications.
16.4 JPG Thisilecompressionformat(usedmostoftenwithphotographs)canbeinserteddirectly intoAutoCADandisagreatideaifyouwouldlikeapictureofwhatyoudraftednextto thedrawing.Examplesincludeanaerialphotoofasiteplanforarchitecturalandcivil applicationsandaphotoofanengineeringdesignaftermanufactureforas-builtorrecord drawings.InsertingJPGsisstraightforwardprocess. Step 1.Clickonaileyouwanttoinsertandright-clicktocopyit. Step 2.Thenright-clickandpasteitintoAutoCAD. m AutoCADasksforaninsertionpoint: Specify insertion point :
Step 3.Clickanywhereyoulike. m AutoCADthenasksfortheimagesize: Base image size: Width: 0.00, Height: 0.00 Inches Specify scale factor or [Unit] :
Step 4.ScaletheJPGbymovingthemousetoanysizeyouwish(ortypeinavalue). m AutoCADthenasksfortherotationangle: Specify rotation angle :
Step 5.Ifyouwanttheimagerotated,enteradegreevalue;otherwise,pressEnter. TheresultofaJPGinsertionisshowninFigure16.5.Ithasalsobeenselected(oneclick), revealingtheRibbon’sImageEditor. Theimagecanbeerased,copied,moved,rotated,mirrored,andjustaboutanythingelseyou candotoanelement.YoucanalsodosomeverybasicimageadjustingviatheRibbonorby double-clickingonthepicture.ThedialogboxshowninFigure16.6appears,allowingyouto adjustBrightness,Contrast,andFade,aswellasreseteverything.Anychangesapplyonlyto thatJPG,notcopiesofit(ifothercopiesexist).
16.5 PDFS ThePortableDocumentFormat(PDF)isofcourseAdobe’spopularformatfordocument exchange.AutoCADdrawingscanbeeasilyconvertedtoPDFsbysimplyprintingtothem(in otherwords,selectingPDFastheprinter,assumingAcrobatisinstalled).ThePrintfunction executes,andAutoCADasksyouwhereyouwanttheilesaved.Selectthedestinationand yourPDFileiscreated. AnotherwaytogenerateaPDF,especiallyifyouneedtocustomizetheoutput,isviathe Ribbon’sOutput tab→Exportoption.IfyouselectthePDFoptionaSaveAsPDFdialogbox
403
LEVEL 2 Chapters 11–20
FIGURE 16.5 404
Embedded JPG.
FIGURE 16.6 Image Adjust.
appearsandallowssometinkeringwithoptionsandoutputtoinessetheresults,asseenin Figure16.7. Asofthe2010releaseofAutoCAD,youcanbringinaPDFileasanunderlay.Thismeans itcomesintoAutoCADasabackground,whichyoucanseebutnotedit.Thisisnotunlike rasterimages(mentionedinChapter15)andisquiteusefulifallyouhaveofadesignis aPDF.Afterinsertionyoucandrawoveritoruseitasasupportingimage,suchasakey
CHAPTER 16 Importing and Exporting Data
FIGURE 16.7 Save As PDF.
405
FIGURE 16.8 Attach PDF Underlay.
plan.TobringinthePDF,usethecascadingmenuInsert→PDF Underlay….Youthenare promptedtolookfortheileyouwanttoinsert,anduponselection,youseethedialogbox inFigure16.8. OnceyoupressOK,thePDFinsertsintotheAutoCADileandtheboxpromptsyouforan insertionpointandscalefactor.Oncetheimageisembedded,youcanclickonitandtheRibbon changestoshowyousomeoftheimageeditingoptions,asseeninFigure16.9,withChangeto MonochromeandsomeFadeandContrastadjustmentsamongthemoreusefultools.
16.6 OTHER CAD SOFTWARE Initially,asAutoCADgainedmarketdominance,itdidnotreallyattempt,norhadany incentive,to“playnice”withotherCADsoftwareonthemarket.Beingthe2Dindustry leaderallowedAutoCADtogetawaywithnotacceptinganyotherilesintheirnativeformat. Itwasthecompany’swayorthehighway,butthatslowlychanged.Onemajorconcession inregardstoimportingandexportingwaswithMicroStation,AutoCAD’snemesisandonly
LEVEL 2 Chapters 11–20
FIGURE 16.9 406
PDF Underlay Ribbon menu.
seriouscompetitor.MicroStationalwaysopenedandgeneratedAutoCADileseasilybutnot theotherwayaround. Finally,inrecentreleases,AutoCADlistedthedgnileformatassomethingyoucanimport andexport.YouwerethenabletobringinMicroStationiles,moreorlessintact,aswellas createonesfromAutoCADdrawings.InAutoCAD2009,thesettingsboxwasexpandedand thatwascarriedoverintothecurrentAutoCAD2012,asseeninFigure16.10.Youcannow comparelayersandotherfeaturessidebysideandmakeadjustmentssothetargetileis similartotheoriginal. Toaccessthis,usethecascadingmenuFile→Import…andsearchfortheMicroStation dgnileyouareinterestedinimporting.Anotherwayaroundallofthisisjusttohavethe MicroStationusergeneratetheAutoCADile.Youcanalsoexportdwgilesdirectlytodgn aswellbyusingthecascadingmenuFile→Export…andselectingdgnasthetargetile.You thenseethesameSettingsdialogboxasinFigure16.10.Ofcourse,MicroStationacceptsthe AutoCADilewithnoproblem,sothismaynotbenecessary.Ifyouwouldliketolearnabit moreaboutMicroStationingeneral,seeAppendixB. LetusexpandthediscussiontootherCADsoftware.Whatshouldsomeonedowhoisusing anotherCADprogramandneedstoexchangeileswithanAutoCADuser?Thedxfileisthe solution,asitisaformatagreeduponbymostCADvendorsasthego-betweenthatcanbe understoodbyallapplicationsforeasyilesharing.AutoCADeasilyopensadxforgenerates itsowndxfilesforanydrawing.Thisisdiscussedmomentarily. Afewobservationsonsharingiles:Amongarchitects,theissueisnotmuchofaproblem,as AutoCADisthemainapplicationinthisprofessionandcompetitorssuchasArchiCADeasily openAutoCAD’silesandsendadxfrightbackifneeded.Inengineering,however,AutoCAD hasalesserpresence.Whilesomeelectrical,mechanical,andcivilengineersuseAutoCAD,
CHAPTER 16 Importing and Exporting Data
FIGURE 16.10 Import DGN Settings.
manyothers,especiallyindustrial,rail,aerospace,automotive,andnavalengineers,use3D modelingandanalysissoftwareinsteadsuchasCATIA,NX,Pro/Engineer,orSolidWorks. Untilrecently,theseapplicationsdidnotinteractwellwithAutoCAD.Theirrespective “kernels”(thesoftware’scorearchitecture)aresigniicantlydifferentindesignandintentfrom AutoCAD’sACIS3Dkernel.Theirnativeandexportiletypes(suchasIGESandSTEP)may alsobeunfamiliartoAutoCADusers.Someofthepreviouslymentionedsoftwarecangenerate dxfiles,butthoseilesare“lattened”andwhatyougetisa2Dsnapshotofwhatusedtobe a3Dmodel.AutoCADwasalsoabletoimportimagesfromCATIAandSolidWorksusingthe OLEcommand(tobediscussedsoon),butonceagaintheywerejustlattenedimages. ThingsimprovedsomewhatwithAutoCAD2012.The3Dmodelscannowbeimportedinto AutoCADwithlittlelossinidelity.Muchmoreissaidaboutthisinthe3Dversionofthis textbook. Allthiscanbesomewhatconfusing.BecausesomanydifferentCADpackagesareonthe market,AutoCADdesignersneedtobeawareanduptodateonwhatothersintheirindustry areusingandthinkontheirfeetwhenitcomestimetoexchangeiles,asthereusuallyis a wayformostilestypes.Letusnowtakealookatthespeciicsofexporting,importing,and theOLEcommandtoexploretheavailableoptions.
16.7 EXPORTING AND THE SAVE AS FEATURE AspreviouslywiththeMicroStationexample,exportingdatacanbedonebyselecting File→Export…fromthecascadingmenu.WhatyouseeisthedialogboxinFigure16.11. Yourdrawingcanbeexportedtothefollowingformats: l l
l
3D dwf.Thisistoconvertthedrawingtowebformatforuseonviewers. Metafile.ThisistoconvertthedrawingtoaWindowsMetaFile,aMicrosoftgraphics formatforusewithbothvectorsandbitmaps. ACIS.ACISisthe3DsolidmodelingkernelofAutoCADaswellasaformattowhicha drawingcanbeexported.FewothersoftwarecurrentlyusetheACISkernel(SolidEdge comestomind),asParasolidistheindustrystandard,sothisisararelyusedexportformat.
407
LEVEL 2 Chapters 11–20
FIGURE 16.11 Export Data.
l
408
l
l
l
l l
Lithography.Stereolithographyiles(*.stl)aretheindustrystandardforrapid prototypingandcanbeexportedfrommost3DCADapplicationsincludingAutoCAD. Basically,itisailethatusesameshoftrianglestoformtheshellofyoursolidobject, whereeachtrianglesharescommonsidesandvertices. Encapsulated Post Script.Theepsisastandardformatforimportingandexporting PostScriptlanguageilesinallenvironments,allowingadrawingtobeembeddedasan illustration. DXX Extract.DXXstandsforDrawingInterchangeAttribute.Thisisadxfilewithonly blockandattributesinformationandisnotrelevanttomostusers. Bitmap.Thisconvertsthedrawingfromvectorformtobitmapform,withtheresulting pixilationofthelinework;itisnotrecommended. Block.ThisisanotherwaytocreatethefamiliarblockcoveredinLevel1. V8 dgn.MicroStationVersion8,asdescribedpreviously.
TheSaveAsdialogboxcanbeaccessedanytimeyouselectFile→SaveorFile→Save As… fromthedrop-downcascadingmenus.YoucanalsotypeinsaveasandpressEnter.Ineither case,yougetthedialogboxshowninFigure16.12. TheextensionspresentedherearedescribedindetailinAppendixC,butinsummary,you cansaveyourdrawingasanolderversionofAutoCAD(animportantstepthatisautomated viaasettinginOptions,ascoveredinChapter14)orasadxfile,asdescribedearlier.Note thatthedxfilescanalsobecreatedgoingbackintime,allthewaytoRelease12(thatwasa mostlyDOS-basedAutoCAD).Theotherextensions,.dwsand.dwt,areusedlessoftenand arealsomentionedinAppendixC.
16.8 INSERTING AND OLE TheinaldiscussionofthischapterfeaturestheInsertmenuoptioningeneralandtheOLE conceptorcommandinspeciic.TheInsertcascadingmenuisshowninFigure16.13.
CHAPTER 16 Importing and Exporting Data
FIGURE 16.12 Save As dialog box.
409
FIGURE 16.13 Insert cascading menu.
Youmayalreadybefamiliarwithmostofwhatisfeaturedinthisdrop-downmenu,oritis coveredsoonasaseparatetopic: l l l l
Blockinsertionisthesameastypingininsert(fromLevel1). HyperlinksandrasterimagesarecoveredinChapter15. ExternalreferencesisallofChapter17. LayoutsisaPaperSpacetopicfromChapter10.
LEVEL 2 Chapters 11–20
FIGURE 16.14 Insert Object.
Otheritemswedonotcover(andyourarelyneed)are Fields. 3DStudio,ACIS,DrawingExchangeBinary,andthelike.
l l
410
LetusthenfocusonOLE(objectlinkedembedded).OLEisawaytoembed(insert) nonnativeilesintoAutoCADonaprovisionalbasis,meaningtheseilesarenotpartof AutoCAD(theycannotbeanyway,astheyareofnon-AutoCADformats),buttheyaremerely droppedinandarevisuallypresent.Inprinciple,youcandropinjustaboutanything,with justaboutanyresults.Someilessitnicely,othersdonotappear,andstillothersmayeven causeacrash.Letustakealookatthedialogbox. SelectOLEObject…fromtheInsertmenuandthedialogboxinFigure16.14appears. These,intheory,arethevarioussoftwareileitemsthatcanbeinsertedintoAutoCAD. Lookingthroughit,toptobottom,youcanseethatawidevarietyofAdobe,Microsoft, andevenDassault(theyownCATIAandSolidWorks)ilescanbeinserted.Youcanalso, inprinciple,insertvideoandaudioclips(onecanenvisionmusicilesplayinguponthe openingofanAutoCADdrawing)andevenFlashanimations.Simplypickwhatyouwant toinsertandselectCreatefromFile.SomeofthemoreusefulOLEinsertionsarerelatedto theMicrosoftproductslisted,butmuchofthattopicwasalreadycoveredinthischapter.To insertaile,selectCreatefromFileandbrowsefortheileinwhichyouareinterested.
LEVEL 2 DRAWING PROJECT (6 OF 10): ARCHITECTURAL FLOOR PLAN ForPart6ofthedrawingproject,youcompletetheinternaldesignofthehousebyaddinga relectedceilingplan(RCP)andaheating,ventilating,airconditioning(HVAC)systemthatwill bemadeupofdiffusersandafewreturnairducts.Notethataresidentialhomeisnotlikelyto haveanRCP,whichissonamedbecauseitlooksexactlyasifyouheldamirrorinyourhandand lookeddownatittoseetheceiling.RCPsaremostlypartofcommercialspacedesignandinclude whatyougenerallyseeinatypicalofice:whiteceilingtiles,lights,andHVACdiffusers.Here,for educationalpurposes,wewilladdthisceilingintotheresidentialdesign. Step 1.Createsomeappropriatelayers,suchas m M-RCP(Gray_8).
CHAPTER 16 Importing and Exporting Data
FIGURE 16.15 Diffuser and return air duct symbols.
411
FIGURE 16.16 RCP and HVAC layout.
M-Diffuser(Yellow). M-Ret_Air(Cyan). Step 2.CreatesomeHVACsymbols,asshowninFigure16.15.Makeblocksoutofthemfor easierhandling.Besuretobeonthatobject’slayerbeforemakingablock. Step 3.CreatetheRCPplanbydrawinganarbitraryverticalandhorizontal“starter”linein themiddleofeachroomandoffsetting2feetineitherdirectionuntilyoureachthe walls.Thentrimasnecessary. Step 4.Addinthediffuserandreturnairductsymbolsasshownintheplan(Figure16.16). m m
LEVEL 2 Chapters 11–20
SUMMARY Youshouldunderstandandknowhowtousethefollowingconceptsandcommandsbefore movingontoChapter17: l l l l l l l l
DatatransferfromWordtoAutoCAD DatatransferfromAutoCADtoWord DatatransferfromExceltoAutoCAD DatatransferfromAutoCADtoPowerPoint Screenshots,JPGs,andPDFs InteractionwithotherCADsoftware ExportingandSaveAsfeatures InsertingandOLE
REVIEW QUESTIONS Answer the following based on what you learned in Chapter 16: 1. 2. 3. 4. 5. 6. 7. 8.
What is the correct way to bring Word text into AutoCAD? What is the procedure for bringing AutoCAD drawings into Word? What is the correct way to bring Excel data into AutoCAD? What is the procedure for bringing AutoCAD drawings into PowerPoint? What is the procedure for importing JPGs and generating PDFs? Describe the basic ideas of interacting with other CAD software. What are Exporting and Save As? What is OLE?
412
EXERCISE 1. At your own pace, review everything presented in this chapter and do the following: l Type any short paragraph in MS Word and import it into AutoCAD correctly, using Copy and Paste. l Type in several columns of data in MS Excel, then import it into AutoCAD. Adjust it by scaling it up and down. l Import any image from AutoCAD into MS Word using m The Print Screen function. m Copy and Paste. l Export any drawing to a dxf format. l Bring in any JPG (picture) using Copy and Paste. Adjust it in AutoCAD. (Difficulty level: Easy; Time to completion: 15 minutes)
CHAPTER
17
External References (Xrefs)
413
LEARNING OBJECTIVES In this chapter we introduce and thoroughly cover the concept of external references (xrefs). We specifically introduce the following topics: l The primary reasons for using xrefs l Loading xrefs l Unloading xrefs l Binding xrefs l Updating and editing xrefs l Layers in xrefs l Multiple xrefs
Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 2 Chapters 11–20 Bytheendofthechapter,youwillbewellversedinapplyingthiscriticalconcepttoyour designwork. Estimatedtimeforcompletionofchapter:1–2hours.
17.1 INTRODUCTION TO XREFS Externalreferences,orxrefsforshort,isacriticallyimportanttopicforarchitecturalAutoCAD usersandveryusefulknowledgeforallothers.AlongwithPaperSpace(Chapter10),xrefforms thecoreofadvancedAutoCADknowledge.Likemanyadvancedtopics,youneedtounderstand fundamentallywhatitisandwhentouseit.The“buttonpushing”orthemechanicsofhowto makeitworkistheeasypart.Inthisintroduction,letusexplainwhatanxrefisandwhythereisa needforthisrathercleverconcept,whichhasexistedsinceAutoCAD’searlydays.
What Is an Xref? Asdeined,anxrefisailethatiselectronicallyattached(referenced)toanother,new,ile. Itthenappearsinthatnewileasafullyvisiblebackgroundagainstwhichyoucanposition newdesignwork.Thisxrefisnotreallypartoftheile,butitismerely“electronicallypaper clipped”toitandcannotbemodiiedinatraditionalway;itonlyservesasabackground. Thewordxrefisalsoanactionverb,asin“Ineedtoxrefthatilein.”
Why Do We Need an Xref? What Is the Benefit? Theprecedingparagraphwasjustastrictdeinitionandmaynothaveyetilluminated therealreasonforxrefs.ToseewhywehavethisconceptinAutoCADletusproposethe followingscenario. 414
Youaredesigningatalloficebuilding.Itisboxyinshape(similartotheformerWorldTrade Centertowers),andassuch,theexteriordoesnotchangefromloortoloor.Theinterior, however,does.Theirstloorisalobby,thesecondisarestaurant,thethirdisstorage,and loors4through30areoficespace.Inshort,foradesigner,oncetheexteriorisdone,therest isallinterior-spacework.Therefore,goingfromloortoloor,theexteriordesignilecanbe xrefedinandjust“hangout,”providingabackgroundforplacementofinteriorwallsand otheritems.Thisdramaticallyreducesthesizeofeachileasacopyoftheexteriorismerely referencedandneverpartoftheinterioriles.Got100loorstodo?Noproblem;onexref ileoftheexteriorisallthatisneededifthoseloorsdonotchange. l
l
l
Xref benefit 1. Reduce file size by attaching a core drawing to multiple files.Ifthis werealltherewas,xrefwouldbeaneattrickandwouldhavesurelyfallenoutoffavor ascomputerspeed,power,anddiskstoragespaceincreasedovertheyears.However,the precedingwasjustawarm-up.Themainreasonforthexrefconceptisdesign changes.If youneedtochangetheshapeoftheexteriorwalls,youneedtodoitonlyonce,andthe changepropagatesthroughallilesusingthatxref.Thinkabouttheimplicationsfora moment.Intheoldhand-draftingdays,eachloorhadtobedrawnseparately.Imagine nowalast-minutechangetotheexteriordesign.Hundredsofsheetswouldhavebeen updatedbyhand.ScoreoneforAutoCAD. Xref benefit 2. Critical file security.Needanotherbeneit?Howaboutsecurity?Thexref ilecanbeplacedinafolderthatisaccessibleonlytothestructuralengineerandlead architect,nottheinteriordesignerorelectricalengineer.Granted,this“needtoknow” basisforaccessmaynotbenecessary,butitisgoodtohaveawayofkeepingsomeone fromshiftingstructuralwallstoaccommodatethecarpeting. Xref benefit 3. Automated design change updates to core drawings.Ideally,youarenow soldonthebeneitsofanxref.Sohowisthisactuallydoneinpractice?Thexrefistypically notjusttheexteriorwallsbutalsocolumnsandtheinteriorcore(elevatorsandstairs),as thosealsotendtonotchangefromloortoloor.Thedesignercreatestheseiles,naming themsomethingdescriptivesuchasExterior_Walls_ReforColumns_Core.Next,the
CHAPTER 17 External References (Xrefs) xrefsareattachedtogetherandthentotheirstloorileortotheirstloorileindividually; moreonthatlater. TheirstloorileistheactiveileofcourseandisnamedFloor_One_Arch.Atirst,itis blank,showingjustthexref.Then,theinteriordesigniscompleted.Thedesigneropens anotherblankile,attachesthesamexreforsetofxrefs,andnamesthisileFloor_Two_Arch andsoon.Xrefscanbeattached,detached,refreshed,andboundtothemaindrawing ile.Wecoverallthisshortly.Wealsocoversomexref-relatedtopics,suchaslayeringand methodstoeditxrefsinplace.
17.2 USING XREFS Todemonstratethefeaturesofthexrefcommand,weirstneedtohaveabuildingexterior ilewithwhichtowork.Youcanselectoneofyourownoroneassignedbyyourinstructor iftakingaclass.Alternatively(andforgoodpractice),drawtheloorplaninExercise1 atendtheendofthechapter.Weusethatloorplanfortherestofthexrefdiscussion.In Figure17.1,theplanisrotatedhorizontallyandtheleftcornermovedtopoint0,0.Allthe dimensionsarefrozenandtheileissavedasExteriorWalls.dwg.
415
FIGURE 17.1 The xref file.
Asofnow,nothingisspecialaboutthisile.Westillneedtoxrefittotheworkingile. OpenupablankileandsaveitasFloor_One_Layout.dwg.Thentypeinxrefandpress Enter.Alternatively,youcanusethecascadingmenuInsert→External References….The paletteinFigure17.2appears. Attheupperleftisawhiterectanglewithapaperclip(hencetheearlierpaperclipreference). ThatistheAttachdrawingbutton.Youcanclickonthedownarrowtorevealfurtherattachment options(Image,dwf,dgn),butwedonotneedthose.SimplyclickonthePapericonandthe
LEVEL 2 Chapters 11–20
FIGURE 17.2 The xref palette.
SelectReferenceFilebrowsingwindowopens.Browsetoindthexrefile(ExteriorWalls.dwg) andclickonOpen.TheExternalReferenceinsertionboxappears,asshowninFigure17.3.
416
FIGURE 17.3 Attach External Reference.
Examinewhatisfeaturedhere,mostofwhichyoushouldbefamiliarwith(suchasInsertion Point,Scale,andRotation).UncheckInsertionPoint;theieldsturnfromgraytowhite.We wantthexreftoinsertat0,0,0.Finally,pressOK.
CHAPTER 17 External References (Xrefs) Thexrefappearswithitslowerleftcornerat0,0,0.Zoomouttoseetheentiredrawingifnot apparentlyvisible.Noticethenewadditiontothexrefpalette,asseeninFigure17.4.The ExteriorWallsileisvisibleandindicatedasLoadedwiththeappropriatedate,time,and path.
FIGURE 17.4 Xref loaded.
Youcannowproceedtoaddnewdesignworktotheile,asthexrefprocedureiscomplete. Letusskipaheadandexploresomeoftheotheravailableoptions,nowthatthexrefis loaded.Byright-clickingontheExteriorWallspapericon,yougetaccesstotheimportant menuinFigure17.5.
417
FIGURE 17.5 Xref menu.
Xref Menu l l
l
l l
l
Open.Thisoptionallowsyoutoopentheoriginalxrefifyouwishtomakechanges. Attach….Thisoptionallowsyoutoattachanotherxreftoyourworkingilewiththesame procedureasoutlinedearlierinthechapter. Unload.Thisoptionremovesthexreffromyourworkingilebutpreservesthelastknown path,soifyouwishtobringthexrefback,youneednotbrowseforitagainbutjustclick onReload. Reload.Theoptionjustreferredtoforbringingbackanunloadedxref. Detach.Thisoptionismorepermanentandremovesthexreffromtheworkingile, requiringyoutobrowseandinditifreattachmentiscalledforagain. Bind.Thisoptionallowsyoutoattachapermanentcopyofthexreftoyourworkingile andseversalltieswiththeoriginal.Thexrefthenbecomesablock;andifitisexploded,it completelyfusestogetherwiththeworkingile.Thisactionispotentiallydangerousand israrelyused,asyouarenowstuckwiththexrefpermanently.Twopossibleusesinclude permanentdrawingarchivingandemailingthedrawingset(soastonotforgetthexrefs), thougheTransmitcantakecareofthat.
LEVEL 2 Chapters 11–20
17.3 LAYERS IN XREFS Averylogicalproblemcreepsupwhenusingxrefs.Thexrefileitselfhaslayers,often manyofthem.Theremayalsobeseveralxrefsinoneactivedrawing.And,ofcourse,the drawingitselfmayhavenumerouslayersofitsown.Itisalmostguaranteedthat,onajob ofevenmediumcomplexity,layernamescanandwillbeduplicated.Thisisnotallowedin AutoCAD,andsomemethodisneededtoseparatelayersinthexreffrommixingandbeing confusedwithlayersinotherxrefsorthemaindesigndrawing.Thesolutionisquitesimple. Inthesamemannerthatpeoplehaveirstandlastnamestotellthemapart(especially helpfuliftheirstnamesarethesame),sodolayerswhenxrefsareinvolved. All layers that are part of a certain xref have that xref’s name preceding the layer name with a small vertical bar (and no spaces) between them. All layers that are native to the working file of course have no such prefix. Thissimplemethodensuresnodirectduplicationbyhavingthexrefilenameactasthe “irstname”andthelayernameasthe“lastname.”AnexampleisshowninFigure17.6.New layershavebeenaddedinthehostile.Noticethesmallverticalbarinthexreflayername andtheinclusionofthexrefilename.
418
FIGURE 17.6 Xref layering.
Whenanxrefisboundtothedrawing,thelayer’sverticalbarchangestoa$0$setof symbols,indicatingtheyarenowboundandpartoftheworkingdrawing,asseeninFigure 17.7.Youshouldbefamiliarwiththisifyouhaveeverexaminedaboundset.
FIGURE 17.7 Xref bound layering.
CHAPTER 17 External References (Xrefs)
17.4 EDITING AND RELOADING XREFS Atonetimexrefscouldnotbechangedinplace.Thismeansyouhadtoopentheoriginal xrefiletoedititandcouldnotdothisfromthemainworkingile.Thismadesense,asyou generallywanttolimitaccesstotheoriginalxref,soitcannotbecasuallyedited. Allthings(andsoftware)change,andanumberofreleasesago,AutoCADstartedallowing xrefstobeeditedinplaceusingatechniquesimilartoeditingblocks(somewhatdiminishing thesecuritybeneitofxrefs,asmentionedearlier).Letusgiveitatry.Double-clickonanyof thelinesmakingupthexrefwhileinthemainile.TheReferenceEditboxappears,asseenin Figure17.8.
419
FIGURE 17.8 Reference Edit.
ThexrefyouclickedonislistedunderReferencename.PressOKandyouaretakeninto ReferenceEditmode.Youmaynoticeafewnewfeaturesoritemsofinterest: Thexrefhasremainedbrightlylitupwhileeverythingthatisonthemaindrawing ilehasfadeddown.ThisisafeatureofRefEdit.Youcannowclearlytellapart thexrefgeometryfromtherest.Theintensityofthefadecanbeadjustedunder Option→Display→Reference Edit fading intensity. l Thexrefcannowbeeditedinplace;goaheadandchangeafewitemsaround. l Anewtoolbar,calledRefedit,appears(showninFigure17.9).
l
FIGURE 17.9 Refedit toolbar.
LEVEL 2 Chapters 11–20 Whenyouinisheditingthexref,pressthelastbuttonallthewaytotheright,Save ReferencesEdits.Awarningiconappears;pressOKandyouaredone.Thexrefhasbeen editedinplace. Justasareminder,thisprocedureisonlyforeditingthexrefwhileyouhavethemain workingileopen,andwhatyoujustdidcanalsobedoneinafarsimplermannerbyjust openingthexrefasitsownile(althoughwithRefEdityouhavetheadvantageofseeing theinternaldesignwhileediting).Infact,whenchangesareextensive,thedesignermay justopenthexrefitselfandworkonitallday,withoutresortingtoRefEdit.Everytimethe designersaveshisorherwork,thechangesbecomepermanentandaccessibletoanyother designerswhomaybeworkingonajobthatusesthatxref. Agoodquestionmaycomeupatthispoint.Howdootherdesignersknowthatthexrefis changedsotheycanadjusttheirinteriorworkaccordingly?Manyreleasesago,theonlyway toknowwasforthepersonworkingonthexrefiletosimplytellothersviaavisittotheir cubicleorofice,phone,oremail.TheotheruserswouldthenpressReloadAllReferences,as seeninFigure17.10.
FIGURE 17.10 420
Reload xref.
Ofcourseyoucanstilldothis,anddesignersoftenrefresheveryfewminutesontheirownif theyknowsomeoneisactivelyworkingonthexref.However,anewtoolappearedrecently. Itissimplya“blurb”announcementthatappearsinthelowerrightcornerofAutoCAD’s screen,asshowninFigure17.11.Pressthehyperlinkandthexrefreloadsandrefreshes automatically. Oneinalbrieftopicinthischapterconcernshowtochaintogetherxrefsiftherearemore thanoneofthem.Somemethodsaresuggestednext.
FIGURE 17.11 Reload xref announcement.
17.5 MULTIPLE XREFS Asmentionedearlierinthechapter,manycomplexdrawingsusemorethanonexref. Typically,youmayindtheexteriorwalls,columns,andthecoreasthreeseparatexrefs.The ceilinggrid(RCP)canalsobexrefedinforextensiveceilingwork,ascanthedemolitionplan andmanyothercombinations.
CHAPTER 17 External References (Xrefs) Thereareessentiallytwooptions.Letussayyouhaveivexrefstotaltoworkwith.Youcan attachthemonetoanotherandthentoamasterworkingile(daisychain)oroneatatime asshowninFigures17.12and17.13.
FIGURE 17.12 Multiple xref attach, Method 1.
421
FIGURE 17.13 Multiple xref attach, Method 2.
Whichmethodyouuseisuptoyou(theremaybecompanypolicyoraconventioninuseat yourjob).Eachmethodhasminorprosandcons,andyoushouldexpectbothtobeusedin theindustry. Oneinalwordonwhennottoxref,asthisfeaturegetsabusedoccasionally.Xreingof titleblocks,furniture,andtextisnotwhatxrefisfor.Itisintendedformajorpiecesof infrastructurenotsecondaryobjects.Thelogicbehindxrefintheirstplaceistoattach objectsthatarenotlikelytochangeandcanserveasthebackdrop.Usethetoolwisely.
17.6 RIBBON AND XREFS SomexreffunctionscanbeaccessedviatheRibbon,andwediscussthemseparatelyinthis section.YoucanindthemundertheInserttab→Referencepanel,asseeninFigure17.14. Oneimportantcontrolisthexreffadingslideryouseetowardthebottomofthetab. Thiscontrolsthedarknessofthexref.Someuserspreferthexreftobedark,similartothe surroundingdesign,whilesomepreferitverylight,sotheyclearlyknowwhatisanxrefand whatisthedesign. Finally,theRibbonswitchestoadedicatedxreftabifyouclickonthexref,asseeninFigure 17.15,althoughthereismuchduplicationoftheprevioustab’scommands.
LEVEL 2 Chapters 11–20
FIGURE 17.14 Xref via Ribbon, 1.
FIGURE 17.15 Xref via Ribbon, 2.
422
LEVEL 2 DRAWING PROJECT (7 OF 10): ARCHITECTURAL FLOOR PLAN ForPart7ofthedrawingproject,wewillshifttotheoutsideofthebuildingandcreatesome landscapingintheformoftrees,shrubs,anddrive/walkways.YouwillneedsomeChapter11 toolsforthegreenery. Step 1.Createsomeappropriatelayersasshownnext.Freezealllayersthatarenotrelevant tothetaskathand. m L-Driveway(Gray_8). m L-Trees_Shrubs(Color_108). m L-Walkway(Gray_8). Step 2.CreatethelandscapingplanasseeninFigure17.16.Youneedtocreateplinesfor thebordersofthedrivewayandthewalkways.Then,afteraddingthehatchpatterns (SandandBrick),erasesomeoralloftheplines.Forthetreesandshrubsyouneed tocalluponthexlineandspline.
SUMMARY Youshouldunderstandandknowhowtousethefollowingconceptsandcommandsbefore movingontoChapter18: Xrefcommand m Inserting m Detaching m Unloading m Reloading m Binding l Layersinxref l Nestingxrefs l
CHAPTER 17 External References (Xrefs)
423
FIGURE 17.16 Landscaping plan.
LEVEL 2 Chapters 11–20
REVIEW QUESTIONS Answer the following based on what you learned in Chapter 17: 1. 2. 3. 4. 5. 6. 7.
What are several benefits of xref? How is an xref different from a block? How do you attach an xref? How do you detach, reload, and bind an xref? What do layers in an xrefed drawing look like? What do layers look like once you bind the xref? What are some nesting options for xref?
EXERCISE 1. Draw the following floor plan to practice the xref command. (Difficulty level: Easy/Moderate; Time to completion: 45–60 minutes)
424
Spotlight On: Electrical Engineering Electricalengineeringisthebranchofengineeringthatdealswithelectricityandits applications.Thiscanbeonalargescale,suchaspowergenerationandtransmission (Figure1),orsmallscale,suchasdesignofchipsandconsumerelectronics(Figure2), sometimesreferredtoaselectronics engineering.Theprofessionappearedinthemid-1800s, asmajoradvancementsintheunderstandingofelectricalphenomenawereputforwardby Ohm,Tesla,Faraday,Maxwell,andothers.Today,electricalengineeringisawide-ranging professionvitaltooursociety.Fewhuman-madeobjectshavenoelectricalcomponents, andelectricalengineeringiguresprominentlyinvirtuallyeveryproductordeviceyousee beforeyou.Electricalengineersheldabout318,700jobsin2009,makingthisthesecond largestbranchoftheU.S.engineeringcommunity(behindsoftwareengineering). Justsomeofelectricalengineering’sspecialtiesincludepower,controls,electronics, microelectronics,signalprocessing,telecommunication,andcomputerengineering. Electricalengineersneedamasteryofawidevarietyofengineeringsciences,suchasbasic andadvancedcircuittheory,electromagnetics,embeddedsystems,signalprocessing, controls,solidstatephysics,andcomputerscienceandprogramming,amongothers. Educationforelectricalengineersstartsoutsimilartothatfortheotherengineeringdisciplines. IntheUnitesStates,allengineerstypicallyhavetoattendafour-yearABET-accreditedschool fortheirentryleveldegree,aBachelorofScience.Whilethere,allstudentsgothrougha somewhatsimilarprogramintheirirsttwoyears,regardlessoffuturespecialization.Classes takenincludeextensivemath,physics,andsomechemistrycourses,followedbystatics, dynamics,mechanics,thermodynamics,luiddynamics,andmaterialscience.Intheirinal Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 2 Chapters 11–20
FIGURE 1 Electrical engineering on a large scale.
FIGURE 2 Electrical engineering on a micro scale.
426
twoyears,engineersspecializebytakingcoursesrelevanttotheirchosenield.Forelectrical engineering,thisincludescoursesinmostorallofthesciencesjustlisted. Upongraduation,electricalengineerscanimmediatelyentertheworkforceorgoonto graduateschool.Thoughnotrequired,someengineerschoosetopursueaProfessional Engineer(P.E.)license.TheprocessirstinvolvespassingaFundamentalsofEngineering (F.E.)exam,followedbyseveralyearsofworkexperienceunderaregisteredP.E.,andinally sittingfortheP.E.examitself. In2009,electricalengineersreceivedstartingsalariesaveraging$60,300withabachelor’s degreeand$71,500withamaster’sdegree.Thisofcoursedependshighlyonmarketdemand andlocation.Amaster’sdegreeishighlydesirableandrequiredformanymanagementspots. Thejoboutlookforelectricalengineersisexcellent,astheprofessionisextremelydiversiied; andbyselectingaspecializationcarefully,anengineercanjoinoneofmanygrowingields, suchascontrols,nano-engineering,robotics,andothersuchcareerpaths. SohowdoelectricalengineersuseAutoCADandwhatcanyouexpect?Industrywide, AutoCADenjoysasigniicantamountofuseforthesimplereasonthatmostelectrical workis2DinnatureandplaysintoAutoCAD’sstrength.AutoCADlayeringisfarsimpler inelectricalengineeringthaninarchitecture.ThereisnoAIAstandardtofollow,onlyan internalcompanystandard,sothereisroomtoimprovise.Asalways,thelayernamesshould beclearastowhattheycontain. Inelectricalengineering,youwillnotlikelyneedadvancedconceptssuchasPaperSpaceand xrefs,butoftenyouneedtobuildattributesthatholdinformationonconnectorsandwires. Youalsoneedtohavealibraryofstandardelectricalsymbolshandy,sonothingneedstobe drawnfromscratcheverytime.Thekeyinelectricalengineeringdraftingisaccuracy(lines straightandconnected),astheactualCADworkisquitesimple.Arelatedield,network engineering,issimilar.Here,youmayuseplinesorsplinesthatindicatecablesgoinginto
SPOTLIGHT ON: Electrical Engineering routersandswitches.ShowninFigure3isanexampleofanelectricalschematic.Noticethe extensiveuseofsymbolsforcapacitors,diodes,transformers,andswitches.
FIGURE 3 Electrical schematic.
Figure4isanexampleofsomerackedequipmentinanetwork/electricalengineeringdrawing. Thereisnothingcomplexinthisimage,justcarefuldrafting.Yousawthisexampleearlierwhen wipeoutwasdiscussed. 427
FIGURE 4 Racked equipment.
This page intentionally left blank
CHAPTER
18
Attributes
429
LEARNING OBJECTIVES In this chapter, we introduce and thoroughly cover the concept of attributes. We specifically discuss l The purpose of attributes l Defining attributes l Editing attributes and properties l Extracting data from attributes l Invisible attributes
Bytheendofthechapter,youwillbewellversedinapplyingthiscriticalconcepttoyour designwork. Estimatedtimeforcompletionofchapter:1–2hours.
18.1 INTRODUCTION TO ATTRIBUTES Attributesisanimportantadvancedtopic.AnattributeisdeinedinAutoCADasinformation insideablock.Thekeywordshereareinformationandblock.Youcanhaveablockwithout information—youhavedonethismanytimesbefore;itiscalledablockorwblockbutnotan attribute.Youcanalsohaveinformationintheformoftextsittinginyourdrawing.Thatis justtextormtextbutalsonotanattribute.However,putthetwoconceptstogetherandyou havewhatwearenowabouttoexplore:essentiallyan“intelligent”block,onethathasuseful embeddedinformation. Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 2 Chapters 11–20 Whatisthereasonforcreatingattributesintheirstplace?Whywouldyouwantinformation insideofblocks,andwhatcanyoudowiththisinformation?Theinformationitselfcanbe anythingofvaluetothedesignerorclient.Foranoficechairinacorporateloorplan,one maywanttoknowitsmake,model,color,andcatalognumber.Then,ifthereareavarietyof chairtypesforthisofice,thedesignercankeeptrackofallofthem.Anotherexampleisalistof connectionsgoingintoanelectricalpanel.Itwouldbenicetoknowwhatandhowmany.All thisinformationcanbeenteredintotheattributeanddisplayedonthedrawingifyouwish. However,thisisonlyhalfthestoryanddisplayinginformationisnotthemainreasonfor creatingattributes.Asamatteroffact,thisinformationisoftencompletelyhiddensoasnot toclutterupthedrawing.So,whatisthemainreason?Thekeyisthatthisinformationcan beextractedoutoftheattributesandsenttoaspreadsheet(amongotherdestinations).Now youhaveatrulyusefulsysteminplace,whereextensiveinformationishiddenunobtrusively inthedrawing,yetcanbeaccessedifneededatthetouchofafewbuttons,andputinto anExcelileorotherveryusefulformforcostanalysisorjustplainoldkeepingtrackand organizationalpurposes. Youmayhavealreadyheardofthesetoolsinuseorenvisionedaneedfortheminarchitecture withsuchitemsasdoorsandwindowsschedules.Thesoftwarekeepstrackofeachdoorand windowinthedrawingandlinkstheinformationtoadatabasethatisupdatedasyouaddor removetheobjectsfromyourdesign.WhilebasicAutoCADdoesnotdothisautomatically, otheradd-onsoftwaredoes.Underneathitallistheconceptofembeddedattributes,similarto whatwediscusshere. Youshouldhaveagoodunderstandingoftheprecedingfewparagraphs.Asalways,the buttonpushingisfareasieroncetheconceptiscrystalclear.Wenowgoaheadanddothe following: 430
l l l l
Createasimpledesign. Createabasicattributedeinition. Makeablockoutofthesimpledesignandtheattributedeinition. Extractinformationoutofournewattribute.
Theinformationisextractedviaamultistepprocesstotwolocations,anExcelspreadsheet andatable.Inbothcases,theinformationisinanorganizedtabularformand,whilenot linkedbi-directionally,isanexactrelectionofdrawingconditions.Letusgiveitatry.
18.2 CREATING THE DESIGN Weneednothingcomplicateddrawntolearnthebasicsofattributes.Goaheadanddrawa simplechairmadeupofseveralrectanglesandroundedcorners,asshowninFigure18.1. Makethechair30" 30"andapproximatetherestofthedimensionsrelativetothose. Wewouldliketoembedthefollowinginformationinit—manufacturer,color,andcatalog number—andputthesethreeitemsjustabovethechair.Letusirstaddsometext,aheader ofsorts,indicatingwhatthethreecategoriesare,asseeninFigure18.2.Useregulartextof anyappropriatesize,fontandcolor. Thisisnotyettheattributedeinition,merelythenameofthecategories,soweknow whatwearelookingat.Youdonothavetodothis,butithelpsclarifythingsinitially,as theattributesarejustplainXs.Younowhaveasimpledesignandthestartofsomeuseful information.Wearenowreadytomakeanattributedeinition.
18.3 CREATING THE ATTRIBUTE DEFINITIONS Here,wedeinethenewattributesthatcontaintheactualinformation.Theideafornowisto simplyassignthemallavalueofXandchangetheXtomeaningfuldatalaterintheprocess,
CHAPTER 18 Attributes
FIGURE 18.1 Basic chair design.
FIGURE 18.2 Basic chair design with text.
sowearecreatinggenericdeinitions,whichallowustocreatemultiplesetsofdatafromone template.
Starttheattributedeinitionviaanyoftheprecedingmethods.ThedialogboxinFigure18.3 appears. Weareinterestedinonlytheupperrightofthedialogboxfornow.UndertheAttribute category,letusfocusonTag:,Prompt:,andDefault:. ForTag,typeinMfgforManufacturer(thisistheactualcategory). ForPrompt,typeinPlease enter manufacturer(thisisjustareminderfortheuser). l ForDefault,typeinX(thisisthegenericplaceholder)asseeninFigure18.4. l l
Therestoftheinformationinthedialogboxcanbeleftasisfornow,althoughwediscussa featureunderMode(upperleft)laterinthechapter.Onethingyoucanadjusthoweveristhe textheight,matchinguptheattributesizetothesizeofthetextoverthechair.Thetextis4" inheight,soyoucanenterthatvalueintotheield. PressOKandyourattributedeinitionappearsattachedtoyourcrosshairs.Goaheadandplace itnexttotheMfg:text.Notethatitisincapitallettersbydefault.Goaheadandgothrough thesameprocedurefortheremainingtwocategories,changingtheTagvalueandslightly modifyingthePrompt.ThedefaultremainsasX.Notealsothatyoucannothaveblankspaces inthetag,hencetheCATALOG_#underscore.TheinalresultsareshowninFigure18.5.
431
LEVEL 2 Chapters 11–20
FIGURE 18.3 Attribute Definition.
432
FIGURE 18.4
FIGURE 18.5
Attribute fields.
Attribute fields completed.
FIGURE 18.6 Edit Attribute Definition.
Wearealmostdonecreatingtheattributedeinitions.Notethedifferencesbetweenthe textandtheattribute.Double-clickontheoriginaltext,andyougetthestandardtext editingield.Double-clickontheattributedeinitionandyougetadifferent,EditAttribute Deinition,ield,asshowninFigure18.6.
CHAPTER 18 Attributes
FIGURE 18.7 Edit Attributes.
433
FIGURE 18.8 Edit Attribute.
Atthispoint,itmaynotbeobviouswhywehavetwoidenticalsetsofcategoriesnexttoeach otherorwhyweenteredtheX.Afterthenextstep,whatwearedoingshouldbecomemuch clearer.
18.4 CREATING THE ATTRIBUTE BLOCK Thisnextstepshouldbefamiliar:CreatearegularblocknamedSample Chairviaany methodyouprefer.Giveitaname,selecttheobjects(boththechairandallthetext),and pickaninsertionpoint.Finally,clickonOK,andthedialogboxshowninFigure18.7 appears. ThisEditAttributesdialogboxallowsyoutoenterspeciicvaluesforthoseplaceholders (markedasX),butwedonotdothatatthispoint.SimplypressOKandyournewattributeis oficiallyborn(Figure18.8).NoticeallthepreviouscategoriesarenowjustXandreadyfor customization.Thisistheprocessforcreatingagenericattribute.Intheexampleoftheofice chairs,youcreateseveralcopies(thedifferenttypesofchairs)andcustomizetheinformation foreach.Then,copyanddistributethetypesasneededontheloorplan,aswedonext.
LEVEL 2 Chapters 11–20
18.5 ATTRIBUTE PROPERTIES AND EDITING Nowthatyouhaveablockwithattributes,youneedtolearnhowtoedititsieldstoadd ordeleteinformationfromanattributeaswellaschangeitscolor,font,andjustaboutany otherproperty.Someofthesetechniquesoverlapeachotherandduplicateeffort,soweneed toclearlystatewhatisusedforwhat. Firstofall,ifyouwanttochangeonlythecontentofanattribute(inotherwords,whatit says),youneedtogetbacktothedialogboxshowninFigure18.7.Itisbasicandsimple,but doesnotchangefontsandcolors.Also,theonlywaytogettoitisbytyping.Thecommand, attedit,takescareofthecontent.Indeed,thisisthewayyoushould“populate,”orillin, theieldsoncewestartcopyingthechair.TryitrightnowandeditthechairtosaySearsfor themanufacturer,Brownforcolor,andS-1234forcatalognumber. Now,whatifyouwantedtochangeanattribute’sproperties,asdiscussedearlier?Well, themethodherechangesslightly,asyouneedtodealwiththeEnhancedAttributeEditor. Althoughafullcommandmatrixisshownnext,theeasiestwaytogettoitisjusttodoubleclickontheattribute.
434
Whatyougetaftereitherdouble-clickingorusingthepreviousmethodsisFigure18.9.Here, youcandoquitealot.ThisEditornotonlyallowsyoutoillintheieldsbutalsoavariety ofproperties(colors,layers,fonts,etc.).Clickthroughthethreetabs,Attribute,TextOptions, andProperties,toexplorealltheoptions.Herearesomeadditionalpointersonattributes.
Exploding Attributes Attributescanbeeasilyexploded,butthisactiondestroystheblocksandturnstheminto whatyouseeinFigure18.9,whereyouhavejustgenericplaceholdersunattachedtoa
FIGURE 18.9 Enhanced Attribute Editor.
CHAPTER 18 Attributes physicaldesign.Youcanchangeafewieldsandreassembletheblock,whichisaperfectly validtechnique,especiallyiftheattributeisgivingyouahardtime.Becarefulthough; explodingcomplexattributescansuddenlyillyourscreenwithanenormousamountof data,sokeeponeingeronthatUndobutton.
Inserting Attributes Asyoulearnedinthischapter,attributesareblocks;therefore,youcaninsertthemasneeded, asanalternativetocopyingthem.Whenyouinsertablockthatcontainsanattribute,youare promptedtoillintheXplaceholdersatthecommandline.Indeed,thisishowtitleblocks areoftenilledoutwhenagenerictemplateblockisinsertedintoaspeciicjobile. Ideally,everythingmakessensenowthatyouseethebigpictureofwhatwasdone.Review thechapteruptonowifnot.Ournextstepistolearnhowtoextracttheusefulinformation. Forthisyouneedtoduplicatetheattributetosimulatehavinganumberoftheminareal drawing.Then,goaheadandchangesomeofthevalues.TheinalresultisshowninFigure 18.10.
435
FIGURE 18.10 Various attributes.
18.6 ATTRIBUTE EXTRACTION Extractingtheinformationisamultistepprocess,necessarilysobecauseofthenumberof optionsofferedalongtheway.OurtargetextractionisbothanExcelspreadsheetandatable embeddedinAutoCAD.Rememberofcoursethatthisisabasicgenericextractionandmore complexspreadsheetsandtablescanbecreatedtoholdsuchdata,whichislefttoyouto explore. Step (Page) 1. Begin.
Startupthedataextractionprocessviaanyoftheprecedingmethods.The DataExtraction–Begin(Page1of8)dialogboxshowninFigure18.11 appears.Youaregoingtocreateanewdataextraction,soleavethedefault
LEVEL 2 Chapters 11–20
FIGURE 18.11 Data Extraction – Begin (Page 1 of 8).
436
FIGURE 18.12 Data Extraction – Define Data Source (Page 2 of 8).
topchoicebutunchecktheUseprevious…box.Then,pressNextand youaretakentoaFile→SaveDataExtractionAsdialogbox.Saveyourile as Sample.dxeanywhereyouwillinditeasilyonyourdrive.Youarethen takentothenextpage. Step (Page) 2. D eineDataSource(Figure18.12).Here,weareinterestedinthedata source,orlocationoftheiletobelookedat.Leavethedefaultchoicewith theIncludecurrentdrawingboxcheckedoff.PressNext. Step (Page) 3. S electObjects(Figure18.13).Here,weareinterestedinselectingfromwhat wewanttoextractthedata.Inourcase,thereisonlyonechoice,thesample chair,asitistheonlyavailableblock(asseenunderthetypecolumn).You canalsoclickonDisplayblocksonly,undertheDisplayoptions,toisolate thechair.Ineithercase,selectitandpressNext.
CHAPTER 18 Attributes
FIGURE 18.13 Data Extraction – Select Objects (Page 3 of 8).
437
FIGURE 18.14 Data Extraction – Select Properties (Page 4 of 8).
Step (Page) 4. SelectProperties(Figure18.14).Here,youinitiallyseemanyproperty choices.Usethecategoryilterontherighttouncheckallthechoicesexcept Attribute.Youtheneasilyseethethreepropertiesontheleftthatwecreated earlier.CheckoffallthreeandpressNext. Step (Page) 5. ReineData(Figure18.15).Thisstepisforyoutoreinethedataifneeded. Itcontainssomeinterestingfeatures,suchasLinkExternalData…(totie inthisoutputtoanotherExcelile)aswellassometoolsforadjustingand tweakingthecolumns.MuchofthisandmorecanbedoneinExcelitself afterextractioniscompleted,butitcanbeusefultoadjustthelookand contentofthetableextractions,astablesarelesslexible.Ifyouwantto changenothing,pressNextfortheinalfewsteps. Step (Page) 6. ChooseOutput(Figure18.16).Here,weareinterestedinourdestination output.AlthoughtheExcelspreadsheetistheonethatgetsalltheattention,
LEVEL 2 Chapters 11–20
FIGURE 18.15 Data Extraction – Refine Data (Page 5 of 8).
438
FIGURE 18.16 Data Extraction – Choose Output (Page 6 of 8).
youcanalsoextracttoatablethatwillbeinsertedintothedrawing itself.TableswereirstintroducedinChapter15,soreviewthatsectionif necessary.Checkoffbothboxesifyouhavenotdonesoyet,andinally selectthelocationoftheExcelilebyusingthethreedotbrowsebutton. Whenready,pressNext. Step (Page) 7. TableStyle(Figure18.17).Wedonotdoanythingtothetable,leavingit asis,butyoushouldreviewtheoptionsavailableandpressNextwhen done. Step (Page) 8. Finish(Figure18.18).Ontheinalpage,thereislittletodoexceptread whatAutoCADistellingyouandpressFinish.Youareaskedforaninsertion pointandnoticethetableattachedtothemouse.Youmayhavetozoomin toseeitbetter.Finally,whenyoucanseeit,clicktoplacethetable.Thetable isinsertedintoyourdrawing,asshowninFigure18.19.
CHAPTER 18 Attributes
FIGURE 18.17 Data Extraction – Table Style (Page 7 of 8).
439
FIGURE 18.18 Data Extraction – Finish (Page 8 of 8).
FIGURE 18.19 Table Insertion (AutoCAD).
Itisnotfancy,butitgetstheinformationacross.Themainoutput,however,istheExcelile. Lookforitwhereveryoumayhavedroppeditoffanddouble-clickonittostartExcel.Then, aftersomecleanup(cellborders,columnwidth,fonts,colors,etc.),selectthecellsandCopy/ PastethemintoAutoCAD,asyoudidinChapter16.ItlookslikeFigure18.20.
LEVEL 2 Chapters 11–20
FIGURE 18.20 Table insertion (Excel).
FIGURE 18.21 Invisible option.
Thisinessenceisattributedataextraction.Youshouldrecognizethevalueinwhatyoudid andthepotentialitholdsforeasydataaccessandaccounting.
440
Thereareotherusesforattributes.Onecommonuseisformattingafulltitlesheetandblock withgenericattributesandsavingitasacompanystandard.Inthiscase,thetextistheixed permanentcategories,suchasDate,Sheet,Drawnby,andotherields,andtheattribute deinitionsarethevariables,suchastheactualdate,sheetnumber,andtheinitialsof whoevercreatedthedrawing.Then,everythingisblockedoutandsavedforfutureuse,with theXsrepresentingto-be-illed-invariables.Astheneedcomesupforanewtitleblock,itis insertedasablockintothedesign’sPaperSpacewiththevariablesilledoutonthespot. Weconcludetheattributeschapterbybrielygoingoveranimportantoptionintheattdef commanddialogbox.
18.7 INVISIBLE ATTRIBUTES Thisoptionappearsastheirstcheck-offboxintheupperleftoftheattdefdialogboxand isthemostimportantofalltheonesinthatcolumn.Itisusedtomakeattributesinvisible uponcreation. Now,whywouldyoudothis?Asmentionedatthebeginningofthischapter,thisisa relativelycommonwayofcreatingattributesforthesimplereasonthatyoudonotneed toseethetextandtheattributeinformation.Ifyouknowwhatyoucreated,thenthereis noneedtoclutterupthedrawingwiththatlistoverandoveragain.Thisisespeciallytrue ifthereisagreatdealofinformation(electricalterminationpanelscometomind)and revealingallwouldcreateadenseblanketoftextonthedrawing,obscuringeverythingelse. Tousetheinvisibleoption,simplystarttheattributecreationprocesswithattdef,check offtheInvisibleoption,thenproceedasoutlinedpreviously.Theattributeofcourseremains visibleuntiltheblockiscreatedanddisappearsafterward.Toseewhatyouhave,thereisno problem:Simplydouble-clickontheblockortypeinattedit,asoutlinedpreviously. Asyoucansee,beinginvisibleforanattributeisnoproblematall,asyoucaneasilyaccess itforeditingifneeded,anditisunobtrusivelyoutofthewayuntilthen,thebestofboth worlds.Theonlydownsideofcourseisthatyoudonotknowthattheattributeisthereif
CHAPTER 18 Attributes
FIGURE 18.22 Elevations, Step 1.
youwerenottheonewhosetitup.Itisalwaysagoodhabittodouble-clickonblocksjust toseewhatpopsuponanunfamiliardrawing,andindeed,thisisastandardinvestigative procedureinthesecases. Figure18.21showstheInvisibleoptioncheckedoffintheattdefdialogbox.
LEVEL 2 DRAWING PROJECT (8 OF 10): ARCHITECTURAL FLOOR PLAN ForPart8ofthedrawingproject,weinishupthedesignbycreatinganexteriorelevation. Elevationsarethe“headon”viewsofabuilding.Theyareprojectedfromoverheadorplan viewsandaremeanttogivetheclientandbuilderavisualofthearchitect’sdesign.These elevationsfeaturewalls,doors,windows,anyotherexteriordesignfeatures(suchascolumns orireplacechimneys),andofcoursetheroofdesign. Step 1.Youneednonewlayersforthis.Openuptheloorplan,freezealllayersexceptthe wallsandwindows,anddrawguidelinesstraightdownfromeachbendorfeaturein thewall(suchasadoororwindow),asseeninFigure18.22. Step 2.Raisetheelevationandaddthedoorsandwindowsaccordingtotheprovided dimensions,asseeninFigure18.23.Forsimplicity,somedetails,suchasgutters, aremissing. Step 3.Completetheelevationbyaddingexteriorwallhatchandsomeotherinishing touches.Figure18.24showstheinalresult.Repeatthesameprocedureforatleast oneothersideofthehouseorcompleteallfour.
SUMMARY Youshouldunderstandandknowhowtousethefollowingconceptsbeforemovingonto Chapter19: l l
Attributedeinitions Attributeblocks
441
LEVEL 2 Chapters 11–20
FIGURE 18.23 Elevations, Step 2.
FIGURE 18.24 Elevations, Step 3.
442 Editingieldsandproperties Attributeextraction l Invisibleattributes l l
REVIEW QUESTIONS Answer the following based on what you learned in Chapter 18: 1. 2. 3. 4.
What is an attribute and how do you create one? How do you edit attributes? How do you extract data from attributes? Into what form? How do you create an invisible attribute? Why can this be important?
CHAPTER 18 Attributes
EXERCISE 1A. Draw the following doors:
1B. Next, add text attributes to each, as shown by the sample that follows for the 1" 12" accordion: m Type: Accordion Double. m Size: 1" 12". m Color: Natural Wood. m Mfg: XYZ Door Company. m Stock #: 654-A-1x12. 1C. Create similar attribute data for the remaining four doors. Vary the colors and the stock numbers. 1D. Make a block out of each one and fill in the attribute information. 1E. Copy the entire set once for a total of ten doors. 1F. Extract the data to Excel. (Difficulty level: Intermediate; Time to completion: 30 minutes)
443
This page intentionally left blank
CHAPTER
19
Advanced Output and Pen Settings
445
LEARNING OBJECTIVES In this chapter, we introduce and thoroughly cover the concept of advanced output, which includes the concept of the ctb pen settings file. We specifically discuss l ctb files and their purpose l Editing lineweights l Screening l The lwt option
Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 2 Chapters 11–20 Bytheendofthechapter,youwillbewellversedinapplyingthiscriticalconcepttoyour designwork. Estimatedtimeforcompletionofchapter:1hour.
19.1 INTRODUCTION TO ADVANCED OUTPUT AND PEN SETTINGS Thischapteristhelastofthreethattalkaboutsomeaspectofprintingandoutput.Although generalandadvancedprintingwasalreadyexploredinChapters9and10,acrucialpieceof informationwasomitted.Thisinformationconcernspensettingsandotheradvancedoutput techniques,essentialknowledgeforprofessional-lookingoutput.Thereasonswearedoing thisareoutlinednext. Mostdesignsarerathercomplexwheneverythinghasbeenaddedtothedrawing.Linescross otherlinesandtextiseverywhere.Theeyeneedstobeabletoquicklyandeasilyfocuson whatisessential,forexample,theoutlinesofthewallsofaloorplanortheoutlineofthe mechanicalpartamongthemanyotherelementsinthedesign. Thisisanalogoustoamixofarocksong.Noteveryinstrumentcanbetheloudest; somethinghastogive,andabalanceneedstobefoundsothenuancesandcolorofthe musiccanstandout.Usually,whenthesingersings,otherinstrumentshavetobeturned downabit,butwhenaguitarsolos,itsvolumegetsturnedup,andsoon.Otherwiseit wouldbealoud,obnoxiousmesswithallsoundscompetingforattention. Suchisthesituationwithapencilandpaperdrawing.Alllinescannotbethesamethickness anddarkness.Suchamonochromemesswouldbeconfusingtolookat.Draftspersonshave knownthisforaslongastheprofessionhasbeenaroundand,asaresult,havenumerous pencilsattheirdisposalrangingfromlightest(hardlead)todarkest(softlead)andeverything inbetween.Theyusethedarkestfortheprimarydesignandthelighterleadsforallelse. 446
AutoCADhasasimilarphilosophy.Linesmusthavedifferencesinthicknessforsometo standoutmorethanothers.But,howdoweshowthesedifferences,nowthatwenolonger usepencilleads?Theansweristousecolor.Colorsarethenassignedlinethicknesses,and assumingofcourseaconsistentandintelligentpatternofuseonthepartofthedesigner, differencesinlinethicknesscaneasilybeincorporatedintothedesignbyassigningcertain colorstotheprimarygeometry.Asyoucansee,colorsplayadualrole.Theyallowyoutotell geometriesapartnotonlyonthescreenbutalsoonpaper.Thechallengethenistosetupa tablethatassignscolorstocertainlinethicknesses,andmostimportant,sticktousingthese colorsproperlyandconsistently.
19.2 SETTING STANDARDS ThethingyouneedtodeterminebeforeanythinggetstouchedinAutoCADiswhatcolorswill beusedtorepresentthemostimportantgeometry.YouactuallydidthisbackinChapter3, whenlayerswereintroduced.ThisofcourseissomethingdoneoncebytheCADmanagerand usuallyisappliedtoalldrawings.Allwearereallydoingisestablishinga“peckingorder,”soto speak,forcolors.Thisordercorrespondsfromthemostimportant(hencethickest)totheleast important(thethinnest)pensetting.Therearenohardruleshereasfaraswhatcolorstouse;it ismoreorlessarbitrary,althoughconventionfavorssomecolorsoverothers. Letussay(basedoncommonconvention)thatgreenistheA-Wallslayercolorinour architectureplanandisassignedthethickestlineweight.TheA-Windowslayeristypically redandtheA-Doorslayeryellow.Boththoseobjectsarealmostasimportantasthewalls butcanbesetabitthinner.TheA-FurnitureandA-Applianceslayerismagentaandthinner still.A-TextandA-Dimslayersarecyanandthinneryet.Finallyinourhypotheticalexample ishatch.Thosedensepatternsreallyneedtobelight,soasnottooverwhelmthedrawing,so weassignthemagraycolorandthethinnestlineweightofall. Althoughthisisjustanarbitraryexample,itisalsoexactlythethoughtprocessyouneedto gothroughtohavearoughideaofhowthingswilllook.Oncethisisgenerallydocumented, youcanmoveontotheactualsettings.
CHAPTER 19 Advanced Output and Pen Settings
19.3 THE ctb FILE Thectbileistheilethatneedstobemodiiedtosetthepensettings.Itiswhereyouassign penthicknesstoacolorandwherewespendourtimefortheremainderofthechapter.We openthectbile,giveitaname,modifysettings,andsave.Then,asyousetupplots,you assignthectbiletothoseplots,whichisapermanent,“doonlyonce”action. Therearetwowaystosetupthectbile:eitherbyaccessingitinthePageSetupManageror asaseparateaction,whichiswhatwedo.SelectTools→Wizards→Add Plot Style Table… fromthedrop-downmenu.ThedialogboxshowninFigure19.1appears.
447 FIGURE 19.1 Add Plot Style Table.
PressNext andyouaretakentothenextpageofthisdialogbox(Figure19.2),whereyou selecttheirstoption,Startfromscratch.Thisbeginsanewlinesettingprocedurefromthe defaultbasevalues.
FIGURE 19.2 Add Plot Style Table – Begin.
LEVEL 2 Chapters 11–20 PressNext andyouaretakentothenextpageofthisdialogbox(Figure19.3);selectthe Color-DependentPlotStyleTablechoice.Thisistheonlychoicewelookat;thenamedplot stylesarenotcoveredandarerarelyused.
FIGURE 19.3 Add Plot Style Table – Pick Plot Style Table.
448
PressNext andyouaretakentothenextpageofthisdialogbox(Figure19.4).Givethe newctbileadescriptivename,likeStandardCTB,ColorCTB,oranythingelsethatwillbe recognized.Here,itisSample_CTB_File.
FIGURE 19.4 Add Plot Style Table – File Name.
PressNext fortheinalstep(Figure19.5).Here,weareinterestedinthePlotStyleTable Editor…toactuallysetthelineweights.Pressthatbuttonandyouaretakentoourinal destination,theactualPlotStyleTableEditor,showninFigure19.6. Hereiswherewesetthecolors,weights,andafewothertricks.StayinthedefaultForm View(referringtothetabsontop),aswedonotneedtheinformationinanyotherformat.
CHAPTER 19 Advanced Output and Pen Settings
FIGURE 19.5 Add Plot Style Table – Finish.
449
FIGURE 19.6 Plot Style Table Editor for Sample_CTB_File.
Familiarizeyourselfwiththiseditor.Ontheleftisthepaletteoftheavailable255colors, andontherightisavarietyofeffectsandsettingsyoucanimpartonwhatevercoloror colorsyouselectfromthepalette.Allthetoolsarethere;youjustneedtoproceedcarefully.
LEVEL 2 Chapters 11–20
Step 1 Theirstthingyouneedtodoistosetallthecolorsinthecolorpalettetoblack.Asthe defaultsettingsarenow,eachcolorisinterpretedliterally,whichmeansthatifyouare sendingyourdesigntoacolorplotter,allthelineworkwillcomeoutincolor,exactlyasseen onthescreen.Thisisaverydesirableoutcomeincertainsituationsbutnotinmost(wetalk aboutthismorelateron).Fornow,weneedtomonochromeeverythingsowecanworkon linethicknesses. Selectallthecolors(1–255)inthepalettebyclickingyourmouseintheemptywhitearea justtotherightofthecolors,holdingdownthebutton,andsweepingtoptobottom. HoldingdowntheShiftkeyandclickingtheirstandlastentryaccomplishesthesame thing. l Then,asallthecolorsarehighlightedblue,selecttheveryirstdrop-downchoicein Properties,calledColor:,andselectBlack(Figure19.7).Allcolorsareassignedblackink. l Clearthepalettechoicesbyclickingrandomlyanywhereinthewhiteemptyareaofthe leftsideofthepalette,andtestoutyourchangesbyclickingrandomcolors.Theyshould allbeblack. l
FIGURE 19.7 450
Selecting black for all colors.
Step 2 Nextweneedtosettheactualthicknesses.ThisisdoneintheLineweight:drop-downmenu, abouthalfwaydownthelistontheright.Currently,itsaysUseobjectlineweight,which simplymeansnothingissetspeciicallyandalllineweightsarethesame(thedefaultvalueis 0.1900mm). Here,weneedtodiscussamajorpointyoumustunderstandinworkingwiththisfeature.The actuallinesizesareofsecondaryimportancetotherelative differencesbetweenthesizes.This meansthatyouneednotworrytoomuchabouthowbig0.2mmor0.15mmis—although thatistherangeofsizesthathappentolookjustrightonpaper.Whatismoreimportantis thatthereisalargeenoughdifferencebetweenthechoices(0.2mmvs.0.15mmasopposedto 0.2mmvs.0.18mm),sotheeyecannoticethisdifference.Youcanjustaseasilyuse0.25mm and0.3mm,butasyougetupinthehighernumbers,alllinesendupbeingoverlythick,soit isbesttosticktotherangeof0.25mmontheupperendand0.05mmonthelowerend. Letusputthisalltouseandsetsomevalues: l l l l l l
Clickonandselectcolor3(green);setLineweightto0.2500mm. Clickonandselectcolor1(red);setLineweightto0.1900mm. Clickonandselectcolor2(yellow);setLineweightto0.1900mm. Clickonandselectcolor4(cyan);setLineweightto0.1500mm. Clickonandselectcolor6(magenta);setLineweightto0.1500mm. Clickonandselectcolor9(gray);setLineweightto0.1000mm.
Now,toputitalltogether,recalltheLevel1apartmentdrawing.TheA-Wallslayerwas coloredgreenandappearsdarkest(0.2500mm)asrequired.TheA-DoorsandA-Windows
CHAPTER 19 Advanced Output and Pen Settings layerswereyellowandred,respectively,andareslightlylighter(0.1900mm),followed bytheA-TextandtheA-Appliances(orA-Furniture)layers,coloredcyanandmagenta, respectively,lighterstill(0.1500mm).Lastwerethegray-coloredhatchpatternscominginat (0.1000mm). So,willtheseparticularlineweightchoiceslookgood?Thedrawingwillcertainlylookmore professionalandfeatureswillstandapartfromeachother.Theexactvaluesandcolorsare alldeterminedbythearchitect,engineer,ordesigner,asthispersoninspectstheresultsand tweaksthelineweightsasneeded.Thisisanextensivetrialanderrorprocedureandnotall individualsselectthesamesettings;however,inanyprofessionalofice,thesetechniques mustbeusedregardlessofexactlywhatspeciicsettingsareset.Nothingscreamsamateur morethanamonochromedrawingwithequallineweights.
Step 3 Tocompletetheprocedure,pressSave&CloseandFinishintheAddPlotStyleTable– Finishdialogbox.Then,openadrawing,suchastheLevel1loorplan,ifavailable.Typein plotandsetthedrawingupforplottingorprintingasoutlinedinChapter10,beingsure thistimetoselectSample.ctbinsteadofmonochrome.ctbintheappropriateield.
19.4 ADDITIONAL CTB FILE FEATURES Webrielycovertwootherusefulfeaturesaboutwhichyoushouldknow.Theirstone wasalreadyalludedtoearlier.Whenyouselectedallthecolorsandturnedthemtoblack, youcouldhaveleftafewout.Thesecolorswouldthenhavebeenplottedincolor.Sothis actioniscertainlynotan“allcolor”or“allblack”deal.Youcanmixandmatch,andwhat istypicallydoneinapipingorelectricalplan(forexample)isthattheentireloororsite planismonochrome,butthepipesorcablesandwiringareleftinvividred,blue,orgreen (yellowandcyandonotshowupwellonwhitepaper).Theintentofthedesignismuch clearer.Itisagreateffect,althoughitcanobviouslybederailedbynothavingacolorcapable printerorplotter. Thesecondfeaturehastodowiththescreeningeffect.Whatthisdoesislightenanycolor ofyourchoosingsolessinkisputonthepaperduringprinting.Itisliterally“fadedout” andisaveryusefultrick,aswewillseewithanexample.Thecolormostoftenchosentobe screenediscolor9(gray),asitisanaturalforthiseffectandalreadylooksfaded,although anycolorcanbeused. Toscreenacolor,selectitintheeditorasoutlinedjustpreviously,andgototheScreening ield(asseeninFigure19.8).Then,usethearrowsortypeinavalue.Typically,thescreening effectismostusefularound30–40%.Thenproceedasbeforewithsavingandplotting.
FIGURE 19.8 35% screening of color 9.
So,whatistheeffectlike?Figure19.9showstwosolidillsonthesamesolidwhitecolor: onewithnoscreening(left),meaningitis100%,andonewiththe35%screening(right)as viewedthroughtheplotpreviewwindow. Itisagreattricktouse.Herearesomeideaswhereyoucandothis: l
Inakeyplan,wheretheareaofworkisgrayedoutandscreened,yettheunderlying architectureisstillvisible.
451
LEVEL 2 Chapters 11–20
FIGURE 19.9 Plot preview without and with 35% screening.
Inanareaofworkonademolitionplan,wheretheareatobedemolishedforaredesign isgrayedout,withallthefeaturesstillvisible. l Asarenderingtool,tocreatecontrastingshading. l Asarenderingtool,togiveasenseofdepthorsolidnesstoexteriorelevations. l
andmanymoreapplications….
19.5 THE lwt OPTION 452
AnadditionalLineweight(lwt)optionisavailabletoyou,anditisonethatisoftennoticed irstbecauseofitsvisibility.Itisfoundallthewayontherightamongyourbottomofthe screenmenuchoices,asshowninFigure19.10.
FIGURE 19.10 lwt (Lineweight) option.
Thisisnotthesamethingaswhatwecoveredearlierinthischapter.Thectbileandsetting thelineweightsinthatmannergetsyouonlyplottedresults.Thismeansthaton-screenall thelinesremainthesamesize,regardlessofthesettings.Theresultsofthectbsettingscan onlybeseenonpaper. Incontrast,thelwtoptionallowsyoutosetlinethicknessthatisactuallyvisibleon-screen. Itisaratherinterestingeffect.Onceset,thelinesremainatthatthicknessregardlessofhow muchyouzoominorout.OpinionsonthiseffectvaryamongAutoCADusers.Somethink itisveryusefulandaccuratelyrelectswhatwillbeprinted,whileothersseeitasadistraction andareperfectlyinerememberingwhatcolorsaresettowhatlinethicknessviathectb method. Itisuptoyoutoexperimentandseewhereyoustand.Tosetthelinethicknessusingthis option,youneedtogototheLayersdialogbox,createanewlayer(usuallywithacolor), andsetthevalueundertheLineweightheaderasseeninFigure19.11(with0.50mmused forclarity).TheresultisseeninFigure19.12. Aftersettingthislayerascurrent,drawsomething.Noticethatthelineisthin,asifnothing happened.NowpressintheLWTbutton;thelinesuddenlyturnsthicker,asseeninFigure 19.13.Thisisexactlyhowitwillprint.Notehoweverthatctbsettingssupersedethelwt
CHAPTER 19 Advanced Output and Pen Settings
FIGURE 19.11 Lineweight settings.
FIGURE 19.12 Lineweight set to 0.50 mm.
453
FIGURE 19.13 Line drawn with the 0.50 mm lwt setting.
settings,andyouwouldleavethectbsettingsasdefaultifyouareinclinedtousethislwt featureinstead.
LEVEL 2 DRAWING PROJECT (9 OF 10): ARCHITECTURAL FLOOR PLAN ForPart9ofthedrawingproject,youdotwothings.Youirstsetupamastertitleblockthat containsattributes.ItisreusednumeroustimeswhenwegettosetupfullPaperSpacelayout tabsinPart10inthenextchapter.Then,usewhatyoulearnedinthischaptertocreatea useablectbile. Step 1.Applyattributestocreateanintelligenttitleblock.Youcanuseamodiiedversion ofthetitleblockirstcreatedinChapter10.Startoutwiththatbasictemplate,insert itintoaPaperSpacetab,andaddsomeextralinestothelowerrightpartofthetitle block(seeFigure19.14).Then,followingwhatyoulearnedinChapter18,addtext forthefollowingcategories,followedbytheattributesthemselves.Makesureyouare drawingonatitleblocklayer(color:white). m Drawnby:
LEVEL 2 Chapters 11–20
FIGURE 19.14 Title block with attributes.
Checkedby: Approvedby: m Date: m DWGName: m Sheet#: m DWGNumber: Step 2.Whenyouhaveilledeverythingin,makeablockoftheentiretitleblockandeither illintheXsrightawayorleavethemasvariablesuntilyousetuptherestofthe PaperSpacelayoutinthenextchapter.Figure19.15showsthetitleblockilledin withinformationafteritwasmadeintoablock. m m
454
FIGURE 19.15 Title block completed.
Step 3.Thenextstepistoassignproperlineweightstothectbileofthearchitecturaldesign. Assumethestandardwehavebeenfollowingandmakegreenthedarkestline, followedbyyellowandred,thenalltheothers.Theexactvaluesareup toyou.
CHAPTER 19 Advanced Output and Pen Settings
SUMMARY Youshouldunderstandandknowhowtousethefollowingconceptsbeforemovingonto Chapter20: ctbile Editinglineweights l Screening l l
l
lwt
REVIEW QUESTIONS Answer the following based on what you learned in Chapter 19: 1. 2. 3. 4.
What is the ctb file? Describe the process of setting up a ctb file. What is screening? What is lwt?
EXERCISE 1. For practice, create a brand-new ctb file. Call it Ch_19_Sample_File. Monochrome all colors and assign the following thicknesses to the listed colors as seen next: l Color 1, red, 0.2500. l Color 2, yellow, 0.1900. l Color 3, green, 0.1500. l Color 4, cyan, 0.3000. l Color 5, blue, use object lineweight. l Color 6, magenta, 0.0900. l Color 7, white, 0.1000. l Color 9, gray, use object lineweight. Screen color 9 to 30%. (Difficulty level: Easy; Time to completion: 10 minutes)
455
This page intentionally left blank
CHAPTER
20
Isometric Drawing
457
LEARNING OBJECTIVES In this chapter, we introduce isometric perspective and how to use it. We cover l What isometric perspective is l When to use it l When not to use it l Setting isometric perspective l Changing planes (F5) l Ellipses in isometric l Text in isometric
Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 2 Chapters 11–20 Inthecourseofthechapter,youwillcreateseveralisometricdesigns,includingacomputer deskandmechanicaldevices. Estimatedtimeforcompletionofchapter:1hour.
20.1 INTRODUCTION TO ISOMETRIC PERSPECTIVE Bystrictdeinition,isometric perspectivemeansrepresentingathree-dimensionalobjectin twodimensions.AsappliedtoAutoCAD,itmeanswedrawa3Dobjectwithoutresortingto thecomplexitiesof3Dspace,sortof“fakingit”in2D,byanglinghorizontallines30°(the acceptedisometricdraftingstandard,thoughthereisalsoAxonometric,whichis45°).This createstheillusionof3Dandisgoodenoughtogetanideaacross;indeed,thatishowitis donewithpaperandpencil.Inourcase,wesometimesleavethehorizontallineslat,aswith theboxinFigure20.1,andsometimesangleallofthem30°,aswiththecomputertable exerciseattheendofthechapter.
458
FIGURE 20.1 T-square and triangle.
Why Use Isometric Perspective Instead of 3D? Thereareafewreasons.Oneisthatitismucheasiertolearnisometricdrawingthanto developproiciencyinreal3D.So,forsomeonewhoonlyneedsaquick3Dsketchonceina whilejusttoaccentanotherwiseexcellent2Dpresentation,thisperfectlyitsthebill.Another reasonisthat3Dtakesupmoretimeandcomputingresources,somethingthatisnotalways available,andthereisalsosomedificultyincombining2Dand3Ddrawingsononesheet. ManystudentsdonotgoontotakeAutoCAD3Drightaway(norshouldthey),andisometric illsthattemporaryvoidquitewell.Forthosewhodogoon,isometricdrawingservesasan excellentintroductionto3Dandshouldbereviewedbeforestartingthe3Dinstruction.
When Not to Use Isometric Perspective Isometricdrawingisinappropriatewhenprecision3Ddrawingsarerequiredfordesign, testing,andmanufacture.Remember,isometricperspectiveisonlyforvisualization.These are nottrue3Dobjectsandhavenorealdepth,onlytheillusionofdepth.Asaresult,true measurementsandtheuseoftheoffsetcommandarenotpossibleinthetraditionalsense.
20.2 BASIC TECHNIQUE Thereisnothinginherentlyspecialaboutdrawinganisometricdesign.Drawastraight(Ortho) horizontalline,thenrotateit30°counterclockwise.Nextattachaperfectlystraightlinetoone ofthetipsusingENDpoint.Copytheoriginalhorizontallinefromwhereitmeetsthevertical totheotherend(usingENDpointaswell).Youareonyourwaytodrawinganisometricbox.It isthesameastakingaT-squareinhanddraftingandputtinga30°60°90°triangleonit, asillustratedinFigure20.1.
CHAPTER 20 Isometric Drawing Thatwasnothard,butitwastedious.ThereisofcourseawaytohaveAutoCADpresetthe crosshairssoyouarealwaysdrawinginisometricmode.Toexplainit,weneedtointroduce theideaofplanes,sohereisashortintroductiontotheplaneconcept. Inisometricdrawing,youarealwaysdrawinginoneofthreeavailableplanes:top,right, orleft(seeFigure20.2).Becauseyouareusinga2Dpointingdevice(amouse),which existsonlyina2Dworld,youneedtobeabletoeasilymovefromoneplanetotheother tobeabletodrawonit.Totogglebetweenplanes,presstheF5key.Yourcrosshairslineup accordingly,andnowyoujustdrawusingthelinecommand.Hereisoneinalrule:You almostalwayshaveOrthoonwhileinisometricmode,otherwise,thelinesarenotstraight androtatingthem30°ismeaningless.Letusputitalltogetheranddrawanisometricbox. Afteryouareabletodothis,moreadvancedisometricdrawingsaresurprisinglyeasy.
FIGURE 20.2 Isometric planes.
Step 1.Openablankile. Step 2.Fromthecascadingmenuselect:Tools→Drafting Settings…andthedialogbox seeninFigure20.3appears.
FIGURE 20.3 Drafting Settings with Isometric snap selected.
459
LEVEL 2 Chapters 11–20
Step 3.PicktheSnapandGridtab,gototheSnaptypecategory(lowerleft),pickIsometric snap,andpressOK.Figure20.3isascreenshotoftheDraftingSettingsdialogbox withIsometricsnapselected. Step 4.MakesureOrthoisactivatedandthecrosshairsaresetat100%foreasiervisualization ofplanes.Noticealsohowthecrosshairsarepositionednowthatyouareinisometric mode. Step 5.Drawstraightlines(astheyshouldbewithOrtho)ofanysizeandcontinuedrawing untilyouhavethefrontfaceofabox.Veryimportant:Donottrytoconnecttheinal linetotheirstline;youwillnevergetitexactlyright.Insteadovershootandclick afterpassingitby,asshowninFigure20.4.
FIGURE 20.4 Isometric drawing, Step 5.
460 Step 6.Now,usetheilletcommandtoilletthelinebetweenClicks4and5andClicks1 and2.WhatisshowninFigure20.5istheresult.
FIGURE 20.5 Isometric drawing, Step 6.
Step 7.Now,pressF5.Thecrosshairsshifttoanotherplaneandyoucandrawanother surface. Step 8.YoucanpressF5againfortheinalsurfaceorusethecopycommand.Besuretouse theENDpointOSNAPtocleanlyconnectlines.Figure20.6showswhatyougetafter afewlines.
CHAPTER 20 Isometric Drawing
FIGURE 20.6 Isometric drawing, Step 8.
Step 9.Andtheinalresult,afterafewmorelines,isseeninFigure20.7.
FIGURE 20.7 Isometric drawing, Step 9.
Whatmakesisometricdrawingeasyisthatthetechniquesdonotchangeformorecomplex objects.Theremaybemorelines,butitisthesamethingoverandover. Herearesomeadditionalpointers: Todrawcirclesinisometricperspectiveuseellipses.Thiscommandisintroducedin Chapter2andusedtomakethebathtubintheapartmentdrawingattheendofChapter 4.Wesayafewmorewordsaboutusingellipsesinisometricdesignhere. l AlwaysstayinOrthomodeunlessyouneedtodeliberatelyanglealineatsomeoddangle. Youseeanexampleofthiswiththebackofthemonitorintheupcomingcomputerdesk drawing. l Textcanbeangledupordownby30°toalignwiththeisoplanes.Wediscussthisshortly. l Havefunwiththis.Isometricdrawingisasemi-artisticendeavorandnotasrigidasdrafting. Eyeballdistancesbuttrytomakethedrawinglookgood.Donotbeafraidtothrowinsome hatchpatterns,asisdoneonthecomputerdeskdrawing.Rememberthough,ifyouneed moreprecision,youhavetogotothereal3D. l
20.3 ELLIPSES IN ISOMETRIC DRAWING Acircleangledawayfromyouisanellipse,andtheseshapesindwideapplicationinisometric drawing.Youneedellipsesforthebaseofthemonitorintheupcomingcomputerdeskdrawing aswellasthepowerbuttonandextensiveend-of-chapterexercises. Thereisnosureirewaytocreatetheperfectellipse;italwaysrequiresabitofadjustingtoget rightandabitofacreativeeyetodoso.ReproducingwhatwasirstshowninChapter2,we haveFigure20.8.
461
LEVEL 2 Chapters 11–20
FIGURE 20.8 Basic ellipse.
Oncetheellipseispositionedandistherightsize,youcanrotateituntilitlookscorrectand inthesameplaneastherestoftheisometricgeometry.Figure20.9isanexampleofsome ellipsesinanisometricbox.
462
FIGURE 20.9 Isometric box with ellipses.
20.4 TEXT AND DIMENSIONS IN ISOMETRIC DRAWING Textcaneasilybealignedwithisoplanesbyrotatingitplusorminus30°,orothervalues dependingontheplane,asshowninFigure20.10.
FIGURE 20.10 Text in isometric drawing.
CHAPTER 20 Isometric Drawing Althoughnotideal,youcandimensioninisometricdrawing,usingDimension→Aligned andverticaldimensions,asseeninFigure20.11.
FIGURE 20.11 Dimensions in isometric drawing.
LEVEL 2 DRAWING PROJECT (10 OF 10): ARCHITECTURAL FLOOR PLAN ForPart10ofthedrawingproject,youcompletelyinishthedesignbyaddingthePaper Spacelayouts.YouneedtoputtogetheralotofwhatyoulearnedinLevels1and2. Step 1.InPaperSpace,createthefollowingsevenlayouts: m ArchitecturalLayout. m FurnitureLayout. m CarpetingLayout. m ElectricalLayout. m RCP_HVACLayout. m LandscapingLayout. m Elevations. Step 2.InsertatitleblockintoeachPaperSpacelayout.Labelthetitleblockasappropriate forthatlayout.Makesurealltheattributeieldsareilledinandpagenumbersare incremented. Step 3.Createanmviewwindowforeachlayout(VPlayer,color:white),centeringand zoomingeachlayouttotheproperscaleusingthetechniquesyoulearnedinChapter 10.Thescalewillbeeither¼",3⁄8"ornottoscale.FreezetheVPlayerwhenyouare donewitheachofthelayouts. Step 4.Ineachlayout,useadvancedlayersettingstofreezealllayersthatarenotnecessary forthatparticularview.Youwilllikelyneedtocreateasmanylayersettingsasthere arePaperSpacelayouts,aseachoneshowssomethingdifferent. Step 5.Addlabelsandanyothertitleblockinformationyoumayneed. Step 6.Ifyourcomputerisconnectedtoaprinterorplotter,plotoutallofthelayoutson D-sizedpaper.Makesureallofthefollowingareaddressed: m PaperSpacelayoutsarecorrect. m Properscaleisusedineachmviewwindow. m Properlayersshowineachmviewwindow. m Thetitleblockiscorrectforeachlayout. m Thectbileiscorrectandtherearevaryinglineweights. AllthelayoutplansareshowninFigures20.12through20.18.Theywillbeinfullcolor, whenyouseethemonyourscreen.
463
LEVEL 2 Chapters 11–20
FIGURE 20.12 Architectural plan.
464
FIGURE 20.13 Furniture plan.
FIGURE 20.14 Carpeting plan.
CHAPTER 20 Isometric Drawing
FIGURE 20.15 Electrical plan.
465
FIGURE 20.16 RCP_HVAC plan.
FIGURE 20.17 Landscaping plan.
LEVEL 2 Chapters 11–20
FIGURE 20.18 Elevations.
SUMMARY Youshouldunderstandandknowhowtousethefollowingconceptsattheconclusionof thischapter: Isometricdrawing m Whatisit? m Whentouseit m Whennottouseit m Isometricsettings l Planes m Whatarethethreeplanes? m Switchingbetweenthem(F5) l Ellipsesinisometricdrawing l Textanddimensionsinisometricdrawing l
466
REVIEW QUESTIONS Answer the following based on what you learned in Chapter 20: 1. 2. 3. 4. 5. 6. 7.
List some instances when isometric drawing is appropriate. List some instances where 3D would be better than isometric drawing. Name the three planes that exist in isometric perspective. In what dialog box is Isometric snap found? What F key switches the cursor from plane to plane? What is almost always on when drawing in isometric? What is the equivalent of a circle in isometric drawing?
CHAPTER 20 Isometric Drawing
EXERCISES 1. Draw the following computer desk. You need your basic isometric drawing knowledge and construction techniques developed in this chapter. Also make use of the ellipse command and hatch the desk itself. All sizes are approximate and may be estimated. (Difficulty level: Easy/Moderate; Time to completion: 20–30 minutes)
467
LEVEL 2 Chapters 11–20
2. Draw the following mechanical device. You need your basic isometric knowledge and construction techniques developed in this chapter. Also make extensive use of the ellipse command. All sizes are approximate and may be estimated. (Difficulty level: Moderate; Time to completion: 30 minutes)
468
CHAPTER 20 Isometric Drawing
3. Draw the following architectural detail. All sizes are approximate and may be estimated. (Difficulty level: Easy; Time to completion: 10–15 minutes)
4. Draw the following architectural detail. All sizes are approximate and may be estimated. (Difficulty level: Easy; Time to completion: 15–20 minutes)
469
This page intentionally left blank
LEVEL
Answers to Review Questions CHAPTER 11 REVIEW QUESTIONS 1. Whatarethetwomajorpropertiesaplinehasandalinedoesnot? Property1:Apline’ssegmentsarejoinedtogether.Property2:Aplinecanhave thickness. 2. Whatisthekeycommandtoaddthicknesstoapline? Pedit. 3. Whatisthekeycommandtocreateaplineoutofregularlines? Pedit. 4. Whatoptiongivestheplinecurvature?Whatoptionundoesthecurvature? Splineoption.Decurveoption. 5. Whattwomajorthingshappenwhenyouexplodeapline? Itlosesitsthicknessandissplitintosegments. 6. Whatotheroptionsforplinewerementioned? Makingaplinewithvariablethickness,addinganarc,andvariousothervertex options. 7. Deineanxlineandspecifyauniquepropertyithas. Anxlineisacontinuouslinethathasnobeginningorend.
2
LEVEL 2 Chapters 11–20 8. Howisaraythesameandhowisitdifferentfromanxline? Arayhasnoend,justlikeanxline,butitdoeshaveabeginning,unlikeanxline. 9. Describeasplineandlistitsadvantages. AsplineisaNURBScurveandisusedtocreateorganiccurvature,somethingthat cannotbedoneanyotherway. 10. Listsomeusesforasplineinadrawingsituation. Gradientlines,cables,electricalwires,pathways,landscaping,andmanyotheruses. 11. Whatisanmline?Listsomeuses. Anmlineisamultiline.Itcanbeusedforeverythingfromarchitecturalwallsto highwaydesign. 12. Whataresomeoftheitemslikelytobechangedusingmlstyle? Numberoflinesmakingupthemline,distancesbetweenthoselines,linetypes makingupthelines,colorsofthelinesandills,endcaps,andotherdetails. 13. Whataresomeoftheusesofmledit? Mainlytoeditintersectionsthataremadeusingmlines;alsotocreatevertexesand makecutsinmlines. 14. Describethesketchcommand.Whatisarecord increment?Whatsizeisbest? Thesketchcommandallowsyoutodrawfreehand.Arecordincrementisthesmallest sizepieceoflinethatmakesupthesketchpathway;.01isanoptimalsize.
CHAPTER 12 REVIEW QUESTIONS 472
1. Describewhatismeantbylayer management.Whyisitneeded? Layermanagementdescribesasetoftoolsandconceptsthat,takentogether,manage alargeamountoflayers,sotheycanbegroupedtogetherundersomecommontheme andcontrolledasoneunit(frozen,locked,etc.). 2. Describethebasicpremiseofascript. Ascriptautomatesaseriesofinputcommandsandsavestheprocessunderanameso itcanberecalledandputtouseautomatingarepetitivetask. 3. Whatcanascript filedoforlayermanagement? Ascriptilecanfreezeandthawalargeamountoflayersbysimplyexecutingthe script.Thiswastheoriginalwaytodolayermanagement. 4. DescribewhatLayer State Managerdoes. Itsaveslayersettingsunderadescriptivename,sothissettingcanberecalledtoeasily freezeandthaw(amongotheractions)largeamountsoflayersallatonce. 5. WhatarethefundamentalstepsinusingLayer State Manager? Oncethelayersaresetupasdesired,thesettingissavedintheLSM. 6. Whatislayer filtering?Whatarethetwotypes? Layerilteringsortslayersbasedoncommontraits(suchascolorornames),sothey canallbeworkedwithatonce.PropertyilterandGroupilter.
CHAPTER 13 REVIEW QUESTIONS 1. DescribetheimportantfeaturesfoundundertheLinestab. Nothingcriticalisfoundhere,butthecolorsofthedimensionandextensionlinesare changed. 2. DescribetheimportantfeaturesfoundundertheSymbols and Arrowstab. Here,thearrowheadsarechangedtoanarchitecturaltick.
LEVEL 2 Answers to Review Questions 3. DescribetheimportantfeaturesfoundundertheTexttab. Here,thetextstyleandcolorarechanged,withaboxaddedaroundthetext. 4. DescribetheimportantfeaturesfoundundertheFittab. Here,themostimportantfeatureisthesettingoftheoverallscale. 5. DescribetheimportantfeaturesfoundunderthePrimary Unitstab. Here,everythingunderLineardimensions,Zerosuppression,andAngular dimensionsisdiscussed. 6. DescribetheimportantfeaturesfoundundertheAlternate Unitstab. Here,theapproachtosettingalternateunitsisdiscussed,includingZerosuppression andplacement. 7. DescribetheimportantfeaturesfoundundertheTolerancestab. Thetypesoftolerancesarecovered. 8. Describethepurposeofgeometric constraints. Toconstrainthepositioningofdrawngeometry. 9. Whatsevengeometric constraintsarediscussed? Perpendicular,Parallel,Horizontal,Vertical,Concentric,Tangent,andCoincident. 10. Describethepurposeofdimensional constraints. Toconstrainthesizingofdrawndimensionsandthegeometrytheyrepresent. 11. Whatsixdimensional constraintsarediscussed? Horizontal,Vertical,Aligned,Radius,Diameter,andAngle.
CHAPTER 14 REVIEW QUESTIONS 1. WhatisimportantundertheFilestab? Itisrecommendedthatnothingbechangedunderthistab. 2. WhatisimportantundertheDisplaytab? Here,youcanturnoffsomeunnecessaryscreentoolslikescrollbars;changethe backgroundcolorsofthescreen,commandline,andotherfeatures;cleanupthePaper Spacelayouts;andchangethecrosshairsize. 3. WhatisimportantundertheOpen and Savetab? Here,youcansaveadrawingdowntoanolderreleaseofAutoCAD,deleteAutomatic saveandbackupiles,andsetsecurityoptions. 4. WhatisimportantunderthePlot and Publishtab? Here,youcansetandmodifyplotstampsettings. 5. WhatisimportantundertheSystemtab? Itisrecommendedthatnothingbechangedunderthistab. 6. WhatisimportantundertheUser Preferencestab? Here,youcansetright-clickcustomization. 7. WhatisimportantundertheDraftingtab? Here,youcanmodifythelookoftheAutoSnapandApertureboxes. 8. WhatisimportantundertheSelectiontab? Here,youcanmodifythepickboxandgripsizeaswellassetthevisualeffectssettings. 9. WhatisimportantundertheProfilestab? Here,youcansaveyoursettingsandpreferencesunderanameforfuturerecall.
473
LEVEL 2 Chapters 11–20 10. Whatisthepgpile?Howdoyouaccessit? ThepgpileholdsAutoCADshortcuts.ItcanbeaccessedviaTools→Customize→Edit ProgramParameters(acad.pgp)inthedrop-downmenus. 11. DescribetheoverallpurposeoftheCUI. TheCustomizeUserInterfaceisusedtomodifytheAutoCADenvironmentwith changestotoolbars,palettes,shortcuts,macros,andmuchmore. 12. DescribethepurposeoftheDesign Center. TheDesignCenterisusefulforbringingentitiessuchaslayersandblocksintoa drawingfromanotherlocationaswellasdownloadingsymbollibraryblocksfrom theAutodeskSeekwebsite. 13. DescribetheimportantExpress Toolsthatarecovered. SomeofthemoreusefulExpressToolsincludeCopyNestedObjects,Explode AttributestoText,ConvertTexttoMtext,Arc-AlignedText,EncloseTextwith Object,DeleteDuplicateObjects,FlattenObjects,BreakLineSymbol,Super Hatch,ConvertPLTtoDWG,andLayerExpressToolssuchasLAYFRZ,LAYISO andLAYWALK.
CHAPTER 15 REVIEW QUESTIONS 1. Whatarethepurposesoftheauditandrecovercommands?Whatisthedifference? BothcommandsareusedtocheckupontheintegrityofanAutoCADdrawingincases oferrorsoradrawingnotopening.Auditisthelower-levelcheckforadrawingthatis alreadyopenedbutnotrunningright.Recoverisahigher-levelcheckandmaybeused totrytoopenacorrupteddrawing. 474
2. Forjointowork,lineshavetobewhat? Theyhavetobecoplanar. 3. Thedefpointslayerappearswhenyoucreatewhat? Dimensions. 4. Doesthedividecommandactuallycutanobjectintopieces? No,itonlyinsertspointstocreatesections,buttheobjectisstillintact. 5. WhatistheideabehindeTransmit? TheeTransmitcommandallowsyoutosendadrawingviaemailalongwithall associatedfonts,linetypes,xrefs,etc. 6. Towhatcanyouattachahyperlink?Whatcanyoucallupusingahyperlink?Howdo youactivateahyperlink? Toanobjectortext.Eitherawebsiteoradocument.Ctrl click. 7. Whatistheideabehindoverkill? Overkillallowsyoutoremovemultiplestackedlines. 8. Canyoumakearevcloudoutofarectangle?Acircle? Yes,viatheObjectoption. 9. Whatthreenewselection methodsarediscussed? Windowpolygon,Crossingpolygon,andfence. 10. DoyouuseaCrossingoraWindowwiththestretchcommand? ACrossing. 11. Nameasystemvariablementionedasanexample. Mirrtext.
LEVEL 2 Answers to Review Questions 12. Explaintheimportanceofthewipeoutcommand.Whatdoesitaddtothedrawing? Thewipeoutcommandhidesobjectsbycoveringthemup.Itcanbeusedtoadddepth toadrawing.
CHAPTER 16 REVIEW QUESTIONS 1. WhatisthecorrectwaytobringWordtextintoAutoCAD? PastecopiedtextfromWordintomtext. 2. WhatistheprocedureforbringingAutoCADdrawingsintoWord? Formostapplications,aCopy/Pastesufices.PrtScncanbeusedaswell. 3. WhatisthecorrectwaytobringExceldataintoAutoCAD? Copy/PasteintoanOLE. 4. WhatistheprocedureforbringingAutoCADdrawingsintoPowerPoint? Copy/PasteorPrtScnworks. 5. WhatistheprocedureforimportingJPGsandgeneratingPDFs? TheJPGscanbeCopied/Pastedin,thenadjusted.TogenerateaPDF,selectitasthe outputprinterorviatheRibbonsoutputtab.
CHAPTER 17 REVIEW QUESTIONS 1. Whatareseveralbenefitsofxref? Reduceilesizebyattachingacoredrawingtomultipleiles,criticalilesecurity,and automateddesignchangeupdatestocoredrawings. 2. Howisanxrefdifferentfromablock? Anxrefisattachedtoadrawingandisnevertrulyapartofit.Ablockisinsertedintoa drawinganddoesbecomepartofit. 3. Howdoyouattachanxref? Xrefcommand,browseforthexrefile,specifyinsertionpoint,andthenOK. 4. Howdoyoudetach,reload,andbindanxref? Byopeningupamenuviaaright-clickonthedrawingnameinthexrefpalette. 5. Whatdolayersinanxrefeddrawinglooklike? Theyareprecededbythenameofthexrefitself. 6. Whatdolayerslooklikeonceyoubindthexref? Theycontaina$0$inthename. 7. Whataresomenestingoptionsforxref? Onexrefattachedtoanotherthentoanother(etc.)andthentothemaindrawing,or allattachedtoonedrawingsimultaneously.
CHAPTER 18 REVIEW QUESTIONS 1. Whatisanattributeandhowdoyoucreateone? Anattributeisinformationinsideofablock.Tocreateoneyouusetheattdef commandandillintherequiredields. 2. Howdoyoueditattributes? Double-clickontheattribute.
475
LEVEL 2 Chapters 11–20 3. Howdoyouextract datafromattributes?Intowhatform? Dataextractionisviatheeattextcommand.ItcanbeextractedintoanExcel spreadsheetoranAutoCADtable. 4. Howdoyoucreateaninvisibleattribute?Whycanthisbeimportant? Bycheckingofftheinvisiblebuttonduringtheinitialcreationoftheattribute.Thisis importantsothattheinformationisnotvisibleinthedrawingbutcanstillbeused.
CHAPTER 19 REVIEW QUESTIONS 1. Whatisthectbile? Thisistheilethatstoresinformationonlinethicknessandothersettings. 2. Describetheprocessofsetting upactbile. YoudothisthroughamultipageAddPlotStyledialogbox. 3. Whatisscreening? Screeningfadestheintensityofanycolor. 4. Whatislwt? Lineweights.
CHAPTER 20 REVIEW QUESTIONS
476
1. Listsomeinstanceswhenisometricdrawingisappropriate. Ifyoudonotyethave3Dskillsorneedonlyaquickandsimple3D-lookingmodel. Alsoifcomputingresourcesarelimitedoryoudonotwanttospendtimecombining 2Dand3D. 2. Listsomeinstanceswhere3Dwouldbebetterthanisometricdrawing. Inanyinstanceswhereatrue3Dmodelisneededtoconveythedesignintent,including forpurposesofshadingandrendering.Alsowhenmoreaccuracyisneeded. 3. Namethethreeplanesthatexistinisometricperspective. Top,Left,andRight. 4. InwhatdialogboxisIsometric snapfound? ddosnap,SnapandGridtab. 5. WhatF keyswitchesthecursorfromplanetoplane? F5. 6. Whatisalmostalwaysonwhendrawinginisometric? Ortho. 7. Whatistheequivalentofacircleinisometricdrawing? Ellipse.
LEVEL
Chapters 21–30
3
LEVEL 3 Chapters 21–30 Welcometothefascinatingworldof3Dcomputer-aideddesign.Ideally,youhavecompletely masteredeverythinginLevels1and2andarereadytolearnanewsetofskills.3Disa differentworldinAutoCAD,yetitbuildsonwhatyoulearnedin2D;reallywhatweare doingisjustaddinganotherdimension(literally). 3DhascomealongwayinAutoCAD.Fromhumblebeginningsinthe1980s(whichleft usersjokingthatitisnotreally3Dbut2.5D),throughsteadyimprovementsinthe1990s,to amajorretoolingafewyearsagowithrelease2007,AutoCAD’s3Dcapabilitieshavegrown exponentially,anditisnowquitecapable3Dsoftware. NotehoweverthatAutoCADstilldoesnotdoengineeringmodelingandanalysisandcannot competewithCATIA,SolidWorks,SolidEdge,Pro/Engineer,NX,Inventor,andothers,nor wasiteverdesignedto.AtitsheartAutoCADisstilldraftingsoftwareirstandforemostand isnotmeantforcomplexmodelingandsimulation.Autodeskhasotherproducts,suchas InventorandRevit,whichventureintotheworldofparametricmodelingwhileAutoCADis irmlyintheworldofvisualization.Ifyouneedtotestadesignforstructuralfailureorsend thegeometrytoaCNCmillformanufacturing,AutoCADisnotthesoftwareforthis. Thisofcourseisjustineforthousandsofarchitectsandengineersworldwidewho useAutoCAD’s3Dcapabilitiesforvisualizationandcreatesuperb3Ddesigns.Some typicalusesinclude3Darchitecturalmodelsofresidentialandcommercialinteriorsand exteriors,furnituredesign,smallpartdesign,electricalriserequipmentdiagrams,and othersapplicationsthatrequirea3Dviewoftheobject(s)tovisualize,promote,display, andsellthedesignorconcept.Often,thesemodelsareexportedtospecializedrendering software,suchas3dsMax,Form-Z,orRhino,toobtainphotorealisticimages.Creatingthese underlyingmodelsiswhatwefocusonhere. 478
Ourstudyof3Dislooselybrokenintothreemajorsections.Theirstpart,whichstartswith Chapter21,isanintroductiontothebasics.Wecoverallthefundamentaltoolsneededto createwhatcanbereferredtoasflat design,meaningobjectswithoutmajorcurvature.This broadlyreferstoarchitecturalmodels,suchassimple3Dloorplansthatfeaturewalls,door, windows,andfurniture.Forthemostpart,theseareelementsthatfeatureessentiallystraight edges.WelearnbasictoolslikeExtrusion,3DRotateandMirror,andBooleans. Thesecondpartisanextensionofthisknowledgeintowhatcanbethoughtofascurved design,meaningobjectswithcurvature.Thisbroadlyreferstomechanicalmodels,suchas gears,shafts,bearings,springs,andshape-formedpiping,tonameafewexamples.Thereisof courseagreatdealofoverlapbetweenarchitectureandmechanicaldesignintermsofwhat isrequiredofAutoCAD,andyoureallyneedtolearneverythingregardlessofwhatieldyou arein.Here,wecovertoolssuchasRevolve,Loft,Shell,andTaper. Thethirdpartisallaboutadvancedtools,suchasMeshes,Lighting,andRendering,which roundoutyourstudyof3Dandaddrealismintheformoflightingandshadingaswellas somerenderingandbackgroundstoyourdesign. Awordofcaution:Besuretohavetrulymastered2Dbeforeproceeding.Allthe3Dchapters arewrittenwiththeassumptionthatyouareanexperienced2Duser,andnoexplanations areforthcomingwhenweuse2Dtoolstobegin3Dprojects.Also,reviewisometricdrawing (Chapter20).Thatseeminglyunrelatedtopicisactuallyaprecursorto3D,asyouwillsoon see,andyoushouldgobackandreviewit.
CHAPTER
21
3D Basics
479
LEARNING OBJECTIVES In this chapter, we introduce the basics of 3D theory and operating in 3D space. Specific topics include the following: l Axes, planes, and faces l 3D Workspace—Ribbon, toolbars, and options l Entering and exiting 3D l Projecting into 3D l 3D dynamic views l Extrude l Visual Styles—Hide; Realistic and Conceptual Shade l ViewCube and Navigation Bar
Bytheendofthechapter,youwillunderstandbasic3Dtheoryandbeabletonavigatein andoutof3D,navigateinside3D,aswellextrude,hide,andshadeyourdesigns. Estimatedtimeforcompletionofchapter:1hour.
21.1 AXES, PLANES, AND FACES So,whatexactlydoesdrawing in 3Dmean?Itistheabilitytogivedepthtoobjects,orto expandthemintothe“thirddimension”fromalatplane.Thisconceptshouldbeintuitively obvious—afterall,weliveina3Dworld.Everythinghasnotjustalengthandwidthbutalso adepth(orheight). Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 3 Chapters 21–30
FIGURE 21.1 The X, Y, and Z axes.
480
FIGURE 21.2 The XY, YZ, and ZX planes.
Itturnsoutthat,asyouwerelearningAutoCADinLevels1and2,youwerein3Dallalong.It isjustthatyoudidnotseeorusethisverticalthirddimension;therefore,everythingappeared lat,similartonotseeingtheheightofatallbuildingifyouarelyingdirectlyaboveit.Allthis changesaswediscussthishiddendimensionandlearnhowtoprojectintoit.Forthis,weneed tostartattheverybeginningandlearnaboutaxes,planes,andfaces,becausebydeinition, usingthethirddimensioninvolvesusingathird,andpreviouslyignored,Zaxis. Concept 1.ThereexistsintheCartesiancoordinatesystematotalofthreeaxes:X,Y,andZ. Theseaxesintersecteachotheratthe0,0,0point,asseeninFigure21.1(left),and bydeinitioncanbepositiveornegative,asrepresentedbysolidanddashedlinesin Figure21.1(right). Concept 2.Aplaneisdeinedasanintersectionoftwoaxes.Therefore,theX,Y,andZ axescandeinethreeuniqueplanes:theXY,YZ,andZXplanes,asseenin Figure21.2. Concept 3.Atotalofsixfacesofanimaginarycubecanthenbeformedusingthethree planes.Thiscanbeeasilyseenifwemovetheplanesoutandconnectthemedgeto edge,asinFigure21.3.Forourpurposesrightnow,planesandfacesarereallythe samething,andwereferonlytoplanesfromhereonforth(thoughthetermfaces doesgetsomeuseinrelatedconcepts). Theprecedingdiscussiononaxesandplanesisveryimportant;makesureyoucompletely understandeverythingthusfar.Weusebothaxesandplanesshortly.
CHAPTER 21 3D Basics
FIGURE 21.3 The XY, YZ, and ZX faces (planes) of a cube.
FIGURE 21.4 3D Basics and 3D Modeling workspaces.
21.2 3D WORKSPACES, RIBBON, TOOLBARS, AND 3D OPTIONS Beforewecanstarttoworkin3D,weneedtosetuptheappropriatetools,soastonotbe distractedwithtryingtoindthemlateronwhenweneedthem.Justasin2D,youcanwork in3DviatheRibbon,toolbars,andtheoccasionaltyping.Also,quiteafew3Dpalettes locatemanytoolsinonespot.Youoftenuseacombinationofallthesetoolsdependingon thesituation. AutoCADsimpliiesyourworkin3Dbyallowingyoutoswitchtoa3Dworkspace.Here youindtheRibbonaltered,withmanyoftheneeded3Dtoolsinoneplace.Youhave twochoices,3DBasicsand3DModeling,asseeninFigure21.4.Ifyouhaveolderversions ofAutoCADinstalledonyourcomputer,youmayseeother3Dchoices(migratedfrom AutoCAD2010or2009),butignorethemandchoose3DModeling. YouseeyourAutoCADscreenchangeto3Dmode.NotethedifferenceintheRibbon.It nowhasafullcomplementof3Dtoolsavailableundermultipletabs(Solid,Surface,Mesh, Render,etc.)whileretainingsomeessential2Dtools.Alsobesuretorestorethemenubar atthetopofthescreen(seeChapter1ifyoudonotrecallhow).Finally,shutdownany toolbarsthatmayhavebeenpresent,aswebringupsomenew3Dones,asdescribednext. Itisvery usefultohave3DtoolbarsonyourscreeninadditiontotheRibbonwhileyouare learning3D.DespitetheoverlappingredundancybetweentheRibbonandtoolbars,afew commandsarestillfoundonlyinthetoolbars,sowebuildacollectionofthemaswego.If youprefertheRibbon,youcanstarteliminatingthetoolbarsaftergettingacquaintedwith themastheyareintroduced.
481
LEVEL 3 Chapters 21–30
FIGURE 21.5 Essential 3D toolbars.
482
FIGURE 21.6 3D Modeling workspace.
UsingTools→Toolbars→AutoCADinthecascadingmenus,bringupthetoolbarsseenin Figure21.5.TheyareView,3DNavigation,andVisualStyles.Arrangethemaroundthescreen area.Yourscreenshouldlookcloseto,ifnotexactlylike,Figure21.6. Itisworthnotingthat,althoughyouhavelessandlesstypingtodoin3D,afewcommands arestillavailableonlyviathismethod.Also,donotforget,youstillhavethecascadingmenus withfull3Dtoolsasanalternativetoalloftheseinmanycases.Thisprecedingcoversallfour primarymethodsofinteractingwithAutoCADin3D.Asyoucansee,exceptformoreofan emphasisongraphicalinputs(Ribbonandtoolbars),themethodsremainthesameas2D. Afewwordsabout3DandtheOptionsdialogbox,irstexaminedinChapter14.Itishighly recommendedthatyourcrosshairsaresize100(allthewayacross)in3D,asthishelpsa lotwithvisualizingwhatyouaredoingandwherein3Dspaceyouare.Youcanchangethis undertheDisplaytab.Justasimportant,youneedyourUCSicon.In2D,youmayhavebeen
CHAPTER 21 3D Basics
FIGURE 21.7 Options, 3D Modeling tab.
483 temptedtoturnitoff(itwasoneofthetipsearlyinLevel1),buthereyouneedittoknow whereyouarein3Dspace,andyoureallycannotworkwithoutit.Finally,letustakealook atthe3DModelingtabweskippedinChapter14.ItisshowninFigure21.7. Fornow,theonlysuggestionistomakesuretheShowZaxisincrosshairsoptionisunchecked (itmayalreadybe).Itisfoundallthewayatthetopleft.The3Dconceptsaregenerallymuch clearerwhenonlytwoaxesarepresentinthecrosshairs.WereturntothisOptionsdialogbox laterinour3Dstudiestotweakafewmoresettings,mostlythoseatthebottomright(Walk andFly,ViewCube,etc.).ClickonOKandletusjumprightinto3Dinthenextsection.
21.3 ENTERING AND EXITING 3D Thekeytostartingoutlearning3Distogetinto3Dmodeandrevealthethirdaxis.The gatewaytoentering3Disanyoftheisometricviews,thoughweusetheSW Isometric View mostoften.Thewaytoexit3Disanyofthelatviews(front,back,left,right,etc.),although weusetheTop Viewmostoften.LetusgivethisatryusingtheViewtoolbar,asshownin Figure21.8. PresstheSWIsometricViewiconandthescreenswitchestowhatyouseeinFigure21.9. ExaminewhathappenedaftergoingintoSWIsometric.TheZaxis,previouslyunseen,is revealedbyrotationoftheUCSiconandtheassociatedplanes.Notehowthisisrelectedin thenewposition,orshape,ofthecrosshairs.NotethatyourUCSiconmaybeinthecenter ofthescreen.Tomakeitgobackintoitslowerleftcorner,asseeninFigure21.9,justtypein ucsicon,pressEnter,thentypeinnforNoorigin. GoaheadandpresstheTopViewiconandgobackto2D.Nowthatyouunderstandthetwo essentialviews,goaheadandpressalltheothericonstoseewhatviewtheygiveyou.Icons
LEVEL 3 Chapters 21–30
FIGURE 21.8 Top and SW Isometric Views.
484
FIGURE 21.9 3D SW Isometric View.
2–7fromtheleftareall2Dviews,whileicons8–11areall3D.Whendone,returntotheTop 2Dview. Now,trytheexactsamethingviatheRibbonundertheHometab→View,asseeninFigure 21.10.Youhavethesamebasicsymbols,soyoushouldknowhowtoproceed. Finallyletustrythesamethingviathecascadingmenu,asseeninFigure21.11.Thepathis View→3D Views→SW Isometric(orTop).Onceagain,thesymbolsarethesame,soyou shouldknowhowtoproceed. NotethatintheSWIsometricView,yourUCSiconmaystayinthemiddleofthescreen.You generallywantittuckedawayinthelowerleftcorner,justasitwasin2Ddrafting.Todothis, typeinUCSICONandpressEnter. AutoCADsays:Enter an option [ON/OFF/All/Noorigin/ORigin/Properties]
l
:
CHAPTER 21 3D Basics
FIGURE 21.10 3D SW Isometric View (Ribbon).
485
FIGURE 21.11 3D SW Isometric View (cascading menus).
LEVEL 3 Chapters 21–30
FIGURE 21.12 Rectangle in 3D.
486
TypeinnforNoorigin,pressEnter,andtheiconreturnstothecorneranddoesnotinterfere withviewingdesignwork.Inlaterchapters,weaskittomoveoutofthecornerwhenwe needtheicontobealignedwithobjectsweareworkingon,butfornowthisisnotnecessary. Younowknowhowtogetinto3D(SWView)andbackto2D(TopView).So,in3D,goahead anddrawarectanglethatis10" 6".Youcandothisusingtherectanglecommandorindividual lines;atthispointitdoesnotmatter.TheresultisshowninFigure21.12. Here,wecometoaroadblockofsorts.Sayyouwouldliketodrawfoursidesandatopto createafull3Dbox.Howdoyoudothis?Althoughyouarein3D,youhavenowayyetof actuallyprojectingobjectsin3D.Thisisthesubjectofthenextsection.
21.4 PROJECTING INTO 3D Yourinputdevice(universallyamousethesedays)isbyitsnaturea2Ddevice.Itworksby goingforward-backandleft-rightonyourdeskormousepadbutnotstraightup.Thisis obviouslyabitofaproblemforprojectinganddrawingintothethirddimension.Industry CADsoftwaredesignersandresearchersnoticedthismanyyearsagoandcameupwitha simpleandelegantsolutionthatwasintegratedintonumeroussoftwarepackagesoverthe years. Whenyouneedtogointo3D,insteadofraisingyourmouseintotheair,yousimplyswitch fromthe“lat”planeyouareontoaverticalplane.Theeffectisimmediate;youcannow draw“up”relativetoyou,theobserver.Togobacktolat,youswitchtheplanesrightback. ThisisshowngraphicallyinFigure21.13. YoualreadydidthiswhenlearningisometricdrawingbypressingF5andcyclingthrough atotalofthreeplanes:top,left,andright.Wedosomethingsimilarherein3D.Itiswhy isometricdrawingwasimportanttoreview.Inaway,youalreadyknewsome3Dconcepts afterinishingthatchapter.
CHAPTER 21 3D Basics
FIGURE 21.13 Rotation of planes.
487 FIGURE 21.14 UCS toolbar.
So,howdoyouactuallyrotatetheseplanes?Rotatingplanesisequivalenttorotating the UCS icon.WeintroducethevariouswaysyoucanrotatetheUCSiconviathefamiliarcommand matrix.Youcandothisviatyping,cascadingmenus,toolbars,ortheRibbon.Ifyouwishto continueusingthetoolbars,youwillneedtoaddtheUCStoolbartoyourcollection(Figure 21.14).WediscussmostofthistoolbarinChapter28,butfornowneedonlythreeofthe icons,asshownnext.
ToperformtheUCSrotation,useanyofthemethodsshownintheprecedingcommand matrix.Howeverthereisaslightdifferenceinprocedure,dependingonwhatmethodyou choose.Beforeyoustart,irstreadallthewaythroughthestepstogetafullunderstanding! Step 1(a).IfyoutypedinucsandpressedEnter,then, m AutoCADsays:Specify origin of UCS or [Face/NAmed/OBject/Previous/ View/World/X/Y/Z/ZAxis]:
LEVEL 3 Chapters 21–30
FIGURE 21.15 488
UCS rotation around the X axis.
YouhavetochooseanaxisinStep2,beforeproceedingtoStep3,however…. Step 1(b).Ifyouusedtheicons,cascading menus,ortheRibbon,thentheprocessofchoosing anaxisispartofthecommandrightaway(asyoupickedeitheranX,Y,orZ),and youcanskipStep2. Step 2.Picktheaxisaroundwhichyouwanttorotate:X,Y,orZ. AveryimportantskillneedstobelearnedrightatthepointofStep1orStep2.Around whichaxisdoweneedtorotatetheUCSicontobeabletodraw“up”intothethird dimension:X,Y,orZ?Itissomethingyouneedtobeabletoquicklyidentify.Fortunately, inthiscase,youhaveachoiceoftwooutofthethreeaxes:eithertheXortheY.Rotating aroundtheZaxisdoesnothinguseful(inthisexample)andjustspinstheUCSaxesaround likethebladesofahelicopter.Doyouseewhy?SotypeineitherchoiceXorYandpress Enter,orifusingtheothermethods,chooseXorYrightaway.Thisexampleproceedswith theXaxisbeingchosen. Step 3.AftertheXaxisisselected, m AutoCADsays:Specify rotation angle about X axis : Step 4.YoucanjustpressEnter,as90°(thedefault)isexactlywhatweneed. YoushouldseewhatisshowninFigure21.15.TheXaxisisthe“hinge”aroundwhichwe pivotedandthecrosshairsnowpointinthedirectionweneedtogo,whichisstraightup, relativetoyou. Nowgoahead;usingstandarddraftingtechniques,drawastraightlinestartingfromoneof therectangle’scornersandcontinuinguptoanyreasonabledistanceaway(usingOrthoand
CHAPTER 21 3D Basics
FIGURE 21.16 3D box.
489
FIGURE 21.17 3D UCS icon reset to World View.
OSNAPpoints,ofcourse).Copyittotheotherthreecornersandcopythebottomfourlines (orrectangle)tothetop,therebycreatingabox.YoushouldhavewhatisshowninFigure 21.16.Notethatyoumayhavetousegripsto“trim”or“extend”thelinesifnecessaryto createaneatlydrawnbox. TobringyourUCSiconbacktothepreviousfamiliarstate,asoriginallyseen(andshown againinFigure21.17)youcandoanyofthefollowing.
LEVEL 3 Chapters 21–30
FIGURE 21.18 3D Free Orbit in use.
Thisiscalledrestoringtheiconto“WorldView.”PracticerotatingtheUCSiconaroundall threeaxes.Noticehowtheaxesactas“hinges”forrotations.Youneedtorecognizewhich “hinge”torotatearoundlateronaswedoactualobjectrotations. 490
Next,weneedtolearnsome3Ddynamicviewingoptions,suchasOrbit.
21.5 3D DYNAMIC VIEWS In3D,youneedtoconstantlyspintheobjectaroundtogetagoodlookatitfromallsides. AutoCADhaspowerful3DOrbittoolstoeasilylookatyourdesigninrealtimeasopposedto justpresetviews.Rememberthat,eventhoughwesaythatwearerotatingtheobject,reallywe arenot,butratherrotating our view of it.Tobeginthe3Dorbit,useanyofthefollowingmethods.
AssoonasyouclickontheOrbiticon,agreencircleappears(itdoesnotappearifyoutype thecommand,buttheeffectisthesame)andyouareabletodotheorbitbyclickingdown, holdingtheleftmousebutton,andmovingthemousearoundasseeninFigure21.18.When donejustpressEsc,andthenewviewispermanent.TorestorethefamiliarSWview,just pressthaticon. Youcanalsodoacontinuousorbit(theiconlookssimilarbuthasasmallarrow)thatrotates theviewnonstopuntilyouexitthecommand.Thisismoreentertainingthanusefulbutdoes lookimpressiveinapresentation. Whatwehavedonethusfariscreateawireframemodel.Thisisacommontermincomputeraideddesign(notjustAutoCAD)andsimplymeansthemodelisnotshadedorrendered
CHAPTER 21 3D Basics
FIGURE 21.19 Modeling toolbar.
andresemblesawirethathasbeenshapedintosomething(aframe),hencewireframe. Althoughweintroducedalotofusefulconceptshere,suchasaxes,planes,3Dviews,3D orbit,andUCSrotation,aneasierandfasterwayexiststocreate3Dmodels,onesthat canalsobeshaded.WireframescreatedsofarcannotbeshadedinAutoCAD,astheyare essentially“hollow”piecesandcontainnosurfaces(althoughsurfacescanbeaddedaswe seemuchlaterinthecourse).Creatingsolidsisthesubjectofthenextsection,sogoahead anderasethebox;wewillcreateitagain.
21.6 EXTRUDE Extrusionisthemethodmostoftenusedtoquicklyandeasilycreatesolidobjectsand,as such,isperhapsoneofthemostimportantcommandsin3D.Ifyouprefertoolbars,youwill needanewtoolbar,calledModeling(Figure21.19)toaccesstheextrudecommandviathat method. Webeginthesamewayasbefore,bydrawinga10" 6"rectangle,butthistimeuseonlythe rectanglecommand,notindividuallines,thenproceedasdescribednext.
491
Step 1.Starttheextrudecommandviaanyoftheprecedingmethods. m AutoCADsays:Current wire frame density: ISOLINES=4 Select objects to extrude:
Step 2.PicktherectangleandpressEnter. m AutoCADsays:Specify height of extrusion or [Direction/Path/Taper angle]:
Step 3.Youcanactuallynowmoveyourmouseupanddownandcreateathicknessinreal time,butitismorepracticaltotypeinavalue,sogoaheadandtypein4forthe thickness.YoushouldseewhatisshowninFigure21.20. Thisnew,extrudedboxmayatirstseemquitesimilartothepreviousoneyoutried doing.Thatisbecausewireframeisnotjustamethod of constructionbutalsoamethod of presentation.Therearesomesigniicantdifferences,however.Thisboxisarealsolidmodel, notjustacollectionof“wires”splicedtogether.Wecannowhideandshadeitasdescribed inthenextsection.
21.7 VISUAL STYLES: HIDE AND SHADE VisualStylesisanimportantsetoftoolsthatallowyoutoviewyourdesigninavarietyof usefulways.WeexploretwovariationsofHideandtwodistinctversionsofShade:realistic andconceptual.Wealsolookatafewothersettings,suchasSketchyandX-Ray.Thosecan
LEVEL 3 Chapters 21–30
FIGURE 21.20 Extruded box.
FIGURE 21.21 Render toolbar.
492
bechangedeasilyviatheColors…buttonundertheDisplaytabinOptions…,asdetailedin Level2. Thehidecommandsimplyhideswireframelineworkthatyouwouldnotseewithasolid object.Therearetwoslightlydifferentvariationsofit.Theirsttypeofhideistemporary whileyouareviewingastationarydesign.Thehiddenviewrevertstowireframeifyoutryto rotateitorregenerateit.ThiscanbedonebysimplytypinginhideandpressingEnter,via theHideiconontheRendertoolbar(seeFigure21.21),orinallyviathecascadingmenu View→Hide. Theothervarietyofhideismorepermanentandthedesigncanberotatedin3Dwhilestaying fullyhidden.Thatisaccomplishedviathe3DHiddenVisualStyleiconontheVisualStyles toolbar(irstshowninFigure21.6). Toreturntowireframe,youcannolongerjustregeneratebutmustpressthe2DWireframe icononthesameVisualStylestoolbar.Allofthepreviousissummarizedinthecommand matrixshownnext.Goaheadandtryallthewaystohideyour3Dboxbeforemovingon.
Theresultofhidingviathekeyboardhideentry,cascadingmenus,andtheRendertoolbar’s HideiconisshowninFigure21.22.Notehowyoucannolongerzoomandpan.Youcan
CHAPTER 21 3D Basics
FIGURE 21.22 Hidden box, Method 1.
493 FIGURE 21.23 Hidden box, Method 2.
stilldoaFreeOrbit,butthehiddenlinesreappear,sothisisusefultojustviewthedesign andmayberunoffaprint. Theresultofusingthe3DHiddenVisualStyleiconaswellastheHiddenchoiceinthe RibbonisshowninFigure21.23.Notehowthebackgroundcolorofthescreenchanges (whichcanbechanged,asmentioned).Alsonotehowyoucannowzoomandpan.This versionofhideisgoodforcontinuedworkonthedesignwhileinhiddenmode. Letusnowgiveshadingatry.Asalreadymentioned,itcomesintwoversions,conceptual andrealistic.Whichyouusedependsonavarietyofshapeandbackgroundcolorsettings. First,wefocusonthedefaultshade,whichistheRealisticVisualStyle.Startshadeviaanyof thefollowingmethods.
LEVEL 3 Chapters 21–30
FIGURE 21.24 Realistic shading box.
FIGURE 21.25 494
Conceptual shading box.
TheresultofthisshadingisshowninFigure21.24. Theotherstyleofshadeissetasfollows.Notethattypingshadeisnolongerapplicable,as thatleadstotherealisticversionofshadebeingappliedbydefault.
TheresultofthisshadingisshowninFigure21.25. Youprobablydidnotnoticetoomuchofadifferencebetweenthetwotypesofshading. Thatisbecausetheboxesarenotreallycoloredthemselvesandalsotheyappearedagainst thedefaultbackground,alteringtheappearanceoftheirowncoloring.Toappreciatethe differencesbetweenthetwotypesofshading,observethefollowingtwosetsofcoloredand shadedshapes(Figures21.26and21.27). Theseshapesaresetagainstawhitethenablackbackgroundwiththerealisticandconceptual shadingon,andsimilarcolorsaddedtoalltheshapes.Noticehowthesoftershadingonthe
CHAPTER 21 3D Basics
FIGURE 21.26 Realistic vs. conceptual shading (white background).
FIGURE 21.27 Realistic vs. conceptual shading (black background).
495
FIGURE 21.28
FIGURE 21.29
Sketchy visual style.
X-ray visual style.
rightgivesamorepleasingpictureofthemodel.Forthisreason,theConceptualVisualStyle shadingisusedmoreofteninpresentingdesignsbothon-screenandonpaper.Itisalsohighly recommendedthatyousetyourbackgroundtowhiteorblackin3Dforamoreaccurate representationofcolors.Toreturntotheunshadedimage,pressthe2DWireframeoptionor icon. Twomoretypesofpresentationviewsarequicklymentioned:sketchyandX-ray.Bothcan beaccessedthroughtheRibbon’sViewtab→VisualStylesorthroughthecascadingmenu’s View→Visual Styles.Trythembothoutonyourbox.Figure21.28showsthesketchy visualstyle.Itpresentsa“hand-drawn”renderingofyourdesignandmayindsomeuse inamoreartisticrepresentation.X-raymakestheshadedshapetransparentandisseenin Figure21.29. Alltheviewsandsettingsthusfardescribedcanbeaccessedviaa(newforAutoCAD 2012)setofdrop-downmenusattheveryupperleftofthedrawingarea—shownwitha
LEVEL 3 Chapters 21–30 blackbackgroundforclarity.Theirstcategoryfromtheleft,[-],istheViewportControls. TheypresentvariouschoicesforviewportsandwhetherornottoshowtheViewCube, SteeringWheels,andNavigationBar(tobediscussedinthenextsection).Themenuisshown inFigure21.30.Justtotherightofthat,under[SWIsometric],aretheViewControls.They allowyetanotherwaytosetandmanagethevariousviews.ThemenuisshowninFigure 21.31.Finallythe[2DWireframe]menucontainstheVisualStyleControls.Itallowsyouto setthevisualstyles,andthemenuisshowninFigure21.32.
496
FIGURE 21.30
FIGURE 21.31
FIGURE 21.32
Viewport Controls.
View Controls.
Visual Style Controls.
AftertheinaldiscussionregardingtheViewCube,SteeringWheels,andtheNavigationBarin thenextsection,youshouldbefamiliarwithalmosteverythinginthesemenus.
21.8 VIEW CUBE AND NAVIGATION BAR YoualmostcertainlyhavebeenlookingattheViewCubeandNavigationBarsinceChapter1. ThetopviewofthiscubeanditsfriendtheNavigationBarhangoutintheupperrightcorner ofyourscreen,andhavedonesosincethebeginning,asseeninthe2DtopviewinFigure 21.33.SteeringWheels(anadvancedtoolnotdiscussedhere)isalsoseeninFigure21.33and isbroughtupviatheirstbuttonontheNavigationBar.
FIGURE 21.33 ViewCube, SteeringWheels, and Navigation Bar.
CHAPTER 21 3D Basics Withyourboxshaded,switchtoSWIsometricview.Nowthatyouarein3D,thebarstays thesame,butthecubelookslikewhatisshowninFigure21.34.
FIGURE 21.34 ViewCube in 3D.
Thiscubeisprimarilyusefulin3Dnavigation,andthatiswhytherewasnomentionofit intheprevious2Dchapters.ItirstappearedinAutoCAD2009andisusedtodynamically rotatetothegraphicallyshownviews,suchastop,left,orfront.Youcanclickonthefaces ofthecube,itsedges,oritscorners;andofcourseyoucanjustmanuallyrotateit.Whatever youclickon“lightsup,”andyourdesignmovesaccordingly.Additionallyyoucanpress theN,S,E,andWbuttons.Goaheadandtryitout,returningtotheSWIsometricView afterward. TheViewCubepresentsnocompletelynewideasbutrathercombinesahostofvarioustools inoneconvenientlocation.Muchofitisequivalenttothetoolbarviewicons,thoughyou nowhavetheabilitytoalsoviewadesignfroma“corner”oran“edge.” ThebuttonsontheNavigationBarshouldalsobegenerallyfamiliaratthispoint,except forthetopbutton,FullNavigationWheel,andthebottombutton,ShowMotion(alsoan advancedtopic,notcoveredinhischapter).Therestofthebuttonsfromthetopgoingdown arePan,ZoomExtents,andthevariousOrbits.Reviewthefunctionalityofeachbutton. Onelastitemtomentionwiththenavigationcubeisitsabilitytoputyouintoperspectiveview. Wecoverperspectiveviewinlaterchapters,butyoucantryitoutbrielynow.Hoveryourmouse aroundthetopleftareaofthecubeandatinybluehouseappears,asseeninFigure21.35.
FIGURE 21.35 Additional menu button.
Clickonthehouseiconandyourshadedcubeswitchestoaperspectiveview(Figure21.36). Toexitoutofthisview,right-clickonthehouseandyouseethemenuinFigure21.37.Select andclickonParallelandyouexittheperspectiveview.
497
LEVEL 3 Chapters 21–30
FIGURE 21.36 Perspective view.
498
FIGURE 21.37 Restoring the Parallel view.
Thisisitforthebasics.Itseemsweintroducedanendlesscollectionofnewconcepts,but reallyitwasjustsix“bigideas”aslistednext. l l l l l l
Theconceptsofaxesandplanes. Howtogetinandoutof3D. Howtorotateplanes. Howtoorbitaroundyourdesign. Howtoextrudethedesign. Howtoshadethedesign.
Revieweverythingcarefully;yoursuccessintherestof3Ddependsonunderstandingthese basicconcepts.
SUMMARY Youshouldunderstandandknowhowtousethefollowingconceptsandcommandsbefore movingontoChapter22: Axes:X,Y,andZ Planes:XY,ZX,andYZ l Faces l l
CHAPTER 21 3D Basics l l l l l l l l l
3Dtoolbars:View,3DNavigation,andVisualStyles SWIsometricView Topview UCSrotation FreeOrbit Extrude Hide Shade:realisticandconceptualviews ViewCubeandNavigationBar
REVIEW QUESTIONS Answer the following based on what you learned in Chapter 21: 1. 2. 3. 4. 5. 6. 7. 8.
What three axes are discussed? What three planes are discussed? What 3D toolbars were introduced in this chapter? What command is used most often to create 3D objects? How do you rotate the UCS icon? What does hide do? What does shade do? What are the two types of shade? What is the purpose of the Navigation Bar and the ViewCube?
EXERCISES 1. In 3D SW Isometric Conceptual Visual Style (CVS), set your units to Architectural and draw a 10" 5" rectangle. Extrude this rectangle to 8'. This is one of several ways to draw a wall. We need this in the coming chapters. Zoom out to extents if necessary and alter the color if you wish. The result is shown next. (Difficulty level: Easy; Time to completion: 5 minutes)
2. In the 3D SW Isometric CVS, set your units to Architectural and draw a 4" 3" box. Extrude it to 6". Now rotate your UCS around the Y axis by 30° and around the X axis by 30°. Then, draw the same rectangle with the same extrusion. Change the colors if you wish. This is what you should get. (Difficulty level: Easy; Time to completion: 5 minutes)
499
LEVEL 3 Chapters 21–30
3. In the 3D SW Isometric CVS, set your units to Architectural and draw a 5" circle, extruding it to 25". Now rotate your UCS around the X axis by 90° and draw the same extruded shape. Then, restore the UCS position, and rotate it around the Y axis by 90°. Draw the same shape again. You should have the three cylinders shown in the left image. Move two of them center to center with the third one as shown in the right image. (Difficulty level: Easy, Time to completion: 5–7 minutes)
500
CHAPTER
22
Primitives
501
LEARNING OBJECTIVES In this chapter, we introduce the concept of AutoCAD primitive shapes, known as just primitives, and discuss the following: l Box l Wedge l Cone l Sphere l Cylinder l Torus l Pyramid Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 3 Chapters 21–30 Bytheendofthechapter,youwillunderstandbasicprimitiveshapesandbeabletoapply themindesignworkasnecessary. Estimatedtimeforcompletionofchapter:1hour.
22.1 INTRODUCTION TO PRIMITIVES Beforewejumpintomorecomplexextruded-shapemanipulations,wetakeabriefdetour withthischapterandgooveraverybasicsetoftoolsthatyoumayindusefulincertain situations.Calledprimitives,theyarenothingmorethanready-to-goshapesbuiltinto AutoCAD.ThinkofthemasLego®piecesforcomputer-aideddesign;allyouneedtodois specifyafewdimensionalvaluesandplacetheminyourdrawingasneeded.Theavailable primitivesare l l l l l l l
Box Wedge Cone Sphere Cylinder Torus Pyramid
AswithmostcommandsyoulearnedinAutoCAD,therearefourwaystoaccessthesetools: 1. Typing inthedesiredprimitiveandpressingEnter. 2. Cascading menusunderDraw→Modeling. 3. UsingtheModeling toolbar;icons2–8fromtheleft. 4. UsingtheRibbon;Solidtab. 502
Onceyouselecttheprimitiveviaoneofthesemethods,simplyentertheshape’sdimensional valuesasprompted(suchasheight,width,angle)orjustclickormovethemouseforrandom values.ItisbesttohavetheConceptualVisualStyleshadingturnedon,astheshapesbecome clearer,aswellasstayinginthe3DSWIsometricView,togetthefulleffect.Holdoffwith tryingtheothershapesontheModelingtoolbar,aswegoovertheminadvancedchapters. Finally,allprimitivescanbeerased,moved,copied,androtatedinspacejustlikeanyother solidshape.
Box
Step 1.Totrythisirstprimitive,useanyoftheprecedingmethods. m AutoCADsays:Specify first corner or [Center]: Step 2.Clickanywhereonthescreen. m AutoCADsays:Specify other corner or [Cube/Length]: Step 3.A2Dsolidrectangleisdrawnbasedonthemovementsofyourmouse,oryoucan enteravaluebypressingLforlength.Clickrandomlyorenteravalue. m AutoCADsays:Specify height or [2Point] : Step 4.Dragyourmouseup(orenteravalue)andtheshapeisautomaticallyextrudedinto acube,asseeninFigure22.1.
CHAPTER 22 Primitives
FIGURE 22.1 Box primitive.
Wedge
503 Step 1.Totrythisprimitive,useanyoftheprecedingmethods. m AutoCADsays:Specify first corner or [Center]: Step 2.Clickanywhereonthescreen. m AutoCADsays:Specify other corner or [Cube/Length]: Step 3.A2Dsolidrectangle(thebaseofthewedge)isdrawnbasedonthemovementsof yourmouse,oryoucanenteravaluebypressingLforlength.Clickrandomlyor enteravalue. m AutoCADsays:Specify height or [2Point] : Step 4.Dragyourmouseup(orenteravalue)andthewedgeshapeisautomatically extruded,asseeninFigure22.2.
Cone
Step 1.Totrythisprimitive,useanyoftheprecedingmethods. m AutoCADsays:Specify center point of base or [3P/2P/Ttr/ Elliptical]:
Step 2.Clickanywhereonthescreenorusethe3P,2PTtrfeatures,asinthe2Dworld. m AutoCADsays:Specify base radius or [Diameter] :
LEVEL 3 Chapters 21–30
FIGURE 22.4 Sphere primitive.
FIGURE 22.3 Cone primitive.
FIGURE 22.2 Wedge primitive.
Step 3.A2Dsolidcircle(thebaseofthecone)isdrawnbasedonthemovementsofyour mouse,oryoucanenteravaluebytypingaradiusorpressingdfordiameter.Click randomlyorenteravalue. m AutoCADsays:Specify height or [2Point/Axis endpoint/Top radius] :
504
Step 4.Dragyourmouseup(orenteravalue)andtheconeshapeisautomaticallyextruded, asseeninFigure22.3.Thecommandhassomeinterestingsuboptions,suchas Top radius,whichcanchopoffthepointytopofthecone.Experimentwiththese options.
Sphere
Step 1.Totrythisprimitive,useanyoftheprecedingmethods. m AutoCADsays:Specify center point or [3P/2P/Ttr]: Step 2.Clickanywhereonthescreenorusethe3P,2PTtrfeatures,asinthe2Dworld. m AutoCADsays:Specify radius or [Diameter] : Step 3.Asolidsphereisdrawnbasedonthemovementsofyourmouse,oryoucanenter avaluebytypingaradiusorpressingdfordiameter.Theinalshapeisshownin Figure22.4.
Cylinder
CHAPTER 22 Primitives
FIGURE 22.6 Torus primitive.
FIGURE 22.5 Cylinder primitive.
Step 1.Totrythisprimitive,useanyoftheprecedingmethods. m AutoCADsays:Specify center point of base or [3P/2P/Ttr/ Elliptical]:
Step 2.Clickanywhereonthescreenorusethe3P,2PTtrfeatures,asinthe2Dworld. m AutoCADsays:Specify base radius or [Diameter] : Step 3.Asolidcircle(thebaseofthecylinder)isdrawnbasedonthemovementsofyour mouse,oryoucanenteravaluebytypingaradiusorpressingdfordiameter. m AutoCADsays:Specify height or [2Point/Axis endpoint] : Step 4.Dragyourmouseup(orenteravalue)andthecylindershapeisautomatically extruded,asseeninFigure22.5.
Torus
Step 1.Atorusisbasicallyadonut.Totrythisprimitive,useanyoftheprecedingmethods. m AutoCADsays:Specify center point or [3P/2P/Ttr]: Step 2.Clickanywhereonthescreenorusethe3P,2PTtrfeatures,asinthe2Dworld. m AutoCADsays:Specify radius or [Diameter] : Step 3.Ahoopisdrawnbasedonthemovementsofyourmouseoryoucanenteravalueby typingaradiusorpressingdfordiameter. m AutoCADsays:Specify tube radius or [2Point/Diameter] : Step 4.Dragyourmouse(orenteravalue)andthetorusshapeisautomaticallyextruded,as seeninFigure22.6.
Pyramid
505
LEVEL 3 Chapters 21–30
FIGURE 22.7 Pyramid primitive.
Step 1.Totrythisprimitive,useanyoftheprecedingmethods. m AutoCADsays:4 sides Circumscribed Specify center point of base or [Edge/Sides]:
Step 2.Youcanthenclickanywhere,orusetheSidesoptiontogivethepyramidmorethan foursides,ausefulfeature. m AutoCADsays:Specify base radius or [Inscribed] : Step 3.Apyramidbaseisdrawnbasedonthemovementsofyourmouse,oryoucanenter avalue.Theinscribedfeatureworksinthesamemannerasitwasusedwiththe polygoncommand. m AutoCADsays:Specify height or [2Point/Axis endpoint/Top radius] :
506
Step 4.Dragyourmouse(orenteravalue)andthepyramidshapeisautomaticallyextruded, asseeninFigure22.7.Justlikewiththecone,youcanvarythetopradiusoftheshape.
22.2 APPLYING PRIMITIVES So,howusefularetheseprimitivesinreal-lifeapplications?Thebestwaytodescribethis is“extremelyusefulinisolatedcasesandnotusedmuchinmostothers.”Forexample,if youneedashapenotquicklydoneanyotherway,suchasasphereortorus(youcaneasily extrudetheothershapes),thenprimitivesareindispensable.But,sincemostofthe3D objectsyouwilldesignarenotsimpleshapes,primitivesarerarelyused.Itisstillagood skilltohaveandaneasyonetolearn. Goovereachshapeseveraltimes,addsomecolor,andbesuretopractice3Dorbittoget variousviewsoftheobjects,aswellasswitchingbetweenwireframeandshaded.This chaptermarkstheendof3Dintroductoryreading.Flatdesignbeginsinearnestnext,and thefollowingchapterspickupinspeedandlevelofdificulty.
SUMMARY Youshouldunderstandandknowhowtousethefollowingconceptsandcommandsbefore movingontoChapter23: l l l l l l l
Box Wedge Cone Sphere Cylinder Torus Pyramid
CHAPTER 22 Primitives
REVIEW QUESTIONS Answer the following based on what you learned in Chapter 22: 1. Name the seven primitives covered in this chapter. 2. What four methods are used to create primitives? 3. What two primitives cannot be created any other way?
EXERCISES 1. Create each primitive shape once via only mouse clicking and once using keyed-in values. (Difficulty level: Easy; Time to completion: 5–10 minutes) 2. Create the following layout using primitives and the rectangle command. All sizes and positioning are approximate. (Difficulty level: Easy; Time to completion: 10 minutes)
507
This page intentionally left blank
CHAPTER
23
Object Manipulation
509
LEARNING OBJECTIVES In this chapter, we introduce the tools necessary to manipulate objects in 3D space to position them as required by the design. We specifically cover l Rotate3D l 3Drotate (gizmo) l Mirror3D l 3Darray: polar and rectangular l 3Dscale l 3Dmove l Fillets and chamfers in 3D
Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 3 Chapters 21–30 Bytheendofthechapter,youwillbeabletocreatelatdesignsofmoderatecomplexity.We introducemultiplesmallprojectsthroughoutthisandupcomingchapterstoputeachnew concepttouserightaway. Estimatedtimeforcompletionofchapter:2hours.
23.1 INTRODUCTION TO OBJECT MANIPULATION Itwasalreadymentionedthatextrudeisperhapsthesinglemostimportantcommandin 3DAutoCAD.Usingit,youcancreateawidearrayofobjectsthatarelatinnature,suchas buildingwalls,doors,andsomefurniture,justtonameafewitems.However,unlessyouare designingaperfectboxofahouse,youneedtorotateandmirrortheseobjectsintoposition aswellasarrayobjectsandaddilletsorchamfersformorerealisticedges.Allthesetools andmorearecoveredinthischapter.Wegothrougheachoneanddoafewsampleexercises. Thesetools,togetherwithBooleanoperations(introducedinthefollowingchapter),are virtuallyallyouneedtomodelabasicarchitecturaldesignofabuildingin3D.
Rotate3D Althoughyoumaynothaveyettriedit,youcanusetheregularrotatecommandin3D.You canrotatetheobjectonwhicheverplaneyouareon.Therotationalaxisisperpendicularto theplaneandthenetresultistheobject“spinninginplace.”Howeveryoumayoftenwant torotatetheobjectaroundanotheraxis,forexample,makealatplate“standup.”Recall fromtheirstchapterthatyoucanusetheUCScommandtosimplyrotateyouractiveplane anddrawnewobjectsthatway,butforexistingonesyouneedtousethe3Dversionofrotate tobringthemintoposition.Rotate3Dgivesyouthisabilityandisanimportantdesigntool. 510
Thiscommandcomesintwoversions:rotate3Dand3Drotate.Thedifferenceisthatthe formeriscommanddrivenandthelatterusesagraphical“gizmo”tofacilitaterotation.We tryboth,startingwithrotate3D.Drawalat10" 10"plateandextrudeitto1"thickness,as seeninFigure23.1,withtheConceptualVisualStyleshadingonandcoloradded. NoticethecolorfulUCSiconatthebottomoftheigure.Itisveryprominentonpurpose, becauseitisthefocusofourattentionwhilerotatingin3D.Whatwewanttodorightnow
FIGURE 23.1 Flat plate.
CHAPTER 23 Object Manipulation isrotatetheplatesoitstandsuponitssidelikeaverticalwall.Whataxisdowepickasa “hinge”aroundwhichtheplaterotates?Fortunately,wehaveachoiceoftwo:theXandthe Yaxes.RotatingaroundtheZdoesnothingforusinthiscase.Noticethesimilaritiesofthis discussiontotheoneonUCSrotationinChapter21;itisessentiallythesameidea. Sonowthatweknowwhatwewanttodo,letusgivethecommandatry.Thereisno Ribbon,cascadingmenu,ortoolbarequivalent,sodothefollowing: Step 1.Typeinrotate3DandpressEnter. m AutoCADsays:Current positive angle: ANGDIR=counterclockwise ANGBASE=0 Select objects:
Step 2.SelecttheplateandpressEnter. m AutoCADsays:Specify first point on axis or define axis by [Object/ Last/View/Xaxis/Yaxis/Zaxis/2points]:
Step 3.Here,youneedtochoosewhichaxistorotatearound.LetusgowithX.Typethatin andpressEnter. m AutoCADsays:Specify a point on the X axis : Step 4.Here,youneedtopickthepointontheaxisofrotation,whichshouldbeonthe objectitself.UsingOSNAPspickthelowerleftcornerpointoftheplate. m AutoCADsays:Specify rotation angle or [Reference]: Step 5.Here,youcanenteranynumericalvalue,butletusstaywith90°fornow.Typein90 andpressEnter.Theplaterotates90°aroundtheXaxisandstandsonitsend,asin Figure23.2. Inthesameexactmanner,practicerotatingtheplatearoundtheotheraxes.Fromwhereit isrightnowinFigure23.2,arotationaroundtheZaxismakesitfacethelowerleftsideof thepage.ArotationaroundtheXaxismakesitlaydownlatagain,andarotationaround theYaxisproducesnovisibleresults,asidefromapossibleshiftinposition,astheplateisa perfect10" 10"square.
3Drotate (Gizmo) Analternativeapproachtorotatingin3Disarelativelynewtoolcalledagizmo.Thenet resultisexactlythesameaswiththetypedcommandjustcovered,buttheapproachis moregraphicalinnature.Youalsohavetoolbar,Ribbon,andcascadingmenuapproaches available,asseenhereinthecommandmatrix.
FIGURE 23.2 Plate 3D rotation around the X axis.
511
LEVEL 3 Chapters 21–30
Whenyoustartupthecommandviaanyoftheprecedingmethodsyouareaskedtoselect theobjectinquestionandyouseethegizmoshowninFigure23.3. Thepurposebehindthistoolistobeabletoeasilyvisualizerotationalmotion.Followingthe commandlinedirections,irstpickabasepoint,thenthecircularbandthatbestrepresents therotationalaxisofmotionyouwant.Finallyenteranangleandtheshapeisrotated.Thisall closelymatchesthepreviousmethodanddetailedstepsarenotgiven,astheyareessentially thesame.AsnapshotofthegizmoinactionisshowninFigure23.4.Practicebothapproaches andstickwiththeoneyouprefer. Besuretounderstandtheseproceduresthoroughly.Next,weputeverythingtogetherand drawourirstreal3Dproject,achair,andthenmoveontomirror3D.
3D MODELING EXERCISE: CHAIR CreatethemodelofachairbasedonthedimensionsgiveninFigure23.5.Thefullassembly, ataslightlydifferentangle,isshowninFigure23.6.Speciicallyyouneedto l l l l
512
Createfour2" 2"rectanglesextruded30"forthelegs Createtwo24" 24"rectanglesextruded2"fortheseatandbackrest Rotate3Doneoftherectangles30°fromverticalfortherecliningbackrest Makesureeverythingitstogetherperfectly,addingshadingandcolorofyourchoice
Mirror3D Mirror3Dissimilarinapproachtorotate3D.Muchlikebefore,youcanusetheregular2D mirrorcommand,butthisresultsinmirroringinthecurrentplaneonly.Whatweneedisthe abilitytomirrorbetweenanyplanes.Asyoumayhaveguessed,thekeyhereisselectingthe correctplane(asopposedtoaxis)tomirrorover.Justasareminder,wehavethreeaxes(X,Y, andZ)andthreeuniqueplanes(XY,ZX,andYZ).Unliketheaxes,youdonotseetheplanes;
FIGURE 23.3 Gizmo tool.
CHAPTER 23 Object Manipulation
FIGURE 23.4 Gizmo tool rotating an object.
513
FIGURE 23.5
FIGURE 23.6
Drawing project, 3D chair.
3D chair, full assembly.
LEVEL 3 Chapters 21–30 itissomethingyoumustenvisioninyourmind.Thinkofthemasathinsheetofglassthat slicesthroughparts.Whateverisontheothersideisthemirrorimage.Eraseyourchair andletusstartfromacleanscreen.Drawtheprevious10" 10"latplateextrudedto1" (Figure23.7).
FIGURE 23.7 Flat plate for mirror3D.
514 Wewouldliketomirroritsothereisanotherplatenexttothedarkershadedrightside.Before proceeding,identifythecorrectplane.Rememberaplaneisnotanaxis;ratheritisformedby two axesputtogether,soyourchoicesonceagainareXY,ZX,andYZ.ThecorrectanswerisZX. Doyouseewhy?Itisimportanttobeabletoquicklyrecognizetheseplanes.Letusnowrun throughthefullmirroringprocedure.Mirror3Dcanalsobewrittenas3Dmirror,withnoeffect onthecommand.Nogizmoisassociatedwithit,butthereisaRibbonicon,asseenherein thecommandmatrix.
Step 1.Startupthecommandviaanyoftheprecedingmethods. m AutoCADsays:Select objects: Step 2.SelecttheplateandpressEnter. m AutoCADsays: Specify first point of mirror plane (3 points) or [Object/Last/Zaxis/View/XY/YZ/ZX/3points] :
Step 3.Itisherethatyouneedtoselectthecorrectplane.Asdiscussedbefore,typeinZXand pressEnter. m AutoCADsays:Specify point on ZX plane :
CHAPTER 23 Object Manipulation
Step 4.PickapointsomewhereonthemirroringplaneusingOSNAPs. m AutoCADsays:Delete source objects? [Yes/No] : Step 5.Thisissimilartothe2Dversionofthemirrorcommand.PressEnterforthedefault. ThemirroredimageappearsasshowninFigure23.8.
FIGURE 23.8 Flat plate mirrored over the ZX plane.
Goaheadandmirrorthetwoplatesovertheremainingplanes.Theprocedureisexactlythe same,exceptyoutypeinYZfortheirstmirrorplaneandXYforthesecond.Theexpected resultsareshowninFigures23.9and23.10,respectively. 515
FIGURE 23.9 Flat plates mirrored over the YZ plane.
FIGURE 23.10 Flat plates mirrored over the XY plane.
3D MODELING EXERCISE: BOOKSHELF CreatethemodelofabookshelfbasedonthedimensionsgiveninFigure23.11.Thefull assemblyisshowninFigure23.12.Speciicallyyouneedto: l l l l
l
Createfour25" 80"rectanglesextruded2"forthetop,bottom,andsideshelves. Createthree25" 76"rectanglesextruded2"fortheinnershelves. Rotate3Danypartsthatneedtoberotatedaccordingtodesignrequirements. Keepinmindthatthedistancesbetweeninnershelvescanbearandomvalue. Makesureeverythingitstogetherperfectly,addingshadingandcolorofyourchoice.
LEVEL 3 Chapters 21–30
FIGURE 23.12 FIGURE 23.11 516
Drawing project, 3D bookshelf.
3D bookshelf, full assembly.
3Darray The3DArrayisquitesimilarinprincipletotheregular2Done.Thereis,forstarters,both arectangularandpolarform,justasin2D.Withtherectangulararray,youjustadda 3Dcomponent(alevel)tothefamiliarcolumnandrow.Forthepolararray,theonebig differenceistwopointsthatdeinetheaxisofrotationinsteadofjustonepointforthe center.Anotherdifferenceisthecuriousfactthat3Darrayisallcommandlinedriven;there isnodialogbox. Letusgoaheadandtryoutthecommand,startingwiththerectangular array.Clearyour screenanddrawa2" 3"rectangleextrudedto4",asseeninFigure23.13.Addshadingand acolorofyourchoice.
Step 1.Startup3Darrayviaanyoftheprecedingmethods. m AutoCADsays:Select objects: Step 2.SelectthecubeandpressEnter. m AutoCADsays:Enter the type of array [Rectangular/Polar]:
CHAPTER 23 Object Manipulation
FIGURE 23.13 Extruded block for 3D rectangular array.
Step 3.PressEntertoacceptthedefaultRectangulararray. m AutoCADsays:Enter the number of rows (---) : Step 4.Enterasmallvalue,suchas5,andpressEnter. m AutoCADsays:Enter the number of columns (|||) : Step 5.Enterasmallvalue,suchas5,andpressEnter. m AutoCADsays:Enter the number of levels (...) : Step 6.Enterasmallvalue,suchas5,andpressEnter. m AutoCADsays:Specify the distance between rows (---): Step 7.Here,besuretoenteranumberlargeenoughtoallowforspacebetweentherows, 10inthiscase. m AutoCADsays:Specify the distance between columns (|||): Step 8.Besuretoenteranumberlargeenoughtoallowforspacebetweenthecolumns,10 inthiscase. m AutoCADsays:Specify the distance between levels (...): Step 9.Besuretoenteranumberlargeenoughtoallowforspacebetweenthelevels,10in thiscase. Theresultofthearraywiththe125elementsisshowninFigure23.14.Thisexacttypeof arraymaynotbeusedthatoftenbutisstillvaluabletoknow.Next,wegooverthevastly moreusefulpolarversion.
FIGURE 23.14 3D rectangular array.
517
LEVEL 3 Chapters 21–30 Todemonstratethepolar array,wedrawanaxlewithspokes.Tocreateanaxle,drawacircle 5"indiameterandextrudeitto36".Thendrawasmallspoke,saya1"circleextrudedto10", andpositionitcarefullyinaperpendicularmanneronthetipoftheaxle.Youlikelyhaveto rotate3Dthespokeintopositionthenattachitusingquadrantorcenterpoints.Afteradding shadingandcolor,theresultisasshowninFigure23.15.
FIGURE 23.15 Axle and spoke for 3D polar array.
518
Step 1.Startup3Darrayviaanyofthesamemethodsshownearlierinthematrixforthe rectangulararray. m AutoCADsays:Select objects: Step 2.SelectthespokeandpressEnter. m AutoCADsays:Enter the type of array [Rectangular/Polar]: Step 3.Pressptoacceptthepolararray. m AutoCADsays:Enter the number of items in the array: Step 4.Youcanenteranyvalue,butletusstickto10inthiscase. m AutoCADsays:Specify the angle to fill (+=ccw, =cw) : Step 5.PressEntertoacceptthedefault360°,aswewouldliketogoallthewayaround. m AutoCADsays:Rotate arrayed objects? [Yes/No] : Step 6.PressEnterforYes,aswewantthespokestorotate. m AutoCADsays:Specify center point of array: Step 7.Here,youneedtospecifythecenterofrotation.Pickthecenteroftheaxleusingthe CenterOSNAP. m AutoCADsays:Specify second point on axis of rotation: Step 8.Here,youneedtopickthesecondcenterpointusingOSNAPsontheothersideof theaxle.Thesetwopointstogetherindicatetheaxisofrotationforthespokes.The resultisshowninFigure23.16.
3Dscale This3Dversionofthescalecommandisnotmuchdifferentfromtheregularscale(which youcanalsousein3D).Thereisnoiconorcascadingmenuforthiscommand;youhaveto typeitorusetheRibbon.Drawabasic3Dshadedcubeasyoudidjustbeforefor3Darray.It isreproducedagainwithadifferentcolor(Figure23.17).
CHAPTER 23 Object Manipulation
FIGURE 23.16 Completed 3D polar array.
519 FIGURE 23.17 Extruded block for 3D scale.
Step 1.Startupthe3Dscalecommandviaoneofthetwoprecedingmethods. m AutoCADsays:Select objects: Step 2.SelectthecubeandpressEnter. m AutoCADsays:Specify base point: Step 3.Youalsoseeascalinggizmoappear,whichsnapstowhateverbasepointyouselect (Figure23.18). m AutoCADthensays:Pick a scale axis or plane: Step 4.PicktheXYplane.Youcanthenmovethemousetoscaletheobjectortypeina value,asseeninFigure23.19.
3Dmove Justas3Dscalewassomewhatofaduplicationoftheregularscalecommand,sois3Dmove. However,thereisadifference,asthiscommandallowsforconstrainedmovementofanobject alonganyselectedaxisorplane,regardlessofyourUCSorientationorwhetherornotOrthois on.Inthatregard,itisquiteuseful,becausejustrandomlymovinganobjectin3Dspace(with noconstraint,suchasOrtho)placestheobjectliterallyanywhere,andusuallynowherenear whereyouthinkitisinrelationtootherobjects.The3Dspaceisquitedeceptive.Forproof ofthat,trymovingsomethingthenusing3DOrbittoglanceattheobjectsfromadifferent perspective.Youmaybesurprisedwhereitreallyis.Letustrythe3Dmovecommandonthe samerandomcubeyoujustused.
LEVEL 3 Chapters 21–30
520
FIGURE 23.18
FIGURE 23.19
3Dscale gizmo.
3Dscale in progress.
Step 1.Startupthe3Dmovecommandviaanyoftheprecedingmethods. m AutoCADsays:Select objects: Step 2.SelectthecubeandpressEnter. m AutoCADsays:Specify base point or [Displacement] : Step 3.A3Dmovegizmoappears,butdonotpickabasepoint.Instead,usethemouseto carefullyselectanaxis.Assoonasyoudo,theaxisturnsgoldincolor.Thecubeis constrained(evenifOrthoisnoton),andyoucannowslidethecubeupanddown thataxis,asseeninFigure23.20. TheprocedureisthesamefortheYandZaxes.Ifyouselectaplane,however,youdoneedto haveOrthoontobeconstrainedtothechosenplane.
FIGURE 23.20 3Dmove in progress (X axis).
CHAPTER 23 Object Manipulation
Fillets and Chamfers in 3D Recalltheoperationoftheilletcommand(witharadiusofzero)in2DAutoCAD.Youcould usethecommandtotrimtwointersectinglinesorcloseagapbetweenthoselines.Noneof thatmakesanysensewhenworkingwith3Dmodels,whichare,bydeinition,alreadyclosed shapes.However,recallalsothatin2Dwegaveilletsradiuses.Weusethisfeaturein3Dby addingradiusesorroundedcornersonsolidobjects.Inawaywenowusetheoriginalandmore correctformoftheilletcommand,whichbydeinitionhasalwaysbeenaroundedcorner. Therearetwowaystoworkwiththeilletcommandin3D.Onewayisbyusingthe2D approach,thatis,typing,toolbar,cascadingmenu,orRibbon.Theotherisviathededicated FillettoolavailableaspartoftheSolidEditingtoolbar.Theresultisthesame,buttheapproach isdifferent.Letustrythe2Dversionirst. Drawa12" 8"boxandextrudeitto10",asseeninFigure23.21.
FIGURE 23.21 Extruded block for fillet.
Step 1.AsirstdescribedinChapter1,startupilletviaanymethodyouchoose. m AutoCADsays:Current settings: Mode = TRIM, Radius = 0.0000 Select first object or [Undo/Polyline/Radius/Trim/Multiple]: Step 2.PressrforRadius. m AutoCADsays:Specify fillet radius : Step 3.Enterareasonablevaluesuchas1"andpressEnter. m AutoCADsays:Select first object or [Undo/Polyline/Radius/Trim/ Multiple]:
Step 4.Selectoneofthecubeedgesfacingyou. m AutoCADsays:Enter fillet radius : Step 5.ConirmthisbypressingEnterandcontinueselectingtheremainingtwoedges.Each time, m AutoCADsays:Select an edge or [Chain/Radius]: Step 6.Afterallthreeedgesareselected,youseethemdashed.FinallypressEnter. m AutoCADsays:3 edge(s) selected for fillet. TheresultisshowninFigure23.22.
FIGURE 23.22 3D fillet.
521
LEVEL 3 Chapters 21–30 Thecoloroftheilletsmaybedifferentfromtherestoftheobject,asseeninFigure23.22. Thisdependsonwhatlayerisactiveasyouperformtheillet.Inthiscaseitwas0,andthe colordefaultstothestandardgray(shownindarkgray,here),althoughtheblockitselfis colored(shownhereinmedium-andlightgray). The3Dversionofilletisabitmoredynamicinnature.Createanother12" 10" 8"box andusethecommandsseeninthefollowingmatrix.Thereisnotypingequivalent.
m
AutoCADsays:Radius = 1.0000 Select an edge or [Chain/Radius]:
Selecttheedgetobeilletedanditbecomesshaded.Youmaychangetheradiusorpress Entertoaccept.Youthenseearedtriangle(agrip).Clickonitanddragyourmouseback andforth,notinghowtheilletchangesdynamically,asseeninFigure23.23.
522
FIGURE 23.23 Dynamic filleting in 3D.
ClickagainandpressEntertoconirmtheinalillet.Whilethislooksimpressive,inmost cases,youwilllikelywanttospecifyanexactilletsize,sothedynamicilletingmaynotind muchuseinrealdesignwork. Chamferingisquitesimilar,sowedonotrunthroughthespeciicsteps,butyoucanalso doitthroughthestandard2Dapproachorviathe3Ddynamicchamfer,asshownwiththe commandmatrix.
CHAPTER 23 Object Manipulation Onceagaintheedgetobechamferedisshadedandyoumustentersizeswhenpromptedor pressEntertoaccept.Youthenseetwotriangulargripsthistime(Figure23.24).Eachcanbe movedtodynamicallyexpandthesidesofthechamfer.Aswiththeillet,youmaywantto justtypeinthevalue. Revieweverythingcoveredinthischapter.Inthenextchapter,wecoverBooleanoperations, theinalkeytolatdesign.
FIGURE 23.24 Dynamic chamfering in 3D.
523
SUMMARY Youshouldunderstandandknowhowtousethefollowingconceptsandcommandsbefore movingontoChapter24: l l l l
l l l l
Rotate3D 3Drotate(gizmo) Mirror3D 3Darray m Polar m Rectangular 3Dscale 3Dmove Filletsin3D Chamfersin3D
REVIEW QUESTIONS Answer the following based on what you learned in Chapter 23: 1. 2. 3. 4. 5. 6.
Describe the rotate3D procedure. Do you need axes or planes for this command? How is 3Drotate different from rotate3D? Describe the mirror3D procedure. Do you need axes or planes for this command? Describe the 3Darray procedure, both rectangular and polar. Describe 3Dscale and 3Dmove. Describe fillets and chamfers in 3D.
LEVEL 3 Chapters 21–30
EXERCISES 1. Create the following table using the rectangle, circle, extrude, fillet, mirror3D, and a few other commands. The exact size of the table can be anything you want, but if you need some values to get started, the tabletop is 50" 30" and the bottom is 20" 20". All fillets and thicknesses are 2". (Difficulty level: Easy; Time to completion: 10 minutes)
524
2. Create the following buggy frame. You need the circle, extrude, 3Darray, donut, copy, and some of the UCS rotation commands. Once again, sizing is not what is important here, but you can make the two main axles 72" in length and base everything else off of that. (Difficulty level: Moderate; Time to completion: 15 minutes)
CHAPTER 23 Object Manipulation
3. Create the following helicopter model using the tools you learned in this chapter. While this design will not win any awards, it also should take you no more than 30 minutes to do and really gets you using recently learned commands such as extrude, fillet, rotate3D, and 3Darray. Start out by creating a basic blade profile (an airfoil) using pline. Then, extrude it and 3Darray the resulting blade around a rotor. Create the body using extrude and fillet. Attach a tail using basic extrude and scale down a copy of the main rotor for the tail rotor, placing everything into position. Finally, shade and color the model. (Difficulty level: Moderate; Time to completion: 30 minutes)
525
This page intentionally left blank
Spotlight On: Aerospace Engineering Aerospaceengineeringisahighlyspecializedbranchofmechanicalengineeringthatevolved relativelyrecentlyinourhistory,ashumankindtooktolight,irstintheatmosphere,then intospace.Formallydeined,itisthesciencebehindthedesignandconstructionofaircraft (aeronauticalengineering)andspacecraft(astronauticalengineering).Theseengineers conceptualize,build,andtesteverythingfromgliderstomissiles,jetighters,andspace rockets.Manyalsoworkinnavaldesign,asmanyoftheprinciplesguidingthelowofair aroundanaircraft(aluid)readilytransfertothelowofwater(alsoaluid)aroundaship orsubmarine.
FIGURE 1 Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 3 Chapters 21–30
FIGURE 2
Aerospaceengineersneedamasteryofawidevarietyofengineeringsciences,suchas luiddynamics,structures,controlsystems,aeroelasticity,thermodynamics,materials, andelectricalengineering.Itisperhapsoneofthemorediverseengineeringdisciplines andspecializationisnecessary.Threebroadareasofspecializationincludeaeronautics, propulsion,andspacevehicles. Educationforaerospaceengineersstartsoutsimilartothatfortheotherengineering disciplines.IntheUnitesStates,allengineerstypicallyhavetoattendafour-year ABET-accreditedschoolfortheirentryleveldegree,aBachelorofScience.Whilethere, allstudentsgothroughasomewhatsimilarprogramintheirirsttwoyears,regardlessof futurespecialization.Classestakenincludeextensivemath,physics,andsomechemistry courses,followedbystatics,dynamics,mechanics,thermodynamics,luiddynamics,and materialscience.Intheirinaltwoyears,engineersspecializebytakingcoursesrelevant totheirchosenield.Foraerospaceengineering,thisincludesaerodynamics,structures, controls,propulsion,andorbitalmechanics,amongothers. 528
Upongraduation,aerospaceengineerscanimmediatelyentertheworkforceorgoontograduate school.Althoughnotrequiredandnotcommonintheaerospaceindustry,someengineers choosetopursueaProfessionalEngineer(P.E.)license.Thiswouldtypicallybeinrelated mechanicalengineering,asthereisnoaerospaceP.E.exam.Theprocessirstinvolvespassing aFundamentalsofEngineering(F.E.)exam,followedbyseveralyearsofworkexperience,and inallytheP.E.exam. Aerospaceengineerscangenerallyexpectsomewhathigherstartingsalariesthancivil, mechanical,andindustrialengineeringgraduatesbutonparwithelectricalandlowerthan petroleumengineeringandsomecomputersciencedegrees.Amaster’sdegreeisusuallythe pathtohigherstartingpay,whichwithabachelor’s,currentlyaveragesaround$55,000/year nationwide.Thisofcoursedependshighlyonlocality,marketdemand,andevenGPAon graduation. HowdoaerospaceengineersuseAutoCADandwhatcanyouexpect?Industrywide,AutoCAD useisnotwidespreadduetothenatureoftheprofession,whichreliesonmoresophisticated softwaretomodelpartsdirectlyin3D.TheindustrystandardisCATIA,thoughNXandPro/ Engineerarealsoused.Aerospaceengineeringalsoreliesheavilyonsoftwareforinitialtesting ordesignvalidation.Examplesincludeiniteelementanalysis(FEA)andsoftwaresuchas NASTRANorANSYStomodelloads,delections,andevenheatpropagation.Computational luiddynamics(CFD)andsoftwaresuchasFluentareusedtomodelthelowofairaroundthe designatvariousspeedsandtemperatures(alsoapplicabletothelowofwater).SeeAppendix Bifyouwouldliketolearnmoreaboutthesetechniques. AutoCAD,however,canstillbefoundforsmallpartdesign,aerospaceelectricalschematics, andoverallsystemlayouts.Smallercompaniesthathavelittletonomodeling,testing,and manufacturingneedsalsomayuseAutoCADduetotheassociatedcostsavings.Manya homekitairplanedesignerorbuilderturnedtoAutoCADtoproducedrawingsorjustto
SPOTLIGHT ON: Aerospace Engineering documentideas.ThegeneraltrendistomoveawayfromAutoCADasdesignrequirements becomemoresophisticatedandtestingandmanufacturingareinvolved. AutoCADlayeringisfarsimplerinaerospaceengineeringthaninarchitecture.Thereisno AIAstandardtofollow,onlyaninternalcompanystandard,sothereisroomtoimprovise.As alwaysthelayernamesshouldbeclearastowhattheycontain.Figure3showsanaerospace applicationofAutoCADforasetofwingsforasmallunmannedaerialvehicle(UAV).
FIGURE 3 Wings for a small unmanned aerial vehicle drawn with AutoCAD. (Image courtesy of DynaWerks LLC., www.DynaWerks.com)
529 Figure4showsatypicaldesignofasmallgeneralaviationaircraftwing,withoverall dimensionsandspecs.
FIGURE 4 Wing specifications for a small, general aviation aircraft drawn with AutoCAD.
Finally,Figure5showsasideproileofasmallprivateplane(aLancairLegacy®)drawnin AutoCAD.Thissideproilestudyisusedforsizing;theverticalandhorizontalnumbersare inchpositionfromthetipofthepropellerconeandtheground.
LEVEL 3 Chapters 21–30
FIGURE 5 A small, general aviation aircraft (Lancair Legacy) drawn with AutoCAD.
530
CHAPTER
24
Boolean Operations
531
LEARNING OBJECTIVES In this chapter, we introduce a set of tools, called Boolean operators, that allow important additive and subtractive interactions between objects. We specifically look at l Union l Subtract l Intersect
Bytheendofthechapter,youwillbeabletocreatedesignsthatfeatureopeningsandholes aswellascomplexunionsandintersections. Estimatedtimeforcompletionofchapter:1–2hours.
24.1 INTRODUCTION TO BOOLEAN OPERATIONS Wehavethusfarbeenabletoputtogetherafewfairlysimpleobjectsusingextrudeandthe 3Dmanipulationcommands(mirror3D,rotate3D,etc.).Whatwestillmissistheabilityfor Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 3 Chapters 21–30 objectstointeractwitheachother,suchasbeingfusedtogether(e.g.,twoadjoiningwalls)or subtractedfromeachother(e.g.,aholeinawallrepresentingawindow). Thisfunctionality,referredtoasBoolean operations,isveryimportantforadvanced3Dmodeling inbotharchitecturalandmechanicaldesign.WecoverthethreeBooleanoperationsofunion, subtract,andintersect.Thefunctionalityofeachcanberepresentedbytwooverlappingcircles (representingtwosolids),asshowninFigure24.1.
FIGURE 24.1 Boolean operators.
ThesecirclesalsoformtheAutoCADiconsfortheseoperations.Asyoucanseefromthe shadedareas,thesolidscanbe Joinedtogethercompletely. Subtracted,leavingonlyonepartofthesolid(eitheronecanbechosen). l Intersectedwhereonlytheintersectinggeometryremains. l l
532
AllthreeBooleanoperatorscanbeaccessedviatyping,cascadingmenus,atoolbar (Modelingtoolbar,whichyoushouldalreadyhaveup),andofcoursetheRibbon.
Union Theunionoperationfusessolidsorregionstogetherintooneobject.Thisisanirreversible operation,sobecarefulbeforeyouimplementit.Objectsdonotactuallyhavetobetouching tobejoinedtogether.Unionisnotascommonlyusedassubtractbutdoesindsomeuse whenjoiningtogetherwallsormechanicalassemblies. Letusgiveunionatrybyirstcreatingtwosolidcubesofanysizeandpositioningthem tointersecteachother,asseeninFigure24.2.Noticethattheirgripshavebeenactivated, andyoucanseethatthetwocubesaredistinctandseparateentities,eventhoughtheyare touching.
FIGURE 24.2 Two solid cubes before union.
CHAPTER 24 Boolean Operations
Step 1.Starttheunioncommandviaanyoftheprecedingmethods. m AutoCADsays:Select objects: Step 2.Selectbothcubes(theyturndashed)andpressEnter.Bothcubesnowarefused, asseeninFigure24.3.Noticehowthegripsrelectoneentity,nottwo.Goahead andmovetheobjects;theymoveasone.Thisbecomesevenclearerifweswitchto wireframe(Figure24.4),withacolorchangeforadditionalclarity.
533 FIGURE 24.3 One solid cube after union (shaded view).
FIGURE 24.4 One solid cube after union (wireframe).
Subtract Thisisafrequentlyusedcommand,anditisquiteindispensablein3Dwork.Asyoumay haveguessedfromthename,itinvolvestheprocessofsubtractingoneobjectfromanother. InAutoCAD,thisistheonlywaytotakeawaymaterialtocreateanemptyspace.Examplesof thisincludethecreationofdoorsandwindowsin3Darchitecturalloorplansandboltholes
LEVEL 3 Chapters 21–30 inmechanicaldesign,justtonameafew.Letussetupjustsuchasituationwithalatplate andacircle,whicharethenextrudedandsubtractedtoformahole. Stayinginwireframemode(forclarity),drawa10" 10"square,extrudingitto2",as showninFigure24.5. Now,drawaguidelinefromcornertocorner(useendpoints)ofthetopsurfaceoftheextruded rectangleandacircleof2"radiusbasedonthemidpointoftheguideline,asshowninFigure 24.6.Notethatswitchingtothewireframeviewandaddingtemporaryguidelinesisacommon techniquein3D.
FIGURE 24.5 10" 10" 2" block.
534
FIGURE 24.6 Circle and guideline positioned.
Youcanerasetheguidelineandextrudethecircleatotalof2"(yes,thatisanegativesign), asseeninFigure24.7.Althoughitseemslikewearedone,wearenot;the“hole”isnotyeta hole.
FIGURE 24.7 Circle extruded.
CHAPTER 24 Boolean Operations Theinalstepistosubtracttheextrudedcirclefromtheextrudedrectangle,leavingaholein itsplace.
Step 1.Startupthesubtractcommandviaanyoftheprecedingmethods. m AutoCADsays: Select solids, surfaces, and regions to subtract from... Select objects
Step 2.Here,youhavetobecareful.Youmustirstselectthematerialthatyouwanttokeep. Inthiscase,itistheextrudedsquare.GoaheadandselectitandpressEnter. m AutoCADsays:Select solids and regions to subtract... Select objects:
Step 3.Selectthematerialyouwanttogetridoftomakethehole.Thatofcourseisthe extrudedcircle. Thesubtractionoperationisperformed.Althoughyoumaynotbeabletoimmediatelysee whatyoudid,asimpleswitchtotheshadedmoderevealsthehole,asseeninFigure24.8.
535
FIGURE 24.8 Completed subtraction operation.
Besureyouthoroughlyunderstandtheessenceofthesubtractcommand;asmentioned earlier,weuseitoften.Thekeyistovisualizewhatmaterialyouwantremovedandwhere andcreateashapetoexactlyrelectthat.Rememberagainthattheirstselectionisalwaysfor thematerial you want to keep;thesecondisforthematerial you want to remove.
Intersect TheinalBooleancommandcreatesanewshapeoutoftheoverlappingpartsofothershapes andcanbeusedtocreatesomeinterestingobjects.Letuscreateasimpleintersection.Use thepreviousrectanglewiththeholeandcopyittotheside(withOrthoon)tocreatetwo shapesthatintersecteachother.Figure24.9showsyouwhatyouget. Noticetheoverlapbetweentheshapes.Thisiswhatiskeptaftertheintersectioncommandis executed.
LEVEL 3 Chapters 21–30
FIGURE 24.9 Intersected shapes.
536
Step 1.Startintersectviaanyoftheprecedingmethods. m AutoCADsays:Select objects: Step 2.SelectbothpiecesandpressEnter.TheresultisshowninFigure24.10;onlythe intersectingpartremains.
FIGURE 24.10 Completed intersect operation.
3D Modeling Exercise: Building Wall with Door and Window Thisnextpracticedrawingisaveryimportantone.Wearecreatingabasic3Dmodeloftwo buildingwalls,completewithadoorandawindowopening.Althoughthismodelisquite simple,itcontainsmanyoftheimportantelementsneededtocreateanentirebuildingin 3D,thedifferencesbeingonlytheamountofpiecespresentandsomeminorreinements. Alltheessentialsarehere,however,sofollowallthestepsclosely. Step 1.Drawtwowallsthatare8'highand10'long,withathicknessof5".Onewaytodo thisistoirstdrawarectanglethatis5" 10'andextrudeitto8'.Then,copythe structureandreattachthecopyat90°totheoriginalwall.Figure24.11showswhat youshouldseeinwireframemode.
CHAPTER 24 Boolean Operations
FIGURE 24.11 3D modeling exercise, Step 1.
Step 2.Usetheunioncommandtofusethewallstogether.Figure24.12showsanother, slightlyrotated,viewofthewallsinwireframeaftertheapplicationofunion.Notice wheretheyintersect;theyareclearlyinonepiece,nottwoseparatepanels.
537
FIGURE 24.12 3D modeling exercise, Step 2.
Step 3.Nowcreatea36" 36"window(offtotheside)aswellasa36"wide 72"high door(alsoofftotheside).Bothshouldbe5"thick,asthatistheoverallthicknessof thewalls.Rotate3Dtheobjectsintopositionifneeded.TheresultisshowninFigure 24.13. Step 4.Letusthinkcarefullyaboutwhattodonext.Thewindowisactuallyaholeinthe wall,soweneednotreuseit.Allweneedtodoispositionitintherightplaceand subtract.Thedoorisaslightlydifferentstory.Weneedonecopyofittomakethe openingintheirstplace,andonecopytotheninstallintothenewopening(and rotateintoanopenposition).Soitisagoodideatomakeacopyofthedoorright now,becausetheprocessofsubtractingdeletestheoriginal.Donotforgetthis,or youwillendupredoingthedoorafterusingtheoriginaltocreatetheopening.
LEVEL 3 Chapters 21–30
FIGURE 24.13 3D modeling exercise, Step 3.
Step 5.Aftercopyingthedoor,insertitcarefullyintothewall,makingsureitislinedup correctly(midpointofbottomfrontofdoortomidpointofbottomfrontofwall). Then,insertthewindowinasimilarmannerandraiseitup(usingOrtho)toroughly thehalfwaypointinthewall.Youmayhaveyourownmethodofdoingthisaswell, buteitherway,Figure24.14showswhatyoushouldhaveasaresult. Step 6.Goaheadandsubtractoutthewindowandthedoor.Figure24.15showswhatyou seeinwireframemode.Figure24.16showsthesamethinginshadedmodewith coloradded. 538
FIGURE 24.14 3D modeling exercise, Steps 4 and 5.
FIGURE 24.15 3D modeling exercise, Step 6 (wireframe).
CHAPTER 24 Boolean Operations
FIGURE 24.16 3D modeling exercise, Step 6 (solid).
Step 7.Finally,letusputthecopyofthedoorbackwhereitbelongsandgiveita30° rotation(yes,negative).TheinalresultisinFigure24.17.
539
FIGURE 24.17 3D modeling exercise, Step 7.
Thischapterconcludes3D“latdesign.”Thesebasic3Dskillsgoalongwayincreatinga realisticmodelofabuildingorevenasimplemechanicaldevice.Inthecomingchapters, weaddadditionaltoolsandreinement,startingwithcurveddesign.Fornowbesureto completelyunderstandeverythingandpracticeeverythinglearnedthusfar.
SUMMARY Youshouldunderstandandknowhowtousethefollowingconceptsandcommandsbefore movingontoChapter25: Union Subtract l Intersect l l
LEVEL 3 Chapters 21–30
REVIEW QUESTIONS Answer the following based on what you learned in Chapter 24: 1. 2. 3. 4.
What are the three Boolean operations? In what toolbar are they found? Is union a permanent setting? Why is it a good idea to make a copy of something that is being subtracted?
EXERCISES 1. Using your new Boolean skills, create this washer and bolt assembly. Make the washer 3" square and the hole (as well as the bolt) .75" in diameter, and size the hex bolt top off of that. You need the circle, extrude, and polygon commands at the very least. (Difficulty level: Easy; Time to completion: 10 minutes)
540
2. Create the following design of a bed. It consists of a thick panel, a mattress, two identical headboards (with cutouts), and two pillows angled at 30°. Sizing is entirely up to you; draw a reasonable-looking base panel and size the rest off of that. You need the rectangle, line, arc, pedit, extrude, fillet, mirror3D, and subtract commands at the very least, as well as some UCS rotations. (Difficulty level: Moderate; Time to completion: 30 minutes)
CHAPTER 24 Boolean Operations
3. Create the following design of a drilled, vented brake rotor. Create a circle of the given size, extrude to 1", add the center axle cutout, and arrange the drilled holes as shown on the left, arraying them eight times. Extrude and subtract as needed. Shade and color to finish off the model as seen on the right. (Difficulty level: Moderate; Time to completion: 15 minutes)
541
This page intentionally left blank
CHAPTER
25
Solid Modeling
543
LEARNING OBJECTIVES In this chapter, we introduce a completely new set of tools in solid modeling, which are used for “curved design.” These dramatically expand the range of design work that you can do. We specifically look at l Revolve l Shell l Taper l l l
Loft Path extrusion Sweep
Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 3 Chapters 21–30 Bytheendofthechapter,youwillbeabletocreatedesignsthatwerenotpossiblewith previoustools,withmuchofthisnewknowledgeapplicabletoengineeringdesign. Estimatedtimeforcompletionofchapter:2–3hours.
25.1 INTRODUCTION TO SOLID MODELING Withthischapter,weheadintoanewdirectionandbegintalkingaboutsomeofthe advancedsolidmodelingtoolsthatmakeupwhatcanbereferredtoascurved design.While thesetoolsarenotnecessarilymoredificulttomaster,theydoopenupanewrangeof modelingpossibilities,includingsomerathercomplex3Ddesigns.Weintroducerevolve, shell, taper, loft, path extrusion,andsweep.Althoughsomeofthesecommands,suchastaper andshell,donotinvolvecurves,theyarestillincludedwiththisadvancedtoolsgroup.
Revolve Asessentialasextrudewastolatdesign,suchistheimportanceofrevolvetocurveddesign, anditistheirstcommandwecover.Revolveeasilycreatescomplexrevolvedshapesbased ontheconceptofsolid or surface of revolution,andthiscommandhasnootherequivalentin AutoCAD. Thebasicideaisthefollowing.Wewouldliketodrawa2Doutlineofanobjectandrevolve thisoutlineor“proile”aroundanaxis.Iftheproileisclosed,theresultisasolid of revolution; iftheproileisopen(hasgaps)orlinesareusedinsteadofpolylines,theresultisasurface of revolution.Thisprocesscancreatesomeuniqueshapesthatareimpossibletomakeanyother way,buttheentireconceptrestsonthedesigner’sabilitytovisualizetheproileonwhichthe modelisbuilt. 544
InpastreleasesofAutoCAD,therevolvecommandwasabitpicky,andyouhadtouse aclosedpolylinefortherevolutiontowork,noexceptions.Theserestrictionshavebeen liftedandyoucancreateaproileusingtheregularlinecommandandevenleavegapsinit; although,onceagain,justbeawarethatthiscreatessurfaces,notsolids,asisshownlater. Youraxisofrevolutioncanbeanywhereonorneartheobject,andyouneednotrevolveall thewayaroundbutcanuseanydegreevalueinbetweenifnecessary. Letusputallthistogetherwithsomeexamples.In2D,createaproileapproximatelysimilar towhatisshowninFigure25.1,usingapolylinetoensureasolid.Wetryitwithregularlines lateron.
Step 1.Startrevolveviaanyoftheprecedingmethods. m AutoCADsays:Current wire frame density: ISOLINES=4 Select objects to revolve:
Step 2.SelecttheproileandpressEnter. m AutoCADsays:Specify axis start point or define axis by [Object/X/Y/Z]
Step 3.Here,AutoCADisaskingforanaxisofrevolutionfortheproile.Therearemany waysthiscanbeaddressed,andtheaxiscanbeontheobjectorsomedistanceaway
CHAPTER 25 Solid Modeling
FIGURE 25.1 Polyline profile for revolve.
fromit(causingtherevolvedsolidtohaveaholeabouttheaxis).Forthisexample, wepicktwopointsatthetoprightandbottomrightoftheproile,asseeninFigure 25.2.UsingtheENDpointOSNAP,clickonthesetwolocations.
545 FIGURE 25.2 Selecting rotation axis.
Step 4.Aftertheirstclick, m AutoCADsays:Specify axis endpoint: Afterthesecondclick, m AutoCADsays:Specify angle of revolution or [STart angle]: Step 5.Here,youcanaskforafull360°revolutionbyjustpressingEnter,butinsteadtype in270,sowecanseeacutoutofthepart.Ifyouarein3D,youcanalsojusttraceout therevolutionanglewithmovementsofyourmouse.Fornowthough,youseea2D revolvedsurface,asinFigure25.3.
FIGURE 25.3 Revolved profile in 2D wireframe.
LEVEL 3 Chapters 21–30 Toseethefulleffectofwhatyouhavedone,switchtothefamiliarSWIsometricviewand alsoshadeandcolorthesolid.ThefarmoredramaticresultisseeninFigure25.4.
FIGURE 25.4 Completed revolution, shaded and colored.
Forsomeotherideas,undoyourlaststep,andtrylocatingtheaxisofrevolutionsome distanceawayfromtheobject(Figure25.5).Thiscreatesaholeinthecenteroftheobject onexecutionofrevolve,asseeninFigure25.6.
546
FIGURE 25.6 FIGURE 25.5 Offset axis of revolution, Example 1.
Completed offset revolution, Example 1.
Theaxisofrevolutioncanactuallybeanywhere.InFigure25.7,itisabovetheproileandat anangle,creatingacompletelydifferentsolidofrevolution,asseeninFigure25.8. Nextletustrythesameproilebutwithapiecemissing(Figure25.9).Theproilenolonger isaclosedpolyline,andinthiscase,therevolvecommandcreatesasurface,notasolid,a differenceyoucaneasilysee.Thesameeffectisachievedusingplainoldlines.Evenifthey areconnectedinaloop,AutoCADstilldefaultstothesurfacerevolution.Figure25.10shows theresult. Trythefollowingexampleofrevolution,a3Dcup.DrawtheproileinFigure25.11,pedit, andrevolve360°.Then,switchto3D,andshade,color,androtateifneeded.Younowhave yourirstpieceofglasswareforafuture3Dhouse,asseeninFigure25.12.
CHAPTER 25 Solid Modeling
FIGURE 25.8 FIGURE 25.7 Offset axis of revolution, Example 2.
Completed offset revolution, Example 2.
547
FIGURE 25.9
FIGURE 25.10
Surface of revolution profile.
Completed surface revolution.
FIGURE 25.11
FIGURE 25.12
Cup profile.
Completed cup.
LEVEL 3 Chapters 21–30 Asyoucansee,revolveisaveryversatile,powerfulcommandandisreallylimitedonlyby yourimaginationandvisualizationskills.Besuretogothrougheachexamplepresented thusfar.Noneoftheproilesorsolidshastolookexactlyliketheonesshown,andindeed nodimensionsareprovided(exceptforthecupheight),butbesuretounderstandthe underlyingprinciplesandwhatisbeingdonetoproducewhatyousee.
Shell ShellisoneofseveralAutoCAD3Dcommands“borrowed”fromengineeringsolidmodeling softwareduetotheirusefulness.Thecommandcreatesa“shell”ofapredeterminedthickness outofasolidobject.Theshellisofaneventhicknessallaroundandcanhaveasmanyopen surfacesasneeded. Letusdemonstratebyexample.Drawa10" 8"rectangleandextrudeitoutto4",asseenin Figure25.13.
FIGURE 25.13 548
Basic block for shell.
Toactivatethecommand,youcannottypeinshell(thatisanOScommand),butyoucan useothermethods,asseennextinthecommandmatrix.
Step 1.Starttheshellcommandviaanyoftheprecedingmethods. m AutoCADgivesyoualengthyresponse: Solids editing automatic checking: SOLIDCHECK=1 Enter a solids editing option [Face/Edge/Body/Undo/eXit] : _body Enter a body editing option [Imprint/seParate solids/Shell/cLean/Check/Undo/eXit] : _shell Select a 3D solid:
Step 2.Selecttheextrudedblock. m AutoCADsays:Remove faces or [Undo/Add/ALL]: Step 3.Carefullypicktheuppersurfaceoftheextrudedblock.Becarefulnottoselectan edgeinthiscasebutanactuallatsurface.Youmayselectmorethanonesurface,and
CHAPTER 25 Solid Modeling itissomethingyoushouldtrythenexttimeyoupracticethecommand.Fornow, justpressEnterafterselectingthetopsurface. m AutoCADsays:Enter the shell offset distance: Step 4.Here,youneedtoenteravalidshellsize(thickness).Somecomplicationscanresult atthispointifyourshapehasothermodiicationstoit,suchasillets.Then,ifthe thicknessofthewallsistoothin,youcan“eatthrough”thematerial,causingerrors oractualholesintheshape.Thisparticularexampleshouldproceedsmoothly.Enter .5"forthethickness. m AutoCADsays:Solid validation started. Solid validation completed. Enter a body editing option
Theshellcommandexecutes,andtheresultisasseeninFigure25.14.
FIGURE 25.14 Completed shell.
Assuggestedearlier,tryremovingmorethanoneface.Theresultisan“open”box,asseenin Figure25.15.Youcanremoveallfoursidesifyouwishandendupwithalatplate,although thatsomewhatdefeatsthewholepointofshell.
FIGURE 25.15 Completed shell (two faces removed).
Taper Taperisausefulcommandthatdoesexactlywhatitadvertises:Ittapers(orcreatesa gradient)ononeormoresidesofanobject.Asimpleexample,andoneweactuallymodel
549
LEVEL 3 Chapters 21–30 soon,isaplasticwastebasketcommonlyfoundinanyofice.Ifyouhaveonenearby,take alookatit.Itsbaseisaslightlysmallerrectanglethanthetoprim.Thereasonfortapering suchitemsisbecauseofthenatureofplasticmoldsandthemanufacturingprocess.Another usefulresultisthatnowthesewastebasketsareeasilystackableoneontopofanother. Letuspracticethiscommandonatallrectangularbox.Drawa20" 15"rectangleand extrudeitto30",asseeninFigure25.16.
FIGURE 25.16 Box for tapering.
550
Thetapercommandisanotheronethatcannotbetypedin,andtheotherinputmethods mustbeused.
Step 1.Startthetapercommandviaanyoftheprecedingmethods. m AutoCADagaingivesyoualengthyresponse: _solidedit Solids editing automatic checking: SOLIDCHECK=1 Enter a solids editing option [Face/Edge/Body/Undo/eXit] : _face Enter a face editing option [Extrude/Move/Rotate/Offset/Taper/Delete/Copy/coLor/mAterial/ Undo/eXit] : _taper
Step 2.Here,theirsttaskistoselectallthefacesyouwanttotaper.Thiscanbeasfewasone faceorasmanyasallofthem.Becarefulthough;byface,wemeantheonesthatwill taper.Therefore,thetopandbottomoftheboxarenotvalidchoices,onlythesides. Also,notethatitiseasiertoselectfaceswhenyouareinwireframeview.Inshaded view,youneedtorotatearoundtheobjecttogetallthefaces;inwireframe,youcan (carefully)pick“through”theshape.Whenyoupickafaceitbecomesdashed.
CHAPTER 25 Solid Modeling m AutoCADsays:Select faces or [Undo/Remove/ALL]: 1 face found. Step 3.WhendonepressEnter. m AutoCADsays:Specify the base point: Step 4.Here,youneedtoconsiderwhatismeantbybase point.Itisthestartofthetaper. Youwouldneedtopickeitherthetoporthebottomoftheblock.Sincethisisa wastebasket,whichtapersinasyougodown,wepickthemidpointofoneofthe linesrepresentingthetop face or surface.Ifyouchooseasimilarpointonthebottom faceorsurface,thentheblocktapersup,likeapyramid.Goaheadandselectthe basepointasdiscussed. m AutoCADsays:Specify another point along the axis of tapering: Step 5.Thisofcourseistheoppositeofwheretheirstpointwas,sopickthemidpointof thebottom face or surface.Insummary,youaregivingAutoCADwhatamountstoa straightlinethattellsitinwhatdirectionthetaperisgoing. m AutoCADsays:Specify the taper angle: Step 6.Thisinalrequestasksfortheamountoftaperindegrees.Enterasmallvalue, perhaps4or5,andpressEnter.Theblocktapersevenlyonallsides.Theresultin shademodeisshowninFigure25.17.
551
FIGURE 25.17 Completed taper.
3D Modeling Exercise: Wastebasket Letusputextrude,taper,illet,andshelltogetherintooneexercise. Step 1.Clearyourscreenofpreviouswork,andmakesureyouareintheSWIsometricview. Startingfromthebeginning,drawa22" 18"rectangleandextrudeitto34".The resultisablockofmaterialsimilartowhatwejustcreatedwhenwepracticedthe tapercommand.ItisshownshadedandwithadifferentcolorinFigure25.18.
FIGURE 25.18 Wastebasket, Step 1.
LEVEL 3 Chapters 21–30
Step 2.Tapertheblockonallfoursidesto4°,asseeninFigure25.19.
FIGURE 25.19 Wastebasket, Step 2.
Step 3.Filletthesideedgeswitha3"radius,andthebottomwitha1.5"radius,asseenin Figure25.20.
552
FIGURE 25.20 Wastebasket, Step 3.
Step 4.Shellthewastebaskettoa0.35"thickness,asseeninFigure25.21.
FIGURE 25.21 Wastebasket, Step 4.
CHAPTER 25 Solid Modeling
Loft LoftisarecentadditiontotheAutoCADtoolbox,addedalongwithmanyother3Denhancements inAutoCAD2007.Itisanothercommand“borrowed”fromtheengineeringsolidmodelingworld andisoneofthemoreusefulandversatile. Despitesomerathercomplexsurfaceandpartmodelingprogramming“underthehood” withloft,asfarastheAutoCADenduserisconcerned,thecommandworksonasimple principle.Itconnectstogetheropenorclosedproiles.Allyouhavetodoispickthose proilesintheorderyouwantthemloftedandAutoCAD“connectsthedots,”sotospeak, andcreateseitherasurface(iftheproileisopen)orasolid(iftheproileisclosed).Takethe verysimpleexampleofaclassicwoodenbarrel,asshowninFigure25.22.
FIGURE 25.22 Barrel.
Whileinthisparticularcaseyoucanuserevolvetomodelthisobject,thisisonlybecause itissymmetricaboutthecenteraxis.Weoftendonothavesuchaconvenience,soweneed todefaulttoloftinstead.Thebarrel’slengthwiseproilecanbemodeledasthreecircles, oneafteranother,withtheirstandthirdrepresentingthetopandbottom,andthesecond (slightlylargerone)representingthefattermiddlepart,asseeninFigure25.23.
FIGURE 25.23 Three-ring profile of a barrel.
553
LEVEL 3 Chapters 21–30 Theseringsaredrawntoarandomsize,butbothouterringsareanequaldistancefromthe largercenterone,ensuringourbarrelisnotlopsided.Youcaneasilysetupthese3Dproiles bydrawingtwosizesofcirclesin2DTopView,witheachhavingthesamecenterpoint. Then,switchtoasideviewand“lift”thesmallercircleupward(orlargeronedownward). Finallyaquickmirroringcompletestheproile.Youshouldbeabletodothistypeof3D workwithlittleeffortatthispointinthecourse. Letusnowruntheloftcommandandgetabarrel.
Step 1.Startthecommandviaanyoftheprecedingmethods. m AutoCADsays:Current wire frame density: ISOLINES=4, Closed profiles creation mode=Solid Select cross sections in lofting order or [POint/Join multiple edges/Mode]
554
Step 2.Selectthehoops,oneafteranother,fromtoptobottom(orviceversa).Each onebecomesdashedasyouselectit.Selectingthehoopsoutoforderdoesnot necessarilystopthecommandbutgivesyouunexpectedresults. m AutoCADsays:1 found, 3 total Step 3.PressEnterwhenallthreeareselected. m AutoCADsays:Enter an option [Guides/Path/Cross sections only/ Settings] :
Step 4.PressEnter.Theloftisperformedandthebarrelisvisibleifyouareintheshaded mode.Youalsoseeaprominentdownarrow,whichwhenpressedrevealsamenu toine-tunetheloft(Figure25.24).Experimentwiththevariouschoicestoseethe
FIGURE 25.24 Loft settings menu.
CHAPTER 25 Solid Modeling effectontheoverallshape.Inalmostallcases,wewantasmoothit(thedefault),so afterexperimentingrestorethatchoice. TheinalresultisshownagaininFigure25.25.Thedownarrowisgonebutcanbebrought backbyasinglemouse-clickontheshape.
FIGURE 25.25 Loft completed.
555 Whilethiswasaverysimpleexample,theessentialsofloftareallthere.Becausethecircles bydeinitionareclosedproiles,wegetasolidoutofthis.If,forexample,wehadthreearcs instead(inthesamepositions),loftwouldyieldasurface,asseeninFigure25.26.Goahead andtrythisbytrimmingthecircles.Weusethissurfacingabilitylaterontogeneratesome rathercomplexsurfacesquicklyandeasily.
FIGURE 25.26 Loft using arcs.
LEVEL 3 Chapters 21–30 Thetruepowerofloftshowswhenyouneedtosmoothlymergeproilesofvaryingshapes, sizes,andlocations.AutoCAD’sHelpileshaveanextensivelistofitemsthatqualifyascross sections,sobesuretotakealook.Sometimesyoumayhitasnaginperformingloftdueto anunusualcombinationofelements,butaslongastheyarenotonthesameplane(two platesonadinnertableisanexampleofobjectsonthesameplane),youshouldbeable tocompletetheoperation.Someexamplesshownnextincludeloftingasolidbetweena rectangleandacirclesomedistanceaway(Figure25.27)andloftingasurfacebetweentwo arcssomedistanceapart(Figure25.28).
FIGURE 25.27 Loft using a rectangle and a circle.
556
FIGURE 25.28 Loft using two arcs.
3D Modeling Exercise: Mechanical Drill Bit Thisisagoodexampleofaloftapplication.Wecreatethreeproiles,positionthem,andloft betweenthem,creatingacomplexshape. Step 1.Drawacircleandonetooth,similartowhatisfoundonagear.Then,arrayit12 timesaroundthecircle.Finally,doalittlebitofcleanuptrimmingandpeditthe entirestructure.Thisisyourbasicproile,asseeninFigure25.29.Youneednotdraw theexactsamething;somethingcloseisjustine. Step 2.Nowcopytheproileforatotalofthreeitems.Makeeachnewcopy1.5timeslarger thanthepreviousoneusingscale,asseeninFigure25.30. Step 3.Carefullyplacethethreeproilesoneontopofanotherusingtheircenterpointsand rotateproiles2and3(themediumandthelargestones)10°and20°,respectively, asseeninFigure25.31. Step 4.Now,switchtothe3DSWIsometricviewandseparatethethreeproilesevenlyin sizeorder,asseennext.Becareful,youmayhaveto3Drotatealltheproilestoget themto“standupright.”Also,besuretocheckthesideproilestomakesurethey arespacedevenly.UseOrtho,andwhendone,3Dorbitaroundtheproiletocheck thattheyarelocatedjustright.YoushouldseewhatisshowninFigure25.32.
CHAPTER 25 Solid Modeling
FIGURE 25.29 Drill bit, Step 1.
FIGURE 25.30 Drill bit, Step 2.
557
FIGURE 25.31 Drill bit, Step 3.
FIGURE 25.32 Drill bit, Step 4.
LEVEL 3 Chapters 21–30
Step 5.Finally,youarereadytoexecuteloft.Figure25.33showstheresult.
FIGURE 25.33 Drill bit, Step 5.
Asyoucanseefromthisandthepreviousexamples,loftisaveryversatileandpowerful command.Youcanrepresentvirtuallyanyobjectaslongasyouareabletovisualizeand correctlydrawasuitableproile.
Path Extrusion 558
Pathextrusionandsweep,whichfollownext,arecommandswithasimilarmissionbut differentapproaches.Pathextrusionistheoldercommandandstillquiteusefulincertain situations,whilethenewersweepjustexpandsandsimpliiesthesameidea. Thecentralideahereistoallowextrusionalongagivenpath,whichcanbecurvedand otherwisenonlinear(recallthatthebasicextrudecommandwaslinearinnature).Path extrusionistechnicallynotanewcommand,astheoptiontoselectapathwhileextruding wasactuallyalwaysthereinthecommand’ssubmenus,soallwearedoinghereisinally tryingitout. Drawacircleofanydiameterorradius.ThendrawanL-shapedsetoflines,asshowninFigure 25.34,andaddasmallillettotheintersectionofthelines;inallypeditthelinesandarc.
FIGURE 25.34 Basic path.
Thislineisthepath,andthecircleistheproilewewouldliketoextrude.Thereisonemore stepbeforeyoucandothepathextrusion,however.Thiscommandrequiresthattheproile (circle)beturnedperpendiculartothepath(line).Use3Drotatetorotatethecircle90°.It willlooklikewhatisshowninFigure25.35.Nowswitchto3D.Youmayneedto3Drotate thepiecesintoanuprightposition,asseeninFigure25.36.
CHAPTER 25 Solid Modeling
FIGURE 25.35
FIGURE 25.36
Basic path, circle rotated.
Basic path in 3D.
Wecannowdothepathextrusion.Thereisnoseparatepathextrusioncommand,ratheritis asubmenuoftheregularextrude. Step 1.Startupextrudeviaanypreferredmethod. m AutoCADsays:Current wire frame density: ISOLINES=4 Select objects to extrude:
Step 2.SelectthecircleandpressEnter. m AutoCADsays:Specify height of extrusion or [Direction/Path/Taper angle]
Step 3.SelectpforPathandpressEnter. m AutoCADsays:Select extrusion path or [Taper angle] Step 4.Clicktoselectthepathitself.YouseewhatisshowninFigure25.37,inwireframe. Theextrusionisthenshadedandcoloredtogivetheinalresult,asseeninFigure25.38.This viewisalsoswitchedtoSEIsometrictoshowtheothersideofthepipe.
FIGURE 25.37
FIGURE 25.38
Path extrusion of the pipe.
Path extruded pipe, shaded and colored.
Figure25.39showsthesamepathextrudedpipewithahollowcenter,toactuallymake itapipe.Thiswasdonebygoingbacktotheoriginalproileandsimplyaddinganother (smaller)circleproileandextrudingitalongthesamepath.Thenasubtractionwasdone, subtractingoneextrusionfromtheother.Asanexercise,goaheadandrecreatethisyourself.
559
LEVEL 3 Chapters 21–30
FIGURE 25.39 Path extruded pipe with hollow center.
Sweep Asalreadymentioned,sweepisavariationonthesamethemebutwithsomeenhancements. Onceagain,wehaveaproileandapath,butinsteadofcarefullyliningupthecircletothe path,wecanselectalmostanyproile,anywhereonthescreen,andclickalmostanypathto generateasweep.Therefore,itisamuchmorelexiblecommand.Figure25.40showsan examplewitharectangleusedtocreateasweepalongessentiallythesametypeofpath. Noticetheproileisnowherenearthepath.Goaheadandsetthisupviathefollowingsteps.
560
FIGURE 25.40 Rectangle and sweep path.
Step 1.Startthesweepcommandviaanyoftheprecedingmethods. m AutoCADsays:Current wire frame density: ISOLINES=4 Select objects to sweep:
Step 2.PicktherectangleandpressEnter. m AutoCADsays:Select sweep path or [Alignment/Base point/Scale/ Twist]:
Step 3.Selectthepathandthesweepisproduced,asseenshadedandcoloredintheSE IsometricviewinFigure25.41.
CHAPTER 25 Solid Modeling
FIGURE 25.41 Rectangle sweep.
Therearesomelimitstothisofcourse,andthosehavetodomostlywiththesizeofthe proileorpath.Iftheproiledoesnotphysicallyitthepath,AutoCADtellsyouthatitis unabletoproducethesweep.Notethatthesweepingactiondestroystheoriginalproile,so ifyouthinkyoumayneeditagain,keepacopyofit.Thisisanimportantpointincreating multiplesweepslateron. Amajoradvantageofthiscommandoverpathextrusionisthatasweepcanbeproduced eveniftheproileisonthesameplaneasthepath,asseenwithanarcandacirclein Figure25.42.
561
FIGURE 25.42 Circle sweep.
Thesweepcommandisnotbotheredbythesimilarplane.Itjusttakeswhateverproileis selectedandappliesitperpendicularlytowhateverpathyouchoose. Thisconcludestheadvanced3Dtools.Practiceandlearntoapplyeverythingthusfar. Wehaveanadditionalchapterwithafewmoretoolstocompleteyour3Dconstruction knowledge,buttheonespresentedinthischapteraretheprimaryones.
Drawing Challenge: Helical Coil Usingwhatyouknowsofar,drawthehelicalcoilshowninFigure25.43.Youhaveallthe toolsatyourdisposalatthispoint.Thinkcarefully,anddonotworryaboutsizeorhow manycoilstodo,onlytheshape.Theanswerisfeaturedattheendofthenextchapter, butdonotlookituprightaway;giveityourbestshotirst.Also,donotbetemptedto useAutoCAD’shelixtool,whichwillbecoveredinthenextchapter.Itisrelativelynew (introducedinAutoCAD2007),andtheresultsdonotlooklikewhatisshownhereanyway. Thereisareasonwhyyoushouldtrytoigurethisout,anditismentionedalongwiththe answerinthenextchapter.Goodluck.
LEVEL 3 Chapters 21–30
562
FIGURE 25.43 Helical coil drawing challenge.
SUMMARY Youshouldunderstandandknowhowtousethefollowingconceptsandcommandsbefore movingontoChapter26: l l l l l l
Revolve Shell Taper Loft Pathextrusion Sweep
CHAPTER 25 Solid Modeling
REVIEW QUESTIONS Answer the following based on what you learned in Chapter 25: 1. 2. 3. 4. 5. 6. 7. 8. 9.
Describe the revolve command. Does the profile need to be open or closed? Describe the effect of each. Describe the shell command. How many surfaces can you select with shell? Describe the taper command. Describe the loft command. Describe the path extrusion command. Describe the sweep command. Why is sweep better than path extrusion?
EXERCISES 1. Use the following profile and axis of rotation (the line below the profile) to revolve it 360° to create the model of a basic tire and rim. Sizing and exact profile shape are up to you, and you need various drawing and editing commands, including pedit, prior to revolve. (Difficulty level: Moderate; Time to completion: 20 minutes)
563
LEVEL 3 Chapters 21–30
2. Create four 4.5" 6" rectangles, then explode, trim, and pedit them together into an outline as shown in the profile on the left. Then, extrude them to a height of 5.5" and shade and color them. Finally use the shell command (0.2" thickness) to remove the faces, as shown in the profile on the right. (Difficulty level: Moderate; Time to completion: 10 minutes)
3. Create the following basket using the rectangle (20" 10"), extrude (10"), taper (10°), fillet (1.5"), and shell (0.25") commands. Then, add the handle using arc and sweep (1" diameter circle). (Difficulty level: Moderate; Time to completion: 15–20 minutes)
564
CHAPTER 25 Solid Modeling
4. Create the following bracket and pole model. An exploded view as well as a breakdown of individual parts are shown for clarity. The sizing of the parts is up to you. (Difficulty level: Moderate; Time to completion: 30 minutes)
565
This page intentionally left blank
CHAPTER
26
Advanced Solids, Faces, and Edges
567
LEARNING OBJECTIVES In this chapter, we continue to introduce additional advanced tools, including l Polysolid l Helix l 3D path array l 3Dalign l Faces m Move m Offset m Delete m Rotate m Copy m Color l
Edges m Copy m
Color
Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 3 Chapters 21–30 Bytheendofthechapter,youwillhavethecomplete3Dobjectdesigntoolsetinyour hands. Estimatedtimeforcompletionofchapter:2hours.
26.1 INTRODUCTION TO ADVANCED SOLIDS, FACES, AND EDGES Withthischapter,wecontinuetointroduceadvanced3Dtools.Whiletheyarenotthe primarytoolsyouuseinday-to-day3Dwork,theyarestillneededtoroundoutyour knowledge.Speciically,weaddpolysolid,helix,3Dpatharray,and3Daligntothelistand focusonworkingwithfaces(move,offset,delete,rotate,copy,andcolor)aswellasedges (copyandcolor).
Polysolid Aftertryingoutpolysolid,youmaynevercreateawallviatheextrudecommandagain.A polysolidisanalogoustoapolyline.Whatyougetiscontinuoussectionsofextrudedrectangles similartocontinuoussectionsofaplinein2D.Itisagreattoolforquicklyconstructing3D wallsofabuilding.Onceyoubegincreatingthepolysolid,youcancontinueto“stitch”forward onesectionatatimebyjustpointingthemouseinthedirectionyouwanttogoandenteringa distance(usuallywithOrthoon).
568 Step 1.Startpolysolidviaanyoftheprecedingmethods. m AutoCADsays: _Polysolid Height = 4.0000, Width = 0.2500, Justification = Center Specify start point or [Object/Height/Width/Justify] :
Step 2.Thesearethedefaultvaluesfortheheightandwidth,andtheyareOKfornow.Go intotheSWIsometricviewandactivateOrtho.Then,clickanywhereonthescreen. m AutoCADsays:Specify next point or [Arc/Undo]: Step 3.Aconnectedpolysolidisdrawneverytimeyouclick,sodoseveralclicksandpress Enterwhendone,thenshadeandcolorthepolysolid.Youshouldhavesomething similartowhatisshowninFigure26.1onyourscreen. TocreateasectionofawallsimilartowhatyoudidinChapter24,youneedtochangethe heightandwidthofthepolysolidbyselectinghforheightorwforwidthinthesuboptions.
FIGURE 26.1 Basic polysolid.
CHAPTER 26 Advanced Solids, Faces, and Edges Forheight, l
AutoCADsays:Specify height :
Enter72fortheheight. Forwidth, l
AutoCADsays:Specify width :
Enter5forthewidth. Polysolidhastwomoreusefulfeatures.TheirstoccursifyouselecttheArcsuboptionwhile clickingaround;youcancreateanarcsection,asseeninFigure26.2.
FIGURE 26.2 Basic polysolid with arc.
Thesecondveryusefulfeatureistheabilityofthepolysolidcommandtoconvertregular 2DgeometricobjectsintopolysolidsusingtheObjectsuboption.Theseobjectscanbe rectangles,arcs,circles,andothers,asseeninFigures26.3and26.4.Simplybeginthe polysolidcommand,pressoforObject,andselecttheshape.Theheightisdictatedbythe Heightsetting,whichcanbeeasilychanged.
FIGURE 26.3 Rectangle to polysolid.
FIGURE 26.4 Arc to polysolid.
569
LEVEL 3 Chapters 21–30
Helix Afterapparentlyreceivingmanyrequests,calledwish listentries,onthistopic,Autodesk inallyincludedthehelixcommand.Itprettymuchdoeswhatitadvertises,creatingabasic 3Dhelixcoil,asseeninFigure26.5.
FIGURE 26.5 Basic helix coil.
570
Step 1.Starthelixviaanyoftheprecedingmethods. m AutoCADsays:Number of turns = 3.0000 Twist = CCW Specify center point of base:
Step 2.Youareaskedheretospecifywhereyouwantthehelixcoiltobe.Generally,you clickonanyrandompointtojustcreatethehelix.Afterward,youcanmoveitintoa speciicpositionaccordingtodesignneeds. m AutoCADsays:Specify base radius or [Diameter] : Step 3.Thisistheoverallradiusordiameterofthebottompartofthecoil.Enteranyvalue; 10isusedinthisexample. m AutoCADsays:Specify top radius or [Diameter] : Step 4.Thetopradiusordiameterofthecoildoesnotnecessarilyhavetobethesameas thebottom;thiswayyourcoilcantaperinorexpandifneeded.Forthisexample, however,wechoosethetopandbottomtobethesamesize(10). m AutoCADsays:Specify helix height or [Axis endpoint/Turns/turn Height/tWist] :
Step 5.Althoughyoucanmanuallypullthehelixintoshapeatthispoint,abetterapproach istoindicatethenumberofturnsandhelixheight.TypeintforTurnsandpress Enter. m AutoCADsays:Enter number of turns : Step 6.Enteranyreasonablevalue;10isusedforthisexample. m AutoCADsays:Specify helix height or [Axis endpoint/Turns/turn Height/tWist] :
Step 7.Nowtypeintheheightyouwishthehelixtohave;40isusedinthisexample.
CHAPTER 26 Advanced Solids, Faces, and Edges Theinalresultisseenontheleft-handsideofFigure26.6.Now,howwouldyougive thehelixathickness,likearealspring?Werecentlycoveredtheanswertothat:thesweep command.Createasmallcircleproilepositionednearthehelix.Usingthehelixasapath, createasweepofthecircleproileasseenintherestofFigure26.6.
FIGURE 26.6 Completed helix coil with sweep.
Whilethisisaneasywaytomodelthecoilaspresentedinthechallengedrawingofthe previouschapter,resistthetemptationtodosoandsearchforotherways.
3D Path Array
571
ThearraycommandwasirstintroducedinChapter8.Havinggonethroughabitofaredesign, arrayisnowcommandlinedrivenandfeaturesanewthirdvariation,thepatharray.This allowsyoutoselectanobjectandapath.Multipleinstancesofthatobjectarethencreated alongthepath.Thesameexactthingcanbedonein3D. Totrythisout,wecreateaspiralstaircase.Drawasmallstepconsistingofa20" 8"rectangle extrudedtoathicknessof1",asseeninFigure26.7.Donotforgettoaddcolorandshade.
FIGURE 26.7 20" 8" 1" step for path array.
Then,usingyournewhelixskills,createahelixofanyreasonablesize.Theoneusedinthis exampleis15 15,withaheightof50.Thestepisrotated90°toalignwiththebottomof thehelix,asseeninFigure26.8. Finally,runthroughthepatharraycommand(itisthesamefor3Dasitisfor2D).Justasa reminder,youareaskedtoselecttheobjectandindicatethisisapatharray.Then,typein50
LEVEL 3 Chapters 21–30
FIGURE 26.8 Helix for path array.
whenaskedhowmanyobjects.FinallypressEntertwicetocompletethe3Dpatharray command.YourresultsshouldlooksimilartoFigure26.9,whichshowsthenewstaircase fromtwodifferentviews.Notethatthepathisstillvisiblebutcanofcoursebeerasedif desired.
572
FIGURE 26.9 Completed spiral staircase (two views).
Whilethiswasjusta“quickanddirty”example,youcaneasilyseehowsometimespent craftingapropersetofstairs,handrails,andaframeyieldsagracefulandimpressivedesign ofaspiralstaircasewithcomparativelymodesteffort.
3Dalign AsyoumayrecallfromLevel2,aligningobjectsin2Dcanbesomewhattricky,andthealign commandisquiteusefulinquicklyandeasilymatingupgeometricpieces.In3D,itcanbe evenmoreofachallengetoalignobjects,especiallyiftheyareoutofalignmentinallthree axes.Therefore,3Dalignisalmostmandatorytoaccomplishthis.Goaheadandcreateand positionthefollowingtwoblocksasdescribednext. InFigure26.10,ontheleft(Block1)isa25" 15"block,extrudedto15".Itisevenwith theX,Y,andZaxes,asseeninthestandardSWIsometricview,whileasimilarcopiedBlock 2ontherighthasbeenrotated15°alongtheXandYaxesand30°alongtheZaxis.We needtoalignFace1withFace2bymovingBlock2(sinceitistherotatedone)andbringing itaroundtohaveitsfacemateupwiththefaceofthecorrectlyalignedBlock1.
CHAPTER 26 Advanced Solids, Faces, and Edges
FIGURE 26.10 Blocks for 3Dalign.
Step 1.Startthe3Daligncommandviaanyoftheprecedingmethods. m AutoCADsays:Select objects: Step 2.SelectjustthemisalignedBlock2(youcould,intheory,pickBlock1aswell)and pressEnter. m AutoCADsays:Specify source plane and orientation ... Specify base point or [Copy]:
Step 3.Here,youneedtoclickonandchoosethreeconsecutivesourcepointsonBlock2’s facethatyouwantusedaspointsofattachmenttoBlock1.Severalcombinationsare possible,soletusarbitrarilychoosethepointsshowninFigure26.11.Asyouselect thesethreepoints, m AutoCADsays:Specify second point or [Continue] : Specify third point or [Continue] : Specify destination plane and orientation ... Specify first destination point:
Step 4.Now,youarereadytospecifythedestinationpoints.Hereyouhavetobecareful andthinkaboutwhatthosepointsactuallyare,asrandomchoicesproducerandom results.Observethat,inthisexample,Block2needstoberotated180°foritsgreenish yellowfacetomatchuptoBlock1’sgreenishyellowface.Therefore,thedestination pointsneedtobemirrorimagesofthesourcepoints,nottheexactsameones. TheorderwepickedthesourcepointswasTopLeft→TopRight→BottomRight.Asweswing Block2around,thecorrespondingpointsonBlock1areTopRight→TopLeft→Bottom Left.Doyouseewhy?Visualizethisonanearbyobject,onethatyoucanpickup,locatethe pointson,andturnaround:perhapsacellphoneorabook.Letusnowselectthosepoints, asseeninFigure26.12.Asyouaredoingthis, m
AutoCADsays:Specify first destination point: Specify second destination point or [eXit] : Specify third destination point or [eXit] :
573
LEVEL 3 Chapters 21–30
Step 5.Selectthepointscarefully;Block2maybeintheway,soyouneedtotrustyour OSNAPs(orjuststayinwireframemodetoseethepoints).Theinalresultisshown inFigure26.13.
FIGURE 26.11
FIGURE 26.12
Selecting points, Step 3.
Selecting points, Step 4.
574
FIGURE 26.13 3Dalign completed.
26.2 WORKING WITH FACES Supposeyoucreatedaholeinablockviaextrusionandsubtraction,asseeninFigure26.14. Howwouldyoudeletethatholeifitisnolongerneeded,withoutredrawingorotherwise damagingtheoriginalblock?Whatifyouneededtomovetheholefromitscenterposition
FIGURE 26.14 Block with a hole.
CHAPTER 26 Advanced Solids, Faces, and Edges toanotherareaoftheblock?Or,whatifyoujustneededtochangeitsdiameter?Allthisand moreareaddressedbythevariousfacesoperations,suchasmoveface,copyface,offsetface, deleteface,rotateface,andevencolorface. Beingabletoeasilymodifytheposition,geometry,andsizingof3Dfeaturesisafundamental requirementofallsolidmodelingprograms.Theparametricmodelingsoftwareonthemarket approachesthisinvariousways,somebetterthanothers.TheSpatialTechnologiesACISkernel thatpowersAutoCAD’s3DmodelerisnotquiteontheleveloftheParasolid,Granite,orCAA thatpowersthehigh-endNX,Pro/Engineer,andCATIAsoftware,respectively(seeAppendixH formoreinformationonkernels),butitdoesadecentjobworkingwithembedded3Dfeatures usingthevariousfacestools.Letuscoverthemall,oneatatime,astheyareveryimportantin effective3Ddesign.
Delete Faces EverythingyoucreateinAutoCAD3Dhasfaces.Theymaybethefacesofanobject,suchas theextrudedholeoractualsurfacesoflargerobjects.WhenAutoCADreferstofaces,itisthose objectsorsurfacesthatcanbemovedorcopied.Insomecases,youcaninterpretthisasmoving orcopyinganentirefeature(suchastheextrudedholeintheupcomingexamples)or,inother cases,anactualsurfaceofanobject. Deletefacesisprobablytheeasiestofthefacecommandstostartwith.Itismeanttobeused todeletefullfeatures,suchasanextrudedcylinder(hole),notsurfaces.Totryitout,drawa randomsizeblockwithaholeinit,asseeninFigure26.15.
575
FIGURE 26.15 Delete faces (hole).
Step 1.Startupdeleteface(asolideditingcommand)viaanyoftheprecedingmethods. m AutoCADbringsupalengthysolideditingmenu: _solidedit Solids editing automatic checking: SOLIDCHECK=1 Enter a solids editing option [Face/Edge/Body/Undo/eXit] : _face Enter a face editing option [Extrude/Move/Rotate/Offset/Taper/Delete/Copy/coLor/mAterial/ Undo/eXit] : _color Select faces or [Undo/Remove]:
LEVEL 3 Chapters 21–30
Step 2.Clicktoselectthehole.Becarefultopickonlytheholenotsurroundinggeometry. m AutoCADsays:1 face found. Step 3.PressEnter. m AutoCADsays: Solid validation started. Solid validation completed. Enter a face editing option.
Step 4.Theholeisremoved,asseeninFigure26.12.PressEsctoreturntothecommandline. Thedeletefacescommandcanalsobeusedtodeleteunwantedilletsin3D.Simplyrun thecommand,selecttheillet,anditrevertstoa“0”radius(sharpcorner),asseeninthe sequenceofFigure26.16.
FIGURE 26.16 Delete faces (fillet).
576
Move Faces Themovefacescommandmovestheholetoanotherlocation.Undothefacedeletionyou justpracticedandletustrytomovetheholearound.
Step 1.Startupmovefaceviaanyoftheprecedingmethods. Step 2.AutoCADshowsthesamelengthysolideditingmenu(notreproducedhereagain) andasksyoutoselectthefaces(thehole).Fromthere,thecommandisexactlylike aregularmovecommand.Itasksforabasepointtomovefromandasecondpoint tomoveto.BesuretohaveOrthoonwhendoingthis.Uponcompletion,theholeis moved,asseeninFigure26.17.
FIGURE 26.17 Move faces, before and after.
CHAPTER 26 Advanced Solids, Faces, and Edges
Copy Faces Copyfacescopiesanyelementyouselectinthesameexactmannerthatmovefacesworks.It ishowevermoreusefulforaslightlydifferentapplicationinvolvingactualfacesasopposed toelementslikeahole.Totryoutbothapproaches,leaveyourholeinitsnewpositionatthe edgeoftheblockanddothefollowing.
Step 1.Startupcopyfaceviaanyoftheprecedingmethods. Step 2.Youarepromptedforabasepointtocopyfromandasecondpointtocopyto. However,youhavetobecarefulinhowyouapplythiscommand.Ifyoucopythe extrudedhole,thenewholeisnotasolidandcannotbesubtracted.Whatyougetis showninFigure26.18.
577 FIGURE 26.18 Copy faces applied to hole.
Whathappenedwasthatjusttheedgewascopied,andwediscusshowtodealwiththis properlywhenwediscussedges.Meanwhile,whatexactlyiscopyfacesgoodfor?Well, rememberthatyoucanmoveandcopynotjustfeaturesbutalsosurfaces.Wecopyasurface offtothesideandextrudeitintoashape,asshownnextinFigures26.19and26.20.This canbeusefulbecauseyouneednotcreatenewproilesfromscratchbutcanreusecomplex geometry.
FIGURE 26.19
FIGURE 26.20
Copy faces applied to surface.
Copied face extruded.
LEVEL 3 Chapters 21–30
Offset Faces Offsetfacescanaccomplishessentiallythesamethingasextrude.Whileyouareusedto extruding2Dobjectsintothethirddimension,extrudeandoffsetfacescanalsobeused tolengthenorshortenwhatisalreadya3Dobjectbyextrudingoroffsettingthefaceyou pick,andthesolidmaterialstretchesorshrinkstomeetthenewpositionofthisface.The approachisessentiallythesame,sowefocusonoffsetfaces.
Step 1.Startupoffsetfaceviaanyoftheprecedingmethods. Step 2.AutoCADonceagainrunsthroughthelengthysolideditingmenuandasksyouto selectaface.PickthefaceyouwanttooffsetandpressEnter.AutoCADthenasks youtospecifytheoffsetdistance.Entersomevalue,andyouseetheresult,similarto whatisshowninFigure26.21. Offsetfacescanalsocomeinhandywhenattemptingtochangethesizeofanembedded feature,suchasthehole’sdiameterinthiscase.Applyingoffsetfacestothehole,wegetthe resultseeninFigure26.22whenaddinganoffsetof3toit.
578
FIGURE 26.21
FIGURE 26.22
Offset face 1.
Offset face 2.
Rotate Faces Rotatefacesisprimarilyforrotatingembedded3Dfeatures.Sinceitishardtoseethe rotationofacircle,letusdrawanewpart,consistingofarandomsizeplatewithacutout, asseeninFigure26.23.Nexttothecutoutisasmallextrusionforreferencepurposes.We wouldliketorotatethiscutout90°.
CHAPTER 26 Advanced Solids, Faces, and Edges
FIGURE 26.23 Plate with groove and extrusion.
Step 1.Startuprotatefaceviaanyoftheprecedingmethods. Step 2.AutoCADonceagaingivesyoualengthysolideditingmenu(notreproducedhere) andasksyoutopickthefacesforrotation.Carefullyselectbothstraightandcurved facesandpressEnter. m AutoCADsays:Specify an axis point or [Axis by object/View/Xaxis/ Yaxis/Zaxis] :
Step 3.Youarefreetochooseanyaxisfortherotationorusetwopointstospecifyanew one.Forthisexample,theZaxisisused. m AutoCADsays:Specify the origin of the rotation : Step 4.Theoriginoftherotationisuptoyoutochoose.Forthisexamplethough,OTRACK isusedtoselecttheexactcenterofthecutout. m AutoCADsays:Specify a rotation angle or [Reference]: Step 5.Onceagain,thisisuptoyou,but90°isusedforthisexample. m AutoCADrotatesthecutoutandsays: Solid validation started. Solid validation completed. Enter a face editing option.
TheresultisseeninFigure26.24.
FIGURE 26.24 Groove rotated via rotate face.
579
LEVEL 3 Chapters 21–30
Color Faces Youmayhavenoticedthatmanyfacesarecoloredforclarityinthischapter.Thisiseasyto doandisausefultricktomakethefacesstandout(wedothiswithedgesaswelllateron).
Step 1.Startupcolorfaceviaanyoftheprecedingmethods. Step 2.Selectaface,andyouseethefamiliarcolordialogboxfromChapter3. Step 3.Selectacolorandthefacechanges.
26.3 WORKING WITH EDGES Workingwithedgesisashorttopic,asthereareonlytwoitemstocover:coloredgesand copyedges.
Color Edges
580
Thiscommandisverysimilartocolorfaces.Youmaynotseethenewcolorededgeaseasily sinceitisjustthat,anedge,basicallyathinline. Step 1.Startupcoloredgeviaanyoftheprecedingmethods. Step 2.Selectanedge,andyouseethefamiliarcolordialogboxfromChapter3. Step 3.Selectacolorandtheedgechanges.
Copy Edges
Recallthat,whencopyfaceswasattemptedonanextrudedhole,therewasaproblem,aswe wereunabletosubtractthecopiedhole.Copyedgesgetsaroundthisproblembycopying onlytheoriginalcircle,whichcannowbeextruded.Withasimpleshape,suchasacircle, youcouldalsojustredrawitandextrude;butwithmorecomplexshapes,thiscopyedge techniqueisquiteuseful.AnexamplefollowsgraphicallyviaFigure26.25.Goaheadandtry thiscommandoutonyourown.
CHAPTER 26 Advanced Solids, Faces, and Edges
FIGURE 26.25 Edge copied, extruded, and subtracted.
Practiceallthefaceandedgeeditingcommandswejustcovered.Weconcludethechapter withanexplanationonhowthehelixwascreatedbyhand.
Helical Coil Explained Sohowwashelicalcoildrawninthepreviouschapter?Haveyoumadeanearnestattempt increatingitwithoutusingthehelixtool?Hereistheanswer.Youhavetovisualizewhata helixreallyis:abunchofcirclesconnectedtogether.Allweneedtodoisigureoutawayto connectthemandtherestiseasy.Hereisonepossibleway.Drawacircleand“splititintwo” bydrawingalineacrossitquadranttoquadrant,trimmingoffonehalfandmirroringthe halfrightback,asseeninFigure26.26(youcanalsousethebreakcommand).
581
FIGURE 26.26 Creating the helical coil, Part 1.
Nowgointo3Danduserotate3Dtoraiseonehalfofthecircle15°up(ordown)around theYaxis,asseeninFigure26.27.
FIGURE 26.27 Creating the helical coil, Part 2.
Atthispoint,itisjustamatterofconnectingabunchofthesesegments,asseeninFigure 26.28.Theinalstepistousethesweepcommandtocreatethethicknessforthecoil,asseen
LEVEL 3 Chapters 21–30 inFigure26.29(remembertousemanycircles,asonegetsusedupforeachsection).Union theentirecoilandassigncolorandshading.TheinalcoilisshowninFigure26.30.
FIGURE 26.28 Creating the helical coil, Part 3.
582
FIGURE 26.29 Creating the helical coil, Part 4.
SowhywereyouaskedtocreatethishelixwhenAutoCADhasanautomatedcommandfor this?Well,mainlybecauseitisagoodexerciseincriticalthinkinginasituationthathasno easyanswer(atleastpriortotheintroductionofthehelixcommandinAutoCAD2007). Veryoftensituationsariseinwhichyouhavetodepictsomethingcomplexandnoready-tousetoolsareavailable—afterall,everypossibledesignscenariocannotbeaccountedforby AutoCAD.Youhavetostop,thinkofwhatyoudohaveavailable,andseehowyoucanuse thesetoolscreativelytoconstructsomethingnew. Everythingusedintheconstructionofthishelixisfamiliartoyou,butthecombinationof commandsisnovel.Thatisthekey,indingwaystoaccomplishataskusingthetoolsyou alreadyhave.Itisavirtualcertaintyyouwillrunintodrawingsituationswhereyouneed tothinkoutofthebox.Ideally,youwillrememberthisexerciseandremembertothinkin termsoffundamentaltools.
CHAPTER 26 Advanced Solids, Faces, and Edges
583
FIGURE 26.30 Completed helical coil.
SUMMARY Youshouldunderstandandknowhowtousethefollowingconceptsandcommandsbefore movingontoChapter27: l l l
Polysolid Helix 3Dpatharray 3Dalign Faces m Move m Offset m Delete m Rotate m Copy m Color l Edges m Copy m Color l l
LEVEL 3 Chapters 21–30
REVIEW QUESTIONS Answer the following based on what you learned in Chapter 26: 1. 2. 3. 4. 5. 6.
Describe the polysolid command. Can you turn regular objects into polysolids? Describe the helix command. Describe the 3D path array command. Describe the 3Dalign command. What are the six faces commands? What are the two edges commands?
EXERCISES 1. Color the faces of an extruded box as follows. Create a hole in the middle as shown. (Difficulty level: Easy; Time to completion: 1–2 minutes)
584
2. Copy faces on an extruded box as follows. Offset the hole to a smaller size as shown. (Difficulty level: Easy; Time to completion: 1–2 minutes)
CHAPTER
27
Surfaces and Meshes
585
LEARNING OBJECTIVES In this chapter, we focus on surfaces instead of solid objects. These objects have no depth the way solids do but possess many desirable properties for design work. Specifically, we mention l Planar surface l Region l Rulesurf l Tabsurf l Revsurf l Edgesurf l 3Dface l 3Dmesh l Smooth Mesh Primitives l Mesh smoothing l Face move and rotate l Collapse Face or Edge l Convert to Solid or Surface l Section Planes Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 3 Chapters 21–30 Bytheendofthechapter,youwillbeabletocreateavarietyofsurfacesandmeshes. Estimatedtimeforcompletionofchapter:2hours.
27.1 INTRODUCTION TO SURFACES AND MESHES Inthischapter,weexploresomeofAutoCAD’ssurfacingandmeshingcapabilities.They underwentsomesigniicantenhancementsinlastyear’sAutoCAD2011release.Asurfaceand ameshareoftenthesame,sinceinallbutafewcases,asurface,bydeinition,ismadeup ofamesh.Ameshcanthenbedescribedasaninterconnectingweaveoflinesrepresentinga surface(asopposedtoasolid). AutoCADhasseveralgeneralapproachestocreating,andworkingwith,theseobjects.The mostrecentapproachparallelswhathasbeendoneinadvanced3DsoftwarelikeCATIAfor sometimenow.Youcreatearough“blob”representingageneralshape,thenyouadjustit onemeshatatime,pushing,pulling,andsculptingitlikeapieceofclay. Anothermethodinvolvescreatinga“framework”forthesurface,asortofskeleton,ifyou will.Thisframeworkisgenerallymadeusingsplines,whichcanbeshapedeasilyviacontrol points(grips).Youcanthencreatesurfacesontopofthisframework. Finally,surfacescanbecreatedviaordinarydesignmethodsalreadycovered.Recallhowyou revolvedan“open”proiletocreateasurfacemodelinChapter25.Inthesamechapter,you alsousedtheloftcommandtocreatesurfacesbetweentwoarcs.Loftisactuallyquiteauseful commandforbasicsurfacingofnoncomplexcurvature.
586
Westartfromthebeginningandcover“legacy”meshingcapabilitiesirst.Thesetools,such asplanarsurface,region,andthe“surf”family(rulesurf,tabsurf,revsurf,andedgesurf), werearoundforquitesometimeandareusefulforbasicsurfacingandmeshingtasks.We thenmoveontosomeadvancedlegacytoolssuchas3Dfacesandmeshesanddiscussthe newfamilyoftoolsintroduced(orenhanced)inAutoCAD2011.Remember,morethan ever,thesetoolsdependonyourimaginationandcreativitytoshine.Theyworkbestwhen combinedbyaskilledusertocreatesomeveryadvancedshapes.
27.2 SURFACING COMMANDS Planar Surface Perhapsthesimplestthingyoucansurfaceisarectangle,andthisiswherewestart.While loftcanaccomplishthissurfacingintheory,youneedcrosssections.Here,youjusthavea mundaneshapeandwanttocoveritwithasurface,andasimplercommand,calledplanar surfaceorjustplanesurf,isavailable.Totryitout,switchto3Dandcreatearectangleofany size,asseeninFigure27.1.
FIGURE 27.1 Basic rectangle in 3D.
CHAPTER 27 Surfaces and Meshes Wewouldliketoaddasimplesurfacetotherectanglewithoutextrudingormakingitatrue solid.
Step 1.Starttheplanesurfcommandviaanyoftheprecedingmethods. m AutoCADsays:Specify first corner or [Object] : Step 2.UsingOSNAPs,selectoneofthecornersoftherectangle. m AutoCADsays:Specify other corner: Step 3.Selectthediagonallyoppositecorneroftherectangle.Asurfaceisformed,asseenin thewireframeandshademodesinFigure27.2.
587
FIGURE 27.2 Rectangle with planesurf.
YoucanalsouseplanesurftocreatesurfacesoutofobjectsbytypinginoforObject.Youcan thenjustselecttheobjectandturnitintoasurface;noclickingofpointsisneeded.Thisis usefulwhenacurvature,suchasanarc,isinvolvedandpoint-by-pointclickingisnotpractical. Figure27.3showsaclosedborderdrawnwithapline,withplanesurfthenappliedin3D.
FIGURE 27.3 Shape with planesurf (Object).
LEVEL 3 Chapters 21–30
Region Regiongetsabriefmentionhereasanalternatemethodtocreateasimplesurface.The differencehereisthataregionisasurfacebutnotamesh,arareinstancewhenthisisthe case.Youarenotabletoedititinanyway,andthatmaybejustineforsimpleshapes.Totry outregion,createanotherrectangleorcirclein3Dwithshadingon.
Step 1.Starttheregioncommandviaanyoftheprecedingmethods. m AutoCADsays:Select objects: Step 2.PickyourshapeandpressEnter. m AutoCADsays: 1 loop extracted. 1 Region created.
Aregioniscreated.
Rulesurf Wenowgooverthefamilyof“surfs.”Thesearealllegacycommandsthatperformdifferent varietiesofsurfacing,dependingonthegivenstartingconditions. 588
Rulesurfstandsfor“ruledsurface”andisahandytooltocreatesurfacesbetweenvarious straightlinesorcurves(withoutcrosssections)thatarenotnecessarilystraightorparallel toeachotherorevenclosed.Itillsanichesomewherebetweentheloftandplanarsurface options.Totryitout,createtwolinesatarandomangletoeachother,asseenin Figure27.4.
FIGURE 27.4 Random lines for rulesurf.
CHAPTER 27 Surfaces and Meshes
Step 1.Starttherulesurfcommandviaanyoftheprecedingmethods. m AutoCADsays: _rulesurf Current wire frame density: SURFTAB1=6 Select first defining curve:
Step 2.Selecttheirstline,asseeninFigure27.5.
FIGURE 27.5 Select first line for rulesurf.
Step 3.Selectthesecondlineatroughlythesameupperlocation(ifyouselectabottom locationthesurfaceself-intersects).Theshadedandcoloredresultsareshownin Figure27.6.
589
FIGURE 27.6 Final result for rulesurf.
Aswithmanyofthesesurfacingtechniques,atirst,theresultsmaynotseemveryuseful,but withsomeimaginationandcreativity,youcanusethemtofulillrathercomplexsurfacing needs.Forexample,inFigure27.7,wecreatetwoarcs,rotateoneofthem90°,andconnect themendtoend. YoucanthenapplyrulesurftothesearcsandgetauniqueresultasseeninFigure27.8.The arcsbecameonesurface.Itwasthencolored,shadedandrotatedforadifferentview.The densityofthemeshcanbesetbytheSURFTAB1andSURFTAB2systemvariablesbysimply inputtingahighervalue.
Tabsurf Tabsurfstandsfor“tabulatedsurface”andisasurfacesversionoftheextrudecommand, withsomeelementsofpathextrusionmixedin.Thecommandrequiresapathcurveanda directionvector.Totryitout,createacirclewithaperpendicularline,asseeninFigure27.9.
LEVEL 3 Chapters 21–30
FIGURE 27.7 Perpendicular arcs.
590
FIGURE 27.8 Final result for rulesurf of arcs.
FIGURE 27.9 Circle and line for tabsurf.
CHAPTER 27 Surfaces and Meshes
Step 1.Startthetabsurfcommandviaanyoftheprecedingmethods. m AutoCADsays:Current wire frame density: SURFTAB1 = 50 Select object for path curve:
Step 2.Selectthecircle. m AutoCADsays:Select object for direction vector: Step 3.Selecttheline. Theresult,showninFigure27.10,isasurfaceprojectedalongthedirectionvector,notunlike pathextrusionorregularextrude,withthedifference,however,thattheobjectisnotasolid butasurface(besuretosettheSURFTAB1andSURFTAB2systemvariablestoahighvalue forsmoothness).AsimilarexamplewithanI-beamisshowninFigure27.11.
FIGURE 27.10 Final result for tabsurf.
591
FIGURE 27.11 Tabsurf example for I-beam.
Theinaltabsurfexampleisslightlymorecomplex.In2D,youneedtodrawastringof connectedarcs,allpeditedtogether,asseeninFigure27.12.Gointo3Dandrotatethestring ofarcsintoastraightuppositionifneedbe.Then,drawaperpendiculardirectionvector, attachedtooneendofthearcstring,asseeninFigure27.13,andinallytabsurftheshape, asseeninFigure27.14.Theseexercisesshouldgeneratesomeideasasfarasapplyingthe techniquestoactualdesignwork.
FIGURE 27.12 Arcs in 2D.
LEVEL 3 Chapters 21–30
FIGURE 27.13 Arcs with a direction vector in 3D.
592 FIGURE 27.14 Tabsurf example completed.
Revsurf Revsurfstandsfor“revolvedsurface”andisacloserelativeoftherevolvecommandcovered inearlier3Dchapters,withtheonlydifferenceinmanycasesbeingthatrevsurfproduces somewhatsmoothercurves,iftheSURFTAB1andSURFTAB2systemvariablesaresethigh enough(around50isagoodstartingpoint).Generally,youcantreatthiscommandasan alternativetorevolve.Toillustrateit,createtheproileseeninFigure27.15—itissimilarto thecupproileusedwithrevolve.Besuretopedittheproile.
Step 1.Starttherevsurfcommandviaanyoftheprecedingmethods. m AutoCADsays:Current wire frame density: SURFTAB1 = 50 SURFTAB2 = 6 Select object to revolve:
Step 2.Selecttheproile. m AutoCADsays:Select object that defines the axis of revolution:
CHAPTER 27 Surfaces and Meshes
FIGURE 27.15 Profile for revsurf.
Step 3.Selecttherotationaxis(theverticalline). m AutoCADsays:Specify start angle : Step 4.PressEnter. m AutoCADsays:Specify included angle (+=ccw, =cw) : Step 5.KeyinanyvalueorpressEnterforthefull360°.Theresult,shadedandcolored,is showninFigure27.16. 593
FIGURE 27.16 Revsurf example completed.
Edgesurf TheedgesurfcommandcreatesaCoonssurfacepatchmeshorameshintheMandN directionsbetweenasetofedgesthatareattachedtoeachotherwithendpointsinaclosed loop.Thehardpartisofcourseproperlydeiningtheseedges.Oncethatisdonecorrectly, AutoCADillsintherestandasophisticatedsurfaceiscreated. Foragoodmeshrendering,youneedtomakeitdenseusingtheSURFTAB1andSURFTAB2 systemvariablessetto50ormore(toomuch,though,slowsdownyoursystem’sperformance). Nowletustrytocreateabasicmeshasanexample.In2D,drawtwoarcsandpeditthemas seeninFigure27.17.
LEVEL 3 Chapters 21–30
FIGURE 27.17 Two connected arcs for edgesurf.
Nowswitchto3D,andusingthecopyandrotate3Dcommands,arrangetheminaclosed loop,witheachside90°perpendiculartoitsneighbor,asseeninFigure27.18.
FIGURE 27.18 Four connected arcs for edgesurf.
594
Step 1.Starttheedgesurfcommandviaanyoftheprecedingmethods. m AutoCADsays:Current wire frame density: SURFTAB1=50 SURFTAB2=50 Select object 1 for surface edge:
Step 2.Selectthefouredges,oneaftertheother. m AutoCADsays: Select object 2 for surface edge: Select object 3 for surface edge: Select object 4 for surface edge:
Step 3.Aftertheinaledgeisselected,youseethemeshimageshownontheleftinFigure 27.19.Ontheright,itisshaded,colored,andslightlyrotatedforabetterview.
FIGURE 27.19 Final result for edgesurf.
CHAPTER 27 Surfaces and Meshes Creatingthesemeshescanbetimeconsumingandoccasionallytroublesome,butifyou followthebasicrulesofpeditingallthecurves(edges)andconnectingthemtogether,you shouldbeine.Thesophisticationandversatilityofthiscommandisratherimpressive,and almostanycurvecanberepresentedifyoucanindacleverwaytocreatethenecessaryedges. Theonlylimitationisthatyouarelimitedtofouredgesatatime,butbyconnectingseparate meshedobjectstogether,youcangetaroundthis.
3Dface and 3Dmesh Ourinalbriefdiscussiononlegacymeshcommandsfocusesonfree-formmeshes,onesthat requirenocrosssectionproileorframework.However,justbecausetheframeworkisnot required,doesnotmeanitisnotnecessarytoameaningfuldesign.The3Dfacecommandis actuallytheonereferredtointhechapterintroductionasawaytodressupa“framework.” Theideaistosimplyclickyourwayaroundpointsinthedesign,andwhenAutoCADsenses aclosedpath,itinstallsasurface. Letusgivethisatryonarandomsetofsurfaces.ThedesignshowninFigure27.20canbe createdbycarefullyrotatingtheUCSiconwhiledrawingstraightlinestoestablisha“skeleton” shape.Then,usinggrips,youcanmovetheintersectionsoflinestogethertootherintersections. Finallyyoucanaddnewlinesbyjustdrawingfromendpointtoendpoint.Trytocreatea numberoffacesthatcanbeilledin.Yourshapeneednotlookexactlylikethisone.
595
FIGURE 27.20 Angular shapes for 3Dface.
Thewaytoactivatethiscommandisviatypingorcascadingmenu. Step 1.In3Dmode,withshadingandOrthoon,typein3dfaceandpressEnter,orusethe cascadingmenuDraw→Modeling→Meshes→3D Face. m AutoCADsays:3dface Specify first point or [Invisible]: Step 2.UsingOSNAPendpoints,clickaroundeachfacetoftheshape.Aftereachclick, m AutoCADsays:Specify second point or [Invisible]: Specify third point or [Invisible]
Step 3.Afterthreeorfourclicks(dependingonwhichfacetyouchosetodoirst)you shouldbeabletogetwhatisseeninFigure27.21.Continuecoveringtheotherfaces, andaddcolor,togetwhatisshowninFigure27.22(viewedfromseveralangles).
FIGURE 27.21
FIGURE 27.22
3Dface.
3Dface completed.
LEVEL 3 Chapters 21–30 Littleissaidof3Dmesh.Thiscommandisagoodsubjectforprogrammingandautomation. The3DmeshcommandasksyouforthesizeofthemeshintheMandNdirectionsand location(vertex)points.Thesecanbeenteredmanuallyoraspointsonaframework.Using AutoLISP,aprogrammercanautomatemeshingofcomplexsurfaces,butthisisbeyondthe scopeofthebook. The3Dfaceand3Dmeshcommandsconcludeabasicoverviewoflegacycommands,onesthat havebeenavailableforyears.Oneofthegoalsoflastyear’sAutoCAD2011,andcontinuing withAutoCAD2012istointroducenewmeshtools,whichwenowlookat.Thesetools involve“sculpting”ashape,whichisapopularwaytocreatemeshesinadvanced3Dsolid modelingsoftware,asmentionedatthestartofthischapter.
27.3 SMOOTH MESH PRIMITIVES Thewaytostart“sculpting”ashapeistoirstcreateonethathasbuilt-inmeshsurfaces.This canbeeasilydoneviasmoothmeshprimitives.Primitives,asintroducedinChapter22, aresimplesolidshapes,suchasabox,sphere,andcone.Youagaincreatetheseshapes,but nowtheyhavemeshsurfacesthatcanbemanipulatedintocomplexshapes.Tocreatemesh primitives,youcanusetheRibbon,theSmoothMeshPrimitivestoolbar(Figure27.23),or cascadingmenus,asseeninthecommandmatrix.
FIGURE 27.23 Smooth Mesh Primitives toolbar.
596
Thestepstocreatetheboxaresimilartotheregularprimitivesbox(reviewChapter22ifneeded), buttheresults,viewedinwireframe,aredeinitelynotthesame,asseeninFigure27.24. Theprimitiveisnowcomposedofmultiplefacesthatcanbeshapedandmorphedintothe desiredinalshape. Youcanalterthenumberoffaces(technicallycalledtessellation divisions)theprimitivehas viatheMeshPrimitiveOptionsdialogbox(Figure27.25).Itcanbeaccessedviathesmall arrowatthebottomrightoftheRibbon’sMesh→Primitivestab. Selecttheshapewithwhichyouwanttoworkandchangethetessellationvalues,thatis, length,width,orheight,therebycreatingmorefaces.Havingmoreworkingsurfacesona shapeyieldssmoothershapesandmore“controlpoints”withwhichtoalterthemeshes. Italsoallowsformoreaccuracyinshapingthepart.Thetrade-offismorecomplexityand possibleintroductionoferrors,aswellasanextraloadoncomputingresourcesifthemeshes areextremelydense. Howdensetomakethemeshgripisacommonengineeringdilemmaininiteelement analysis(FEA)forstressesandloadsandcomputationalluiddynamics(CFD)forluidlow modeling.Withmoderncomputers,taxingtheresourcesislessofanissuebutcanstillbea
CHAPTER 27 Surfaces and Meshes
FIGURE 27.24 Smooth Mesh Primitives box.
597
FIGURE 27.25 Mesh Primitive Options dialog box.
problemifyouaddonetoomanydigitstothedensityvalue.Sinceyoumaybeworkingwith individualmeshfacetsinthiscase,maketheoverallgridonlyasdenseasyou,theuser,not thecomputer,cancomfortablyhandle.Thiscanalsobeautomatedviathemeshsmoothing commandasdescribednext.
LEVEL 3 Chapters 21–30
Mesh Modification 1. Smoothness Youcansmoothouttheprimitiveshapesautomaticallyviathemeshsmoothingcommand, bestaccessedviatheRibbon’sMeshtab.YourchoicesareSmoothMore(increasesthenumber offacetsinthemesh),SmoothLess(decreasesthenumberoffacetsinthemesh),orReine Mesh(sameasSmoothMorebutworksonlyafterthatcommandisemployed).Takeafew minutestotryouttheresultsonthebox.AfteroneSmoothMore,followedbyaReineMesh, yougetthemodiiedversionoftheshapeshowninFigure27.26,asseenincoloredwireframe andrealisticvisualstylemodesidebyside.Noticethemarkedincreaseinfacets.
FIGURE 27.26 Smooth and Refined Mesh.
Mesh Modification 2. Filters and Gizmos 598
Returnyourshapetotheoriginalboxviatheundocommand.Next,weexploretheface ilterandthemoveandrotategizmo(irstseeninChapter23).FromMeshtab→Subobject, selectMoveGizmofollowedbyFaceFilter.Then,clickonthetoprighttwofacets,asseenin Figure27.27.
FIGURE 27.27 Facets selected.
Themeshfacetsarehighlightedandthemovegizmoappears.WiththeUCSiconaligned verticallyandOrthoon,movethefacetsup,noticinghowtheentireshapeis“morphed,”as seeninFigure27.28. Inasimilarmanner,selecttherotategizmoandrotatethefacetstoadifferentangle,asseen inFigure27.29.Afterafewroundsofaddingsmoothnessandanothercolorchange,the shapeispresentedinConceptualVisualStyle(Figure27.30).
CHAPTER 27 Surfaces and Meshes
FIGURE 27.28 Facets removed.
599
FIGURE 27.29 Facets rotated.
FIGURE 27.30 Final mesh shape.
LEVEL 3 Chapters 21–30
Mesh Modification 3. Additional Tools Usingsmoothness,ilters,andgizmos,youcanalreadydoquiteabitofshapemorphing. Herearesomeadditionaltoolstoconsider: l
Collapse Face or Edge.Thistool,foundundertheRibbon’sMesh→MeshEdit,makesa selectedfaceoredgedisappearonashape,withtheremainingonesclosingranksaround thevoid,asseeninFigure27.31withameshbox.
FIGURE 27.31 Collapsed face. l
l
600
Convert to Solid or Surface.Thistool,foundundertheRibbon’sMesh→ConvertMesh, convertsmeshobjectstosolidsorsurfaces.Youdonotseeatremendousdifference inappearance,buttheshapeiseditableinadifferentwayfromanorganicmesh.For example,individualfacetscannolongerbeselectedinasolid. Section Plane.Thistool,foundundertheRibbon’sMesh→Section,allowsyoutoeasily sectionameshshapetoviewtheinteriororjustapieceofit.Thistoolcanbeusedon regularsolidsaswell.SimplypressSectionPlaneandselectamethodoflocatingthe plane.TheresultofsectioningasimpleboxisshowninFigure27.32.Thesectionitself canberotatedviathegizmo.
FIGURE 27.32 Section Plane.
CHAPTER 27 Surfaces and Meshes
SUMMARY Youshouldunderstandandknowhowtousethefollowingconceptsandcommandsbefore movingontoChapter28: l l l l l l l l l l l l l l
Planarsurface Region Rulesurf Tabsurf Revsurf Edgesurf 3Dface 3Dmesh SmoothMeshPrimitives Meshsmoothing Facemoveandrotate CollapseFaceorEdge ConverttoSolidorSurface SectionPlanes
REVIEW QUESTIONS Answer the following based on what you learned in Chapter 27: 1. 2. 3. 4. 5. 6. 7. 8.
Describe the planar surface command. Describe the region command. Describe rulesurf and its applications. Describe tabsurf and its applications. Describe revsurf and its applications. Describe edgesurf and its applications. Describe 3Dface and 3Dmesh. What are the Smooth Mesh Primitives?
601
LEVEL 3 Chapters 21–30
EXERCISE 1. Based on what you learned of 3D design and the edgesurf command, create the mesh chair that follows (shown from two angles). You need to create a frame in 3D space, attach arcs in strategic locations, and finally execute the edgesurf command for the mesh. A visual step-by-step breakdown is shown for clarity, but you still need to figure out the steps involved. One possible approach is to draw a wireframe 3D box (not a solid) and use that as a reference point to attach the frame. (Difficulty level: Advanced; Time to completion: 30 minutes)
602
Spotlight On: Civil Engineering Civilengineeringspecializesindesignandconstructionofbridges,roads,buildings,dams, canals,andotherinfrastructure.Civilengineeringistheoldestoftheengineeringspecialties, andsomeofitsprincipleswerealreadywellestablishedduringthebuildingofthepyramids inancientEgyptandaqueductsinRome.Civilengineeringhasanumberofsubspecialties, includingenvironmentalengineering,geotechnicalengineering,structuralengineering, transportationengineering,municipalorurbanengineering,construction,andwater resources.
FIGURE 1
Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 3 Chapters 21–30
FIGURE 2
Educationforcivilengineersstartsoutsimilartothatfortheotherengineeringdisciplines. IntheUnitesStates,allengineerstypicallyhavetoattendafour-yearABET-accreditedschool fortheirentryleveldegree,aBachelorofScience.Whilethere,allstudentsgothrougha somewhatsimilarprogramintheirirsttwoyears,regardlessoffuturespecialization.Classes takenincludeextensivemath,physics,andsomechemistrycourses,followedbystatics, dynamics,mechanics,thermodynamics,luiddynamics,andmaterialscience.Intheirinal twoyears,engineersspecializebytakingcoursesrelevanttotheirchosenield.Forcivil engineering,thisincludescoursesinasphalt,concrete,soil,geotechnical,waterresources, traficengineering,seismic,bridge,andadvancedstructuraldesign.
604
Upongraduation,civilengineerscanimmediatelyentertheworkforceorgoontograduate school.ManycivilengineerschoosetopursueaProfessionalEngineer(P.E.)license.The processirstinvolvespassingaFundamentalsofEngineering(F.E.)exam,followedbyseveral yearsofworkexperienceunderaregisteredP.E.,andinallysittingfortheP.E.examitself. TheP.E.licenseallowsthecivilengineertoapproveandsignoffonprojectplans,andmany engineersoffertheirconsultingservicestoarchitectsonlargebuildingprojects,wherethe expertiseofacivilengineerisamajorrequirement. Civilengineerscangenerallyexpectstartingsalaries(withabachelor’sdegree)inthe$50,000– $55,000/yearrange,whichissomewhatinthelowertomid-rangeamongengineering specialties.Thisofcoursedependshighlyonmarketdemandandlocationandisduetothe largenumberofcivilengineeringgraduatesintheworkforce.Thehigheststartingpayofall ($80,000+)isforpetroleumengineeringgraduates.Thisspecialtyisaclosecousinofcivil engineeringthatspecializesinlocatingandextractingpetroleum.Amaster’sdegreeishighly desirableandrequiredformanymanagementspots.Thejoboutlookforcivilengineers isexcellent,astheprofessionisverymuchneededastheworld’sinfrastructureagesand populationgrowthcreatesaneedfornewdevelopment. HowdocivilengineersuseAutoCADandwhatcanyouexpect?Industrywide,AutoCADenjoys asigniicantamountofuseamongcivilengineers,asmanycivilprojectsare2Dinnature.Thisis especiallytruewithsiteplanworkandsomebuildingdesign.Severalexamplesofcivilsiteplans arepresentedhere,manyofwhichcanbequitecomplexanddetailedinnature.Theyusexrefs (forthebuildingfootprints),plines(forthegradients),andotheradvancedtools. Asyoumovemoreintoclassiccivilengineeringprojects(bridges,roads,etc.),2DAutoCAD giveswaytodedicated3Dsoftwareapplicationsspeciallygearedtothistypeofwork,suchas MicroStation,GEOPAK,andInRoadsfromBentley.WhenAutoCADisused,itissometimes pairedwithadditionalsoftwarelikeCivil3D,LandDesktop,orvariousGISadd-ons. Layeringincivilengineeringworkishighlyspecializedanddependsontheproject.Site planworkmayincludesomeAIAlayers,butmostlytheyaredescriptiveanduniquetothe company;thereisnouniversalstandard.Road,EasementLine,GasLine,andPropertyLine areallvalidlayernames.AtypicalsiteplanisshowninFigure3.
SPOTLIGHT ON: Civil Engineering
FIGURE 3 An example of a 2D civil engineering site plan.
Theigurefeaturesthearchitecturallayout(footprint),parkingspots,landscaping,andsite boundariesamongotheritems.Dependingontheplan,utilityandpowerlinesmaybe shown,aswellasoutdoorlighting,gradientlines,andvariouslegalboundaries,suchas easementsandoffsets.AsimilartypeofplanisshowninFigure4.
FIGURE 4 Another example of a 2D civil engineering site plan.
605
This page intentionally left blank
CHAPTER
28
UCS, Vports, Text, and Dimensions in 3D
607
LEARNING OBJECTIVES In this chapter, we complete the design toolbox and expand on your ability to use surfaces of objects to create new shapes. We cover l Advanced UCS m UCS m World m UCS Previous m Face UCS m Object m View m Origin m Z-Axis Vector m 3 Point m X m Y m Z m Apply l Named UCS l View l Vports l Text and dimensioning in 3D
Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 3 Chapters 21–30 Bytheendofthechapter,youwillbeabletocreatedesignsregardlessofthesurfaceof orientation. Estimatedtimeforcompletionofchapter:1hour.
28.1 INTRODUCTION TO UCS, VPORTS, TEXT, AND DIMENSIONS IN 3D Thepreviouschapterconcludedourstudyof“curveddesign.”Asyoustartthisnewchapter, youarearmedwithaformidablesetoftoolstocreatevirtuallyanyshapeorsurfacerequired. Asummaryofyour3Dknowledgeisasfollows. Tooperatein3Dspace,youlearnedabout l l l l l l
Axes Planesandfaces UCSrotation Visualstyles(hideandshade) 3DOrbit 3Dviews(Top,SWIsometric,etc.)
Tocreateandmodifyobjects,faces,andsurfacesin3D,youlearnedabout l l l l l l l l l l l l l l l l l l l l
608
Extrude Primitives(box,wedge,cone,sphere,cylinder,torus,andpyramid) Rotate3D Mirror3D 3Darray 3Dalign Filletsandchamfersin3D Booleanoperations(union,subtract,andintersect) Revolve Shell Taper Loft Pathextrusion Sweep Helix 3Dpatharray Polysolid Faceoperations(delete,move,copy,rotate,offset,andcolor) Edgeoperations(copyandcolor) Surfaces(planar,region,rulesurf,tabsurf,revsurf,edgesurf,andmeshes)
Thisisitforobjectcreationtools,andintheinalthreechaptersofthebook,wemovein adifferentdirection.Inthischapter,wecoversomeadditionalUCStoolsthatexpandthe usefulnessofthatcommand.Wethendiscussvports,whichisawaytosplityourscreenso yourdesigncanbeviewedfrommanyangleswhileworkingonitandevenprintitoutin suchaway.Weconcludewithsomeideasofhowtoaddtextanddimensionsin3D. Thenextchapterprovidesanimportantsetoftoolsunderthedynamicview(dview) commandthatallowsyoutosetperspectiveviewsandevencutintodesignstoreveal internalworkings.Wethenconsiderhowtodobasicanimationsandcameraviews,and concludethebookwithsomebasicsonlightingandrendering.
CHAPTER 28 UCS, Vports, Text, and Dimensions in 3D
28.2 ADVANCED UCS SofartheUniversalCoordinateSystem(UCS)iconhasbeensittinginthebackground, actingasareferencepointwhenweneedtorotatesomethingaboutanaxisormirror somethingaboutaplane.Theiconitselfisalsorotatedoccasionallywhenweneedtodraw intoanotherplane.Thisisallgood,butwecanmaketheiconworkevenharderforusand addsomemoreusefulnesstoitsrepertoire.Toinvestigateitfurther,bringupUCS’stwo toolbars:UCSandUCSII,asseeninFigure28.1.Wecoveradditionalicons(andofcourse theirtyped,cascadingmenu,andRibboncounterparts).
FIGURE 28.1 UCS and UCS II toolbars.
MostofthenewcommandshavesomethingtodowithaligningtheUCSiconwithchosen geometry.ThisisthecentralthemeinlearningUCS’snewfeatures.Whyissuchalignment important?Becausethisgivesyouanew“platform”offwhichtowork.Supposeyouhave anobjectthatisleaninginsomedirectionandyouneedtodrawsomethingelsethatsitson it.Youcandrawthisnewobjectandthenrotateitintoposition,butabetterapproachisto rightawayalignitwiththetiltedsurfaceandusethatasabasefromwhichtodraw.Allthis shouldtieinwiththefundamentaltheorypresentedwaybackinChapter21concerning drawingplanesandtheirrotation.Letusjumprightin,andyouwillclearlyseewhatweare talkingaboutverysoon. Firstofall,though,weneedsomethingonwhichtopractice.ThevariousUCSfunctions arebestunderstoodbyjusttryingthemout,soweusetheshapeinFigure28.2forallUCS demonstrations.Drawarectangleofanysizeandextrudeit,thenrotate3Ditsomevalue (perhaps20°)andmirror3Ditforsymmetry.TheresultintheSWIsometricviewisshown inFigure28.2.
FIGURE 28.2 Basic shapes for UCS practice.
UCS ThisirsttoolpresentsmanyoptionsbutisprimarilyusedforaligningtheUCSviaseveral clicksofthemouse.
609
LEVEL 3 Chapters 21–30
Step 1.StarttheUCScommandviaanyoftheprecedingmethods. m AutoCADsays: Specify origin of UCS or [Face/NAmed/OBject/Previous/View/World/X/Y/Z/ZAxis] :
Step 2.Clicksomewhereontheobjecttolocatetheorigin(alwaysusingOSNAPs). m AutoCADsays:Specify point on X-axis or : Step 3.Here,youcanjustpressEnter,butifyouclickonanotherpoint,thepositiveXaxisof theUCSiconpassesthroughthatpoint. m AutoCADsays:Specify point on the XY plane or : Step 4.Here,youcanagainpressEnter,butifyouclickonathirdandinalpointsomewhere ontheobjecttheYaxispassesthroughit. NoticehowtheUCSisnowalignedtothepointsyouindicated.Werevisitthisabitlater withtheobjectand3Pointoptions.ThebasicUCScommandcanalsobeusedtorotatethe UCSaroundanyoftheaxes,althoughthereareactuallydedicatedicons,asweexploresoon.
World 610
Thisnexttoolshouldbeafamiliarone,asit“resets”theUCSiconandwasmentionedin earlierchapters.TheresultisthattheUCSisreturnedtotheWorldviewfromwhatever conigurationitmayhavebeeninpreviously.Tryitoutviathefollowingmethods.
UCS Previous ThisnexttoolsimplyreturnsyoutowhateverUCSconigurationyouhadpreviously.Itis quiteusefulifyouareusingjusttwosettingsandneedtotogglequicklybackandforth.Tryit outviathefollowingmethods.
CHAPTER 28 UCS, Vports, Text, and Dimensions in 3D
Face UCS Thisnexttoolisoneoftwoveryimportantalignmenttools(theotherbeing3Point)that arethecoreofthissectiononadvancedUCS.Here,youcanalignyourUCStoanyfaceon thescreenaslongasitislat.Themajoradvantagehereofcourseisthatyoudonotneedto knowtheangleofthisface.
Step 1.Startthecommandviaanyoftheprecedingmethods. m AutoCADsays: Current ucs name: *NO NAME* Specify origin of UCS or [Face/NAmed/OBject/Previous/View/World/X/Y/Z/ZAxis] : _fa Select face of solid object:
Step 2.Clickanyfacetowhichyouneedtoalign,andthefaceishighlighted. m AutoCADsays:Enter an option [Next/Xflip/Yflip] : YoucaneasilychangethedirectionoftheUCSiconwhilekeepingthe0,0,0origininone spotbyusingtheXflip,Yflip,orNextoptionsbeforepressingEntertoaccept.
Object ThisnexttoolisaninterestingvariationonFaceUCS.Here,youcanselectalmostanyobject andtheUCSiconalignsitselftothatobjectinvariouspresetways.Withanarcorcircle,itis thecenter;withaline,itisapointclosesttowhereyouclicked;andsoforth.
AfulllistingofhowitreactsisintheHelpiles.InFigure28.3,weseetheUCSiconaligned toafewoftheseobjects.
View ThisnextUCStoolestablishesanewcoordinatesystemwiththeXYplaneperpendicularto yourviewingdirection(paralleltoyourscreen).
611
LEVEL 3 Chapters 21–30
FIGURE 28.3 Object UCS alignment.
ThisisequivalenttogoingtotheTopViewwhilestillin3D,asseeninthebeforeandafter screenshotsofFigure28.4.Thistechniquewillprobablynotbeusedtoooftenbutisthe onlywaytoaccomplishthisifneeded.
612 FIGURE 28.4 View UCS.
Origin ThisnexttoolsimplyestablishesaneworiginfortheUCSicon.
Simplystartthecommandandclickanywhereonorneartheobject;theUCSmovesits originthere,asseeninFigure28.5.BesurethattheUCSiconORiginoptionison,orthe icondoesnotmoveanywhere.
FIGURE 28.5 Origin UCS.
CHAPTER 28 UCS, Vports, Text, and Dimensions in 3D
Z-Axis Vector ThenexttoolsimplypointstheZaxisinaspeciieddirectionandisjustanotherwayto orienttheUCSicon.
3 Point Thisnexttoolistheotherextremelyusefulorientationtool(alongwithFaceUCS).It worksontheconceptofthreepointsbeingusedtoindicateaplane.Wepresentafull demonstrationofitsuse.ThisdemonstrationalsoisrelevanttotheFaceUCSmethod,asit alsoorientstheUCStoaplane,althoughinadifferentway.
613 Step 1.Startthecommandviaanyoftheprecedingmethods. m AutoCADsays: Specify origin of UCS or [Face/NAmed/OBject/Previous/View/World/X/Y/Z/ZAxis] : _3 Specify new origin point :
Step 2.Selectthethreepointsinconsecutiveordertodeineaplane,asseeninFigure28.6. m WitheachclickAutoCADsays: Specify point on positive portion of X-axis : Specify point on positive-Y portion of the UCS XY plane 0.00,1.00,0.00>
FIGURE 28.6 Refining 3 Point UCS.
LEVEL 3 Chapters 21–30 Whendone,thecrosshairsandtheUCSiconalignthemselveswiththefacedeinedbythe threeclicks,asseeninFigure28.7.
FIGURE 28.7 3 Point UCS.
Youcannoweasilydrawsomethingbasedonthatsurface,asseeninFigure28.8.Performing thesame3pointalignmentandextrusiononthefrontsurface,wehavewhatisshownin Figure28.9.
614
FIGURE 28.8
FIGURE 28.9
3 Point UCS, extrusion 1.
3 Point UCS, extrusion 2.
Notethat,asmentionedbefore,FaceUCSworksthesameway,exceptthatyouarejust selectingtheentireface,notdeiningitaswith3Point.But,onceyouestablishthenewUCS orientation,proceedinthesamemannertocreatenewgeometry.
X, Y, and Z ThesetoolsaresimplyiconsforthefamiliarUCSrotationyoulearnedaboutintheirstfew chaptersofLevel3.Simplypresstheiconsinsteadoftypinginucs,thenentertheanglefor therotation.Thatisallyouneedtodo,andtheUCSrotatesaccordingly.
CHAPTER 28 UCS, Vports, Text, and Dimensions in 3D TakingalooknextattheUCSIItoolbar,weexaminetwoicons,theNamedUCSandthe drop-downwindownexttoit.Theirsticon(UCS)isthesameastheoneontheprevious mainUCStoolbar,andwedonotgooveritagain.
Named UCS IfyouaregoingtospendsometimewithaUCSconiguredinacertainusefulway,youmay wanttosaveitincaseyouneeditagain.AutoCADallowsyoutosaveasmanycustomUCS presetsasyouwant.Tosaveaview,dothefollowing. Step 1.TypeinUCSandpressEnter. m AutoCADsays:Specify origin of UCS or [Face/NAmed/OBject/Previous/ View/World/X/Y/Z/ZAxis]:
Step 2.TypeinsaveandpressEnter.TheSaveoptiondoesnotappearinthepreceding menu,butitwillwork. m AutoCADsays:Enter name to save current UCS or [?] Step 3.Enteranameforyourview,whichinthiscasewilljustbeagenericMyView,and pressEnter. ThenewviewisnowinAutoCAD’smemory,savedforfutureuse.ItcanbefoundintheUCS dialogbox,whichisdescribednext.
615 Thedialogbox(Figure28.10)canbecalledupviaanyoftheprecedingmethods.Noticethe presenceofthehighlightedMyViewUCSsetting.Youcangotoothersettingsandalwaysgo backtoitlater. TheUCSsettingalsoappearsinthetoolbardrop-downmenu,asseeninFigure28.11.This drop-downmenuisaconvenientwaytoquicklyaccessnotonlyyourcustomUCSsettings butalsothepresetones,includingWorldandPrevious.
28.3 VIEWS AND VIEW MANAGER InacloselyrelatedtopictosavingpresetUCSviews,youcanalsosavegeneralviewsofyour design.Thisisaveryconvenienttoolifyouindagoodviewwithwhichtoworkandmay wanttocomebacktoitlater.TheviewsaresavedandmanagedthroughaViewManager dialogbox.Accessthecommandthroughanyofthefollowingmethods:
YouthenseethedialogboxinFigure28.12.PresstheNew…buttonandtheNewView/Shot Propertiesdialogboxappears(Figure28.13).WearenotconcernedwiththeShotProperties
LEVEL 3 Chapters 21–30
616
FIGURE 28.10 Named UCS.
FIGURE 28.11 Named UCS toolbar drop-down menu.
tabfornowandjustfocusontheViewPropertiestab.Enteradescriptiveviewnameinthe irstieldandpressOK.ThenamethenappearsintheViewManager.Toretrievetheview, justbringuptheViewManageragainanddouble-clickontheviewyouwantretrieved.
28.4 VPORTS Vports,whichisshortforviewports,isauniquetoolinAutoCADthatallowsyoutoview thesamemodelfrommultipleanglesallatonce.Itsplitsthescreeninoneoftheseveral availablewaysthatbestitsthesituation.Yourdesignthenappearsinallscreens,andyou canassigneachscreenitsownviewandproperties,suchasshadeorwireframemode.To accessthistool,letusirstbringupasimple3Dmodel,suchasthewastebasketcreatedin Chapter25,shownagaininFigure28.14.
CHAPTER 28 UCS, Vports, Text, and Dimensions in 3D
FIGURE 28.12 View Manager.
617
FIGURE 28.13 New View/Shot Properties.
Youcanaccessvportsviaanyofthefollowingmethods:
LEVEL 3 Chapters 21–30
FIGURE 28.14 Wastebasket model.
ThisbringsupthedialogboxseeninFigure28.15.
618
FIGURE 28.15 Viewports.
Asyoucanseefromtheconigurationchoicesontheleft,youhaveafewwaystoarrange thescreen.ThedefaultviewisalwaysSingle,andthatisthechoiceyouwillselectlateron, whenyouwanttogetbacktothefamiliarsinglescreen.FornowchoosetheFour:Equal conigurationandpressOK.YoushouldseewhatisshowninFigure28.16.Noticethatthe viewofthewastepaperbaskethasbeenduplicatedfourtimesandhasnotundergoneany furtherchanges.Keepinmindthatonlytheviewhasbeenduplicated,nottheactual3Dmodel. Youmayhavetozoomtoextentsineachviewporttogetthemodeltotakeupalltheavailable area.
CHAPTER 28 UCS, Vports, Text, and Dimensions in 3D
FIGURE 28.16 Four: Equal split.
Youcannoweasilyjumpfromscreentoscreenbyjustclickingonceinit.Goaheadand visiteachoneandmodifytheviewstoacombinationoftop,side,andisometric,asseenin Figure28.17.
FIGURE 28.17 Four: Equal split with view modifications.
619
LEVEL 3 Chapters 21–30 Now,tryworkinginoneviewportandnoticethatanythingyoudoinoneisrelectedin theothers,asitshouldbe,sinceitisjustonemodelwithwhichyouareworking.Another popularconiguration,Four:Left,isshowninFigure28.18.Here,youhaveoneprimarylarge viewandthreesupplementalviewstoseeotherpartsofthemodel.
620 FIGURE 28.18 Four: Left split.
Howyouusethesevports(orwhetheryouusethematall)isuptoyouandyourstyleof workingin3D.Insomecases,theyareveryuseful;inothers,itisbesttojustrotatethe modelasyouneedandnotmaintainaconstantview. Anotheruseforthesevportsisinplottingoutthedesignforpresentations,anditisherethat thiscommandgetsachancetoreallyshine.WhileprintingallthevportsinModelSpaceis notpossible,ifyouswitchtoPaperSpaceandrepeatthevportsFour:Equalcommand,you getwhatisshowninFigure28.19.Notethatyouhavetoactuallydrawtheareawhereyou
FIGURE 28.19 Four: Equal in Paper Space.
CHAPTER 28 UCS, Vports, Text, and Dimensions in 3D wantthevportstogobeforetheyappear.Zoomtoextentsineachonetoarriveatwhatis shownintheigure. Eachviewisstillactiveandcanbemodiied,thesameasinModelSpace,butnowalsothe overallscenewithalltheviewportscanbeplottedorprintedforanimpressivedisplay. Finally(andthisispurelyforentertainmentpurposes),youcansplitthescreenintoa maximumof64vports,asseeninFigure28.20.Thestandardvportsdialogboxdoesnotlet youdothis,buttypein-vports(adashmeansitiscommandlineonly)andpressEnter. AutoCADsays:Enter an option[Save/Restore/Delete/Join/SIngle/?/2/3/4] :
m
Enterthevalue4tosplitthescreenintofourviews.Then,clickintoeachnewviewandsplit itagainintheexactsamemanner.TheinalresultisshowninFigure28.20.Incaseyouare wondering,no,thisdoesnotserveanyrealpurpose.
621
FIGURE 28.20 64 vports.
28.5 TEXT AND DIMENSIONS IN 3D Creatingtextanddimensionsin3Disnotnecessarilyanydifferentthanin2D;youjustuse thestandardtext,mtext,orddimcommands.However,placingthemcorrectlytakessome practicebecause,in3D,whatisupordownisnotalwaysclear.Youhavetopayveryclose attentiontowhatplaneyouareonandwhichwayis“up,”otherwisethedimensionsand textappearinthewrongplaceorthetextisinverted.Letusrunthroughafewexamples. Ineachofthesecases,paycloseattentiontoeverythingshown,suchasthepositionof theUCSicon(andtheassociatedcrosshairs),aswellasthepositioningofthedimension andtext.
LEVEL 3 Chapters 21–30 TheeasiestcaseistousethestandardWorldUCSview(SWIsometric)thatyouare accustomedtointhiscourse.IftheZaxisispointedup,thenthedimensionsandtextcome outasshowninFigure28.21.
FIGURE 28.21 3D dimensions and text, Example 1.
Now,whatwouldhappenifwereversedtheorientationoftheZaxisanditfaceddown instead?AsFigure28.22shows,ifweattempttothenadddimensionsandtext(horizontal orvertical),wearefacedwithacompletereversalandmirrorimagingofthetextanddims, whichisnotthedesiredoutcome. 622
FIGURE 28.22 3D dimensions and text, Example 2.
Asthisexampleshows,youhavetobeverycarefulaboutlippingtheUCSiconaroundwhen dimensioning,astheresultsmaybeunpredictable(oratleastseemthatway).Whathappensin thisexampleisthatyouarewritingontheothersideoftheface.So,howdoweadddimensions alongtheZaxis?Thenextexampleaddressesthis.
CHAPTER 28 UCS, Vports, Text, and Dimensions in 3D LetusbringtheZaxisbacktoWorldviewandrotatetheUCSicon90°alongtheXaxis,as seeninFigure28.23.Noticetheeffectthishasonhorizontalandverticaldimensions.
FIGURE 28.23 3D dimensions and text, Example 3.
623 WiththesetwoUCSsettingsyoushouldbeabletodimensionjustaboutanything,asthe dimensionedcubeinFigure28.24indicates,althoughdonotbesurprisedtorunintosome dificultiesifyouaredealingwithcomplexrotatedsurfaces.
FIGURE 28.24 3D dimensioned cube.
LEVEL 3 Chapters 21–30
SUMMARY Youshouldunderstandandknowhowtousethefollowingconceptsandcommandsbefore movingontoChapter29: AdvancedUCS m UCS m World m UCSPrevious m FaceUCS m Object m View m Origin m Z-AxisVector m 3Point m X m Y m Z m Apply l NamedUCS l View l Vports l Textanddimensioningin3D l
REVIEW QUESTIONS 624
Answer the following based on what you learned in Chapter 28: 1. List all 13 advanced UCS functions and what they do. 2. What are vports useful for? List two functions.
CHAPTER 28 UCS, Vports, Text, and Dimensions in 3D
EXERCISE 1. Create the following fictional suspension and tire 3D model. A breakdown of the parts is shown for clarity, along with hints, but you still need to know how to create each part. Sizing is not specifically given, as the focus is on the commands, but you can base everything on a 2' diameter tire. (Difficulty level: Advanced; Time to completion: 1–2 hours)
625
Step 1. The tire is an extruded circle with fillets and a subtracted center. The hub is also an extruded circle. The “spokes” are a 3Darray.
LEVEL 3 Chapters 21–30
Step 2. The struts are all extruded circles. The coil spring is helix and was demonstrated in previous chapters. You can choose which method you want to use.
626
Step 3. The axle and flat panel are extruded shapes. For the axle boot, you need to use revolve.
CHAPTER 28 UCS, Vports, Text, and Dimensions in 3D
Step 4. The control arms are sweep or path extrusion, your choice. The cylinders are basic extrusions.
Step 5. The back panel is an easy rectangular extrusion, but the disk brake is more challenging. It requires extrusion, subtraction, 3Darray, and other commands.
627
This page intentionally left blank
CHAPTER
29
Dview, Walk and Fly, Animation, and Action Recording
629
LEARNING OBJECTIVES In this chapter, we look at advanced presentation views and various animation options. The specific topics are as follows: l Dview m CAmera m TArget m Distance m POints m PAn m Zoom m TWist m CLip m Hide m Off m Undo l Cameras l Walk and Fly l Path animation l Action recording
Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 3 Chapters 21–30 Bytheendofthechapter,youwillbeabletopresentyourmodelinnewanduniquewaysas wellasbuildbasicwalk-throughanimation.Youwillalsobeabletobuildabasicmacroto automaterepetitivestepsbyrecordingyourscreenactions. Estimatedtimeforcompletionofchapter:2hours.
29.1 DYNAMIC VIEW Dynamicview,ordview,isjustonecommandbutithasmanyoptions.Someoftheoptions arelessusefulorduplicateexistingcommands,whileafewothersareveryimportantand worthacloserlook.ThefulllistofdviewcommandsincludesCAmera,TArget,Distance, POints,PAn,Zoom,TWist,CLip,Hide,Off,andUndo. Outoftheseoptions,twoareinhighdemandbyAutoCADdesignersandworthcovering indetail.TheirstistheDistanceoption,whichallowsyoutosetperspective;theotheris theCLipoption,whichallowsyoutosetclippingplanesandstripawaypartsofthedesign tolookinside.Weofcoursecoverallofthementionedoptions,butwithaspecialfocuson thesetwo. Beforewetryanyoftheseoptions,youneedtogetusedtosomethinguniquetothedview command.Inablankile,gotoSWIsometricandturnonshading.Thentypeindviewand pressEnter(thereisnoRibbon,toolbar,orcascadingmenuequivalent). AutoCADsays:Select objects or :
l
Here,youarebeingaskedtowhatyouwouldliketoapplydynamicviewoptions.Wedonot yethavea3DdesignsojustpressEnter;youseethehouseinFigure29.1. 630
FIGURE 29.1 Dview “house.”
CHAPTER 29 Dview, Walk and Fly, Animation, and Action Recording Thislittlehouseappearsasapointofreferenceonlyifthereisnothingelseonyourscreen andisperhapsoneofAutoCAD’soddestquirks,promptingmanyastudenttoexclaim“what theheckisthat”inthemiddleofclass.Youcanseetheeffectofwhateveryoudoindviewon thishouse,butimmediatelyafterrunningtheoption,thehousedisappears.Intheinterestof keepingsomethingpermanentonthescreen,drawasimple20" 5"rectangleandextrude itto5".Thenadda1"illettoitssides,asseeninFigure29.2. Nowwecanproceedwithlearningdview.
631 FIGURE 29.2 Extruded shape for dview.
CAmera Thiscommandworksontheprincipleofacamerarotatingaroundanobject.Youareasked toenterthecameraanglefromtheXYplaneaswellastheangleintheXYplanefromthe Xaxis.Youarealsogiventheoptiontousethemousetojustclickonasuitableposition, whichiswhatmostusersendupdoing. Totryitout,typeindviewandpressEnter.Selecttheblockwhenpromptedandtypeinca forcamera.Spinyourmousearoundandobservetheresults.
TArget ThiscommandissimilartoCAmera,butworksontheprincipleofthetargetrotatingaround thecamera.Ithasthesamebasicoptionsofenteringanglevaluesormouseclicking. Totryitout,typeindviewandpressEnter.Selecttheblockwhenpromptedandtypeinta fortarget.Spinyourmousearoundandobservetheresults.
Distance Weexplorethisoptioninmoredetail.Distanceisthemethodusedtosetaperspectiveview. Theseviewsofobjectsaremorerealisticandfeatureforeshortenedgeometrywithlinesthat tendtowardavanishingpoint,asinreality.Formoreinformationonperspectiveviewswith detaileddescriptionsof0-point,1-point,2-point,and3-pointperspectives(AutoCADuses 3-point),seeanygraphicdesignorarttextbook.Distancecanbeappliedtoanyobject,but justasinreallife,theeffectismorepronouncedwithlargerobjects.
LEVEL 3 Chapters 21–30 Alsobeawarethatthisviewisonlyforpresentations;itcannotbeusedduringconstruction ofthedesign,asperspectivechangesdimensionvaluesbyitsverynature.Totryoutthis optiontypeindviewandpressEnterasbefore.SelecttheobjectandpressEnter.Thentype indfortheDistanceoption.Asliderhorizontalbarappearsatthetopofthescreen,asseen inFigure29.3.
632
FIGURE 29.3 Distance option.
Thisyellowandredslideristhecameratotargetdistancemeter,with1"beingfullsize,and increasingtotheright(decreasingtotheleftofthe1").Slideovertotherightuntilyougetto 9"andclick.TheobjectremainsinperspectivemodealongwiththeUCSicon.PressEnterto acceptthesettingsandgetoutofdview,beingcarefulnottopressEscatthispoint.Youcan alsosetthisviewasdescribedinanearlierchapterviathemenuofthelittlehouseiconat thetoprightofthescreenasseeninFigure29.4. Thisperspectiveview,whilenotofmuchuseinsmallpartengineeringdrawings,isquite usefulfor3Darchitecturalandcivilengineeringdesignpresentation.Onceinperspective view,printthedrawingand,togetoutofthisview,changetowireframe.
POints Thisoptionallowsyoutoselectaspeciicviewbasedonthelocationsofthreepoints.The irstisthecurrentcameraposition,andyouneedtoselectthesecond(targetpoint)andthird (camerapoint)points.Thistoolhassomeinterestingapplicationswhenyouneedtoseta speciicview,suchaslookingdownahallwayinabuilding.Youcanthensetyourpointsin strategiclocations,suchasoneendofthehallwayforonepointandthetopofanopposing doorforanotherpoint.Forthemostpart,however,designersprefertojustuse3DOrbitand zoomorpantogettherightview.
CHAPTER 29 Dview, Walk and Fly, Animation, and Action Recording
FIGURE 29.4 Perspective view, alternate setting.
PAn Thisisjustavariationonthebasicpancommandthatshiftstheimagewithoutchangingthe levelofmagniication.Giveitatry.
Zoom Thisisalsojustavariationonthezoomcommandthatutilizesthesameslideryouirstsaw withthedistanceoption.Giveitatry.
TWist Thisisanothervariationofthe3DOrbitcommand,wheretheobjectisrotatedor“twisted” around.Giveitatry.
CLip Thisisthesecondoftwodviewcommandsthatdeservealongerdiscussion.CLipintroduces theconceptof“clippingplanes,”which(invariousforms)isacommontoolin3D computer-aideddesign.Theideaistocreatealatplanethatslicesopenadesigntoreveal theinternalworkings.Theplaneitselfisinvisible,onlyitseffectisseen,andcanbeapplied tothefrontorbackoftheobject.Whenyourevealasmuchasyouneedto,yousettheview andprintthedesign.Thistool,likemostotherdviewoptions,isnotmeanttobepermanent andisnotforuseduringdesignwork,onlyforinalpresentation. ToillustratetheCLiptool,addsomegeometryintheformofive2"diametercylindersto theinsideofthepreviouslyusedblock,asseeninwireframemodeinFigure29.5.Infull shademode,theinsidegeometrycannotbeseen,asshowninFigure29.6. Letusapplyaclippingplanetothefrontandstripawaysomeoftheoutsidematerialto showtheinsides.Typeindview,pressEnter,andselecttheobject,pressingEnteragain.Type inclforCLipandpressEnter. l
AutoCADsays:Enter clipping option [Back/Front/Off] :
Clippingplanescanbethoughtofaslatplates,withoneinthefrontandoneintheback.As theobjectismovedbackandforth,theclippingplanecutsin,orclips,theobjecteitherfrom thefrontortheback.Typically,youusethefrontclippingplane,sotypeinfandpressEnter. l
AutoCADsays:Specify distance from target or [set to Eye(camera)/ON/OFF] :
633
LEVEL 3 Chapters 21–30
FIGURE 29.5 Internal geometry.
634 FIGURE 29.6 Shade mode.
Youalsoseeayellowslider(similartotheoneseenwhenlearningdistance),whichcanbe movedbackandforthtoestablishthepositionoftheclippingplane,asseeninFigure29.7.
FIGURE 29.7 Front clipping plane.
Asyoucansee,theinternalsofthepartcanberevealedeasily.Figure29.8showsaviewwith thebackclippingplanesetinasimilarmanner,thoughtheresultsarenotasuseful. Youcanactually3DOrbitthroughaclippingplaneandgetafullviewoftheinternal workingsofadesignfromanyangle.Toremovetheplanes,youhavetheOffcommandin theclippingmenu.
CHAPTER 29 Dview, Walk and Fly, Animation, and Action Recording
FIGURE 29.8 Back clipping plane.
Hide ThiscommandisessentiallythesameasthestandardhidecommandlearnedChapter21.
Off Thiscommandturnsoffperspectiveviewing,althoughyoucandothesamethingby switchingtowireframemode.
Undo Undobasicallyundoesthelastcommandindviewandcanbeusedmultipletimes,justlike theregularundocommandin2DAutoCAD.
29.2 CAMERAS Thecameratoolprovidesaninterestingtwistonsettingviews.Theideaisprettymuchwhat itsoundslike:Yousetupacameraatsomestrategiclocationandaviewiscreatedthatlooks outthroughthatcamerainperspective.ThisviewissavedintheViewManagerandyoucan double-clickonittogointoit.Yougenerallystayinthatviewbutareabletomovearound (rotate,pan,zoom,etc.).Theseviewsareusedforpresentingandplottingadesign,andyou caneasilyswitchoutofthematwill.Letustakealookatsomeofthedetails. Step 1.Firstofall,createafewrandomblocksofanysize,andthenshadeandcolorthem whileinSWIsometric,asseeninFigure29.9.
FIGURE 29.9 Blocks for cameras.
635
LEVEL 3 Chapters 21–30
Step 2.Startthecameracommandviaanyoftheprecedingmethods. m AutoCADsays:Current camera settings: Height = 4.0000 Lens Length = 100.0000 mm Specify camera location:
Yourvaluesmayofcoursebedifferent,buttheyallcanbeadjusted.Youalsoseeasmall camerasymbolattachedtothemouse,asshowninFigure29.10.
FIGURE 29.10 Camera symbol.
636
Step 3.Positionthecamerainalocationthatissomedistanceawayfromtheobjectsandat agoodangletoviewtheblocks.Assoonasyouclicktopositionthecamera,yousee the“targetviewcone”showninFigure29.11.Thisisthecamera’sieldofview. m AutoCADalsosays:Specify target location:
FIGURE 29.11 Camera field of view.
Step 4.Dragouttheviewconetocovertheblocksandclickagain. m AutoCADsays:Enter an option [?/Name/LOcation/Height/Target/LEns/ Clipping/View/eXit] :
CHAPTER 29 Dview, Walk and Fly, Animation, and Action Recording Here,youcanchangesomeofthecameravalues,butfornowjustpressEnter.Thelittle camerasymbolsitsthereatthelocationyouspeciied,lookinginthedirectionyoupointed.If youchecktheViewManager,youindCamera1there.Beforeyougointothatview,however, youmaywanttoirstcheckwhatitlookslikebyclickingonthecamera.Youseewhatis showninFigure29.12.
FIGURE 29.12 Camera Preview.
Youcannowadjustthecamerasettingsviathebluegrips(e.g.,widentheieldofview),and theseactionsarerelectedinthepreviewwindowontheright.Whendone,gototheView ManagerandselecttheCamera1view,asseeninFigure29.13.PressSetCurrent,thenOK.
FIGURE 29.13 View Manager with Camera1.
YouthenseetheCameraPerspectiveview(Figure29.14),whichinthiscaseisaloorlevel viewoftheblocks.Noticealsohowthescreenissplitbetweena“ground”anda“sky.”This viewcanberotatedandzoomedorpanned.Goaheadandtryallofthose.Togetoutofit, gotothelittle“house”introducedearlier(Figure29.15),andselectParallel.
637
LEVEL 3 Chapters 21–30
FIGURE 29.14 Camera1 view in perspective.
FIGURE 29.15 Exiting Camera1 view.
638
Cameraplacementisanextensivetopicthatallowsforcreativityinwhereyouputthe camera,andtheresultinggenerationofsomeuniqueviews.Youshouldspendsometime exploringthisfurther.
29.3 WALK AND FLY WalkandFlysoundfancierthantheyreallyare.Allwearetalkingabouthereistheability tomovearoundandthrougha3Ddesignusingkeyboardinput(typicallythearrowkeys). Walkinginvolvesforward/reverseandleft/rightmovementsandyouremainintheXY plane.FlyingisthesamemovementsbutunconstrainedbytheXYplane,soyouhavethe appearanceoflyingthroughthedesignasyoumoveforwardandinreverse. Thebestanalogytothisistheexperienceofplayingairstpersonactionvideogamewhere youseewhatthecharacterseesasyoumovethroughhallwaysandroomswhileshooting atthebadguys—thatlastpartofcourseismissinginAutoCAD,thoughafewwell-placed petitionstoAutodeskmaygetdesignersthinking! AlltheWalkandFlymovementscanbesavedandplayedbackinananimation,andthisis usuallyhowthingswouldbedone,asaclientwouldtypicallynotwanttositaroundasyou stumbleyourwaythrougha3Dhousemodel.IttakespracticetosmoothlytogglebetweenWalk andFlymodes;wearenottalkingprecisejoystickcontrolhere.Duringyourstrolls,youcankeep trackofwhereyouareinthebigpictureviaaPositionLocatorpalette,whichalsoallowsyouto ine-tunesomeaspectsofWalkandFly.WalkandFlyarealwaysconductedinperspectiveview andAutoCADsetsthatviewautomatically(afteraprompt)beforeanythingbegins. Tobeginexploringthis,weneedasmallarchitecturalloorplanwithwhichtowork.Our apartment,irststartedinLevel1andworkedonthroughoutsomeofthechapters,itsthebill perfectly.Ifnot,youcanuseany3Dmodel.Ifyoustillhavetheapartmentmodelsaved,bring itupin2Dandcleanitupabitbyremovingeverythingbutthewalls,asseeninFigure29.16.
CHAPTER 29 Dview, Walk and Fly, Animation, and Action Recording
FIGURE 29.16 2D apartment.
Now,goaheadandpeditallthevisiblelinework.Then,extrudeallthewallsouttoaheight of8feet(96in.).YoushouldhavewhatisshowninFigure29.17aftershading,coloring,and switchingtotheSWIsometricview.
FIGURE 29.17 3D apartment: extruded, colored, and shaded.
639
LEVEL 3 Chapters 21–30 Toinishthedesign,letusaddaloorandillinthegapsinthewallwherethereneedsto bewindows.Fortheloor,simplydrawanextrudedrectanglefromcornertocornerofthe apartment,makingsureofcoursethatitislocatedatthebottom(noroofatthistime).Then, drawrectanglesaboveandbelowthewindowopenings,extruding24"downand36"up. Thatmakesfor36"windows. Dothesameforthedooropenings,extruding12"down,therebymakingthedoors96"– 12" 84",or7feettall.Finally,addthedoorsthemselveswhereneeded,accordingtothe originalloorplan(seeLevel1images).TheresultisshowninFigure29.18.Besuretounion thewallsectionstogetherandaddsomecolorforclarity.
640
FIGURE 29.18 3D apartment with windows, doors, and floor.
Afteryouaredone,bringuptheWalkandFlytoolbar,asshowninFigure29.19.Thetoolbar consistsofWalk(thefeet),Fly(thepaperairplane),andathirdiconforsettings,whichwe exploreaswell.LetustrytheWalktool.Whenyouirstattempttouseit,youlikelygetthe promptshowninFigure29.20.AfterclickingonChange,thedesignentersperspectiveview andthePositionLocatorpaletteappearsonthescreen(Figure29.21).
FIGURE 29.19 Walk and Fly toolbar.
FIGURE 29.20 Walk and Fly warning prompt.
CHAPTER 29 Dview, Walk and Fly, Animation, and Action Recording
FIGURE 29.21 Position Locator palette.
Welookatthispaletteindetaillateron,butfornowsetitasideandletusfocuson navigatingthedesign.Youcannavigateit(walk)viathetoolsshowninFigure29.22.
FIGURE 29.22 Walk and Fly navigation tools.
TheinformationneededtouseWalkandFlyisspelledoutinthelist.Whileyoucancertainly usetheletterkeys(W,S,A,andD),itisprobablyeasiertousethekeyboardarrows(Up, Down,Left,andRight).TotogglebetweenWalkandFly,presstheFkey.Takesometimeto practicewalkingandlyingviathefourkeyboardarrows,withtheletterFkeyasthetoggle betweenthetwo.OnceyouhavethebasicideaofWalkandFly,letustakealookatthe settingsicon.Whenyoupressthat,youseetheboxshowninFigure29.23.
FIGURE 29.23 Walk and Fly Settings.
641
LEVEL 3 Chapters 21–30 ThemainsettingshavetodowiththeDisplayInstructionandDisplayPositionwindow andpalette.Youcangetridofbothofthemifneeded;althoughtheyarehelpful,theyare notessentialtoWalkandFlyoperation.Justasimportant,however,iswhatisfoundatthe bottomofthedialogbox,thedrawingunitsandStepspersecond.Youcanincreasebothto WalkandFlythroughthedesignfaster. Donotforgetalsotousethemouseitselftorotateandspinthedesignaroundifneeded. WalkandFlyarejustpartoftheequation.LetustakeanotherlookatthePositionLocator. Inthetopwindow,youseethedesign’spositionrelativetoyou,theobserver,asseenin Figure29.21.Althoughyouarenotlikelytogetlostwhiletravelingthroughthissimpleonebedroomdesign,youmayinamoresophisticatedwalk-through,andthis“bird’seyeview” ofwhereyouarecanbehelpful.Therestofthegeneralsettingsbelowthatpreviewwindow arerelatedtohowthepreviewwindowlooks.
29.4 PATH ANIMATION PathAnimationhastodowithcreatinganimationsofdesigns.Theseanimationsarenotthe classictype,wherewehaveobjectsmovingandinteracting(forexample,AutoCADcannot animatethemotionsofpistonsinsidecylindersofacarenginemodel).Rather,whatwerefer toisananimatedwalk-through,asortofframe-by-framesetofscenesstrungtogetherintoa smoothmotion. TobeginanimationtypeinanipathandpressEnter.Alternatively,youcanusethedropdownmenu:View→Motion Paths Animation….ThedialogboxshowninFigure29.24 appears.
642
FIGURE 29.24 Motion Path Animation.
Thisisthecombinedsettingsandanimationdialogbox.Here,youcansetyourpreferences, previewtheanimation,andexportittothedesiredformat.Someoftheoptionsarelistedin moredetail: l
Frame rates:Thenumberofframespersecondthatplayatnormalplaybackspeeds.The moreframes,thelargertheoutputile.Themaximumis60,and40isusuallyjustine. ThenumberofframesdividedbythedurationyieldstheFramerate(FPS).
CHAPTER 29 Dview, Walk and Fly, Animation, and Action Recording
l
l l
Resolution:Howsharptheimageis.Thelargertheresolution,thelargertheoutputile. Therangeisfrom160 120to1024 768.Thedefault,320 240,isusuallyadequate. Format:Theavailableexportingformatsareavi,mov,mpg,andwmv. Camera or Target:Youcanspecifyeitherone;weusecamera.
Asthenameimplies,motionpathanimationdependsonapath.Oncethepathisdeined, alongwithanumberofanimation-relatedparameters,AutoCADsendsacameradownthe pathandplaysbackwhatitseesasittravels.Itissmoothandcontinuousandagoodwayto presentatourofanentirebuilding. Totrythisout,cancelthedialogboxandcreateapathinthebuildingusingpline.Thisis byfarthehardestandmosttime-consumingtask,anditisalsothemostimportant.Agood pathensuresaclear,smoothviewoftheinterior.Herearesometipsforpathplacement: Placethepathinthemiddleofdoorwaysusingtemporaryguidelines.Ifyouusetheedges ofthedoor,thecameraliterallyslamsintothedoorframeasittravels,andtheviewis brielyobscured. l Addilletstoroundouttheturnsinsteadofrightanglesforsmoothermotion. l Createarealisticandsteadypath,asarealpersonwouldwalk.Donotjumpfromloorto ceilingunlessthere’sagoodreason. l
InFigure29.25,severaldoorsareremovedforclarity,andasamplepaththroughour3D apartmentiscarefullydrawninusingpline.Thepathcomesinthroughthefrontdoorand walksthroughthelivingroomandintothekitchen,followingatypicalpathapersonwould take.
643
FIGURE 29.25 Motion pathway.
LEVEL 3 Chapters 21–30 Thispathmayormaynotbeidealandmayhavetobeixeduplater,butitisinefornow. Whendone,selectView→Motion Paths Animation…again,andfollowthesesteps: Step 1.Theirststepistolinkthecameratoapointorapath.Typically,thecameraislinked tothepath,sointheupperright-handarea,usethebuttontoselectthepathand conirmitsnameasPath1intheield. Step 2.Next,youneedtolinkthetargettoapointorapath.IfyouchoosePath,thenthe TargetandCamerasettingsarethesame,meaningthecamerafollowsthepathand turnswhenthepathturns.IfyouchoosePoint(andselectadistantpoint),thenthe cameraisalwaysixedonthatpointasitfollowsitspath. Step 3.Now,youneedtorunthroughtheanimationsettings.Here,everythingshouldbe moreorlessintuitive,asallthreeieldsarelinked.So,ifyouselectaframerateof10 andspecify120frames,then120/10 12,sotherewillbe12secondsof“footage” oranimation.Selectvaluesthatareappropriatetothetaskathand.Ifyouhavea largewalk-through,youmayneedtoruntheanimationforaminuteormore.Just beawarethattheilesgeneratedcangetbigveryquickly,andoverallperformance andqualityalsodependonyourcomputer(RAM,videocard,etc.). Step 4.Finally,selecttheVisualStyle,Format,andResolutionandpressPreview….A previewwindowappearsandrunsthroughtheanimation,asseeninFigure29.26.
644
FIGURE 29.26 Animation Preview.
Whendone,simplyclosetheAnimationPreviewviatheXintheupperrightcorner;you aretakenbacktotheMotionPathAnimationdialogbox.PressOKandyouaretakentothe SaveAsdialogboxandaskedwhereyouwouldliketosavetheile,aswellastoconirmthe outputformat(Figure29.27).Selectalocationandthegenerationsequencecommences, asseeninFigure29.28.Theileisgeneratedandyoucanwatchitwithwhateverplayeryou haveonyourcomputer.
29.5 ACTION RECORDING ActionrecordingisarelativelynewtoolinAutoCADthatisusedtobuildmacros.Macrosis shortformacroinstructions,acomputertermthatcanbedeinedasashortsetofinstructions toperformatask.Theideahereistoactuallyrecordyouron-screenactionsandsavethem forfutureuse.Needlesstosay,theseactionsshouldbesomesortofusefulstepstobuild atediousorrepetitiveobjectandnotjustanysimplesteps.Youcanthenusethismacro tomakeyourlifeeasierlateron.Youcandothiswithboth2Dand3Dmodeling,andthe actionrecorderwasincludedhereina3Dchapteronlytogroupittogetherwiththemore commonpathanimationjustdiscussed.
CHAPTER 29 Dview, Walk and Fly, Animation, and Action Recording
FIGURE 29.27 Saving animation.
645
FIGURE 29.28 Animation generation.
Togivethisatry,openupabrand-newilewiththeRibbonpresent,andstartthecommand viaanyofthefollowingmethods:
YouthenseewhatisshowninFigure29.29.NoticetheRibbontabonthelefthasturned lightpinkandtherecordbuttonbecameastopbutton.Themousehasalsoacquiredared “Recording”dot. Begindrawinganythingyoulike,suchasapieceoffurniture,asseeninFigure29.30.Notice howeachactionofyourmouse,keyboard,menu,Ribbon,andsoonisrecordedinthelog ontheupperleft. Whendone,presstheStopbuttonandtheActionMacrodialogboxappears.Givethemacro adescriptivename(nospacesallowed)andpressOK,asseeninFigure29.31.
LEVEL 3 Chapters 21–30
FIGURE 29.29 646
Action recorder.
FIGURE 29.30 Recording log.
CHAPTER 29 Dview, Walk and Fly, Animation, and Action Recording
FIGURE 29.31 Action Macro.
647
FIGURE 29.32 Playback Complete.
Themacrohasnowbeencompletedandstoredasan*.actmileinadefaultlocation (whichcanbechangedviaOptions…→Files).Youcanputittousebyerasingthechair andpressingthePlaybutton.Themacroexecutesandthechairisdrawn.Youthenseethe messageshowninFigure29.32. Thisisaverysimpleexampletoillustratethebasics.Youcangetquitecomplexwithmacros. Forexample,youcaninsertuserinputoramessage.Macrosrecognizeonlyafewdialog boxes(likelayers),soifyouneedtouseone,thenmakeitacommandlinedialogboxvia the“-”(hyphen)priortotypingitin.Sohatchwouldbe–hatch,andsoon. Experimentwiththisonyourown;therearemanypossibilities.
SUMMARY Youshouldunderstandandknowhowtousethefollowingconceptsandcommandsbefore movingontoChapter30: l
Dview m CAmera m TArget
LEVEL 3 Chapters 21–30 m m m m m m
Distance POints PAn Zoom TWist CLip Hide Off m Undo l Cameras l WalkandFly l Pathanimation l Actionrecording m m
REVIEW QUESTIONS Answer the following based on what you learned in Chapter 29: 1. 2. 3. 4. 5. 6.
648
List all 11 dview functions and what they do. List any additional views that are covered. What is the purpose of Walk and Fly? How are the Walk and Fly functions controlled? How do you create path animations? What is an action recorder?
CHAPTER 29 Dview, Walk and Fly, Animation, and Action Recording
EXERCISE 1. Using the suspension design from the previous chapter, set up a title block and viewports as shown in the following illustration. (Difficulty level: Advanced; Time to completion: 20 minutes)
649
This page intentionally left blank
CHAPTER
30
Lighting and Rendering
651
LEARNING OBJECTIVES In this final chapter, we explore lighting and rendering and discuss l Point light l Spotlight l Distant light l Shadows l Sun and sky l Rendering l Materials
Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
LEVEL 3 Chapters 21–30 Bytheendofthechapter,youwillbeabletoaddvariouslightingeffectsandbasicmaterials toyourdesign. Estimatedtimeforcompletionofchapter:2hours.
30.1 INTRODUCTION TO LIGHTING AND RENDERING Thisinalchapterofthetextbookisdedicatedto“inishing”adesign.Thismeansthe applicationoflighting,shadows,environmentaleffects,backgrounds,materials,andrendering. Itissomethingthatisdonelast,afteradesigniscompleted,astheseeffectsdonotstandalone butareappliedtoanexistingmodel.Allinishingeffectsarelooselygroupedundertwomajor categories:lightingandrendering. Itshouldbestatedupfrontthat,despitemajorimprovementsinAutoCAD’slightingand renderingability,itisstillnotquiteonparwithavailablededicatedrenderingsoftware. PackagessuchasFormZ,Rhino,andthefamous3dsMax(3DStudioMax)cancreatestunning photorealisticimagesand,insomecases,advancedanimation.Autodeskhashadabitofa dilemmawithAutoCAD.Shoulditpursueadvancedrenderingdevelopmentandrisktakingsales awayfromitsown3dsMaxoraddtoAutoCADtopleasethosefewcustomerswhomayneed somerenderingability?Afterall,thevastmajorityofAutoCADdesignsarestillplainold2D schematicsorloorplansanditmakeslittlesensetoloadAutoCADwithrenderingpowerthat customersrarelyneed.
652
Theanswerissomewhereinthemiddle.AutoCADalwayshadlimitedlightingandrendering ability,goingbacktotheAdvancedModelingExtensionoftheearlyreleases,andslowly newfeatureswereadded.Thesewerejustenoughtosatisfycasual3Dusersbutneverso muchthattheystoppedconsideringtheexpensivededicatedsoftware.Onewayaroundthis ofcourseistopurchasereasonablypricedadd-ons,likeAccuRender(seeAppendixI).This softwareaddsdramaticallytotheexistingcapabilitieswithoutexpensiveinvestment. Inthemeantime,AutoCAD’sdevelopmentteam(alwaysinneedofnewfeaturestoadvertiseas anewversionrollsout)slowlybutsurelykeptimprovingthebuilt-inlightingandrendering. Today,withthelatestversion,Release2012,wehavequiteabittodiscuss.Itisstillnot3ds Max,butifyouhaveneverworkedwithadvanceddedicatedeffectssoftware,youmaybe impressed.Itisalsoagreatintroductionintothatworld.Letustakealookirstatlightingand relatedtopics(suchasshadowsandsunandsky),followedbymaterialsandrendering.
30.2 LIGHTING LightingindigitalartandCADsoftwareisbasedonseveralestablishedtechniquesand principles,andAutoCADisnoexception.Amodelcanbelitinoneofseveralways,which involvevariationsonambient,directional,orspotlightlightsources.Thisofcoursemimics oureverydayexperiences,wherewehaveavarietyoflightingconditions,fromdiffused sunlighttotheintenseheadlightsofacarandeverythinginbetween. MostoftheoptionsthathavetodowithlightingareeitherontheLightstoolbarorthe RendertaboftheRibbon.BothareshowninFigure30.1. Thethreemainoptionsforlightingare Pointlight Spotlight l Distantlight l l
Letusgivethesevariouslightsatry.Bringupthesame3Dapartmentmodelusedinthe previouschapterandswitchtotheRealisticVisualStyle(RVS),asseeninFigure30.2.
CHAPTER 30 Lighting and Rendering
FIGURE 30.1 Ribbon Render tab and Lights toolbar.
653
FIGURE 30.2 RVS shading.
Point Light Wecannowtrytosetalightingconditionandlookoversomeoftheavailableoptions, whicharerelativelysimilarfromonelightingscenariotoanother.Theonemostoftenused istheNewPointLightoption,describedhere.
Step 1.BegintheNewPointLightviaanyoftheprecedingmethods.Youmayseeawarning dialogboxaskingifyouwanttoturnoffdefaultlighting(notshownhere).Go aheadandagreetothat.
LEVEL 3 Chapters 21–30 Step 2a.Ifyoutypeinlight, m AutoCADsays:Enter light type [Point/Spot/Web/Targetpoint/ Freespot/freeweB/Distant] :
GoaheadandselectPforPointandpressEnter.GoontoStep2b. Step 2b.IfyouusedanyoftheothermethodsorjustdidStep2a, m AutoCADsays:Specify source location : Step 3. Selecttheextremeupperleftcornerofthebuilding. m AutoCADsays:Enter an option to change [Name/Intensity factor/ Status/Photometry/shadoW/Attenuation/filterColor/eXit] : Step 4. Wegooversomeoftheseoptionsindetailmomentarily,butfornowpressifor Intensity. m AutoCADsays:Enter intensity (0.00 max float) : Step 5. Enterthevalue20.ThenpresscforColor. m AutoCADsays:Enter true color (R,G,B) or enter an option [Index color/Hsl/colorBook] : Step 6. PressiforIndex colorandentercolornumber30(itisoneoftheyellows).
Theresultisaspotlightlocatedatanupperleftcornerofthe3Dmodel(noticethecircular marker),shiningyellowlightontheentirestructure(Figure30.3).Notethatthelightgoes throughthewalls,illuminatingeverythingequally,asifthewallsarenoteventhere.We changethislaterwiththeLIGHTINGUNITSsystemvariable.Youcanlocateasmanypoint lightsasyouwant;wedoonlyoneinthisexample.
654
FIGURE 30.3 Point light (LIGHTINGUNITS 0).
So,whatoptionscanyouchangetoenhancethisverybasicexample?Letusgooverthem,as theyappearintheotherlightchoicesaswell—Name,Intensityfactor,Status,Photometry(if LIGHTINGUNITSissetto1or2only),shadoW,Attenuation,ilterColor,eXit: l
Name.Youcangivethelightsettinganamesoyouknowtowhatyouarereferringlater on.UselogicalnameslikeBedroom Spotlight 1.
CHAPTER 30 Lighting and Rendering
l
l
l
Intensity factor.Thisisthebrightnessofthelight;youcanenteralmostanyvalue.The exactnumberisdictatedbydesignneedsandoftenarrivedatbytrialanderror. Status.Thissimplymeansonoroff.Youcanpositionalightandthenturnitoff,aswith aregularlightswitch,ifnotneededinascenario. Photometry.ThisoptiondependsontheLIGHTINGUNITSsystemvariable,tobesetto 1or2(InternationalorAmericanwithPhotometryenabled),not0,whichisGeneric lighting,asseeninFigure30.3.Oncethatisset,photometryreferstotheperceivedpower emittedbyalightsource.Theresultofsettingthatsystemvariableisthatamorerealistic lightgradientisshown,wheretheintensityfadesasyoumovefartherfromthelamp source,asseeninFigure30.4.ThethreeoptionsunderPhotometryare
655
FIGURE 30.4 Point light (LIGHTINGUNITS 1). m
m
Intensity.Thisissimilartothepreviousgenericintensitysetting,butallowsformore options.ThedefaultvaluesareinCandelas(Cd),theSIunitofluminousintensity. YoucanalsopressffortheFluxoption(Lm)orpressiforIlluminate,inwhich caseyoucanuseLux(Lx)orFootCandle(Fc)values.Asasuboption,youcaneven useDistance.Thesesettingsarefamiliartoanyarchitectordesignerwhoworkswith lighting.Photometryisascienceuntoitself;experimentwiththevariousoptions,and ifyouhaveneverworkedwithlightingbefore,seekoutinformationonlineorina libraryonthisinterestingtopic. Color.Thisoptionassignscolortothelight(otherwiseitisthedefaultwhite)but worksdifferentlyfromthecoloriltersinthemainmenu.Here,colorrepresentsatype oflamporaKelvintemperaturesetting.IfyoutypeinaquestionmarkandpressEnter twiceyougetthislistofstandardcolorsorlamps: “D65” “Fluorescent” “Coolwhite” “Whitefluorescent” “daylightfluorescent” “Incandescent”
LEVEL 3 Chapters 21–30
l
l
656
l
l
“Xenon” “Halogen” “Quartz” “Metalhalide” “mErcury” “Phosphormercury” “highpressureSodium” “Lowpressuresodium” Youcanchoosealamptypeanditisshown.Anotherinterestingoptionistheability tousetemperatureasalightsetting.TypeinkforKelvinandenteratemperature value.Asmentionedbefore,ittakesexperienceandknowledgetousethesetools properly,andthereisascienceofproperlighting.Forthosewhoworkinthisield, AutoCADgivessomebasictoolswithwhichtowork,andforthosewhodonot,thisis aninvitationtolearnmore. m eXit.ThisoptionexitsthePhotometrycommand. shadoW.Thiscommandcontrolstheappearancesofshadowswhenyourlightsource encountersanobstruction(suchasapieceoffurniture).Theoptionsare m Off.Thisoptionturnsoffshadows. m Sharp.Thisdisplaysshadowswithsharpedges(lessrealisticbutbettercomputer performance). m soFtmapped.Thisentireoptionhastodowithsoftshadowsandhowmuchcomputer resources(mapsizeandmemory)toallocatetotheshadow.Aswithallsuchsettings, thereisatrade-offbetweenqualityandsystemperformance. m softsAmpled.Thisisanothersetofsettingsforrealisticshadows. Attenuation.Attenuation(withAutoCADanyway)isthedecayoflightasdistancefrom thesourceincreases.Thereareavarietyofsettingshere,suchas m attenuation Type.ThetwochoicesareInverseLinearandInverseSquared,which havetodowiththestrengthofthelight(whetherthevalueissquaredorlinear)asthe distanceincreases. m Use limits.Thisoptionturnslimits(seelater)onandoff. m attenuation start Limit.Thisoptionspeciieswherethelightstarts. m attenuation End limit.Thisoptionspeciieswherethelightends. m eXit.ThisoptionexitstheAttenuationcommand. filterColor.Thisissimplythecolorofthelightemittedwithnoregardtotemperature ortypeoflamp,asseenwithPhotometrysettings.YoucanenterRGBvalues,Index colors,oruseanyoftheothercolorchoicesAutoCADprovides.Figure30.2features Indexcolor30. eXit.ThisoptionexitstheilterColorcommand.
Spotlight Nowthatyouhavehadanintroductiontothesetools,letusbrielygoovertheremainderof thelightsandafewotherassociatedoptions.TheNewSpotlightoptionisroughlysimilarin theorytotheNewPointLightoptionjustcovered.
CHAPTER 30 Lighting and Rendering Step 1. BegintheSpotlightviaanyoftheprecedingmethods.Youmayseeawarningdialog boxaskingifyouwanttoturnoffdefaultlighting(notshownhere).Goaheadand agreetothat. Step 2a.Ifyoutypeinlight, m AutoCADsays:Enter light type [Point/Spot/Web/Targetpoint/ Freespot/freeweB/Distant] :
GoaheadandselectSforSpotandpressEnter.GoontoStep2b. Step 2b.IfyouusedanyoftheothermethodsorjustdidStep2a, m AutoCADsays:Specify source location : Step 3. Selectacornerofthebuilding(alashlightisattachedtothecrosshairs). m AutoCADsays:Specify target location : Step 4. Selectapointinsuchawayastoindicateadirectionforthespotlighttoshine.A largemenuappearsthathasessentiallythesamechoicesseenpreviously. m AutoCADsays:Enter an option to change [Name/Intensity factor/ Status/ Photometry/Hotspot/Falloff/shadoW/Attenuation/ filterColor/eXit] :
Therearehoweversomenewcommandsinthismenu,asdescribednext: Hotspot.Thiscommandspeciiestheanglethatdeinesthebrightestconeoflight,whichis knownasthebeam angle.Thisvaluecanrangefrom0°to160°. Falloff.Thiscommandspeciiestheanglethatdeinesthefullconeoflight,whichisalso knownasthefield angle.Thisvaluecanrangefrom0°to160°. Step 5. Usingvaluesof100fortheIntensity factorand255,127,0forthefilterColor, goaheadandadjustthoseoptions. Figure30.5showstheresults.Thespotlightisattachedtotherightcornerofthedesign.Itis clickedontoshowitslightcone(calledaglyph)andgrips.Theseglyphscanbeadjustedvia thegripstovarythe“sweep”ofthelightsourceandtheareaitaffects(illuminates).
FIGURE 30.5 Spotlight.
657
LEVEL 3 Chapters 21–30
Distant Light TheinallighttypewetryoutiscalledNewDistantLight.Thisismoreofaloodlightthat saturateseverythingandisnotusedasoften.
Step 1. BegintheDistantLightviaanyoftheprecedingmethods.Youmayseeawarning dialogboxaskingifyouwanttodisabledistantlightswhenthelightingunitis photometric(notshownhere).Allowitinthiscase! Step 2a.Ifyoutypeinlight, m AutoCADsays:Enter light type [Point/Spot/Web/Targetpoint/ Freespot/freeweB/Distant] :
GoaheadandselectDforDistantandpressEnter.GoontoStep2b. Step 2b.IfyouusedanyoftheothermethodsorjustdidStep2a, m AutoCADsays:Specify light direction FROM or [Vector]: Step 3. Pickadirectionfromwhichthelightcomes. m AutoCADsays:Specify light direction TO : Step 4. Pickadirectionintowhichthelightgoes.Thefamiliarmenuappears(notshown thistime),andyoucansetsomeoptionstocompletethedistantlightsetting. 658
TocompleteourtourofAutoCAD’slightingfeatures,thereareafewmoreitemstocover. PerhapsthemostimportantoneisthePropertiespaletteasitappliestolighting.Doubleclickonanylighttocallitup,asseenwiththespotlightinFigure30.6.
FIGURE 30.6 Properties palette.
CHAPTER 30 Lighting and Rendering UsingthePropertiespaletteyoucanchangevirtuallyanyaspectofthenewlycreatedlight, withtheaddedbeneitthatyoucanseetheeffectrightaway. Tokeeptrackofallyourlights,youcanactivatetheLightsinModelpalette(Figure30.7)by clickingontheLightsListicononthetoolbarorthearrowlyoutontheRibbon’sRendertab. Thispaletteshowseverylightcreated,whichiswhyitisimportanttogivethemdescriptive names.Inourexample,wedidnot,andtheyaresimplyreferredtoasPointlight4and Spotlight5.
659
FIGURE 30.7 Lights in Model palette.
Shadows, Sun, and Sky Shadowsareanintegralpartofthesunandskysettings,whicharenothingmorethanshadows customizedtoaspeciiclocationandtime.Youcangetasimpleshadowrightaway,however. Drawandpositionsomesimple3Dshapes,andintheRibbon’sRendertabindtheshadow settingsandselectGroundShadows(Figure30.8).TheresultisseeninFigure30.9. Sunandsky,asmentionedalready,refertoabackgroundlightsettingwhereyoucanseta particularcitylocationanywhereintheworldanditsparticularlatitudeandlongitudeare factoredintothelightingconditions.Tosetthetimezone,presstheGeographicLocation… icon(itlookslikeaglobe)andselecttheEnterthelocationvaluesbuttonfromtheDeine GeographicLocationboxseeninFigure30.10. TheGeographicLocationdialogboxthenappears(Figure30.11).Setyourparticularregion, country,orcityviathedrop-downmenus.Youcanusetheprovidedtimezonesasanalternative. Youcanalsoclickanywhereonthemaporentervaluesmanually,althoughnottoomany peoplehavethatkindofinformationhandy.Whendone,clickonOK. Finally,letusbringupsunpropertiesviatheinaliconontheLightstoolbar.TheSun Propertiespaletteappears,asseeninFigure30.12.
LEVEL 3 Chapters 21–30
FIGURE 30.8 Ribbon’s Ground Shadows.
660
FIGURE 30.9 Basic ground shadows.
Usingthispaletteandabitoftrialanderror(atleastuntilyouunderstandwhateach propertydoes),youcansettheambientsunlightproperties.Theexactdescriptionofeach categoryisfoundintheHelpiles,reproducedhereforconvenienceandineditedformfor clarity: General.Thisiswhereyousetthegeneralpropertiesofthesun. l
l
Status.Thisoptionturnsthesunonandoff.Iflightingisnotenabledinthedrawing,this settinghasnoeffect. Intensity Factor.Thisoptionsetstheintensityorbrightnessofthesun.Therangeisfrom 0(nolight)tomaximum.Thehigheristhenumber,thebrighterthelight.
CHAPTER 30 Lighting and Rendering
FIGURE 30.10 Define Geographic Location.
661
FIGURE 30.11 Geographic Location.
l
l
Color.Thisoptioncontrolsthecolorofthelight.Enteracolornameornumberorclick onSelectColortoopentheSelectColordialogbox. Shadows.Thisoptionturnsonandoffthedisplayandcalculationofshadowsforthe sun.Turningshadowsoffincreasesperformance.
Sky Properties.Thisiswhereyousetthegeneralpropertiesofthesky. l
Status.Thisoptiondeterminesiftheskyilluminationiscomputedatrendertime.This hasnoimpactontheviewportilluminationorthebackground.Itsimplymakesthe
LEVEL 3 Chapters 21–30
FIGURE 30.12
662
Sun Properties palette.
l
l
skyavailableasagatheredlightsourceforrendering.Note:Thisdoesnotcontrolthe background.ItsvaluesareSkyOff,SkyBackground,andIllumination. Intensity Factor.Thisoptionprovidesawaytomagnifytheeffectoftheskylight.Its valuesare0.0toMAX. Haze.Thisoptiondeterminesthemagnitudeofscatteringeffectsintheatmosphere.Its valuesare0.0to15.
Horizon.Thiscategoryofpropertiespertainstotheappearanceandlocationoftheground plane. l
l
l
Height.Thisoptiondeterminestheabsolutepositionofthegroundplanerelativeto worldzero.Thisparameterrepresentsaworld-spacelengthandshouldbeformattedin thecurrentlengthunit.Itsvaluesare toMAX. Blur.Thisoptiondeterminestheamountofblurringbetweengroundplaneandsky.Its valuesare0to10. Ground Color.Thisoptiondeterminesthecolorofthegroundplanebyselectingacolor fromthedrop-downlist.YoucanalsoselecttheSelectColordialogboxtomakeacolor choice.
Advanced.Thiscategoryofpropertiesaddsvariousartisticeffects. l
l
l
Night Color.Thisoptionspeciiesthecolorofthenightskybyselectingacolorfromthe drop-downlist.YoucanalsoselecttheSelectColordialogboxtomakeacolorchoice. Aerial Perspective.Thisoptionspeciiesifaerialperspectiveisapplied.ItsvaluesareOn orOff. Visibility Distance.Thisoptionspeciiesthedistanceatwhich10%hazeocclusion results.Itsvaluesare0.0toMAX.
CHAPTER 30 Lighting and Rendering
Sun Disk Appearance.Thiscategoryofpropertiespertainstothebackgroundonly,andthey controltheappearanceofthesundisk. l l
l
Disk Scale.Thisoptionspeciiesthescaleofthesundisk(1.0 correctsize). Glow Intensity.Thisoptionspeciiestheintensityofthesunglow.Itsvaluesare0.0to 25.0. Disk Intensity.Thisoptionspeciiestheintensityofthesundisk.Itsvaluesare0.0to 25.0.
Sun Angle Calculator.Thiscategoryofpropertiessetstheangleofthesun. l l l l
l
l
Date.Thisoptiondisplaysthecurrentdatesetting. Time.Thisoptiondisplaysthecurrenttimesetting. Daylight Saving.Thisoptiondisplaysthecurrentsettingfordaylightsavingstime. Azimuth.Thisoptiondisplaystheazimuth,theangleofthesunalongthehorizon clockwisefromduenorth.Thissettingisread-only. Altitude.Thisoptiondisplaysthealtitude,theangleofthesunverticallyfromthe horizon.Themaximumis90°,ordirectlyoverhead.Thissettingisread-only. Source Vector.Thisoptiondisplaysthecoordinatesofthesourcevector,thedirectionof thesun.Thissettingisread-only.
Rendered Shadow Details.Thiscategoryofpropertiesspeciiesthepropertiesofthe shadows. l
l
l
l
Type.Thisoptiondisplaysthesettingforshadowtype.Thissettingisread-onlywhen displayofshadowsisturnedoff.TheselectionsareSharpandSoft(mapped),which displaytheMapsizeoption,andSoft(area),whichdisplaystheSamplesoption.Soft (area)istheonlyoptionforthesuninphotometricworklow(LIGHTINGUNITSsetto 1or2). Map size (Standard lighting workflow only).Thisoptiondisplaysthesizeoftheshadow map.Thissettingisread-onlywhendisplayofshadowsisturnedoff.Itsvaluesare0to 1000. Samples.Thisoptionspeciiesthenumberofsamplestotakeonthesolardisk.This settingisread-onlywhendisplayofshadowsisturnedoff.Itsvaluesare0to1000. Softness.Thisoptiondisplaysthesettingfortheappearanceoftheedgesofshadows. Thissettingisread-onlywhendisplayofshadowsisturnedoff.Itsvaluesare0to50.0.
Geographic Location.Thiscategoryofpropertiesdisplaysthecurrentgeographiclocation settings.Thisinformationisread-only.Whenacityisnotstoredwithlatitudeandlongitude, thecitydoesnotappearinthelist.UsetheEditGeographicLocationbuttontoopenthe GeographicLocationdialogbox.
30.3 MATERIALS AND RENDERING RenderinginAutoCADisatwo-partstory.Theirstpartinvolvesmaterialsandsimplyadding themtodesigns.AutoCADhasasizablebuilt-inlibraryofmaterials,withmostresiding inthetoolpalettes,andaddingthemissimplyamatterofclickanddragontothedesign. Thesematerialsarepictures,usuallybitmaps,andtheysimplycoverthedesignsimilarto wallpaper.Youcanalsocreateandmodifyyourownmaterials,withinlimits. Theothersidetorenderingisactualrendering,wheremoreadvancedsettingsareapplied andthesoftwaremakespassesoverthedesign,renderingthesurfacesasdesired.Inregard tobothmaterialapplicationandrendering,otherdedicatedsoftwarepackageshavefar morecapabilitiesthanAutoCAD,asexplainedearlierinthechapter,butthisisstillagood introductiontothisfascinatingworld.Andrememberthatqualityofoutputisoftenaresult ofknowledge.Anexpertusinglimitedsoftwaremaystillachievebetterresultsthananovice onsuperiorsoftware.Ifyouwishtopursuethistypeofworkfurther,consultAppendixIfor someadditionalinformationonthistopic.
663
LEVEL 3 Chapters 21–30
Materials Letusjumprightintomaterialsbyintroducingthetworelevantpalettes(materialsisvery muchapalettedrivenfeature):theMaterialsBrowserandtheMaterialsEditor.Bothareshown inFigure30.13andcanbeaccessedviathecascadingmenus:Tools→Palettes→Materials Browser(orMaterials Editor).
664
FIGURE 30.13 Materials Editor and Materials Browser.
LetusirsttakealookattheMaterialsBrowser.Itwasexpandedsigniicantlyoverthelast severalreleasesofAutoCADandnowfeaturesover1200materials(seeFigure30.14). ThesematerialsarebitmapgraphicsdesignedinhouseatAutodesk(oracquired)andare superimposedontogeometryinasimplemanner,akintowrappingpaper.Theyarenot “proceduralmaterials”anddonotbecomeonewiththedesign(seeAppendixIformoreon this).TheMaterialsBrowserallowsyoutovisuallysearchthematerialsdatabaseandcreatea libraryofmaterialsrelevanttoyourdesignintent. Applyingthesematerialswithoutfurthermodiicationissimplyamatterofclickand drag.Drawacubeofanysize,asseeninFigure30.15,andselectarandommaterial.Then, clickanddragthematerialontothecube,whichacquiresthosepropertiesinstantly.Some additionalexamplesareshowninFigure30.16. Ifyouright-clickonanyofthematerialsintheselectionlist,youcanaddittotheMaterial Browser’sMyMaterialscollectionforfuturereuse.Thesematerialscanbedeletedandrenamed ifnecessary.ThemainAutodesklibrary,however,islocked,asindicatedbyapadlock.Youcan sortMyMaterials(orthemainlibrary)accordingtoName,Category,Type,orColoraswellas ilterwhatisshownbyAll,Applied,Selected,orUnused.Spendsometimegettingacquainted
CHAPTER 30 Lighting and Rendering
FIGURE 30.14 Expanded Materials Browser.
FIGURE 30.15 Material application.
FIGURE 30.16 Additional material application examples.
665
LEVEL 3 Chapters 21–30 withtheMaterialBrowser,soyouhaveagoodideaofwhatisavailableandwhatyoucando withthesematerials. TheMaterialsEditorisexactlythat:Iteditsandmodiiesexistingmaterials.Toentersomething intotheeditor,clickonamaterialonceinthebrowser(butdonotdragitanywhere).The materialappearsintheeditor’spreviewwindow,withassociatedmenusbelowthat.Anexample isshownwiththepreviouslyusedAshlarmaterial(Figure30.17).Someofthemoreuseful settingsthatcanbemodiiedincludeRelectivity,Transparency,andSelfIllumination.Explore allthesesettingstoseewhattheeffectsare.Whendone,thematerialappearsintheMaterials Browser.Besuretorenameitbeforeusing.
666
FIGURE 30.17 Materials Editor with a material loaded.
Rendering Ourinaldiscussioninvolvesrendering.BecauseofAutoCAD’simprovedmaterialsand excellentvisualizationandcoloringoptions,renderingingeneralisnotsomethingyouoften require,andyouroptionsherearenotexactlyextensive.Inadvancedmodelingsoftware, renderingisageneralcatch-alltermthatreferstoadvancedcolorizing,materials,andlighting effectsappliedtoadesign.InAutoCAD,theseproceduresareseparatefromarendering,and wealreadycoveredtheminthischapterorelsewhere.Whatrenderingmeansinourdiscussion issimplyaprocessedoutputthatcanbesavedtoaile.Youstillhavetoaddcolors,materials, andlightingpriortoarender.Then,theprocessofrenderinganimageproducesatangible outputintheformofajpg,oranotherformatsuchasabmp(Bitmap)oratiff,thatcanbe printedonaLaserJet(forexample).Theserenderingscanthenbeinsertedintoapresentation orgiventoaclient. ThegatewaytorenderingistheRendertoolbar(Figure30.18)ortheRibbon’sRendertab.Let usgivethisatryandrenderourfamiliarapartment(Figure30.19),introducingfeaturesas needed.Bringupthedesignandaddanewmaterialforsomevariety,asshownintheigure.
CHAPTER 30 Lighting and Rendering
FIGURE 30.18 Render toolbar.
667 FIGURE 30.19 Rendering model.
Letusjumprightinandrenderthedesignwithoutchanginganysettings.Wewillreturnand tweakthingsrightafterward.ClicktheRendericon(theteapot);youcanalsojusttypein renderandpressEnter.Therenderpanelappearsandtheapartmentisrenderedinseveral seconds.Whendone,informationabouttherenderingprocessisshowntotherightand belowtherenderedmodel(Figure30.20). Thenextstepistooutputthedesigntooneofseveralformats.SelectFile→Save…andthe RenderOutputFiledialogboxappears(Figure30.21).Selecttheoutputformat,jpeginthis case,andgiveitanameandlocation.OnceyoupressSave,theJPEGImageOptionsdialog boxappears(Figure30.22).AdjustsettingsifdesiredandpressOK.Theimageissavedtothe previouslyselectedlocation,readyforprintingorinsertionintoapresentation. Weconcluderenderingwithabriefsurveyofrenderingsettings,incaseyouwanttodeviate fromthebasicprocedurejustoutlined.TheSettingspaletteisaccessedviatheAdvanced RenderSettings…iconorthelyoutarrowonthebottomrightoftheRibbon’sRendertab. ItisshowninFigure30.23. ReviewthesettingsonyourownorwiththeHelpiles,asthereisquiteabithere.Someof themorerelevantones(readingtoptobottom)aretheoptionsthatallowyoutorenderonly asmallsectionoftheimageifneededviaProcedure,controlresolutionviaOutputSize,and ApplyMaterialstodeterminewhattypeofviewgetsrendered.Youcanalsodoallthisviathe Ribbon;justdropdowntheRenderarrowontheRendertab.
LEVEL 3 Chapters 21–30
FIGURE 30.20 Rendering panel with output.
668
FIGURE 30.21 Render Output File.
CHAPTER 30 Lighting and Rendering
FIGURE 30.22 JPEG Image Options.
669
FIGURE 30.23 Advanced Render Settings.
LEVEL 3 Chapters 21–30
SUMMARY Youshouldunderstandandknowhowtousethefollowingconceptsandcommandsatthe conclusionofthischapter: l l l l l l
Pointlight Spotlight Distantlight Sunandsky Materials Rendering
REVIEW QUESTIONS Answer the following based on what you learned in Chapter 30: 1. 2. 3. 4. 5. 6.
Describe point light. Describe spotlight. Describe distant light. Describe sun and sky. Describe how to bring up materials. Describe basic rendering procedures.
EXERCISE 670
1. Create the following 20" 50" box, extruded to 10" and shelled out to 1". Attach a point light to both corners. Set one point light to an intensity of 100 and a blue color. Set the other to an intensity of 75 and a red color. Then render the figure to a jpg file. (Difficulty level: Easy; Time to completion: 5–10 minutes)
LEVEL
Answers to Review Questions CHAPTER 21 REVIEW QUESTIONS 1. Whatthreeaxesarediscussed? X,Y,andZ. 2. Whatthreeplanesarediscussed? XY,ZX,andYZ. 3. What3Dtoolbarswereintroducedinthischapter? View,3DNavigation,VisualStyles,UCS,Modeling,andRender. 4. Whatcommandisusedmostoftentocreate3Dobjects? Extrude. 5. HowdoyourotatetheUCSicon? ViatheUCScommandorUCStoolbaricons. 6. Whatdoeshidedo? Hideturnsoflinesthatwouldnotbevisibleiftheshapeweresasolid. 7. Whatdoesshadedo?Whatarethetwotypesofshade? Shadeaddscoloredshading,withlighteffects,toyourdesign.Thetwotypesare conceptualandrealistic. 8. WhatisthepurposeoftheNavigationbarandViewCube? Bothpresentadditional3Dnavigationandviewingviewoptions.
3
LEVEL 3 Chapters 21–30
CHAPTER 22 REVIEW QUESTIONS 1. Namethesevenprimitivescoveredinthischapter. Box,Wedge,Cone,Sphere,Cylinder,Torus,andPyramid. 2. Whatfourmethodsareusedtocreateprimitives? Typing,cascadingmenus,Modelingtoolbar,andtheRibbon’sSolidtab. 3. Whattwoprimitivescannotbecreatedanyotherway? SphereandTorus.
CHAPTER 23 REVIEW QUESTIONS 1. DescribetheRotate3Dprocedure.Doyouneedaxesorplanesforthiscommand? Rotate3Drotatesobjectsaroundaxes.Youneedaxes. 2. Howis3DrotatedifferentfromRotate3D? 3Drotatefeaturesagraphicalgizmotoassistintherotationprocess.Theneteffectis thesameasRotate3D. 3. DescribetheMirror3Dprocedure.Doyouneedaxesorplanesforthiscommand? Themirror3Dcommandmirrorsobjectsaroundplanes.Youneedplanes. 4. Describethe3Darrayprocedure,bothrectangularandpolar. Rectangular3Darrayiscommandlinedrivenandasksforrows,columns,andlevelsas wellasthedistancesbetweenallofthese.Polar3Darrayisalsocommandlinedriven andasksfornumberofitems,angletoill,andtwopointsthatdeinetheaxisof rotationforthearray. 672
5. Describe3Dscaleand3Dmove. Bothcommandsaresimilartotheir2Dversions;however,3Dmovefeatures movementsconstrainedbyaxes. 6. Describefilletsandchamfersin3D. A3Dilletmusthavearadiusandcanbeperformedinstantlyonanyedge,aswellas dynamicallyinrealtime.A3Dchamferissimilar.
CHAPTER 24 REVIEW QUESTIONS 1. WhatarethethreeBooleanoperations? Union,subtract,andintersect. 2. Inwhattoolbararetheyfound? Modelingtoolbar. 3. Isunionapermanentsetting? Yes 4. Whyisitagoodideatomakeacopyofsomethingthatisbeingsubtracted? Becauseyoumayneedthatpartforlaterdesignworkandthesubtractoperation deletesit.
CHAPTER 25 REVIEW QUESTIONS 1. Describetherevolvecommand. Thiscommandcreatesarevolvedshapearoundachosenaxisofrevolution. 2. Doestheproileneedtobeopenorclosed?Describetheeffectofeach. Eitherwayworks;however,aclosedproileyieldsasolid,andanopenonecreatesa surfaceofrevolution.
CHAPTER Answers to Review Questions 3. Describetheshellcommand. Thiscommandcreatesahollowcavityinsideasolidbasedonagivenwallthickness. 4. Howmanysurfacescanyouselectwithshell? Youcanselectaminimumofoneandamaximumofallofthem.Typically,onlyone ortwoareselected. 5. Describethetapercommand. Thiscommandtapers(addsslopeto)asolid. 6. Describetheloftcommand. Thiscommandcreatesasolidoutofasequenceofproiles. 7. Describethepathextrusioncommand. Thiscommandcreatesasolidextrusionalonganindicatedpathway. 8. Describethesweepcommand. Thesweepcommandissimilartoapathextrusionbutmoregeneralinnatureand createsasolidoutofvirtuallyanyproileandalongvirtuallyanypathway. 9. Whyissweepbetterthanpathextrusion? Itismoretolerantofgeometricvariationsandinconsistencies.
CHAPTER 26 REVIEW QUESTIONS 1. Describethepolysolidcommand.Canyouturnregularobjectsintopolysolids? Thiscommandcreatesasolidshapeoutoflineworkorbasicgeometricobjects.Yes. 2. Describethehelixcommand. Thiscommandcreatesawirehelixbasedonindicatedradiusesofthetopandbottom alongwiththenumberandspacingofthecoils. 3. Describethe3Dpatharraycommand. The3Dpatharrayworksinasimilarmannertothe2Dpatharray.Asolidisdrawn,a pathisselected(inourexample–ahelix),andthesolidisduplicatedalongthepath. 4. Describethe3Daligncommand. Thiscommandalignsobjectsin3Dspaceviaathree-pointtangency. 5. Whatarethesixfacescommands? Moveface,offsetface,deleteface,rotateface,copyface,andcolorface. 6. Whatarethetwoedgescommands? Copyedgeandcoloredge.
CHAPTER 27 REVIEW QUESTIONS 1. Describetheplanarsurfacecommand. Aplanarsurfaceisaverysimplemeshsurfaceshadingtoolforbasicgeometryand surfaces. 2. Describetheregioncommand. Aregionissimilartoaplanarsurfacebutisnotamesh. 3. Describerulesurfanditsapplications. Rulesurf(ruledsurface)isusedtocreatesurfacesbetweenstraightlinesorcurves. 4. Describetabsurfanditsapplications. Tabsurf(tabulatedsurface)isusedtocreatesurfacesalongapath.
673
LEVEL 3 Chapters 21–30 5. Describerevsurfanditsapplications. Revsurf(revolvedsurface)issimilartotherevolvecommandbutproducessurface revolutions. 6. Describeedgesurfanditsapplications. Theedgesurfcommandisusedtocreatemesh(Coon)surfaces. 7. Describe3Dfaceand3Dmesh. 3Dfaceisafreeformmeshcreatingtool,usuallyusedtocoversurfaces.3Dmeshis usedmoreforautomationandprogramming,asitistootedioustoworkwithby hand. 8. WhataretheSmoothMeshPrimitives? Thesearebasicprimitiveshapesthataremadeupofmeshfaces,whichinturncanbe workedwithto“sculpt”anorganicform.
CHAPTER 28 REVIEW QUESTIONS 1. Listall13advancedUCSfunctionsandwhattheydo. UCS,World,UCSPrevious,FaceUCS,Object,View,Origin,Z-AxisVector,3Point,X, Y,Z,andApply.SeeChapter28fordetaileddescriptionsofeach. 2. Whatarevportsusefulfor?Listtwofunctions. Vportsallowyoutoviewandprintamodelfrommultipleanglesallatonce.
CHAPTER 29 REVIEW QUESTIONS 674
1. Listall11dviewfunctionsandwhattheydo. Camera,Target,DistancePoints,Pan,Zoom,Twist,Clip,Hide,Off,andUndo.See Chapter29fordetaileddescriptionsofeach. 2. Listanyadditionalviewsthatarecovered. Thecameratoolprovidesforadditionalviewingtools. 3. Whatisthepurposeofwalkandly? Tocreateawalkingtourthrougha3Dmodel. 4. Howarewalkandlyfunctionscontrolled? Viathekeyboardarrowsorhotkeys. 5. Howdoyoucreatepathanimations? Youirstcreateapathway,followedbysettingupacameraandine-tuningthe animationbyspecifyingtheframerate,resolution,andformat. 6. Whatisanactionrecorder? Thistoolallowsyoutorecordasetofcommandsandplaybacktheanimationto automatecertaintasks.
CHAPTER 30 REVIEW QUESTIONS 1. Describepointlight. Thepointlightisadirectlightingeffect,andthemostoftenusedofthelighting options.Itshinesevenlyfromapointinspaceindicatedbytheuser. 2. Describespotlight. Thespotlightissomewhatsimilartothepointlight,butmoreconcentrated,akintoa lashlight,withlessreachthroughwalls,castingsoftershadows.
CHAPTER Answers to Review Questions 3. Describedistantlight. Thedistantlightissimilartoaloodlight,saturatingeverythinginitscone. 4. Describesunandsky. Sunandskyreferstothebackgroundlightingandtheabilitytosetaparticular worldwidelocation,whichinturnaccountsforlatitudeandlongitude. 5. Describehowtobringupmaterials. MaterialsareaccessedviaapalettecalledtheMaterialsBrowser(alsocalledthe MaterialsEditor)andcanbeclickedanddraggedontoshapes. 6. Describebasicrenderingprocedures. Renderinginvolvestherendercommandandsavingtheoutputtoailesuchasinjpg format.
675
This page intentionally left blank
Appendices
This page intentionally left blank
APPENDIX A
Additional Information on AutoCAD WHO MAKES AUTOCAD? Asyoumayalreadyknow,AutoCADisdesignedandmarketedbyAutodesk®,Inc.(NASDAQ: ADSK),asoftwaregiantheadquarteredinSanRafael,California.Itswebsite(agoodresource center)iswww.autodesk.com.Thecompanywasfoundedin1982byprogrammerJohnWalker andhisassociatesandwentpublicin1985(seehistory).WalkerwasoneofAutoCAD’searly developers,buildingonoriginalsourcecodepurchasedfromanotherprogrammer,Michael Riddle.AutodesktodayisheadedbypresidentandCEOCarlBass;hasover7300employees, downaftersomelayoffsinearly2009;andpostedrevenuesof$1.71billioninFY2010, downfrom$2.31billioninFY2009.Althoughthecompanymarketsnearly100software applications,AutoCADremainsitslagshipproductandbiggestsourceofrevenue. ItisdificulttopindowntheexactsizeofAutoCAD’sworldwide“installedbase,”meaning thenumberofcopiesofthesoftwarethathavebeenpurchasedandusedovertheyears. Someestimatesfrom2008showthisbasetobe2.8millionunitsofAutoCADand3.6 millionunitsofAutoCADLT.AnAutodeskpressreleasefromthesameyearclaimed4.16 millionseats,butdidnotspecifyifthatwasonlyAutoCADorLTaswell.Industryanalysts haveestimatedthatAutodeskcurrentlysellsabout40,000copiesofAutoCADperquarter, or160,000seatsperyear.Duetopiracy,theactualinstalledbaseisprobablysigniicantly higher.Also,thenumberofseatscanvarydependingonhowyoucounteducationalversions andthose“add-on”verticalsoftwarepurchasesthatneedAutoCADtorunbutarecounted separately. Anywayyoulookatthis,though,thesenumbersindicatethatAutoCADisindisputablythe world’snumberonedraftingsoftware,withamarketshareoftenestimatedtobesomewhere inthe55–60%rangeinthe2Dworldand30–35%amongallCADsoftware(both2Dand 3D)worldwide.Consideringthatthereareoveradozenmajorcompetitorsandhundreds ofsmallerones,thismarketdominanceislikelytoassureAutoCAD’srelevanceforyearsto come.
WHAT IS AUTOCAD LT? Contrarytopopularbelief,LTdoesnotstandfor“lite”(oraswejokeinclass,“AutoCAD withfewercalories”).Italsodoesnotmean“lesstrouble”or“learningandtraining,”or even“limited,”althoughAutodesklikestothrowthatlasttermaroundduringconferences. Instead,itmeans“laptop”andwasoriginallymeantforslowerandweakerearlylaptop computers,asortofportableAutoCAD,ifyouwill.Todaylaptopsarejustaspowerful asdesktopsandLTexiststocompeteinthelower-endCADmarketwithsimilarlypriced Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
679
APPENDIX A
software.Itisessentiallystripped-downAutoCAD.Whatismissingisdetailedexhaustively ontheAutodeskwebsite,butitessentiallyboilsdowntono3Dability,noadvanced customization,andnonetworklicensing.Inadditiontothese,someotherminormissing featuresarescatteredthroughoutthesoftware,butthedifferencesarenotthatgreat,andaside fromthelackof3D,ittakesatrainedeyetospotLT.ItreallylooksandactslikeAutoCAD, andwithgoodreason.ItwascreatedbytakingregularAutoCADand“commentingout” (therebydeactivating)portionsoftheCcodethatAutodeskwantedtoreserveforits priciermainproduct. Havingsaidthis,however,AutoCADLTisanexcellentproduct(itsestimatedsalesoutnumber AutoCAD)andisrecommendedforcompaniesthatdonothaveambitiousCADrequirements. ThesimpletruthandsomethingAutodeskdoesnotalwayspromoteisthatsomeusersnever needthefullpowerofAutoCADanddojustinewithLT,whilepayingafractionofthecost offullAutoCAD.ElectricalengineersespeciallyneednothingmorethanLTforbasiclinework anddiagrams,asdoarchitectsandmechanicalengineerswhodealwithschematics.Thesizeof theilesyouanticipateworkingon,bytheway,isofnoconsequence.LTlackscertainfeatures, nottheabilitytoworkwithmultistoryskyscraperlayoutsifneeded.Ittrulyisahiddensecret inCAD.AutodeskmusthavebeentakenbysurprisebythestrongLTsalessince2002and dramaticallyraisedthepriceofthesoftwarefrom$700to$1200in2008.
HOW IS AUTOCAD PURCHASED AND HOW MUCH DOES IT COST?
680
Anumberofyearsago,youcouldnothavepurchasedAutoCADataretailstoreorfrom Autodeskitself.Youhadtocontactanauthorizeddealer(orreseller)andthesalewas thenusuallyarrangedbyphone,paidforwithacreditcard,andAutoCADwasshipped viaregisteredmail.Youcanstilldothis,andsomecustomerscontinueto;however,since Release2000,Autodesk’swebsiteisconiguredfordirectpurchase.LookunderProducts, thenAutoCAD,inthemainsectionofthesite.AutoCADisstillnotavailableatretailoutlets, althoughAutoCADLTalwayshasbeen,andcontinuestobe,soldinsomeretailcomputer stores. HowmuchAutoCADcostscanbeamoreconvolutedquestion.Ifpurchasingfromadealer, calledanauthorized reseller,pricesmayvarybutaregenerallythelower“streetprices.”If purchasingfromtheAutodesksite,however,thepricesareixed.Currently,AutoCAD2012, thelatestrelease,isshippingfor$3995.Adownloadis$3975(youdonothavetopayfor shippingandthecardboardbox).Anupgradefrom2011,2010,and2009is$1995and higherfromolderversions(AutoCAD2008andearlier).Thisisanincentive,andnota well-likedone,toforcecustomerstoupgradenowforfearofpayingmorelateron.AutoCAD LT,asmentioned,isnow$1200retail.Ingeneral,usethesepricesonlyasguidelines;they maybelowerwithdealers,andofcoursethisisallsubjecttochange.AutoCADLTcanbe foundformuchlessatvariousonlineretailerssuchasAmazon.com. TherearealsovariationsincostifyouarebuyingonlyAutoCADversusbuyingAutoCADwith verticaladd-ons.Thecostalsovariesdependingonhowmanycopiesyouarebuying(forlarge volumepurchases).Withadealer,thepurchasemaycomebundledwithatelephoneoran on-sitesupportcontractforanyanticipatedproblemsortrainingneeds.Sometimes,theseare soldseparately.Autodeskingeneral,likeothersoftwareirms,hasmovedtowardasubscription modelwhereyoupayayearlyfeetoownAutoCADbutupgradesarefree.Thesubscription priceforAutoCAD2012is$4445,shippedordownloaded.Thismakesmoresensetolarger irmsthatanticipateupgradingoften.IfyouaretaskedwithpurchasingAutoCADforyour company,exploreallyouroptionsandshoparound.Youalsoneednotupgradeasoftenas Autodesksuggests.
APPENDIX A
ARE THERE SIGNIFICANT DIFFERENCES BETWEEN AUTOCAD RELEASES? Thisisacommonquestionatthestartoftrainingsessions.Manyschoolsareauthorized trainingcentersand,assuch,havethelatestversionofAutoCADinstalled.Thatmayormay notbethecasewiththestudentsandtheirrespectivecompanies.Noissueseemstocause asmuchconfusionandanxietyasthisone.Toputyourfearstorest,ifyouarelearning AutoCAD2012(thisbook)andhave2011,2010,2009,2008,orearlierversionsathomeor atwork,donotworry.Thedifferences,whilereal,areforthemostpartrelativelyminorand cosmetic(suchastheintroductionoftheRibbonin2009).WhileAutoCADhascertainly beenmodernized,ithasnotfundamentallychangedsinceitmovedtoWindowsandaway fromDOSover17yearsagoandinallystabilizedwithR14in1997.Ifyouweretoopenup thatrelease,youwouldfeelrightathomewith90%ofthefeatures.PuristsandAutoCAD fanaticsmayscoff,butalthoughtherehavebeenmanygreatenhancements,thefactremains thatthevastmajorityofwhatistrulyimportanthasalreadybeenaddedtoAutoCADand newfeaturesareincrementalimprovements.Mostofwhatyoulearninoneversionis applicabletoseveralversionsbackwardandforward,especiallyatabeginner’slevel.
IS THERE AN AUTOCAD FOR THE MAC? Theshortansweris“Yes.”Afteranearly20yearabsence,AutodeskannouncedinAugust 2010thattheMacplatformisonceagainsupported,andAutoCADfortheMacwasshipped inNovemberofthatyear.WhywasAutoCADofferedfortheMacupuntil1992,then removedfromthemarket,onlytobereintroducednow?Thereasonsareallpurelyinancial ones.Inthelate1980sandearly1990s,forthoseoldenoughtoremember,thePCwasnot yetthedominantforceitistoday.Macandothermanufacturerswereallstrongcompetitors andthereweremanychoicesonthemarket.Autodeskdecidedtogowiththeleading two—PCandMac—andinvestedinboth.AsthePCbecamethedefactoworldcomputer standardandApplewentintoadecline,resourceshadtobefocusedonthePC,asittakes alotofefforttoreprogramandsupportamajorpieceofsoftwareforanotherconiguration. WeallofcourseknowwhathappenedtoAppleInc.UnderleadershipformSteveJobs,it roaredbackstrongwithalineofhigh-demandconsumerproducts,suchastheiPodand iPhone.Itscomputersalsoregainedsomeofitsformermarketsharewithsuperbdesktop andlaptopofferings. Autodesktooknoticeofthesedevelopments!Suchisthenatureofthesoftwarebusiness: Yourfortunesarecloselytiedinwiththeupsanddownsofhardware,operatingsystems, andchipmakers.TheMaconceagainbegantolooklikeanattractiveplatformandAutodesk investedinreprogrammingAutoCADtosupportit.Whenexactlythiseffortstartedisnot knownoutsideofthecompany,butitwaslikelyauthorizedafewyearsago,asittakesa lotofleadtimetoreworkcodeofsuchcomplexity.ThismoveshouldnetAutodeskquite afewnewsalesofAutoCADandspellstroubleforotherMac-basedCADsoftwarelike VectorWorks,whichbecamepopularpreciselybecauseAutoCADwasnotavailableforthe MacandcateredtothosedesignerswhorefusedtoswitchtoaPC.FigureA.1isascreenshot ofthenewsoftwarefromAutodesk’spromotionalliterature. ItofcourseremainstobeseenhowsuccessfulAutoCADfortheMacwillbeorevenhow goodthesoftwareis.IthasbeenrewrittenfromthegroundupasanativeMacapplication, notsimplyaportfromWindows.Uponirstlook,thereleaseseemstobeabitofa“work inprogress,”asevidencedbythefactthatsomestandardAutoCADfeaturesarenotyet supported.ThefulllistisavailableontheAutodeskwebsite,butitincludesthefollowing. IfyoucompletedLevels1,2,and3ofthistextbook,youshouldrecognizeallthesetools.
681
APPENDIX A
FIGURE A.1 AutoCAD for the Mac screen shot.
PartiallistofAutoCADfortheMacmissingfeatures(asofJanuary2011): 682
l l l l l l l l l l l l l l l l l l l l l l l
3DWalkandFly ActionRecorder StandardsChecker “Classic”dialogsforxref,andlayers DataExtractionWizard—EATTEXT DesignCenter Dynamicblockauthoring eTransmit ExpressTools Filters Hyperlinks In-placeeditingofblocksorxrefs Layerilters LayerStateManager LayerWalk NavigationbarandSteeringWheel OLEobjects Plotstyleconiguration Plottingtoile Purgedialogbox SheetSetManager Tablestylesetup Toolpalettes
Someofthesearereasonablyimportant,somearemoreobscure,anditislikelymanyof theseissueswillberesolvedinthecomingreleases.Otherthanthat,AutoCADfortheMac isnotentirelydifferentfromthePCversion;afterall,itstillhastobehavelikeAutoCAD. AlthoughtheRibbonisremoved,thecascadingmenusandtoolbarsarestillpresent,andthe
APPENDIX A
softwarecanacceptilesfromitsPC-basedcousins.Muchmorewillbewrittenaboutthis versioninthenexteditionofthistextbookasthenewsoftwarematures.
A BRIEF HISTORY OF AUTODESK AND AUTOCAD ThefatherofAutodeskandAutoCADisJohnWalker.Aprogrammerbytraining,heformed MarinchipSystemsin1977and,by1982,seeinganopportunitywiththeemergenceof thepersonalcomputer,decidedtocreateanew“softwareonly”companywithbusiness partnerDanDrake.Theplanwastomarketavarietyofsoftware,includingasimpledrafting applicationtheyacquiredearlier.Basedoncodewrittenin1981byMikeRiddleandcalled MicroCAD(lateronchangedbrielytoInteract),thesoftwarewouldsellforunder$1000and wouldrunonanIBMPC.Itwasjustwhattheywerelookingfortoaddtotheirotherproducts. Curiously,thestillunnamedcompanydidnotseeanythingspecialinthefutureofonly MicroCADandfocuseditsenergyondevelopingandimprovingotherproductsaswell.Among themwereOptical(aspreadsheet),Window(ascreeneditor),andanotherapplicationcalled AutodeskorAutomatedDesktop,whichwasanoficeautomationandilingsystemmeantto competewithapopular,atthetime,applicationcalledVisidex.ThisAutomatedDesktopwas seenasthemostpromisingproduct;andwhenitcametimetoinallyincorporateandselecta name,Walkerandcompany(afterrejectingsuchgemsasCodersoftheLostSpark)settledon AutodeskInc.astheoficialandlegalname. WrittenoriginallyinSPL,MicroCADwasportedbyWalkerontoanIBMmachineandrecoded inC.Asitwaspracticallyanewproductnow,itwasrenamedAutoCAD,whichstoodfor AutomatedComputerAidedDesign.AutoCAD-80madeitsformaldebutinNovember1982 attheLasVegasCOMDEXshow.Asitwasnewandhadlittlecompetitionatthetime,thenew applicationdrewmuchattention.Thedevelopmentteamknewapotentialhitwasontheir handsandamajorcornerwasturnedinAutoCAD’sfuture.AutoCADbegantobeshipped tocustomers,slowlyatirst,thenincreasingdramatically.Awishlistoffeaturesgiventothe developmentteambycustomerswasactivelyincorporatedintoeachsucceedingversion—they werenotyetcalledreleases. InJune1985,Autodeskwentpublicandwasvaluedat$70million,in1989itwasat$500 million,andin1991at$1.4billion.Witheachrelease,milestones,largeandsmall,suchas introductionof3DinVersion2.1andportingtoWindowswithReleases12and13,were achieved.InastorynotunlikeMicrosoft,Autodesk,throughpersistence,innovation,irm beliefinthefutureofpersonalcomputers,andalittlebitofluck,cametodominatetheCAD industry. FigureA.2showsperhapsthemostfamousearlyAutoCADdrawingofall,anozzledrawn in1984bycustomerDonStrimbuonaveryearlyAutoCADversion.Thiswasthemost
FIGURE A.2 A nozzle drawn by Don Strimbu in 1984 on a very early version of AutoCAD.
683
APPENDIX A
complexdrawingonAutoCADuptothatpoint,usedbythedevelopmentteamasatiming testformachines,andfeaturedonthecoversofmanypublications,includingScientific AmericaninSeptember1984.
AUTOCAD RELEASES AutodeskirstreleasedAutoCADinDecember1982,withVersion1.0(Release1)onDOS, andcontinuedatrendofreleasinganewversionsporadicallyeveryonetothreeyearsuntil R2004,whentheyswitchedtoamoreregularonceayearschedule.Amajorchangeoccurred withR12andR13,whenAutoCADwasportedtoWindowsandsupportforUNIX,DOS, andMacintoshwasdropped.R12andR13wereactuallytransitionalversions(R13isbetter leftforgotten),withbothDOSandWindowsplatformssupported.ItwasnotuntilR14that AutoCADregaineditsfootingassalesdramaticallyincreased.FigureA.3isAutoCAD’srelease timeline.Areleasehistoryfollows:
684
Version1.0(Release1),December1982 Version1.2(Release2),April1983 Version1.3(Release3),August1983 Version1.4(Release4),October1983 Version2.0(Release5),October1984 Version2.1(Release6),May1985 Version2.5(Release7),June1986 Version2.6(Release8),April1987 Release9,September1987 Release10,October1988 Release11,October1990 Release12,June1992(lastreleaseforAppleMacintoshuntil2011) Release13,November1994(lastreleaseforUNIX,MS-DOS,andWindows3.11) Release14,February1997 AutoCAD2000(R15.0),March1999 AutoCAD2000i(R15.1),July2000 AutoCAD2002(R15.6),June2001 AutoCAD2004(R16.0),March2003 AutoCAD2005(R16.1),March2004 AutoCAD2006(R16.2),March2005
FIGURE A.3 AutoCAD timeline, 1982 through 2012.
APPENDIX A
AutoCAD2007(R17.0),March2006 AutoCAD2008(R17.1),March2007 AutoCAD2009(R17.2),March2008 AutoCAD2010(R17.3),March2009 AutoCAD2011(R17.4),March2010 AutoCAD2012(R17.5),March2011 AutoCAD2013(R17.6),March2012(anticipated)
MAJOR AUTODESK PRODUCTS Autodeskmarketsalmost100softwareproducts,somemajorandsomeobscure.Onlyone applicationsoldtodayisthecompany’soriginalproduct,whichisAutoCAD.Theresthave beendevelopedin-housefromscratchovertheyears,purchasedoutrightfromtheoriginal developers,orasisoftenthecase,acquiredintakeoversandmergers.Manyproductsare designedto“hitcharide”onthebackofAutoCADandextenditspowertoserveaniche marketwithadditionalfunctionalityandmenusnotfoundinthebaseproduct.Those areoftenhomegrownapplicationsandarereferredtoasverticals.Inothercases,Autodesk marketsradicallydifferentsoftware,suchasoneusedforhigh-endanimationsandcartoons. Thosehavebeenacquiredtoextendthecompany’sreachintonewmarkets. ThefollowinglistsAutodesk’slagshipproductsthatyoushouldknowabout,asyoumay comeacrossthemintheindustry;alsolistedarethepopularadd-onproductspurchased withAutoCAD. Flagshipproducts: m m m m
m m m
AutoCAD.Autodesk’sbest-sellingandbiggestproductforcomputer-aideddesign. AutoCAD LT.AlimitedfunctionalityversionofAutoCADforanentry-levelmarket. 3ds Max.Apowerfulhigh-endrenderingandanimationsoftwareproduct. Autodesk AliasStudio.Ahigh-endsurfacemodeling,sketching,andillustration product. Inventor.Amid-rangeparametricsolidmodelinganddesignpackageforengineering. Revit.Ahigh-endparametricsoftwareforarchitecturalandbuildingdesign. Maya.Averyhigh-endanimation,effects,andrenderingsoftware.
Add-onstoAutoCAD(verticals): m m m m
m m
AutoCAD Architecture.Additionalfunctionalityforarchitecturedesignapplications. AutoCAD Civil.Additionalfunctionalityforcivilengineeringapplications. AutoCAD Electrical.Additionalfunctionalityforelectricalengineeringapplications. AutoCAD Land Desktop.Additionalfunctionalityforland,civil,andenvironmental design. AutoCAD Mechanical.Additionalfunctionalityformechanicalengineering. AutoCAD P&ID.Additionalfunctionalityforcreatingpipingandinstrumentation diagrams.
ThesearejustsomeofthemajorsoftwareapplicationsinAutodesk’sinventory.Asigniicant numberofproducts,includingallthelessknownorobscureones,havebeenomitted.Afulland comprehensivelistofallofthemcanbefoundontheAutodeskwebsite.Youareencouraged tolookthemovertostayaheadofthecurveandknowwhatotherdesignprofessionalsmaybe using.
AUTOCAD RELATED WEBSITES NextisalistingofimportantandvaluablewebsitesforAutoCADandgeneralCADrelated information.Onlinecontenthasgrownfromoccasionallyusefultoindispensable,and
685
APPENDIX A
experiencedAutoCADusersmusthaveatleastthefollowingattheiringertipswhentheneed arises.Notethatlinkidelityisnotguaranteed,andexceptforthefewmajoronesatthestart ofthelist,thesitesmayanddochange. l
l
l
l
686 l
l
l
l
l
Autodesk Inc.(www.autodesk.com).Mentionedpreviously,itishomebaseforthemakers ofAutoCAD.HereyouindlocationsofAutoCADdealersandtrainingcentersaswellas endlessinformationonAutoCADandothersoftwareproductsandservices.Wellworth visitingoccasionally. Autodesk User Group International(www.augi.com).TheHolyGrailforallthings relatedtoAutoCAD.ThissiteistheoficiallysanctionedusercommunityforAutodesk anditsproducts.AUGIputsoutnumerouspublicationsandrunsconferencesand trainingseminarsallovertheUnitedStatesandworldwide.Itswebsiteispackedfullof tips,tricks,articles,andforumswhereyoucanaskthecommunityyourhardestAutoCAD questions.Claimingover100,000members,AUGIhasthedistinctionofbeingtheonly organizationthatcanoficiallysubmit“wishlists”directlytoAutodesk,meaningthatif youareamemberandhaveanideaforanewfeatureorhowtoimproveAutoCAD,the companyjustmaylistentoyou. Cadalyst magazine(www.cadalyst.com).AgreatmagazinededicatedtoallthingsCAD, includingsolidmodelingandrendering,butwithalargeamountofcoveragededicated speciicallytoAutoCAD.AmustreadforAutoCADmanagers,themagazinefeatures informativearticlesonallaspectsofthejob,includingprogramming,industrytrends,and advancedtopics.Subscriptionwasfreeupuntil2010.Youcanstillaccessfreearchivedissues fromasfarbackas2004,butthemagazinenowcharges$9.95forthenewissues. CAD Block Exchange Network(http://cben.net).Manysitesposthelpfularticles;thissite postsactualAutoCADiles.Blocks,blocks,andmoreblocks.Ifyouneeditandreallydonot wanttodrawit,checkhereirst.Greatresourceforpeople,trees,andvehicleblocksforcivil andlandscapeengineering,inplan,elevation,and3D,thoughjustabouteverythingelse canbefoundthere,too. Lynn Allen’s blog(http://lynn.blogs.com).YoumayhaveneverheardofLynnAllenif youarejuststartingoutwithAutoCAD,buthangaroundlongenoughandyouprobably will.SheiswhattheAutoCADcommunityreferstoasanAutodeskTechnicalEvangelist, anexpertonallthingsAutoCAD.Althoughtherearecertainlymanyexpertsaround,what setsLynnapartisthatsheactuallyworksforAutodeskandgetstolearnAutoCADdirectly fromthedevelopers.Herblogistheplacetogotowhenanewreleaseisabouttohit themarket.Shewilllikelyhavealreadyanalyzeditandwrittenabookbythen.Lynnis alsoaproliicspeaker,appearingatjustabouteveryAutoCADconference,andhasbeen acolumnistforCadalystformanyyearsaswell.Shewritesandspeakswellandemploys humorinherapproachtothornytechnicalissues. AutoCAD Lessons on the Web(www.cadtutor.net).Awellorganizedandextensivesite forlearningAutoCADthatincludessometutorialson3dsMax,VIZ,Photoshop,andweb design. The Business of CAD, Part I(www.upfrontezine.com).Thewebsitedescribesitselfthus: “Launchedin1985,theupFront.eZinee-newsletterisyourprimeindependentsourceof weeklybusinessnewsandopinionforthecomputer-aideddesign(CAD)industry.”The siteisano-nonsense,cutthroughthehypesourceforCAD(mostlyAutoCAD,butothers, too)information,latestreleases,andanalysisofAutodeskbusinessdecisions;agreat resourceforaCADmanager. The Business of CAD, Part II(http://worldcadaccess.typepad.com).Aspin-offblogfrom theprecedingsite,italsoaddressesnewsinthemediaaboutallthingsCADandhowthey willaffectyou;recommendedfortheseriousCADmanageroruser. John Walker’s site(www.fourmilab.ch).Thissite,whilenotessentialAutoCADreading, isstillinteresting,fun,andoftenquiteinformative.Asco-creatorofAutoCAD,former programmerJohnWalkerhasputtogetherthedeinitiveearlyhistoryofhowitallbegan. Fascinatingreadingfromafascinatingmanwhoisnow“retired”inSwitzerlandand
APPENDIX A
pursuingartiicialintelligenceresearch.Hissiteischockfullofreadingsonnumerous subjects,asyouwouldexpectfromarestlessandinquisitivemind;trulysomeonewho changedcomputinghistoryinasigniicantway. Aswithmanytopicsinthisbriefappendix,whatislistedhereonlyscratchesthesurface. RememberthatyouarenottheonlyoneoutthereusingAutoCAD,sofeelfreetoreachout andseewhatelseisoutthereifyouhavequestionsorwouldjustliketolearnmore.Ata minimum,itisrecommendedtojoinAUGIandgetasubscriptiontoCadalyst.
687
This page intentionally left blank
APPENDIX B
Other CAD Software, Design and Analysis Tools, and Concepts WhileitistrueAutoCADisthemarketleaderfordraftingsoftware,itcertainlydoesnot operateinavacuumandisnottheonlygameintown.Thelistthatfollowssummarizes othermajorplayersinthedraftingield.Thereasonyoushouldknowaboutthemisbecause youmayrunintotheminuseandmayhavetoexchangeilesifcollaborating.Saying“I’ve neverheardofthat”isusuallynotagoodwaytostartatechnicalconversationinyourarea ofexpertise,sotakenoteofthefollowingproducts. 689
MICROSTATION Amajor(andreallytheonlyserious)competitortoAutoCAD,MicroStationisproducedand marketedbyBentleySystems(www.Bentley.com).Forhistoricalreasons,thesoftwareiswidely usedingovernmentagenciesandthecivilengineeringcommunity.Itcomesinfulland PowerDraftvariations(akintoAutoCADandLT).ThecurrentversionisMicroStationV8i. Itsileextensionisdgn.AutoCADdoesnotopentheseilesdirectly,althoughthatmaysoon change.MicroStation,ontheotherhand,doesopenAutoCAD’sdwgiles.Ofcourse,many techniquesandeventhirdpartysoftwareareavailabletoquicklyandeasilyconvertoneile formattoanother. MicroStationismoreicondrivenbutotherwisesimilartoAutoCADinmanyways.Its3D capabilitiesareconsideredexcellent,butitsinterfacecanbeabitcumbersometousefora novice.Itsmaindisadvantageisthatitisnotanindustrystandard;itisotherwiseexcellent software,anditsabilitytohandlexrefs(multipleexternalileattachments)isunparalleled. Itsuserssometimesareafanaticalbunch,promotingitsvirtuesagainstAutoCADatevery opportunity.Anobjectiveviewofbothapplicationsyieldsanopinionthatbothhavetheir prosandcons,andthosewhodisparageoneovertheotherusuallydonotknowwhatthey aretalkingabout.
ARCHICAD ArchiCADisapopularapplicationamongarchitects,gearedtowardtheMacintoshbutalso availableforWindows.DevelopedbyaHungarianirm,Graphisoft(www.graphisoft.com), ataroundthesametimeasAutoCAD,ArchiCADtookadifferentapproach,allowingfora parametricrelationshipbetweenobjects,aswellaseasiertransitionsto3D,asallobjectsare createdinherentlywithdepth.Thesoftwarehasaloyalinstalleduserbaseofabout100,000 Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
APPENDIX B
architectsworldwideandcaninteroperatefullywithAutoCADiles.Thecurrentreleaseis ArchiCAD14.
TURBOCAD TurboCAD(www.turbocad.com)isamid-range2D/3Ddraftingsoftware,irstdevelopedand marketedinSouthAfricain1985andbroughttotheUnitedStatesthefollowingyear.It wasmarketedasanentrylevelbasicdraftingtool(itoncesoldforaslowas$49),butwith constantupgradinganddevelopment,TurboCADhasgrownovertheyearstoa$1200– $1500softwareproductforthearchitecturalandmechanicalengineeringcommunity. ItoperatesonbothWindowsandMacintosh.ThecurrentreleaseisTurboCAD16.
OTHER DESIGN SOFTWARE SomeothernotableCADapplicationsincludeRealCAD,VectorWorks(formerlyMiniCAD), IntelliCAD,Form Z,andRhino,althoughthelasttwoareoftenusedonlyformodelingand visualization.Thislistisnotexhaustivebyanymeans,ashundredsofotherCADprograms areavailable. Manyofmystudentsareinterestedinotheraspectsofdesign,andquestionsoftencomeup astohowAutoCADitsintothe“bigpicture”ofamuchlargerengineeringordesignworld. Toaddresssomeofthesequestions,thefollowinginformation,culledfromachapterwritten in2007aspartofanundergraduatemachinedesigntheoryworkbook,isincluded.AutoCAD students,especiallyengineers,mayindthisinformative.Thesubjectmatterisextensiveand thisbriefoverviewonlyscratchesthesurface.Ideally,ifthereaderwasnotawareofthese conceptsandtheengineeringdesignandanalysissoftwaredescribed,thisservesasagood introductionandajumpingoffpointtofurtherinquiry. 690 l
l
l
l
l
CAD (computer-aided design).Thisisabroadgenerictermforusingacomputerto designsomething.Itcanalsobeusedinreferencetoafamilyofsoftwarethatallows youtodesign,engineer,andtestaproductonthecomputerpriortomanufacturingit. CADsoftwarecanbeusedforprimarily2Ddrafting(suchaswithAutoCAD)orfull 3Dparametricsolidmodeling.Thelatteristhesoftwarethataerospace,mechanical, automotive,andnavalengineerscommonlyuse.ExamplesincludeCATIA,NX, Pro-Engineer,IronCAD,andSolidWorks,amongothers.Includedunderthebroad categoryofCADistestingandanalysissoftware. FEA (finite element analysis).Thisisusedforstructuralandstressanalysis,testing thermalproperties,andmuchmoreasrelatedtoframes,beams,columns,andother structuralcomponents.ExamplesofFEAsoftwareincludeNASTRAN,ALGOR,andANSYS. CFD (computational fluid dynamics).Thisissoftwareusedtomodelluidlowaround andthroughobjectstopredictaerodynamicandhydrodynamicperformance.Examples ofCFDsoftwareincludeFluentandFlow3-D. CAM (computer-aided manufacturing).Thebasicideaisthis:OK,wedesignedand optimizedourproduct,nowwhat?Howdowegetitfromthecomputertothemachine shoptobuildaprototype?ThesolutionistouseaCAMsoftwarepackagethattakesyour design(orpartsthatmakeupyourdesign)andconvertsallgeometrytoinformation useablebythemanufacturingmachines,sothedrills,lathes,androutingtoolscangetto workandcreatethepartoutofachunkofmetal.ExamplesofdedicatedCAMsoftware includeMastercamandFastCAM. CAE (computer-aided engineering).Strictlydeined,CAEisthe“useofinformation technologyforsupportingengineersintaskssuchasanalysis,simulation,design,manufacture, planning,diagnosis,andrepair.”Weusethistermtodeineanabilitytodothisallfromone platform,asexplainednext.
AsyoureadtheCADandCAMdescriptionsyoumaybewonderingwhyCADcompanies havenotprovidedacompletesolutiontodesign,test,andmanufactureaproductusing
APPENDIX B
onesoftwarepackage.Theyhave,tovaryingdegreesofsuccess.Foranumberofyears,an engineeringteamdesigninganaircraft,forexample,hadtotypicallycreatethedesign(and subsystems)ina3DprogramlikeCATIA,thenimporttheairframeforFEAtestinginto NASTRAN,followedbyairlowtestinginCFDsoftware(andawindtunnel),andinally sendeachcomponentthroughCAMsoftwarelikeMastercamtomanufactureit(agreatly simpliiedversionofevents,ofcourse). Obviouslydatacouldbelostorcorruptedintheexport/importprocess,andalotof effortwasexpendedinmakingsurethedesigntransitionedsmoothlyfromonesoftware applicationtoanother.WhiletheinalproductwastechnicallyaresultofCAE,software companieshadsomethingbetterinmind:“onestopshopping.”Asaresult,CAEtoday meansonesourceformostdesignandmanufacturingneeds.CATIAforexamplehas “workbenches”forFEAanalysisandCAM.CodegeneratedbyCATIAisimportedintothe CNCmachinesthat(typicallyaftersomecorrectionsandediting)producevirtuallyanything youcandesign,withsomelimitations,ofcourse. Asyoumayimagine,noteverythingisrosywiththispicture.Asthespecializedcompanies gotbetterandbetterattheirrespectivespecialties(CAM,FEA,orCFD),itbecameharder andharderfortheCADcompaniestocatchupandofferequallygoodsolutionsembedded intheirrespectiveproducts.MastercamisstilltheundisputedleaderinCAMworldwide, andNASTRANisstillthekingofFEA.CATIA’sversionofthesehasgottenbetterbutisstilla notchbehind.ThesituationisthesamewithPro/E,NX,andotherCADsoftware. Thesehigh-end3Dpackagesarealsoreferredtoasproduct lifecycle management(PLM) software,atermyouwillhearalotofintheengineeringcommunity.Asdescribedalready, thesesoftwaretoolsaimtofollowaproductfromdesignandconceptionallthewaythrough testingandmanufacturinginoneintegratedpackage. l
CNC/G-Code (computer numerical code).Thisisthelanguage(referredtoasG-Code), createdbytheCAMsoftwareandreadbytheCNCmachines.G-Codeexistedfordecades. Itwasoriginallywrittenbyskilledmachinistsbasedonthegeometryofthecomponent tobemanufactured(andsoundmanufacturingpractices).Thiscodecanstillbewritten byhand.Itisnothardtounderstand.MostlinesstartwithG,henceitsname;andthey alldescribesomefunctionthattheCNCmachinedoesasrelatedtotheprocess.After somepractice,thelinesstarttomakesenseandyoucanroughlyvisualizewhatisbeing manufactured,justbyreadingthem.
HerearesomemorespeciicdetailsontheCADsoftwarementionedintheprecedingsection. Youmayrunintomanyofthesethroughoutyourengineeringcareer.Itiswellworthbeing familiarwiththeseproducts.Theinformationisuptodateasofpresstime.
CATIA ComputerAidedThree-dimensionalInteractiveApplication(CATIA)istheworld’sleading CAD/CAM/CAEsoftware.OriginallydevelopedinFrancebyDassault(www.3ds.com)forits Mirageighterjetproject(althoughoriginallybasedonLockheed’sCADAMsoftware),it isnowawell-knownstapleatBoeingandmanyautomotive,aerospace,andnavaldesign companies.IthasevenbeenfamouslyadoptedbyarchitectFrankGearyforcertainprojects. CATIAhasgrownintoafullPLMsolutionandisconsideredtheindustrystandard,although complexandwithanotalwaysuser-friendlyreputation.ThelatestversionisCATIAV6R2011.
NX AnothermajorCAD/CAM/CAEPLMsoftwaresolutionisfromacompanyformerlycalled UGS(www.ugs.com).Thispackageisablendofthecompany’sUnigraphicssoftwareand SDRC’spopularI-DEASsoftware,whichUGSpurchasedandtookover.SiemensAGnow
691
APPENDIX B
ownsUGSandtheNXsoftware.ItisusedbyGM,RollsRoyce,Pratt&Whitney,andmany others.ThecurrentversionisNX7.5.
PRO/ENGINEER Thethirdmajorhigh-endCAD/CAM/CAEPLMsoftwarepackage,Pro/E(www.ptc.com)is historicallysigniicant.ItcausedamajorchangeintheCADindustrywhenirstreleased (in1987)byintroducingtheconceptofparametricmodeling.Ratherthanmodelsbeing constructedlikeamoundofclaywithpiecesaddedorremovedtomakechanges,theuser constructsthemodelasalistoffeatures,whicharestoredbytheprogramandcanbeused tochangethemodelbymodifying,reordering,orremovingthem.CATIAandNXalsonow workthisway.ThecurrentversionisnolongercalledPro/Engineer;itwaschangedtoCreo Elements/Pro5.0inOctober2010.
SOLIDWORKS SolidWorks(www.solidworks.com)isamid-rangeCAD/CAM/CAEsoftwareproduct,irst introducedin1995byaMassachusettscompanyofthesamename.Dassault,themakers ofCATIA,acquiredthecompanyin1997.TheSolidWorksinstalledbaseisestimatedat 1.3millionusers,withFY2009revenuesofover$350million,makingtheproductamajor playerinthe3DCADield.SolidWorksismarketedasalower-costcompetitortomajor CADpackages,butthesoftwarestillhasextensivecapabilitiesandcaughtonquicklyin smallerdesigncompanies.ThecurrentversionisSolidWorks2011SP1.
INVENTOR 692
Inventor(www.autodesk.com)isanothermid-rangeproduct,fromthemakersofAutoCAD,for solidmodelinganddesign.Consideredalow-tomid-rangeproductwhenirstintroduced, InventormaturedtobecomeamajorcompetitortoSolidWorksandevenPro/Engineer.The currentversionisInventor2011.
IRONCAD IronCAD(www.ironcad.com)isanothervendorinthemid-rangemarket.Thesoftwaregained groundinrecentyearsduetoauser-friendlyreputationandamoreintuitiveapproachto3D design.ThecurrentversionisIronCADXG2011.
SOLID EDGE SolidEdge(www.solidedge.com)isalsoamid-rangeproductfromUGS(nowownedby SiemensAG),thesamecompanythatmakesthehigh-endNXpackage.Itiscomparable toSolidWorksincostandfunctionality.ThecurrentreleaseisSolidEdgeST3. ListednextaresomeofthemajorsoftwareproductsinFEAandCFD,asmentionedearlier.
NASTRAN OriginallydevelopedforNASAasopensourcecodefortheaerospacecommunityto performstructuralanalysis,NASAstructuralanalysis,orNASTRAN,wasacquiredbyseveral corporationsandmarketedinnumerousversions.NEiNastran(www.NEiNastran.com)isjust one(commonlyused)lavorofit.NASTRANinitspureformisasolverforiniteelement analysisandcannotcreateitsownmodelsormeshes.Developers,however,haveaddedpre- andpostprocessorstoallowforthis.ThecurrentreleaseforNEiNastranisV9,thoughother companieshavedifferentdesignationsfortheirproducts.
APPENDIX B
ANSYS ANSYS(www.ansys.com)isamajorFEAproductforstructural,thermal,CFD,acoustic,and electromagneticsimulations.
ALGOR ALGOR(www.algor.com)isanothermajorFEAproductforstructural,thermal,CFD,acoustic, andelectromagneticsimulations.
FLUENT Fluent(www.Fluent.com)istheindustrystandardforCFDsoftware,holdingabout40%of themarket.Itimportsgeometry,createsmeshes(usingGAMBITsoftware)andboundary conditions,andsolvesforavarietyofluidlows,usingtheNavier-Stokesequationsas theoreticalunderpinnings.ThecompanywasrecentlyacquiredbyANSYS.Thecurrent releaseisFluent6.3.
693
This page intentionally left blank
APPENDIX C
File Extensions Fileextensionsarethebaneofthecomputeruser’sexistence.Theynumberinthemany hundreds(AutoCADaloneclaimsnearly200)andevenifyouparethelistdowntoauseful few,itisstillquiteacollection.Here,wefocusonthoseextensionsthatareimportanttoan AutoCADuser,aschancesareyouwillencountermost,ifnotall,ofthemwhilelearningthe softwaretoptobottom.Theyarelistedalphabetically(withexplanationsanddescriptions) butgroupedincategoriestobringsomeordertothechaosandsetprioritiesforwhatyou reallyneedtoknowandwhatyoucanjustglanceover.FollowingAutoCAD’slistisafurther listingofextensionsfromotherpopular,often-usedsoftware,whichyoumayindusefulif youarenotalreadyfamiliarwithmostofthem.
AUTOCAD PRIMARY EXTENSIONS l
l
l
l
l
.bak (backup file). A bakisanAutoCADbackupilecreatedandupdatedeverytimeyou saveadrawing,providedthatsettingisturnedonintheOptionsdialogbox.Thebakile hasthesamenameasthemaindwgile,generallysitsrightnexttoit,andcanbeeasily renamedtoavaliddwgiftheoriginaldwgislost. .dwf (design web format file).Thedwfisaformatforviewingdrawingsonlineorwitha dwfviewer.TheideahereistoshareileswithotherswhodonothaveAutoCADinaway thatenablesthemtolookbutnotmodify.IfthissoundslikeAdobepdf,youarecorrect; dwfisacompetingformat. .dwg (drawing file format).ThedwgisAutoCAD’sfamousileextensionforalldrawing
iles.ThisformatcanbereadbymanyofAutodesk’sothersoftwareproductsaswellasby somecompetitors.Theformatitselfchangessomewhatfromreleasetorelease,butthese areinternalprogrammingchangesandinvisibletomostusers. .dwt (drawing template).ThedwtisAutoCAD’stemplateformatandisessentiallyadwg ile.Theideaistonotrepeatsetupstepsfromprojecttoprojectbutusethistemplate.Itis equivalenttojustsavingacompletedprojectasanewjobanderasingthecontents. .dxf (drawing exchange format).Thedxfisauniversalileformatdevelopedtoallow forsmoothdataexchangebetweencompetingCADpackages.IfanAutoCADdrawingis savedtoadxfile,itcanbereadbymostotherdesignsoftware(intheoryanyway).This ofcourseisnotalwaysthecase,andsomeCADpackagesopendwgilesanywaywithout thisstep,butthedxfremainsanimportanttoolforcollaboration.Thedxfissimilarin principleandintenttoIGESandSTEPforthosereaderswhomayhaveworkedwith solidmodelingsoftwareandunderstandwhatthoseacronymsmean.
AUTOCAD SECONDARY EXTENSIONS l
.ac$AtemporaryilegeneratedifAutoCADcrashes;itcanbedeletedifAutoCADisnot
running. Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
695
APPENDIX C
l
l
l l l l
l l
l l
.ctbThiscolortableileiscreatedwhenpensettingsandthicknessesareset(Chapter19
topic). .cuiThiscustomizableuserinterfaceileisforchangestomenusandtoolbars(Chapter 14topic). .errThiserrorileisgenerateduponanAutoCADcrash.Youcandeleteit. .lasThislayerstatesilecanbeimportedandexported(Chapter12topic). .linThislinetypedeinitionilecanbemodiiedandexpanded(seeAppendixD). .lspThisLISPileisarelativelysimplelanguageusedtomodify,customize,and automateAutoCADtoeffectivelyexpanditsabilities. .patThishatchdeinitionilecanbemodiiedandexpanded(seeAppendixD). .pgpThisprogramparametersilecontainsthecustomizablecommandshortcuts (Chapter14topic). .scrThisscriptileisusedforautomation(mentionedinChapter12). .sv$ThisisanothertemporaryilefortheAutoSavefeature.ItappearsifAutoSaveis onandremainsintheeventofacrash.Itcanbethenrenamedtodwgordeleted.
MISCELLANEOUS SOFTWARE EXTENSIONS Theseextensionsareforsoftwareandformatslikelytobeencountereddailyoratleast occasionallybyAutoCADusersandarealwaysgoodtoknow.Someextensionscanbefound inAutoCADasexport/importchoices. l l l
l
696
l l
l
l l l
l
.aiAdobeIllustratoriles. .bmpBitmap,atypeofimageileformatthat,likejpg,usespixels. .dgnTheMicroStationileextension.ThiscompetitortoAutoCADcanopennativedwg
iles.AppendixBdiscussesthissoftware. .docMSWordiles. .epsEncapsulatedPostScriptile. .jpgThejpeg(jointphotographicexpertsgroup)isacommonlyusedmethod(algorithm) ofcompressionforphotographicimages.Itisalsoaileformat(discussedinChapter16). .pdfThefamousAdobeAcrobatileextension.YoucanprintanyAutoCADdrawingtoa pdfassumingAcrobatisinstalled. .pptMSPowerPointileextension. .psdThefamousPhotoshopileextension. .vsdMSVisiodrawingileextension.Visioisasimpleandpopular“draganddrop style”CADpackageforelectricalengineeringschematicsandlowcharts,amongother applications.ItacceptsAutoCADiles. .xlsMSExcelileextension.
Thislistisbynomeanscomplete,butitcoversmanyoftheapplicationsdiscussedin Chapter16.
APPENDIX D
Custom Linetypes and Hatch Patterns Thisappendixoutlinesthebasicproceduresforcreatingcustomlinetypesandhatchpatterns ifyouneedsomethingthatisnotfoundinAutoCADitselforwithanythirdpartyvendor.All linetypesandhatchpatternswereoriginally“coded”byhandandthereisnothinginherently specialormagicalaboutmakingthem;theyjusttakesometimeandpatiencetocreate.Though itisadmittedlyrareforadesignertoneedsomethingthatisnotalreadyavailable,creating theseentitiesisagoodskilltoacquire.Wejustpresentthebasicshereandyoucancertainlydo additionalresearchandcomeupwithsomefancydesignsandpatterns.
LINETYPE DEFINITIONS (BASIC) AlllinetypesinAutoCAD(about38standardones,tobeprecise)resideintheacad.lin ortheacadiso.linile.ThesearelinetypedeinitionilesthatAutoCADaccesseswhen youtellittoloadlinetypesintoadrawing.InAutoCAD2012,theseilescanbefoundin theProgramFiles\AutoCAD2012\backupfolder.Anythingyoudototheseiles,including addingtothem,immediatelyshowsupthenexttimeyouuselinetypes.Ourgoalhereisto openuptheacad.linile,analyzehowlinetypesaredeined,thenmakeourown. Locateandopen(usuallywithNotepad)theacad.linileandtakealookatitclosely.Here isareproductionoftheirstsixlinetypedeinitions:Border(Standard,2,andX2)andCenter (Standard,2,andX2). *BORDER,Border __ __ . __ __ . __ __ . __ __ . __ __ . A,.5,2.25,.5,2.25,0,2.25 *BORDER2,Border (.5x) __.__.__.__.__.__.__.__.__.__.__. A,.25,2.125,.25,2.125,0,2.125 *BORDERX2,Border (2x) ____ ____ . ____ ____ . ___ A,1.0,2.5,1.0,2.5,0,2.5 *CENTER,Center ____ _ ____ _ ____ _ ____ _ ____ _ ____ A,1.25,2.25,.25,2.25 *CENTER2,Center (.5x) ___ _ ___ _ ___ _ ___ _ ___ _ ___ A,.75,2.125,.125,2.125 *CENTERX2,Center (2x) ________ __ ________ __ _____ A,2.5,2.5,.5,2.5
Letustakejustonelinetypeandlookatitcloser.Hereisthestandardsizecenterline: *CENTER,Center ____ _ ____ _ ____ _ ____ _ ____ _ ____ A,1.25,2.25,.25,2.25 Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
697
APPENDIX D
Thetwolinesthatyouseearetheheaderlineandthepatternline;bothareneededto properlydeinealinetype.Theheaderlineconsistsofanasterisk,followedbythenameof thelinetype(CENTER),thenacomma,andinallythedescriptionofthelinetype(Center). Inthiscase,theyarethesame. Thepatternlineiswherethelinetypeisactuallydescribed,andthecryptic-looking“numerical code”(A,1.25,2.25,.25,2.25)isthemethodusedtodescribeitandneedstobediscussed forittomakesense. TheAisthealignmentieldspeciicationandisoflittleconcern(AutoCADacceptsonlythis typesoyoualwaysseeA).Nextarethelinetypespeciicationnumbers,andtheyactually describethelinetypeusingdashes,dots,andspaces.Letusgooverthem,asreallythisisthe keyconcept. Thebasicelementsare Dash(pendown,positivelengthspeciied,suchas0.5). Dot(pendown,lengthof0). l Space(penup,negativelengthspeciied,suchas–0.25). l l
Now,youjusthavetomixandmatchandarrangetheseintheorderyouwantthemtobein todeinealinetypethatyouenvisioned. Whatwouldthislooklike? (A,.75,2.25,0, 2.25, .75)
698
Wellyouknowthatdashesarepositive,soeverywhereyousee.75,therewillbeadashof thatlength.Spacesarenegative,soeverywhereyousee2.25,therewillbeaspaceofthat length,andinallya0isadot.Thisistheresult: ___ . ___
Thesearetheessentialsofcreatingbasiclinetypes.AutoCAD,however,alsoallowsfortwo othertypestobecreated,andtheyarepartofthecomplexlinetypefamily:stringcomplex andshapecomplex.
LINETYPES (STRING COMPLEX AND SHAPE COMPLEX) Theproblemwiththepreviouslymentionedlinetypesisobvious;youhaveonlydashes,dots, andspaceswithwhichtowork.Whilethisisactuallyenoughformanyapplications,youmay occasionally(especiallyincivilengineeringandarchitecture)needtodrawboundaryorutility linesthatfeaturetext(Fenceline,Gasline,etc.)oryoumaywanttoputsmallsymbolsbetween thedashes.Itisherethatstringsandshapescomein. Stringcomplexlinetypesallowyoutoinserttextintotheline.Hereisagaslineexample: *GAS_LINE,Gas line ----GAS----GAS----GAS----GAS----GAS----GAS-A,.5,2.2,[“GAS”,STANDARD,S=.1,R=0.0,X=20.1,Y=2.05],2.25
Theheaderlineisasdiscussedbefore,andthepatternlinestillstartswithanA.Afterthe A,weseeadashoflength.5followedbyaspaceoflength.2;sofaritisfamiliar.Nextis informationinsideasetofbrackets,deinedasfollows: [“String”, Text Style, Text Height (S), Rotation (R), X-Offset (X), Y-Offset (Y)].
Finallythereisa.25spaceandthestringrepeats.Themeaningoftheinformationinsidethe bracketsisasfollows: l l
String.Thisistheactualtext,inquotationmarks(GAS,inourexample). Text Style.Thepredeinedtextstyle(STANDARD,inourexample).
APPENDIX D
l l l
l
Text Height.Theactualtextheight(.1,inourexample). Rotation.Therotationofthetextrelativetotheline(0.0,inourexample). X-Offset.Thedistancebetweentheendofthedashandthebeginningofthetextaswell astheendofthetextandthebeginningofthedash(aspaceof.1,inourexample). Y-Offset.Thedistancebetweenthebottomofthetextandthelineitself.Thisfunction
centersthetextontheline. Withthesetoolsyoucancreateanytextstringlinetype. Shapecomplexlinetypesarebasicallysimilar,asidefromonedifference;insteadofatext string,wehaveashapedeinitioninserted.Shapedeinitionsareaseparatetopicintheir ownrightandarenotcoveredindetailinthistextbook.Briely,however,shapeilesare descriptionsofgeometricshapes(suchasrectanglesorcirclesbutcanbemorecomplex)and arewrittenusingaTextEditorandcompiledusingthecompilecommand.Theyaresaved underthe*.shpextension.AutoCADaccessesthesewhenitreadsthelinetypedeinitions. Ifyouarefamiliarwithshapes,thenyoucanproceedindeiningshapecomplexlinetypesas withstringcomplexones.
HATCH PATTERN DEFINITIONS (BASIC) Knowingthebasicsoflinetypedeinitionsputsyouonfamiliargroundwhenlearninghatch patterndeinitions.Eventhoughtheyaremorecomplex,thebasicsandstylesofdescription aresimilar. Hatchpatterndeinitionsarefoundintheacad.patandacadiso.patiles,andthey resideinthesamefolderasthe.liniles.Opentheacad.patileandtakealookata fewdeinitions.Someofthemcangetlongandinvolvedduetothecomplexityofthe pattern(Gravel,forexample),butFigureD.1showsasimpleronetouseasairstexample: Honeycomb. Thepatterndeinitionilethatdescribesitlookslikethis: *HONEY, Honeycomb pattern 0, 0,0, .1875,.108253175, .125,2.25 120, 0,0, .1875,.108253175, .125,2.25 60, 0,0, .1875,.108253175, 2.25,.125
Theirstline(headerline)isasdiscussedpreviouslywithlinetypes.Thenextthreelinesare thehatchdescriptors,andtheyhavesomewhatdifferentdeinitionsasshownnext: Angle, X-Origin, Y-Origin, D1, D2, Dash Length
where(inthisparticularexample),
FIGURE D.1 Honeycomb pattern.
699
APPENDIX D
l l l l l l
Angle.Angleofthepattern’sirsthatchlinefromtheXaxis(0°,inourexample). X-Origin.Xcoordinateofhatchline(0,0,inourexample). Y-Origin.Ycoordinateofhatchline(.1875,inourexample). D1.Thedisplacementofsecondline(.1083,inourexample). D2.Thedistancebetweenadjoininglines(.125,inourexample). Length.Lengthofdashesorspaces.
Thepatternisrepeatedtwomoretimestoformtheoverallshapeandrepeatedmanymore timesintheoverallhatchpattern.
700
APPENDIX E
Principles of CAD Management So,youhavebeenhiredonasaCADmanagerormaybeforcedintothisduetoyour substantialAutoCADskills—orwasitbecausenooneelsewantedthejob?Eitherway,you arenowthetopdog,headhoncho,andhavetotakethebullbythehorns,wellmanybulls actually,coworkerswhorunaroundanddraftwhatevertheypleasejusttogetthejobout. Thenagain,maybeyouaresimplyastudentinishingyourAutoCADeducation.Thebottom lineisthatyoucouldusesomeideasandashortdiscussiononthiselusivescienceofCAD management.Well,youcametotherightappendix. Alljokesaside,thisisanimportanttopic.YoumusttakeeverythingyoulearnedinLevels1 and2andapplyit,whilekeepingothersinline.Youmustbethekeeperandtheenforcer ofstandardsandthetechnicalexpertwhocanresolveanyissue.AtrueCADmanagerwho doesnothingelseisnotallthatcommon.Youmayhavetomultitaskanddoyourownwork whiledoingthemanagement,especiallyinsmallercompanies. Hereareafewrules,ideas,andthoughtsgatheredfrommy15 yearsofexperienceasa CADconsultant,educator,andCADmanager.Theyoutlinesomeofthechallengesand issues,andprovidesomepossibleanswers,tothoseinchargeofthesoftwareusedtodesign alotofwhatisaroundus.
PART 1. KNOW THE SEVEN GOLDEN RULES OF AUTOCAD 1. Alwaysdrawone-to-one(1:1). 2. Neverdrawthesameitemtwice. 3. Avoiddrawingstandardparts. 4. Uselayerscorrectly. 5. Donotexplodeanything. 6. Useaccuracy:OrthoandOSNAPs. 7. Saveoften. NoticethatmostofthoseruleswerediscussedinsomewayintheirstfewchaptersofLevel 1.Itisthebasicspeoplescrewup,notsomefancynewfeature.Letusbrielygooverthese onebyone;theybearrepeating. 1. Always draw one-to-one (1:1).Thisisthemostimportantone.Alwaysdrawitemsto reallifesizes.Endlessproblemsariseifusersdecidetoscaleitemsastheydrawthem. Leavescalesandscalingtothepencil-and-paperfolks.Adrawingmustpassasimpletest. Measureanythingthatisknowntobeacertainvalue,forexample,adooropeningthatis 3feetwide,byusingthelistcommand.AutoCADshouldtellyouitsvalueas36inchesor 3feet,andnothingelse.YoumustenforcethisasaCADmanager. 2. Never draw the same item twice.Inhanddrafting,justabouteverythingneededtobe drawnoneitematatime.SomeinexperiencedCADusersdothesameinAutoCAD.That Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
701
APPENDIX E
3.
4.
5.
702
6.
7.
isnotcorrect.AutoCADandcomputerdraftingingeneralrequireadifferentmindset, philosophy,andapproach.Ifyouhavealreadydrawnsomethingonce,thencopyit,do notcreateitagain.Whilethisonemaybeobvious,anotheroverlookedtoolistheblock orwblockcommand.Ifyouanticipateusingthenewitemagain(evenifthereisasmall chance),thenmakeablockoutofit.AsaCADmanager,youneedtosometimesremind usersofthis.Remember:Time $$. Avoid drawing standard parts.This,liketheprecedingrule,aimstopreventduplicate effort.Beforestartingaproject,asaCADmanager,youneedtoseetoitthatanystandard parts(meaningonesthatarenotuniquebutconstantlyreusedintheindustry)areavailable foruseandarenotdrawnandredrawn.Chancesaregoodthatyoueitheralreadyhavethese partsorcangetthe“cads,”astheysay,fromthepartsupplier.Anotherresourceistheweb. Sitessuchaswww.cben.netandmanyothershavepre-drawnblocksavailableforuse.Buy them,borrowthem,ordownloadthem,butdonotredrawitemsthatsomeonealreadyhas donebefore.Again,Time $$. Use layers correctly.Layersaretheretomakelifeeasier,andtheyareyourfriends.While overdoingitisalwaysadanger(500 layersispushingreason),youneedtouselayers andplaceitemsontheappropriateones.AsaCADmanager,youneedtodevelopa layeringstandard(moreonthatlater)andenforceit.Usersinahurrydonotalways appreciatewhathavingallitemsorganizedinlayersdoes(“itallcomesoutthesameon paper!”theymaysay),soyoumuststandirmandenforcethestandard.Anddonotuse layerzero.Itcannotberenamedwithadescriptivename,sowhyuseit? Do not explode anything.HowdoyoudestroyanAutoCADdrawingandrenderweeks ofworkandthousandsofdollarsinworkhoursuseless?Why,explodeeverything,of course.Shortofdeletingtheiles,thisisthebestwaytoruinthem.Whilethisisgenerally afar-fetchedscenario,reminduserstonotruinadrawinginsmallways,likeonceina whileexplodinganmtext,dimension,orhatchpattern.Theyareliabletodoso,ifthese itemsdonotbehaveastheyaresupposedtoandusersexplodethemtomanuallyforce themintosubmission.Notagoodidea;lackofskillisnotanexcuse.Remindthem toaskyouforhelpifadimensionjustdoesnotlookright.Thereisalwaysawaytoix something.Leavetheexplodingfortheoccasionalblockorpolygon. Use accuracy: Ortho and OSNAPs.Drawingwithoutaccuracyisnotdrafting,itisdoodling. Mostuserslearnthebasics,suchashowtodrawstraightlinesandconnectthem,butyoumay stillseetheoccasionalprojectmanager(whogetstodraftonaverageonlyonceamonth)ix adesigner’slineworkandforgettoturnonOSNAPs.Whenzoomedout,thelineslookOK andprintjustine(reasonenoughtothrowaccuracyoutthewindowfortheoccasionaluser), butacloserinspectionrevealstheyarenotjoinedtogether,causingaworldofproblemsfor avarietyoffunctionssuchashatch,area,distance,andothercommands.Besides,itisjust plainsloppy.HowaccurateisAutoCAD?Enoughtozoomfromascalemodeloftheearthto agrapefruit(moreonthatlater),sobesuretousealltheavailableaccuracy. Save often.Letusstatetheobvious.Thereisnocrash-proofsoftware.AutoCADdoes eventuallylockupandcrash.Reminduserstosaveoften,anddodailyandweeklyile backups.Butyoualreadyknewthis,right?
PART 2. KNOW THE CAPABILITIES AND LIMITATIONS OF AUTOCAD AsaCADmanager,youhavetoknowwhatyouhavetoworkwith.Allcomputer-aided designsoftware,includingAutoCAD,hasanoperatingrangeforwhichthesoftwareis designedandoptimized.Sometasksitexcelsat,andyouneedtoleveragethatadvantage, andsometasksareoutsidetheboundsofexpectation.AutoCADcannotbeallthingstoall people(althoughyouwouldbehard-pressedtotellbasedonitsmarketing).Whatfollows isashortdiscussiononthecapabilitiesandlimitationsandhowyouneedtobesttake advantageofwhatyouhave.
APPENDIX E
Capabilities Often,asaCADmanager,youareaskedtoprovideanestimateonhowlongitwilltaketo completethedraftingportionofajoborjustrecreatesomethinginCAD.Sometimes,these requestscomefromindividuals(seniormanagement)whohavehadextensiveexperiencein handdrafting,andtheyexpectananswerintheformofasigniicantlysmallertimeframe. AutoCADhasanauraofmagicaboutit,asifafewbuttonsjustneedtobepushedandout popsthedesign.Whereisthat“FinishProject”icon? ThesurprisingtruthisthataprofessionalhanddraftercangiveanaverageAutoCADdesigner arunforthemoneyiftherequestisasimpleloorplan.Afterall,thedrafterisnotburdened withsettinguplayers,styles,dims,andotherCADprepwork.But,thisisnotwhereAutoCAD’s powerlies.Onceyoubegintorepeatpatternsandobjects,AutoCADtakesacommandinglead. Alayoutthattookonehourtodraftbyhandorviacomputercanbecopiedinsecondsonthe computer,butaddsanotherhourtothehanddrafter’stask. Donotbesurprisedbytheseemingobviousnessofthis.Ihavemetmanyusersandstudentswho donotalwaysseewhereexactlyCADexcels;theythinkworkisalwaysfasteronacomputer.It maynotbeandmayleadtoerroneousjobestimates.But,inallcaseswithpatterns,copying,and useofstoredlibraries,CADismuchquicker.Sowhenestimatingajob,lookfor l l l l l
Instanceswheretheoffsetcommandcanbeused. Instanceswherethereareidenticalobjects. Minimalcasesofunique,uneven,andnon-repetitivelinework. Minimalcasesofabstractcurves. Abundanceofstandarditems.
Knowingwhattolookforenablesyoutomakemoreaccurateestimates.Remember,the morerepetition,thegreateristheCADadvantage. Thisofcourseisjustoneexample.Otheradvantagesincludeaccuracy(discussednext)and easeofcollaboration.Anotherinterestingadvantagenoticedbymeisthatnon-artisticpeople oroneswhowouldneverhavebeenabletodraftwithpencil,paper,andT-squareoftenexcel atCAD,andskillssuchasneatnessandasteadyhandbecomelesscritical. InsupportofGoldenRule6,abriefdiscussiononaccuracyfollows.Thisisoneoftenbrought upinclass.SearchthewebforadrawingcalledSOLAR.DWG.Downloadandopentheile.It isadrawingofthesolarsystemcreatedintheearlydaysofAutoCADbyfounderJohnWalker andhasbecomequitelegendaryovertheyears(FigureE.1).Yousee,thedrawingistoscale. Thismeansthattheorbitsofalltheplanetsaredrawntofullsizeaswellascorrectrelativeto eachother.Zoomintoindtheearth.Thenzoomintoseethemoonaroundtheearth.Zoom infurtherandindthelunarlandingmoduleonthemoon.Zoominagainandindasmall plaqueononeofthelegsofthelandingmodule.Onitisastatementfromhumankindto anyoneelsewhomayreadit.Whatdoesitsay?Andwhatisthedate? Thinkaboutwhatyoujustwitnessed.YouhavezoomedinfromtheorbitofPlutotolookat a5" 4"plaque.Thatisquiteanamazingmagniication.Toputthingsintoperspective,this istheequivalentoflookingattheearthandthenatagrapefruitorlookingatagrapefruit thenanatom.CanyoudesignmicrochipsinAutoCAD?Safetosay,yes.Canyouconnect wallstogetherinaloorplan?Absolutely.
Limitations OneofthechieflimitationsofAutoCADisits3Dcapabilities.Notthattheyareshabby, butsometimestheyarepushedtodowhattheywerenotcreatedfor.Theessenceis thatAutoCADisnotmodelingandanalysissoftware,rather,itisvisualizationsoftware whenitcomesto3D.ItwasnotdesignedtocompetewithCATIA,NX,Pro/Engineer,
703
APPENDIX E
FIGURE E.1 The solar system and plaque to scale.
andSolidWorks.Parametricdesign,dimensiondrivendesign,FEA,andCFDanalysisare notwhatAutoCADisabout.Thesepackagesarededicatedengineeringtools.AutoCAD wasintendedtobepowerful2Dsoftwarewithtoolsforpresentingadesignin3Dwhen necessary.Assuch,itisgoodatprettypictures,tosellorpresentanidea.
704
Anotherlimitationofthesoftware,anobviousoneaboutwhichaCADmanagerneedsto beaware,isthatAutoCADdoesnotdothethinkingforyou.Itcontainslittletonoerror checking,interferencechecking,ordesignidelitytools,sogarbageinwilldeinitelygiveyou garbageout.BeawareasaCADmanagerthatAutoCADletsusersdoalmostanything,and thewordanythingcanswingineitherapositiveoraterriblynegativedirection.Andinally understandthelearningcurveofthissoftware.Itwilltakeafewmonthsforanoviceuserto getuptospeed.Keepaneyeonthatpersonuntilthen.
PART 3. MAINTAIN AN OFFICE CAD STANDARD Astandardisanecessityforasmooth-runningofice,especiallyforonewithmorethana fewAutoCADusers.Astandardensuresuniformityandaprofessionallooktothecompany’s output,minimizesCADerrors,andmakesiteasyfornewuserstogetuptospeed.Amanual needstobecreated,published,andgiventoalluserswhomaycomeincontactwithAutoCAD. Thismanualshouldhave,ataminimum, Theexactlocationofallkeyilesandtheoveralloficecomputerilestructure,indicating thenamingconventionforalljobsandthelocationsoflibraries,templates,andstandard symbolfolders. l Alistingoftheoficelayeringconvention.ThismayfollowtheAIAstandardinanarchitecture oficeorjustanacceptedinternalcompanystandard. l Alistingofacceptablefonts,dimensionstyles,andhatchpatterns. l Alistingofprintandplotprocedures,including*.ctbiles. l Alistingofproperxrefnamingprocedures. l AdescriptionofhowPaperSpaceisimplemented.Listtitleblocks,logos,andnecessary titleblockinformation. l Apolicyonpurgingiles,deletingbackupiles,andAutoSave. l
Keepthemanualasshortaspossiblewhileincludingallthenecessaryinformation.Do notattempttocovereveryscenariothatcouldpossiblybeencountered,asthelongerthe manual,thelesslikelyitwillbelookedatcovertocover.
APPENDIX E
PART 4. BE AN EFFECTIVE TEACHER AND HIRING MANAGER PartofbeingaCADmanagerissometimesexplainingtheinerpointsofAutoCADtonew hiresorupdatingtheoccasionaluseraswellaspromotionofbettertechniquesandhabits.If youstudiedLevels1and2covertocover,youmayhavenoticedaconcertedefforttosimplify asmuchaspossible.Youshoulddothesamewithanypotentialstudents.Whilethisisnot meanttobeateachingguide,somebasicpointsapply.Ifyouaretaskedwithtrainingnew hires,thentrytoobservethefollowing: Coverbasictheoryirst—creating,editing,andviewingobjects. Coveraccuracynext,suchasOrthoandOSNAP. l Moveontothefundamentaltopicsintheorderoflayers,text,hatch,blocks,arrays, dimensions,andprintandplot,similartoLevel1. l Ifadvancedtrainingisneeded,coveradvancedlinework,followedbyxref,attributes,and PaperSpace,inthatorder.TherestofLevel2canwait,assomeofitisgearedmainlyto CADmanagersanyway. l Stresstousersthesecretstospeed:thepgpile,right-clickcustomization,andintense practiceofthebasics;rememberthe95/5rulefromthesecondparagraphofChapter1. l Accuratelyassesstheskilllevelofusersanddonotassignadvancedtaskstothosenotyet ready,unlessthedrawingsarenotcriticalforaparticularproject.Ihavepersonallyseen thesubtledamagetoadrawingthatcanbecausedbyaninexperienceddrafter. l l
Also,bereadytotestpotentialhireswithanAutoCADtest.Thistestdoesnothavetobe long;45minutestoanhourshouldbetheabsolutemaximum,althoughtruthfully,an experiencedusercantellifanotherpersonknowsAutoCADwithin3minutesofwatching himorherdraft.Thetrickistomaximizeeveryminuteandsqueezethemostamountof demonstratedskilloutofapotentialrecruit,whichmeansdonothavethatpersonengagein lengthydrawingofbasicgeometrybutratherperformbroadtasks. Forexample,theloorplanofLevel1isagoodtestforanarchitecturaldraftingrecruit(the drawingcanbesimpliiedfurtherifnecessarybyeliminatingoneoftheclosetsorevena room).Itshouldtakeanexperienceduserabout15minutestotaltosetupabrand-new drawing(fonts,layers,etc.)anddraftthebasicloorlayout(moststudentscandoitinan houraftergraduatingLevel1—nottoobad).Then,itshouldtakeanother15minutesto addtext,dims,andmaybesomefurniture,followedbyanother5–10minutesofhatchand touchups,followedbyprinting.Soitisroughlya45-minutetestandrunstherecruitthrough justabouteveryneededdraftingskill.Whenlookingoverthedrawing,notethelayers chosen,accuracydemonstrated,andhowmuchwascompletedinwhattimeframe. Notethefollowing.ItisnotcriticalifanewhiredoesnotknowxrefsorPaperSpace.These canbeexplainedinafewminutesandlearnedtoperfection“onthejob.”However,nothing buthardtimespentdraftingteachessomeonehowtodraftquicklyandeficientlywith minimalerrors.Thisisarequirement,anddonothireanyonewhodoesnothavethat,as itwilltaketimeclimbingthatlearningcurve.Exceptionsshouldbegranted,ofcourse,for individualshiredforotherskills,withAutoCADbeingofonlysecondaryimportance. Thebottomline(inmyhiringexperience)isthatafast,accuratedrafterisfarmoredesirable thanamoreknowledgeableonewithasloppy,slowmannerofdrafting.Realizealsothat extensiveknowledgeisnotalwaysagoodsubstituteforexperience,andwhilemanydrafters areineworkersandcancomeinandbeproductiveonanentrylevel,besureyouunderstand whatyouaregetting.Ihaveforalongtimeencouragedconstantpracticeinclass,evenat thecostofoccasionallynotcoveringanadvancedtopicortwo,knowingfullwellwhatthese studentswillfaceinasaturatedmarketfullofexperiencedAutoCADprofessionals. Asainalword,besuretheAutoCADtestisfairbutchallenging.Leaveunitsindecimalform asthestudentneedstodemonstrateagraspofnuancesandsituationalawarenessandthe
705
APPENDIX E
abilitytochangeunitstoarchitecturalifthefoot/inchinputdoesnotwork.Includeinthe test l l l l l l l l
Basiclineworktobedrawn. Ahandfuloflayerstoset(colors,linetypes,etc.). Sometexttowrite(setfonts,sizes,etc.). Somehatchestocreate. Somearraystocreate. Someblockstocreate. Somedimensionstoputin. Plotofoutput.
PART 5. STAY CURRENT AND COMPETENT Whileweareonthesubjectoftechnicalcompetency,you,asarecentadvancedclassgraduate orCADmanager,arenotoffthehookforcontinuingtoaddtoyourskillset.Itismuchtoo easytosettleintoacomfortableroutineofdraftingordesigningandnotlearnanything outsidethecomfortzone(andnotjustwithAutoCADeither).Somethoughtsonthistopic follow. Firstofall,realizethatitisvirtuallyimpossibleforoneindividualtoknoweverythingabout AutoCAD,althoughsomeclaimtocomeclose.Itistrulyanoutrageouspieceofsoftware, developedandupdatedconstantlybyhundredsofsoftwareprogrammersanddesigners.This statementshouldmakeyourealizethatthereisalwaysmoretolearn(donotthrowyour handsupindespair,however),andyouwillnotrunoutofnew,easier,andcreativewaysto doatask.ThemaintraitsharedbyallsuccessfulAutoCADexpertsisthattheyaregenuinely interestedinthesoftwareandintheconceptofcomputer-aideddesigningeneral. 706
Tomaintainyourskillsoradvancefurther,lookthroughthefollowinglistanddetermine whatappliestoyou,thentakethestepsneededtoacquirethatknowledge.Someofthisyou willlearnaspartofstudyingalllevelsofthebook;othersyouhavetoinitiateonyourown: Learnthe3Dfeatures.Manyusersdonotknow3Dwell,anditisagoodwaytostandout fromthecrowd.ItisfuntolearnandisanimportantsideofAutoCAD. l LearnbasicAutoLISP.Thisrelativelysimpleprogramminglanguageallowsyoutocustomize AutoCADandwriteautomationroutines,amongotheruses. l ExploreAutoCAD’sadvancedfeaturesthataresometimesoverlooked,suchassheetsets, dynamicblocks,eTransmit,securityfeatures,CUI,andmuchmore.Keepnotesofkey featuresandeffects(a“cookbook”insoftwarelingo). l ReaduponthelatestandgreatestfromAutoCAD,newtipsandtricks,andwhatthe industryistalkingabout.Cadalyst.comandAugi.comaretwogoodsitesforthis.You shouldalsogetaCadalystsubscription.Itisnolongerfreebutstillworththecost.Atthe veryleast,checkuponthelatestintheAutoCADworldonalloftherelevantwebsites. l Donotworkinisolation;talktoothersinyourieldandseehowtheydothings.Also,be suretotakeanAutoCADupdateclassifupgradingtoanewrelease. l Becuriousaboutotherdesignsoftware,includingAutoCADadd-onprograms(verticals) suchasAutoCADMechanical,Electrical,Civil,andMEP.Beknowledgeableaboutas muchsoftwareaspossible.IntheworldofCAD,RevitandSolidWorksaretwosoftware packagestokeepaneyeoninthefuture. l Enjoywhatyouaredoing.Ifyouarenot,youshouldseekotherworkdutiesinyour profession.AutoCADisverymiserabletodealwithifyouhateit.Occasionally,youmay thinkitisjustonebigsoftwarevirusouttogetyou;justdonotletitbeadailythought. l
APPENDIX F
AutoLISP Basics and Advanced Customization Tools YoumayhaveheardofAutoLISP,VisualLISP,VBA,.NETFramework,ActiveX,and ObjectARX.Whatexactlyarethey?Theseareallprogramminglanguages,environments,and toolsused,amongotherthings,tocustomizeandautomateAutoCADbeyondwhatcanbe donebysimplermethodslikeshortcuts,macros,andtheCUI,allexploredearlierinthis book.Toproperlydiscussallthesemethodswouldtakeupquiteafewvolumesoftext,and indeedmuchhasbeenwrittenconcerningallofthem.Ourgoalhereistointroducethevery basicsofAutoLISPandonlyglossovertherest,soyouatleasthaveanideaofwhattheyare. Ifadvancedcustomizationorsoftwaredevelopmentworkinterestsyou,youcanpursueit muchfurtherwithotherwidelyavailablepublications.
OVERVIEW 1. AUTOLISP Thisisreallytheverybeginningofthediscussion.AutoLISPisabuilt-inprogramminglanguage thatcomeswithAutoCADandisitselfadialectofafamilyofhistoricprogramminglanguages, collectivelyreferredtoasLISP(listprocessinglanguage).LISPwasinventedbyanMITstudent in1958andfoundwideacceptanceinartiicialintelligenceamongotherresearchcircles.The languageanditsdeveloper,J.McCarthy,pioneeredmanyexpressionsandconceptsnowfoundin modernprogramming. AutoLISPisasomewhatscaledbackversionofLISPuniquelygearedtowardAutoCAD.It allowsforinteractionbetweentheuserandthesoftware,andindeedoneoftheprimary usesofAutoLISPistoautomateroutinesorcomplexprocesses.Oncethecodeiswritten,it issavedandrecalledasneeded.Thecodeisthenexecutedasascript(nocompilingneeded) andperformsitsoperation. OneadvantageofAutoLISPoverothermethods,discussedshortly,isthatitrequiresnospecial training,exceptsomefamiliaritywithsyntax,andisthusquitewellsuitedfornonprogrammers. Whileitisnotacompiled,objectorientedlanguagelikeCorJava,andthereforenotsuitable forwritingactualsoftwareapplications,italsodoesnotneedtobeforitsintendeduse.
OVERVIEW 2. VISUAL LISP Overtheyears,AutoLISPhasmorphedintoasigniicantlymoreenhancedversion,called Visual LISP.Morespeciically,VisualLISPwaspurchasedbyAutodeskfromanother Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
707
APPENDIX F
developerandbecamepartofAutoCADsincerelease2000.Itisamajorimprovementand featuresagraphicalinterfaceandadebugger.VisualLISPalsohasActiveXfunctionality (moreonthatlater).However,VisualLISPstillreadsandusesregularAutoLISP,andthatis stillwhereabeginnerneedstostartbeforemovingup.WebrielytouchuponVisualLISP anditsinterface(thevlidecommand)lateron.Thesubjectisanentirebookallinitself.
OVERVIEW 3. VBA, .NET, ACTIVE X, AND OBJECTARX ThereisevidencetosuggestAutodeskismovingawayfromusingVisualLISPtowardother, moreadvancedtoolsforcustomizationandprogramming. VBA(VisualBasicforApplications)isalanguagebasedonVisualBASIC,aproprietaryMicrosoft product.VBAallowsyoutowriteroutinesthatcanruninahostapplication(AutoCAD)butnot asstand-aloneprograms.IthassomeadditionalpowerandfunctionalityoverVisualLISP. .NETFrameworkisanotherMicrosoftsoftwaretechnologythatwasintendedasareplacementfor VBA.Itfeaturespre-codedsolutionstocommonprogrammingproblemsandavirtualmachine toexecutetheprograms. ActiveX,alsodevelopedbyMicrosoft,isusedtocreatesoftwarecomponentsthatperform particularfunctions,manyofwhicharefoundinWindowsapplications.ActiveXcontrols aresmallprogrambuildingblocksandareoftenusedontheinternet,suchasforanimations andunfortunatelyalsoforsomevirusesandspywareapplications.
708
ObjectARXisthehighestlevelofcustomizationandprogrammingyoucandowith AutoCAD,shortofworkingondevelopingAutoCADitself.Unlikethescripting-type languagesandmethodsdiscussedsofar,ObjectARX(ARXstandsforAutoCADruntime extension)isanapplicationprogramminginterface(API).UsingC,programmerscan createWindowsDLLs(DataLinkLibraries)thatinteractdirectlywithAutoCADitself. EverythingneededtodothisispartoftheObjectARXSoftwareDevelopmentKit,freely distributedbyAutodesk.Thisisnoteasytomaster,asyouwouldexpectfromprofessionallevelsoftwarecodingtools.Typicalusersarethirdpartydeveloperswhoneedawayto writecomplexsoftwarethatinteractsseamlesslywithAutoCAD.ObjectARXisspeciicto eachreleaseofAutoCADandevenrequirestheuseofthesamecompilerAutodeskusesfor AutoCADitself. WehopethisdiscussiongivesyousomeinsightintowhatisoutthereforAutoCADcustomization. Thisisofcourseonlyacursoryoverview,andyoucanpursuethesetopicsmuchfurther.Any journeytolearnadvancedAutoCADcustomization,however,beginswithAutoLISP,andthisis wherewegonexttointroducesomebasicsofthisprogramminglanguage.
AUTOLISP FUNDAMENTALS Asmentionedbefore,despitetheproliferationofnewtools,AutoLISPisstillverymuchinuse, thousandsofchunksofcodearestillbeingwrittenannually,andmanyareeasilyfoundonline forjustaboutanydesiredfunction.ThemainreasonforAutoLISP’spopularityremainsthefact thatAutoCADdesignersarenotprogrammersandAutoLISPisaccessibleenoughforalmost anyonetojumpinandlearn.Thevalueitaddstoyourskillsetissubstantial.Letuscoversome basicsandgetyouwritingsomecode. AutoLISPcodecanbeimplementedintwodistinctways: YoucantypeandexecuteafewlinesofcoderightonthecommandlineofAutoCAD. Thisisgoodforasimpleroutinethatisusefulonlyinthatdrawing. l YoucanloadsavedAutoLISPcodeandexecuteit,usuallythecasewithmorecomplexand often-usedroutines. l
APPENDIX F
Wegenerallyusethesecondmethodofwritingandsavingourroutines.Atthisstage,itis helpfultoknowhow(andwhere)tosaveAutoLISPcodeand,byextension,howtoload whatiswritten. AllAutoLISPcodeissavedunderthe*.lspextension.Oncethecodeiswritten,itcan theoreticallybestoredjustaboutanywhere(AutoCADExpressfoldercontainsasizable numberofbuilt-inroutines).Toloadthecode,gotoTools→LoadApplication…or Tool→AutoLISP→LoadApplication...(orjusttypeinappload)andthedialogboxin FigureF.1appears.
709
FIGURE F.1 Load/Unload Applications.
Then,youjustbrowsearound,indtheAutoLISPcodeyouareinterestedin,clickonit, andpressLoad.Onceloaded,youcanclosethedialogbox;thecodeisreadytoexecute withacommandinput.Thereisawaytoautomaticallyloadallexistingcodeuponstarting AutoCADbyaddingittotheStartupSuite(lowerrightcorner,thebriefcaseicon). Nowthatyouknowhowtosavenewcodeandwheretoindit,weshouldtrywritinga simpleexamplethatillustratessomeAutoLISPbasics.Herearetwocriticalpointsthatneed tobeunderstoodbeforeyoubegin: AutoLISPiscloselytiedtoAutoCADcommands,sotowritesomethinguseful,youneed toknowthecommandswell.IfyoudonotknowhowtodoitinAutoCADmanually, AutoLISPisofnouse. l ApproachAutoLISPforananswertoaspeciicproblem.Statewhatitisyouwanttosolve orautomate,thenwriteoutthestepstodoitmanually.Onlythen,usingpropersyntax, writeandtesttheAutoLISPcode. l
APPENDIX F
Followingthisphilosophy,letusstateaproblemwewouldliketosolve.Wewouldliketo modifythezoomtoextentscommandbyhavingitzoomtoonly90%ofthescreen,not 100%.Thatwaywecanseeeverythingandnothinggetslostattheedgesofthescreen.How dowedothisbyhand,irstofall? Youofcoursetypeinzoom,pressEnter,selecteforExtents,andpressEnteragain.The drawingiszoomedalltheway.Tobringitbackabit,yourepeatthezoomcommandbut typein.90xinsteadofe.Thedrawingthenzoomsinabittoillonly90%ofthescreen. Letusnowautomatethesestepssoallyouhavetodoistypeinzz(arandomchoicefora commandname;youcouldpickanything)insteadofthetwo-stepprocessjustdescribed. Weneedto 1. OpenuptheNotepadeditor(weusethebuilt-inVisualLISPeditorlater). 2. SavetheblankileasZoomSample.lspinanyfolderyouwish. 3. Deinethefunctionzzbytypinginexactlythefollowing: (defun C:zz ()
4. Listtherelevantcommandsinorderbytypinginexactlythefollowing: (command "zoom" "e" "zoom" ".90x")
5. Finallyadd(princ)andclosetheexpressionwithanother). So,hereistheinalresult: (defun C:zz () (command "zoom" "e" "zoom" ".90x") (princ))
710
Savetheileagainandletusrunit.Openupanydrawing,loadtheAutoLISProutineusing apploadorthedrop-downmenuandrunitbytypinginzzandpressingEnter.Thedrawing shouldzoomoutto90%asexpected. ThissimpleroutinehassomeessentialingredientsofallAutoLISPcode: Itstartsoutwithaparenthesis,indicatingthatafunctionfollows. Thedefunordeinefunction(anAutoLISPexpression)isnextfollowedbyC,indicatingit isanAutoCADcommand,andinallytheactualcommand,zz. l Thesetofopeningandclosingparenthesescanholdargumentsorvariables. l Thenextlinefeaturescommand,anAutoLISPexpressionmeaningAutoCADcommands (inquotationmarks,meaningitisastring)follow. l The(princ)functionisaddedsotheroutinedoesnotconstantlyreturna“nil”value. l Finally,another,matchingparenthesisclosesouttheprogram. l l
HerearetwosimpleroutinesthatIuseoftentorotatetheUCScrosshairstoalignthemto somegeometry(thisgeneraltaskwascoveredinChapter15). Theirstroutinedoestherotationandiscalledperp: (defun C:perp () (command "snap" "ro" "" "per" pause "snap" "off") (princ))
Thesecondonebringsthecrosshairsbacktonormalandiscalledflat: (defun C:flat () (command "snap" "ro" "" "0" pause "snap" "off") (princ))
TheperpandflatAutoLISProutinesfeaturetwonewconcepts.Theirstoneisthepause function,whichallowsforuserinput.Inthiscase,itisfortheusertoselectthelinetowhich
APPENDIX F
thecrosshairsaretobealigned.Then,thefunctionresumesandturnsoffsnap.Theother conceptisthetwoquotationmarksbacktobackwithnothingbetweenthem.Theysimply forceanEnter. Studythesethreeexamplesclosely.Theyaresimple;manyAutoLISProutinesare,asthatis allthatisneededtogetthejobdone.Hereiswhatwelearnedsofar: String.Anythingthatappearsinquotes(oftenanAutoCADcommand). Expression.AutoLISPbuilt-incommandssuchasdefun. l Functions.Canbeuserdeined(perp, flat)orbuilt-in(pause, princ, command). l Functionsaresometimesfollowedbyargumentsinparentheses. l l
VARIABLES AND COMMENTS Letusnowmoveontootherconcepts.Totakeastepupinsophisticationfromwhatwe didsofar,weneedtointroduceprogramvariables.Variablescanbenumbers,letters,orjust aboutanythingelsethatcanchange.Thereasontheyareneededisbecausetheyallowfor userinteraction.Becauseuserinputisnotknownwhenthecodeisirstwritten,avariableis used.Whenthatinformationisacquired,theprogramproceedsaccordingly.Variablesarea fundamentalconceptinallprogramming. VariablesinAutoLISPcanbeglobal(deinedoncefortheentireroutine)orlocal(deinedas neededforone-timeuse).LocalisusuallyhowvariablesgetdeinedinAutoLISP.Thefunction thatcreatesvariablesissetq.Tosetavariableequaltowhatevertheuserinputs(suchasthe radiusofacircle),youwrite:setq RadCircle.Thenextlogicalstepwithvariablesistopick uponwhatevertheuserinputs.Forthisweneedthegetstringfunctionthatreturnsanything theusertypesin. Hereishowtheseconceptslookinpractice,withthe\nsimplymeaningthatanewlineis started. (setq RadCircle (getstring "\nCircle Radius: "))
Inadditiontogetstringaremanyothergetfunctions,suchasgetfiled(asksusertoselect aileusingadialogbox),getangle,andgetdist. Asinanyprogramminglanguage,youareallowedtocommentonyourwork,soyouor someoneelsecanunderstandyourintentwhenexaminingthecodeatalatertime.In AutoLISP,commentsareprecededbyasemicolon.Youcanofcourseaddmorethanone semicolontoindicatesectionsorheaders: ;This is a comment ;;So is this
ADVANCED FEATURES AND THE VLIDE COMMAND WehaveonlyscratchedthesurfaceofAutoLISP,andifyouenjoyedwritingandrunning thesesimpleroutines,thenconsidertakingafullclassonthissubjectorreadingspecialized books.Thereismuchmoretolearn.Forexample, l
l
The IF→THEN statements.Thisisacommonfeatureinallofprogramming.Ifcertain conditionsaremet,thentheprogramdoessomething;ifnot,itdoessomethingelse. The WHILE function.Anotherimportantconceptinprogramming.Thisfunction continuestodosomethinguntilaconditionismet.
Finally,wecometothevlidecommandandtheVisualLISPEditor,asshowninFigureF.2. EverythingyoutypedearlierintoNotepadcanbetypedintotheVisualLISPEditor,which hasmanyadditionalusefulfeatures,suchasdebugging,errortracing,andchecksforclosed
711
APPENDIX F
FIGURE F.2 712
Visual LISP Editor.
quotationsandparentheses(formattingtools).Everythingyoutypeisalsocolorcodedfor easyidentiication. In-depthcoverageofVisualLISPisbeyondthescopeofthebook,butyouareencouragedto pickupaspecializedtextbookandtrytoprogresswiththisinvaluableskill.
APPENDIX G
PC Hardware, Printers and Plotters, and Networks Thisisanothercollectionoftopicsthatcaneasilyspanvolumes,andindeedmuchhasbeen writtenaboutallofthem.WetrytofocusonhardwarefromanAutoCADuser’spointof viewexclusively,whichmaybealesscoveredtopic(ifonlyslightly). Softwaregenerallygoeshandinhandwiththehardware.And,whilecomputers,likecars, havebecomesoreliablethata“hands-off”approachworksine,rememberthatCADin general,andAutoCADspeciically,isnotordinarysoftware.Itisahigh-end,powerful applicationthatplacesheavydemandsontheassociatedhardwareanddoesnotrunatits peakonaclunkyPC.MuchlikethecasewheretheownerofaFerrariismorelikelytobe interestedin(andlookunderthehoodof)thecarversustheownerofaToyota,soshould AutoCADdesignersexpressinterestinwhatis“underthehood”oftheircomputer.Afterall, theyaremanipulatingandcreatingmulti-megabytesophisticateddrawingsor3Dmodels, notmerelytypingupamemoonWord,anditisintheirbestinteresttouseaPCthatmeets orexceedsAutoCAD’sdemands.
PC HARDWARE Byitsnature,AutoCADisnotasfussyassomeotherCADsoftwareoutthere(3Dsolid modelingapplicationscometomind),butitdoesneedahigh-endPCtooperateoptimally. Hereisarundownofarecommendedsetupwithcomments. l
l
Processor.The“brain”ofthecomputer,alsoreferredtoasachip,orprocessor,iswhere allthecalculationsandoperationsareperformed.IntelandAMDarethemajorplayers inthePCmarket.Whichisbetterisamootpoint;whileIntelwasoncetheonlygame intown,thesedaysthetwocompaniesconstantlyone-upeachotherwithperformance benchmarks.Atthispoint,bothmanufacturersproducehigh-qualityproducts,andthe IntelversusAMDcomparisonisessentiallymeaninglesstotheaverageuser.Thetopof-the-lineIntelprocessor(asofthiswriting)istheIntelCorei7ExtremeEditionwith sixcores,a3.33GHzclockspeed,anda12MBcache.AMDhasacomparablePhenom IIX61090TBlackEditionserieschip.Italsohassixcoresanda3.2GHzclockspeed. Autodeskrecommendsatamer3.0GHzPentium4orAMDAthlondualcoreprocessor asaminimum,soyouhavesomeroomtoshoponpricebetweenthesetwoextremes. RAM.Randomaccessmemoryisthenextconsideration,andthemorethemerrier.RAM hasadirecteffectonperformanceasitistherethatsoftwareresideswhileinoperation. MoreavailableRAMallowsformorefunctionstoexecutefaster.Autodeskrecommends 2GB,butgoashighasyoucanafford.Mostmotherboardswillaccept4GBandsomeup to12GBofmemory.
Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
713
APPENDIX G
l
l
l
l
l
714 l
Hard drive.Alsoknownasstorage disk,main drive,andthelike,itneedstobeatleast 1.8GBtoinstallAutoCAD.Fortunately,thisisrarelyaproblem,asmostmachineshave drivesontheorderof100–250GB.Itisnotunusualtoindaterabyte-sizeddriveaswell. Priceshavecomedownquiteabit. Video graphics card.PerhapsthemostoverlookedpartofthePC,thevideoorgraphics cardissimilartoaprocessorbutisspeciallydesignedtocontrolthescreenimagesor graphics.ItneedstobebeefeduptodeliverthekindofgraphicsAutoCADiscapableof producing(essentialin3Drendering).Autodeskrecommendsonlya“workstation-class” graphicscard,butgetthebestonepossibleundertheallowedbudget.High-qualitygraphic cardsarenotcheap;ahigh-endcardtopsoutatover$2500.Oneinthe$500–$700range shouldbejustineforAutoCADapplications. OS.Untillate2010,operatingsystemsthatAutoCADcouldrunonnumberedinthe singledigits(actuallypreciselyone,Windows).InNovemberofthatyear,aftera20yearbreak,AutodeskannouncedAutoCADwouldonceagainbeavailablefortheMac. AutoCADstilldoesnotrunonUNIXorLinux.WindowsXP(withServicePack2),Vista, andWindows7arethemainMicrosoftoperatingsystems.OlderNTmayrunAutoCAD 2012,butfewcompaniesstillhavethatOS.AlthoughAutoCADisoficiallycertiiedfor Vista,studentshavereportedsporadicoperationalproblems.Maybeasofthiswriting thingshaveimproved;ifnot,Windows7isinallyestablishedandseemstobedoingjust ine. Other PC components.Theseincludethemotherboard(mustbepickedaccordingto processorrequirements),thesoundcardandspeakers(ifneeded),theCD/DVD,and power,cooling,andwiringsystems.TheDVDcapabilityisneededasAutoCADnow comesonDVDwhenyoubuyit(unlessyouchosethedownloadoption,ofcourse).The programhasgottentobetoobigforareasonablenumberofCDstoholdit. Monitor.Getthebestandlargestlatscreenmonitoryoucanafford;youreyeswillthank youmanytimesover. Mouse and keyboard.Getalaserprecisionmouse(forgetrollerball)andthebestsofttouchkeyboardyoucanind.Donottrytocutcornershere,asyouwillbeinphysical contactandusingthesedevicesconstantlywhileworkingonthePC,sogetthegoodstuff.
WhetherbuildingyourownPCororderinganassembledone,takethePCpurchaseseriously andtrytosetrealisticbudgetexpectations.CADworkstationsareinthesamefamilyasgaming stationsandyouneedtobudgetover$2000(ormore)foraseriousmachine,notincluding themonitor.Somewell-knownvendorsincludeDell,butifyouareinclinedtoassemble yourown,checkoutonlinestoressuchasTigerDirect.comandbuypartsonsale.Youwillget phenomenalperformanceforafractionofthecost,aslongasyouknowwhatyouaredoing whenassemblingthemachine.
PRINTERS AND PLOTTERS ThereareessentiallytwowaystooutputsomethingfromAutoCAD,aprinteroraplotter. PrintersaregenerallyInkjetorLaserJetandblackandwhiteorcolorcapable.Pricescanrange froma$49desktopInkjettoa“sky’sthelimit”corporatehigh-speedcolorLaserJet.Which togetdependsentirelyonbudgetanddesiredlevelofqualityforoutput,asAutoCADdoes notcare.OnceAutoCADisinstalled,itautomaticallysensesanyprinterattachedtothePC (assumingitworksandhasdriversintheirstplace).Beawarethatmostsmalldesktop printerscannothandle11" 17"paper,butlargerLaserJetprinterscan.The11" 17" formatisveryimportantinAutoCAD,asmanyjobsarehandedinonthissizepaper,sobe sureyourprintercanhandleit. Plotters(FigureG.1)areafamiliarsightinarchitectureorengineeringofices.Anything sizedabovean11" 17"sheetofpaperneedstoberoutedtoaplotter,allthewayuptoa 48" 36"orlargerinsomecases.Plottersasarulearemoreexpensivethanprinters,and buyingoneshouldbeacarefullyresearcheddecision.Manyplottersarecolorcapableand
APPENDIX G
FIGURE G.1 A typical HP professional plotter.
715 acceptalmostanytypeofpaper,althoughbondorvellumisthenorm.Hewlett-Packard(HP) isthepremiermanufacturerofplotters,withsomemodelsonsalewellover$20,000,though their500,800,and1055seriesplottersaremuchmoreaffordable.Othercompanies,suchas OCE,Canon,andEncad,roundouttheield.Thetypicalaveragecostofaprofessionalgrade plotterhoversaround$5000–$6000.Doyourresearchcarefullywhenselectingoneandbe awareofrecurringcostssuchasinkandpaper.
NETWORKS Thistopicofcourseisanentireprofessionalltoitself.Acomputernetworkisdeinedasa groupofinterconnectedcomputers.Networkscanrangefromlocalareanetwork(LAN)to city,country,orworldwide(WAN,orwideareanetwork).Networksallowforcollaboration andsharingofinformationfromcomputertocomputerandhavetheirownsetofhardware familiartoanynetworkengineer,suchasrouters,hubs,switches,repeaters,andothergear. Networksareoperatedviaaprotocolorsetofinstructions,suchastheIEEE802.3protocol runningonEthernettechnologyforatypicalLAN.Themediumofdatatransferbetween computersisusuallyastandardCat5ecablebutcanbewirelessoriberopticforlarger networks. AsanAutoCADdesigner,youwilllikelyencounteralocalareanetworkconsistingofaserver (host)withsomeothercomputers(clients)connectedtoitatyourcompany.Allthedataare storedontheserver,andonceyoulogontothenetwork,yourcomputercanaccesswhatit needs. Inregardtonetworks,AutoCADcanbeinstalledonaperseatornetworklicensemethod. Perseatiscosteffectivetoacertainlimit(usuallytenseats).Ifyourcompanyrequiresmore, asitelicenseispurchased,whichischeaperandallowsmorecomputerstorunthesoftware, whichnowresidesontheserveronly.
This page intentionally left blank
APPENDIX H
What Are Kernels? Ifyouhavetakenanactiveinterestin3DCADsoftwareandarelearningwhatis“underthe hood,”thenyoumayhavereadorheardaboutkernels.Whataretheyandwhatdofarming andplantingtermshavetodowithsoftware?Well,asyoumayhavealreadydeduced,the wordkernelisametaphorfordescribingtheheartofthesoftware,astartingpointfrom whicheverythingelsegrows,thesameasakernelofcorn.Thisanalogyisquiteaccurate: A3Dmodelingkernelisthecomputercodethatdepictsthe“brains”ofany3Dsoftware package,suchasCATIA,NX,Pro/Engineer,SolidWorks,Inventor,andofcourseAutoCAD. Asitturnsout,kernelsarequiterare.Thisisbecausetheyareextremelydificult,expensive, andlaborintensivetodevelopfromscratch.Asaresult,whilehundredsof3DcapableCAD softwareapplicationsareavailable,thereareonlyasmallhandfulofkernels.Ifyouwanted tostartanewCADcompanyanddevelopacompetitortoanyoftheestablishedproducts, thenchancesaregoodthatyouwouldsimplypurchaseakernellicenseanddesignyour softwarearoundthekernel,nottrytocreateyourown.Inmanycases,thisisindeedwhat happensintheindustry. Whywouldkerneldeveloperslicensetheirkernels,asopposedtousingthemforjusttheir ownCADprograms?Well,forstarters,theydousetheminsuchaway,andmostkernel developershaveapopular3DCADprogramforsale.Butthelicensingfeeto“rentout” kernelcodeissubstantial,sotheydothisaswelltoincreasetherevenuestream. Whatcustomersgetwhentheypurchasethekernelisalargechunkofcodemadeupofwhat arecalledclassesandcomponents—essentiallymathematicalfunctionsthatperformspeciic modelingtasks.TheCADcompanythenwritesitsowncodetointerfacewiththekernel vianumerousAPIs(applicationprogramminginterfaces)andessentiallycreatesthenew softwarearoundthekernel. ThisnewCADsoftwareisunique,accordingtothedesignphilosophyandtalentoftheCAD company,andmaybedifferentinhowitoperatescomparedtoanothercompany’ssoftware thatusesthesamekernel.Inessence,however,mostmodelersareessentiallythesame,and onecanswitchrelativelyeasilyfrom,say,CATIAtoNXorPro/Engineer.Allthreeofthese softwareapplicationsfeatureparametricmodeling,parttrees,dimensiondrivendesign,and otherhallmarksofsolidmodeling.Thedifferencesarechielyintheinterfaces,easeofuse, extrafeaturesofferedwitheachpackage,andofcourseprice. OnenotableexceptionisAutoCAD.Thekernelituses,calledACIS,ismadebySpatial Technologies.Itsmodelingmethodsaresomewhatdifferentthantheotherkernelsonthe market,givingAutoCADaunique(andnotnecessarilythebest)approachto3D.Other, morehigh-endkernelsincludeParasolid(usedbyNX,SolidWorks,andSolidEdge),Granite (usedbyPro/Engineer),andCAA(usedbyCATIA).Autodesksetouttodevelopitsown kernelinrecentyears,andthefruitofthatlaborisinitsInventorsoftware. Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
717
This page intentionally left blank
APPENDIX I
Lighting, Rendering, Effects, and Animation Theworldofdigitaleffectsisaveryexpansiveone,andunderthatumbrellafallseverything fromsimpleshadedmodels(extensivelyusedinthisbook),allthewayuptofull-blown Hollywood-styleeffects.Architectsandengineersuseofsomeofthesedigitaleffectsand techniques,whichareroughlyinthemiddleofthepackasfarassophisticationgoes. Whatarchitectslookforincludesvisualizationrenderingsthatpresentabuildingoran interiorsceneinthemostrealisticwaypossible,sotheclientsseewhattheyaregettingand canofferinput.Theymayalsowantsomebasicanimationsuchasawalk-through.Some high-endrequestsmayevenincludephotorealisticscenesthathaveweathereffects(wind, precipitation,etc.)orrealisticimagesofpeopleinteractingwiththedesign. Engineershavethesamebasicgoal,topresentadesigntoaclient,althoughtheirrenderings mustoftenaccountformetals,plastics,andothermaterials,includingmaterialproperties. Engineeringanimationneedsarealsomoresophisticated.Anarchitecturalanimationof awalk-throughisessentiallyacollectionofsnapshotsplayedbackinsuccession.With engineeringanimations,complexpartinteractionmustbeaccountedforandafullmotion pathmustbeshown.Theentireanimationmustalsobeloopedforconstantplayback.An exampleofthisisacutawayofanengine,withallthecomponents(pistons,connectingrods, crankshaft,etc.)workinginunisontodemonstratethedesigninoperation. Asfarasengineeringapplicationsgo,AutoCADplaysarelativelyminorrole.Fromthe beginning,theintentofAutoCADwastobeasuperb2Ddraftingtool,nota3Dsolid modelingandtestingsoftware.Othersoftwarehaveevolvedovertheyears(withsomeof theseapplicationspredatingAutoCAD),foruseinsuchcases.Examples,quotedelsewhere inthisbook,includeCATIA,Pro/Engineer,NX,SolidWorks,SolidEdge,IronCAD,Autodesk’s ownInventor,andmanyothers.Thesesoftwareapplicationsoftentakecareofthedrafting, modeling,rendering,testing,presentation,animation,andmanufacturinginonecomplete package.Therefore,AutoCADrarelyindsitswayintotrulyhigh-endsituations;itissimply notbuiltforthat. Intheworldofarchitectureandrelatedields,however,AutoCAD3Dmodelsoftenind themselvesinthemiddleoftherenderingworld.Thesemodelsareimportedintoavariety ofsoftwareandarethe“skeletons”onwhichadvancedrenderingandevenanimation techniquesareapplied.StudioVIZwastheaffordablechoiceformanyprofessionals untilitwasdiscontinuedafewyearsback.Itsreplacementwasthetopoftheline,more expensive3dsMaxDesign.Thissoftwarecancreatestunningphotorealisticrenderings thatfeatureadvanceduseoflights,shadows,andmaterials.This3dsMaxsoftwarecanalso dosophisticatedanimations,eventothepointoffullfeaturecartoonilms,butitisnot Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
719
APPENDIX I
commonlyusedforthat,asevenmoreadvancedsoftwareisavailableforthatpurpose. Thereareofcoursemanyothersoftwaresolutionsforcreatingrenderings.Twopopularones includeRhinoandFormZ.Bothsoftwarepackagescangeneratetheirownshapesandsolids butareoftenusedaspurerenderingengineswithimportedmodels. Anotherexcellent(andcosteffective)solutionistopurchaseadd-onsoftwarethatsimply extendsAutoCAD’sbuilt-inabilities.Onewell-knownchoiceisAccuRender.Itinstallsand integratesseamlesslywithanyAutoCAD,goingbacktoAutoCAD2002.Thesoftwarecreates sophisticatedrenderingsandlighteffectsandhasahugecollectionofmaterials,plants,and lightixturestouse.ItalsohasadesirablefeaturecalledProcedural Materials.Thisallows materialstobecomepartofthedesign,notjustwrappedarounditlikewrappingpaper.The materialpropertypenetratesthroughthepartanditbecomesthatmaterial.Soapieceof woodactuallyhasgrainsandjaggededgesifviewedupclose. Theworldofanimationistiedinwithrendering,astheanimatorsimplyanimatesan alreadycompleterenderingandadjustsforchangesinlightsandshadows.Amajorplayer inthatieldisMaya,formerlyofAliasWavefrontbutnowownedbyAutodesk.Mayahas extensivecustomizingcapabilitiesandstudiostakeitscore(thekernel)andwritecustom codearoundit,tunedtotheirspeciicproductionneeds.Mayainvariousformswasoneof thesoftwareapplicationsbehindmoviessuchasJurassic Park,The Abyss,andTerminator 2, althoughtheamountofcustomizationneededforsuchhigh-endproductionspractically turnedMayaintowholenewsoftware.
720
Thesoftwarelistedthusfararejustsomeofthehigh-endmarketproducts.Manyother companiesintheieldproducesoftwareinmanyotherpriceranges.Ifyouareinterested inrenderingandanimation,itisagreatieldtogetinto,andmanysuchstudentspassed throughmyclassroom,astheywantedtostartwithbeingabletomodel3Ddesigns(in plainoldAutoCAD)andmoveonfromthere.
APPENDIX J
AutoCAD Certification Exams Itseemslikethereisanexamorcertiicationforjustabouteveryprofessionoroccupation. AlthoughAutoCADanddraftingingeneralarenotreallypartofthegreaterinformation technology(IT)world,wherecertiicationexamsarethebenchmarksofcompetenceand almostasvaluableascollegedegrees,therestillexistsaseriesofexamsforAutoCADdesigners totakeiftheywishto“formalize”theirknowledgeandhangupapieceofpaperintheirofice. Theseexamshavechangedsomewhatovertheyearsandhavevariedinthenumberof questions,dificultylevel,andtheamountoftimegiventocompletethem.Thetypical methodofdeliveryhasbeenonline,withuserslogginginandtakingtheexaminatimed fashion—althoughinyearspasttherehavebeenexamswithnotimelimit.Youareableto usetheHelpilesandanymanualsortextsyoucanind. Aretheseexamsimportant?Thisquestiondoesnothaveaneasyanswer.Theoverriding beliefamongestablishedAutoCADprofessionalsisthattheexamsarenotwellorganized andtestfortrivialknowledgewhilenotaccuratelyassessinganindividual’struemasteryof thesoftware,whichcanreallybetestedonlybyhavingthepersondrawacomplexdesign.It ispartiallyAutodesk’sfaultfornotdevelopingtheseexamsintothepowerhouseinstitutions thatMicrosoft,Cisco,Novell,andothershavedonewiththeirs. Thenagain,however,therewaslittledemandfortheexamsinthepast.AsAutoCADwas explodinginpopularity,anyonewhowasreasonablygoodwashiredandallowedtomature onthejob.Inrecentyears,asthesupplyofknowledgeableAutoCADdesignersinally caughtupwiththedemand,employerswantedready-madeexpertsandneededawayto separatethe“wheatfromthechaff.”Thiswouldexplaintheresurgenceinpopularityof testingforAutoCADcompetenceandtherenewedinterestfromstudentsastohowto studyforandpasstheseexams.So,yes,theseexamsmaybeimportanttogetafootinthe doorwithcertaincompanies,buthavingpassedtheexamdoesnotnecessarilyguaranteea knowledgeableAutoCADexpert;andIneverusedthemasthesolereasontohiresomeone. LetusgoovertheexamsastheyexistnowforAutoCAD2012.Therearetwoexams: 1. AutoCADCertiiedAssociateExam. 2. AutoCADCertiiedProfessionalExam. TheCertiiedAssociateExam(CAE),whichistakenirst,consistsof30onlinequestions, withthefollowingbreakdownbytopic: IntroductiontoAutoCAD,onequestion. Creatingdrawings,fourquestions. l Manipulatingobjects,sixquestions. l l
Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
721
APPENDIX J
l l l l l l l l l
Drawingorganizationandinquirycommands,threequestions. Alteringobjects,twoquestions. Workingwithlayouts,onequestion. Annotatingthedrawing,threequestions. Dimensioning,twoquestions. Hatchingobjects,twoquestions. Workingwithreusablecontent,threequestions. Creatingadditionaldrawingobjects,twoquestions. Plotting,onequestion.
Thepassingscoreis70%andyouhavea60-minutetimelimit. TheCertiiedProfessionalExam(CPE)ismorefocusedondoingtasks,notjustanswering questions.ItistakenaftertheCAE,andconsistsof20questions/tasks,withthefollowing breakdownbytopic: l l l l l l l l l l
Manipulatingobjects,ivequestions. Drawingorganizationandinquirycommands,onequestion. Alteringobjects,twoquestions. Workingwithlayouts,onequestion. Annotatingthedrawing,threequestions. Dimensioning,threequestions. Hatchingobjects,onequestion. Workingwithreusablecontent,onequestion. Creatingadditionaldrawingobjects,twoquestions. Plotting,onequestion.
Thepassingscoreis80%andyouhavea90-minutetimelimit. 722
Asmentionedbefore,theCAEfocusesmoreonmultiplechoiceandmatchingquestionsand basicknowledge,whiletheCPEismoreperformancebasedandfocusesondrawing(you needtodownload,open,andworkonactualAutoCADileswhiletakingtheexam;youthen areaskedtodrawsomethingandansweraquestionbasedonthisdrawing).Theintenthere istohaveanindividualtaketheCAEshortlyaftercompletingatrainingcourse,andthenthe CPEafewmonthslater,aftersomepracticaldrawingskillsaregained. Practicesampletestsareavailable,anditishighlyrecommendedtogoovertheseatleastto seewhattypesofquestionstoexpect.Thecostfortakingtheseexamsis$50perexam,but thatisofcoursesubjecttochange,socheckthelatestinformationontheAutodeskwebsite. YoumayalsoupdateyourcertiicationfromAutoCAD2011bytakingonlytheCPE.Ifyou haveanoldercertiication,youneedtotakebothexamsagain. Informationonpurchasingandschedulingyourexamcanbefoundatwww.autodesk .starttest.com.
APPENDIX K
AutoCAD Employment AutoCADstudentsvarywidelyintheirbackgrounds.Somearealreadyinmid-careerand areregisteredarchitectsorengineerslookingtopickupnewskills.Othersarerecentcollege graduatesenteringthejobmarketwitharchitectureorengineeringdegrees.Thesestudents needAutoCADasasmallpartoftheirjob,ormaybeeventhemainpartoftheirjob,butare ultimatelyhiredfortheirengineeringordesignknowledgeandmaydraftinonlytheirstfew yearsoftheircareerastheylearntheropes. Anotherverylargegroupofstudents,however,areattractedtoCADdraftinginandofitself andattendoneofthemanyprogramsatlocalcommunitycollegesortech/vocationalschools thatultimatelyleadtoacertiicateorevenatwo-yearassociate’sdegreeinarchitecturalor engineeringdrafting.ThesestudentsintendtoentertheworkforceasprofessionalAutoCAD drafters,acareertrackinitself.ThiscanleadtoCADmanagementpositionsaswellasserve asaspringboardforacareerinengineeringorarchitectureifthestudentsdecidetoreturn toschooltocompletethebachelor’sormaster’sdegree.Eveniftheydonot,aprofessional draftspersonisawell-paidprofessionalwhoisavaluableassetand,asCADsoftwareincreases insophistication,isneededmorethanever.Sothequestionisthen,howdoyougetyour“foot inthedoor”andbeginandAutoCADcareer? Onceyougraduateandarereadytolookforwork,thereareanumberofthingstoconsider. Firstofall,decideifyouwouldliketoconcentrateonarchitectural,mechanical,electrical, orsomeotherdraftingield.AlthoughImovedaroundalotinmyearlydaysofconsulting work,thisapproachdoesnotworkintoday’ssaturatedmarket.Itiseasiertosucceedifyou focusyourinterestsinsteadofjumpingaroundfromcompanytocompanyandieldtoield. Whatyouultimatelydecidetopursueshouldbesomethingyouareinterestedin(houses vs.mechanicaldevices,forexample)aswellassomethingyouaregoodat.Generally,while learningAutoCADinschool,youaredrawntoonetypeofworkoveranother;gowithyour gutfeeling. Thenconsideryouroptionstoactuallyindwork.Twomajorsetsofresourcesarepresented next: l
Staffing firms.ThisisoneofthebestwaystoindaCADjob,thoughsometimesstafing irmspreferexperiencedCADdesigners,asthosecommandhighersalariesandtherefore highercommissionsandfeesforthestafingagencies.Thesestafingirmscaneitherplace yououtrightwithaclient(collectingaonetimeinder’sfee)orplaceyouonanhourly rateasoneoftheirownworkers“onloan”toaclient(collectingapremiumoveryour pay).Itmayormaynotmatterwhichrouteyougo,althoughbeinghiredondirectlywith beneitsmaybemoredesirable,eveniftheinitialsalaryislower.Searchforstafingirms (alsoinformallycalledjob shops)ontheinternetinyourarea.Somewell-known,large, nationwideirmsincludeKellyStafing,ManpowerTechnical,andAerotek.
Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
723
APPENDIX K
l
Job boards.TheseincludeMonster.com,Dice.com,andCraigslist.com,amongothers. Oftenthesesitesarepopulatedwithpostingsfromstafingirms(seethepreceding),but independentcompaniescanbefoundaswell.SimplyenterAutoCADandyourcityor townintothesearchengineandlistingsappear.OfspecialnoteisCraigslist.com.You mayhavealreadyuseditforeverythingfromapartmenthuntingtosellingsomething, anditsjobboardsareexcellentandveryinformalanddirect.Theonlydownsideisthat Craigslist.comismostutilizedbyresidentsandcompaniesinlargemetropolitancenters, andifyouliveinasmalltownfarfrommajorcities,youmayhaveslimpickings(evenif theactualjobsceneisprettygood).
Otherplacestolookincludeyourschool’semploymentoficeandclassiiednewspaperads (morelikelytobeonline,notinprintthesedays).Alsoneverforgetthevalueofwordof mouthandpersonalcontacts.LeteveryoneknowyouarelookingforAutoCADwork,and justmaybesomeone’scousin’sfriendknowssomething.
724
APPENDIX L
AutoCAD Humor, Oddities, Quirks, and Easter Eggs REAL AUTOCAD USERS l l l l l l l l l l l l l l l l l l l l l l
HavebeendoingAutoCADforsixormoreyears. Neverbothertokeep.bakiles. Donotdodrawingsonadotmatrixprinter. Haveagraphicscardthatcansupporttwomonitors. Havetwomonitors. Havegamesontheirsystem. Getrealpissedwhensomeoneelseusestheirmachinejustto“lookaround.” KnowAutoLISP. KnowhowtoeditanAutoLISPile. WonderwhyAutodeskgivesyousomuchworthlessstuffwithasoftwareupgrade. WonderwhyAutodeskchargessomuchforanupgrade,thenAutoCADgetspirated. MaintainatleastthreeolderversionsofAutoCADontheirsystem. NeveraskforthenewestcopyofAutoCAD—theyalreadyhaveit. HaveasubscriptiontoCadalyst. DonotreallybothertoreadCadalyst. CouldwriteanarticlethatcouldgoinCadalyst. DonotrunAutoCADonaMac. DonothavefriendsthatrunAutoCADonaMac. DespiseMacs. Arenotconcernedwithlosingadrawing. Usethepurgecommandabout60timesinadrawing. Usethespacebar,notreturn.
Up and Running with AutoCAD® 2012: 2D and 3D Drawing and Modeling. © 2012ElsevierInc.Allrightsreserved.
725
APPENDIX L
Havedrawnapictureofatleastoneofthefollowing: m Theircar. m Theirhouse. m Theirdreamhouse. m Theirdreamhousewiththeirdreamcarparkedinthedrive. l Liketowastetime,suchasliketypingZOOM, Etwiceinalargedrawing. l Cantalkonthephoneanddrawatthesametime. l Drinklotsofliquidwhiledrawing. l Gotothebathroomalot. l Getsomeexercisewhileatwork. l Arenotafraidtoeatwhiledrawing. l Canleavetheroomwhileplotting. l Donotcarethattheworksystemison24hoursaday;itisnottheirmachine. l DonotreallylikethesystemtheyrunAutoCADon;theyaresurethereisabetterone. l Wouldbedamnluckyiftheygotthesystemtheyhaveatwork,fortheirhome. l AlwayscomplainthatAutoCADontheirsystemistooslow. l WorkinthedarkwiththeirAutoCADscreencolorsetasblack. l Getpissedwhensomeoneturnsonthelight. l Getrealpissedwhenpeoplesay,“Howcanyouworkinthedarklikethis?” l ListentofreedownloadedMP3swhileworking. l Arereadingthiswhiletheyshouldbeworking. l
THE AUTOCAD MONKEY JOKE THAT NEVER GOES AWAY 726
Atouristwalkedintoapetshopandwaslookingattheanimalsondisplay.Whilehewas there,anothercustomerwalkedinandsaidtotheshopkeeper,“I’llhaveanAutoCAD monkey,please.”Theshopkeepernodded,wentovertoacageatthesideoftheshopand tookoutamonkey.Heittedacollarandleash,andhandedittothecustomer,saying, “That’llbe$5000.”Thecustomerpaidandwalkedoutwithhismonkey. Startled,thetouristwentovertotheshopkeeperandsaid,“Thatwasaveryexpensive monkey.Mostofthemareonlyafewhundreddollars.Whydidthatonecostsomuch?” Theshopkeeperanswered,“Ah,thatmonkeycandrawinAutoCAD—veryfast,clearlayouts, nomistakes,wellworththemoney.” Thetouristlookedatamonkeyinanothercage.“Thatone’sevenmoreexpensive!$10,000! Whatdoesitdo?” “Oh,thatone’sadesignmonkey;itcandesignsystems,layoutprojects,markupdrawings, writespeciications,someevencalculate.Allthereallyusefulstuff,”saidtheshopkeeper. Thetouristlookedaroundforalittlelongerandsawathirdmonkeyinitsowncage.The pricetagarounditsneckread$50,000.Hegaspedtotheshopkeeper,“Thatonecostsmore thanalltheothersputtogether!Whatonearthdoesitdo?”Theshopkeeperreplied,“Well,I haven’tactuallyseenitdoanything,butitsaysit’sanengineer.”
ODDITIES AND QUIRKS AutoCADhasanoopscommand;tryittoseewhatitdoes. AutoCADhadanendcommand.Itusedtoshutdownyourdrawing,evenifyoumeant thatasanOSNAPcommandandjustforgottotypeinlineandpressEnterirst.Endhas beenpermanentlydiscontinuedforobviousreasons. l AutoCADhasabattmancommand.Ithasnothingtodowiththecapedcrusaderand everythingtodowiththeblockattributemanager(similartotheenhancedattribute managerofChapter18). l
l
APPENDIX L
EASTER EGGS Eastereggsaresurprisesthatonecanindinsoftware,hencetheanalogytotheEasteregg hunt.Thesesurprisescanbeanythingfromasillymessagetoanentirevideogameburied inthecode.ToindandactivateEastereggsyoureallyjusthavetobetoldhow,asthe complexcombinationofkeysthatneedtobepressedincorrectsequenceisjusttoomuch forarandomguess.Whyaretheyinthere?Justforfunisthesimpleanswer.Alsobecause programmerscangetawaywithit;evenamedium-sizeapplicationhasmillionsoflinesof codeinwhichtohidethemuchsmallerEastereggs.AutoCADhasitsownshareofthemthat arewelldocumented. HereisaknownAutoCAD2008Easteregg,whichrevealsacreditrollofthedesignteam’s names: OntheAutoCADcommandlinestarttheSunPropertiesbytypinginsunproperties. ClickonthemagnifyingglassinSkyProperties. l Changethedateto3/23/2007(thedateAutoCAD2008wasreleased)viathepop-up calendar.PressEntertosetit. l Clickonthetime. l PresstheHomekeyonyourkeyboard(thissetsyoutomidnight). l WiththeCtrlkeydown,pressthedownarrowtwiceonyourkeyboard. l Nowyoushouldseethecreditsrollwithmusic. l l
ThereareotherEastereggsinvirtuallyallreleasesofAutoCAD.Themoreyoulook,themore youind.
727
This page intentionally left blank
INDEX
0-9, AND SYMBOLS 3Dalign,572–574 3Dface,595–596 3Dmesh,595–596 3Dmove,519–520 3Dpatharray,571–572 3Drotate,511–512 3Dscale,518–519
A Actionrecording,644–647 Align,354–355 Annotation,236–237 Arc,15–16,258,546f,591 Area,7 Array path,192–194 polar,182–187 rectangular,187–192 Attdef,440 Attributes,429,433 Audit,356–357 AutodeskSeek,338 Axes,479–480
B Blend,357–358 Block,158–160 Boolean,531–541 Break,358–360
C CADstandards,360–361,704 Calculator,361–363 Cartesiancoordinatesystem,43–44 Chamfer,56–57 Charactermap,99 Circle,14–15 Circumscribed,54 Collapseedge,600 Collapseface,600 Color,69–72,655–656,661 ColorBooks,72 Commandline,8,9 Converttosolid,600 Converttosurface,600 Copy,21–22 Crosshairs,8 ctbiles,447–451
D Ddedit,95–96 Ddim,234
Defpoints,363–364 DesignCenter,337–339 Dimensionalconstraints,303–306 Dimensions aligned,134–135 angular,137–138 arclength,144 baseline,139–140 continuous,138–139 diameter,135–136 jogged,144 linear,133–134 ordinate,144 radius,136–137 Distantlight,658–659 Donut,365 Draftingsettings,33 Draworder,365 Dview,630–635 Dynamicblock,164–167 Dynamicinput,44–45
E Edgesurf,593–595 Ellipse,461–462 Erase,20 Esckey,19–20 eTransmit,366–368 Explode,53 Export,282 Expresstools,339–350 Extend,25–26 Extrude,491
F Faces,479–480,568–580 Fillet,28–29,521–523 Filter,368–369,598 FloatingModelSpace,224–225 Freeorbit,492–493 FreezeVP,232–233
Hide,491–496,635 Hyperlink,370–371
I ID,51–52 Indexcolor,71 Inscribed,54 Insert,160–162 Intersect,535–536 Invisibleattributes,440–441 Isometric,458 Isoplanes,462
J Join,358–360 jpg,403
L Layer Freeze,347 Lock,72–73 Off,72 On,72 Thaw,72 Unlock,72–73 Layerilter,282–284 LayerStateManager,279–282 Layouts,217–223 Leader,140–143 Lengthen,371–372 Limits,58,206 Line,13–14 Linetype,73–74 List,50–51 LockVP,231–232 Loft,553–556 LTscale,74 lwt,452–453
M G Gaptolerance,122–123 Geometricconstraints,300–303 Gizmo,511–512,598 Gradient,123–126 Grid,42–43 Grips,40
H Hatch,115–123 Helix,570–571 Helpiles,58–60
Matchproperties,76 Materials,71 Meshsmoothing,598 Mirror,27–28 Mirror3D,512–516 MLedit,267–268 Mline,262–269 MLstyle,263–267 ModelSpace,224–225 Move,20–21 MoveFaces,576–577 Mtext,94,96–101 Multileader,142–143 Mview,223
729
INDEX
N NamedUCS,615 Navigationcube,497
O Objectsnaptracking,372–373 Offset,4,578 OLE,401,408–410 Options,101,122,316–331 Ortho,30,702 OSNAP,30–33 CENter,30 ENDpoint,30 INTersection,31 MIDpoint,30 PERPendicular,31–32 QUADrant,31 Overkill,373f
P
730
PageSetupManager,210–211 Pan,19,633 Paper Asize,205 Bsize,205 Csize,205 Dsize,205,217 Esize,205 PaperSpace,8,217–238 Pathextrusion,558–559 PDF,403–405,695 Pedit,255–256 pgpile,331 PlanarSurface,586–587 Plane,479–480 Pline,254–258 Plot,206 Display,206 Extents,205–206 Limits,206 Window,206 Plotter,204–205,207 Point,49,374 Pointlight,653–656 Pointstyle,364–365 Polygon,53–55 Polysolid,568–569 Primitives,502–506 Box,502–506 Cone,502–506 Cylinder,502–506 Pyramid,502–506 Sphere,502–506 Torus,502–506 Wedge,502–506 Printer,204–205,207,714–715
Properties,74–77 Publish,322–324,374–375 Purge,162–163
R Raster,375–376 Ray,259–260 Recordincrement,269–270 Rectangle,16–18 Redo,326 Regen,19–20 Region,588 Render,663–670,695 Revcloud,376 Revolve,544–548 Revsurf,592–593 Ribbon,6 Rotate,22–23 RotateFaces,578–579 Rotate3D,510–511 Rulesurf,588–589
S Save,58 SaveAs,408 Scale,23–24,41 Screening,125 Screenshots,403 Scriptiles,278–279 Sectionplane,600 Selectionmethods,29,380–382 Crossing,29 Window,29 Shade,491–496 conceptual,493,494–495 realistic,493,494–495 Sheetset,377–379 Shell,548–549 Sketch,269–272 Smoothmeshprimitives,596–601 Snap,42–43 Solidill,123–126 Spell,102–104 Spline,254,260–262 Spotlight,656–657 Stretch,257,382–383 Style,101–102 Subtract,533–535 Sunandsky,659–663 Sweep,560–561 Systemvariable,383
T Table,383–384 Tabsurf,589–591
Taper,549–551 Templates,57 Text,94–96,233–236,621–623 Toolpalette,386–387 Toolbar,8,481–483 Trim,24,269 TrueColor,71
U UCS,8,608 3Point,613 Object,611 Origin,612 Previous,610 Rotation,614–615 View,611–612 World,610 X,614–615 Y,614–615 Z,614–615 Z-axisvector,613 UCSicon,387–389 Undo,635 Union,532–533 Units,41
V View,19–20,611–612,615–616 Viewport,223–226 Viewportscale,217 Vports,608,616–621
W Walkandly,638–642 Wblock,163–164 Windowtiling,389–390 Wipeout,390–394 Workspace,481–483
X Xline,258–259 Xref,414 Attach,416f,417 Bind,417 Detach,417 Open,417 Reload,417 Unload,417
Z Zoom,19,633