AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27...

19
AutoCAD 2D III Prepared for G11 2 nd Semester

Transcript of AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27...

Page 1: AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27 Polylines A polyline is a connected series of line segments created as a single object.

AutoCAD 2D III

Prepared for

G11

2nd Semester

Page 2: AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27 Polylines A polyline is a connected series of line segments created as a single object.

Institute of Applied Technology ®

AutoCAD 2D III 1Module 27: Polylines

“Youth are our real wealth. They are also the shield, sword, and the fence with which the Nation defends itself against aggression”.

The Late H.H. Sheikh Zayed Bin Sultan Al Nahyan

Founder of the United Arab Emirates

Page 3: AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27 Polylines A polyline is a connected series of line segments created as a single object.

Institute of Applied Technology ®

AutoCAD 2D III 2Module 27: Polylines

CONTENTS

Module 27: Polylines 3 Module 28: Polygons 19 Module 29: Hatching Module 30: Blocks Module 31: Competency Test 1 Module 32 : Drawing Utilities Module 33: Reference Files Module 34: Dimensioning – Part 1 Module 35: Dimensioning – Part 2 Module 36: Competency Test 2

TITLE PAGE

Module 37: Text – Part2 Module 38: Design Center s Module 39: Layout – Part 1 Module 40: Layout – Part 2 Module 41: Competency Test 3

Page 4: AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27 Polylines A polyline is a connected series of line segments created as a single object.

Institute of Applied Technology ®

AutoCAD 2D III 3Module 27: Polylines

POLYLINES

MODULE

27

Polylines

A polyline is a connected series of line segments created as a single object. You can create straight-line segments, arc segments, or a combination of the two. A rectangle is an example of a polyline. As you know, a rectangle created using a rectangle command is considered as a one object, which makes it easier to work with. Polylines are very important when working with 3D.

Polylines have some unique qualities that make them very useful:

• They can have width (constant or varying).

• They can consist of arcs and lines.

• They can be edited.

• They can be joined together.

• They can be exploded into individual segments.

LEARNING OUTCOME

After the completion of this module, you will be able to:

• Describe a polyline object. Explain how to create, close, and edit a polyline.

• Describe and apply the PLINE, PEDIT, DONUT, FILL, EXPLODE and BOUNDARY commands.

Page 5: AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27 Polylines A polyline is a connected series of line segments created as a single object.

Institute of Applied Technology ®

AutoCAD 2D III 4Module 27: Polylines

You can start the polyline command by typing PLINE or PL in the command line or by clicking this icon in the draw toolbar or draw menu.

Command Keyboard input / Alias Icon Menu

Polyline Pline / PL

Draw > Polyline

Once you start the command and specify the start point, you will have many options; [Arc/Halfwidth/Length/Undo/Width]. Command: Pline Specify start point: Current line-width is 0.0000 Specify next point or [Arc/Halfwidth/Length/Undo/Width]: Using the PLINE Command Exercise 1: Drawing line segments. Points P1 to P5 are arbitrary chosen. Follow the steps to draw the object below.

Command: PLINE Specify start point: P1 Current line-width is 0.0000 Specify next point or [Arc/Halfwidth/Length/Undo/Width]: <Ortho on> P2 Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: <Ortho off> P3 Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: P4 Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: <Ortho on> P5 Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: (Press enter to exit the command)

Page 6: AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27 Polylines A polyline is a connected series of line segments created as a single object.

Institute of Applied Technology ®

AutoCAD 2D III 5Module 27: Polylines

Exercise 2: Drawing line and arc segments. Follow the steps to draw the object below.

Command: _pline Specify start point: (Choose any suitable point in the drawing area) Current line-width is 0.0 (The current width) Specify next point or [Arc/Halfwidth/Length/Undo/Width]: <Ortho on> 6 Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: A (Change to arc mode) Specify endpoint of arc or [Angle/CEnter/CLose/Direction/Halfwidth/Line/Radius/Second pt/Undo/Width]: 2 Specify endpoint of arc or [Angle/CEnter/CLose/Direction/Halfwidth/Line/Radius/Second pt/Undo/Width]: L (Change to line mode) Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: 6 Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: A (Change to arc mode) Specify endpoint of arc or [Angle/CEnter/CLose/Direction/Halfwidth/Line/Radius/Second pt/Undo/Width]: CL (Close polyline)

Close Draws a line segment from the current position to the starting point of the polyline, creating a closed polyline.

Page 7: AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27 Polylines A polyline is a connected series of line segments created as a single object.

Institute of Applied Technology ®

AutoCAD 2D III 6Module 27: Polylines

Exercise 3: Using Width and Halfwidth option. Follow the steps to draw the object below.

Command: PL Specify start point: Current line-width is 0.0 Specify next point or [Arc/Halfwidth/Length/Undo/Width]: W (Type W to work with Width option) Specify starting width <0.0>: 0.3 (Set the starting width to 0.3) Specify ending width <0.3>: (Press enter to accept default) Specify next point or [Arc/Halfwidth/Length/Undo/Width]: <Ortho on> 2 (2 units to the right) Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: W Specify starting width <0.3>: 0.6 (Change the starting width to 0.6) Specify ending width <0.6>: 0 (Change the ending width to 0) Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: 1 Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:

Length Draws a line segment of a specified length at the same angle as the previous segment. If the previous segment is an arc, the new line segment is drawn tangent to that arc segment. Exercise 4: Using Length option. Follow the steps to draw the object below.

Working with Halfwidth is similar to Width. Draw the same exercise using Halfwidth option and realize the difference.

Page 8: AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27 Polylines A polyline is a connected series of line segments created as a single object.

Institute of Applied Technology ®

AutoCAD 2D III 7Module 27: Polylines

Command: Pline Specify start point: P1 (Choose any point) Current line-width is 0.0 Specify next point or [Arc/Halfwidth/Length/Undo/Width]: L (Choose the length option) Specify length of line: 2 (Set the length to 2) Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: A Specify endpoint of arc or [Angle/CEnter/CLose/Direction/Halfwidth/Line/Radius/Secondpt/Undo/Width]: P2 Specify endpoint of arc or [Angle/CEnter/CLose/Direction/Halfwidth/Line/Radius/Second pt/Undo/Width]: L (Change to Line option) Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: L (Change to Length option) Specify length of line: 2 Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:

Undo Removes the most recent line segment added to the polyline. Editing Polylines

PEDIT is used to edit and create Polylines. As you will see, it is much easier to create a polyline from existing lines and arcs. You can start the PEDIT command using the modify II toolbar icon or the modify menu as shown below.

Command Keyboard input / Alias Icon Menu

Polyline Edit Pedit / PE

Modify > Polyline

Page 9: AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27 Polylines A polyline is a connected series of line segments created as a single object.

Institute of Applied Technology ®

AutoCAD 2D III 8Module 27: Polylines

Command: PE (Press enter) PEDIT Select polyline or [Multiple]: (Select the polyline) Enter an option [Close/Join/Width/Edit vertex/Fit/Spline/Decurve/Ltype gen/Undo]: (Select one of the options) Exercise 5: Using the Close option. Draw an object similar to object 1 using polyline command and then use PE to convert it to object 2.

Command: PE PEDIT Enter an option [Close/Join/Width/Edit vertex/Fit/Spline/Decurve/Ltype gen/Undo]: C (Choose C to use Close option) Enter an option [Open/Join/Width/Edit vertex/Fit/Spline/Decurve/Ltype gen/Undo]: (Press enter or spacebar to exit the command) Exercise 6: Using the Join option. Draw the object below using the LINE command and then use PEDIT command to create a polyline. Command: PEDIT Select polyline or [Multiple]: M (Type M to select multi objects) Select objects: Specify opposite corner: 4 found (AutoCAD tells you how many objects it found) Select objects: (Press enter to accept) Enter an option [Close/Open/Join/Width/Fit/Spline/Decurve/Ltype gen/Undo]: J (Enter J to choose Join option) Join Type = Extend Enter fuzz distance or [Jointype] <0.0>: (Press enter to accept default) 3 segments added to polyline Enter an option [Close/Open/Join/Width/Fit/Spline/Decurve/Ltype gen/Undo]: (Press enter to exit the command)

After Befoer

Object 1 Object 2

Page 10: AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27 Polylines A polyline is a connected series of line segments created as a single object.

Institute of Applied Technology ®

AutoCAD 2D III 9Module 27: Polylines

Exercise 7: Using the Width option. Change the width of the object you drew in exercise 6 to 0.3.

Command: PEDIT Select polyline or [Multiple]: M (Type M to select multi objects) Select objects: Specify opposite corner: 1 found Select objects: Enter an option [Close/Open/Join/Width/Fit/Spline/Decurve/Ltype gen/Undo]: W Specify new width for all segments: .3 Enter an option [Close/Open/Join/Width/Fit/Spline/Decurve/Ltype gen/Undo]:

Using DONUT Command

Donuts are filled rings or solid-filled circles that are closed polylines with width. To draw the donut you must specify the inside diameter, the outside diameter and the center of the donut.

Before After

Use AutoCAD HELP to explore other options you can select within the PEDIT command

Inside Dia. = 0 Inside Dia. = Outside Dia.

Page 11: AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27 Polylines A polyline is a connected series of line segments created as a single object.

Institute of Applied Technology ®

AutoCAD 2D III 10Module 27: Polylines

You can start the DONUT command using the command line or the Draw menu.

Exercise 8: Draw the donuts shown below.

Command: DONUT Specify inside diameter of donut <0.0>: (Write 0 or accept default if it is already 0) Specify outside diameter of donut <0.0>: 1 (Set the outside diameter to 1) Specify center of donut or <exit>: P1 (Choose any point as the center point) Specify center of donut or <exit>: (Press enter to exit or specify another center point to have another donut) Command: DONUT Specify inside diameter of donut <0.0>: 0.5 Specify outside diameter of donut <1.0>: (Accept default) Specify center of donut or <exit>: P2 Specify center of donut or <exit>:

Command Keyboard input / Alias Menu

Donut Donut / Do Draw > Donut

Page 12: AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27 Polylines A polyline is a connected series of line segments created as a single object.

Institute of Applied Technology ®

AutoCAD 2D III 11Module 27: Polylines

Command: DONUT Specify inside diameter of donut <0.5>: 1.0 Specify outside diameter of donut <1.0>: Specify center of donut or <exit>: P3 Specify center of donut or <exit>:

Using FILL Command

The FILL command is used to Controls the filling of objects such as hatches, two-dimensional solids, and wide polylines. You can start the FILL command by typing Fill in the command line. Exercise 9: Draw different objects with polyline and donut commands and use the fill command to toggle solid fill on and off. Command: FILL Enter mode [ON/OFF] <ON>: OFF (Fill mode off) Command: Re REGEN Regenerating model. (To display the current fill mode you must regenerate) Command: FILL Enter mode [ON/OFF] <OFF>: ON Command: Re REGEN Regenerating model.

Using BOUNDARY Command

The BOUNDARY command creates a region or a closed polyline using existing objects.

Command Keyboard input / Alias Menu

Boundary Boundary / BO

Draw > Boundary

Tip: AutoCAD regenerate drawing faster when the Fill mode is OFF. Simplified display also increases the speed of creating test plots.

Page 13: AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27 Polylines A polyline is a connected series of line segments created as a single object.

Institute of Applied Technology ®

AutoCAD 2D III 12Module 27: Polylines

Exercise 10: Draw the object below and create the boundary shown in red. Move the boundary you created to any arbitrary position.

Command: BO BOUNDARY Pick internal point: Selecting everything... Selecting everything visible... Analyzing the selected data... Analyzing internal islands... (In the boundary creation dialog box click pick points) Pick internal point: P1 (Select any point in the enclosed area) (Leave all other options in the dialog box set as default) BOUNDARY created 2 polylines Command: _move Select objects: 1 found Specify base point or [Displacement] <Displacement>: P2 (Choose any suitable point) Specify second point or <use first point as displacement>: P3

Note: When you moved the boundary, the original object doesn’t change. The boundary created is placed on the current layer.

(Hint: Draw a square; make a copy, then rotate the copied square around the center

of the square)

Page 14: AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27 Polylines A polyline is a connected series of line segments created as a single object.

Institute of Applied Technology ®

AutoCAD 2D III 13Module 27: Polylines

Using EXPLODE Command

The Explode command converts a polyline into individual objects. Polylines with width will lose their width when exploded.

Exercise 11: Draw a polyline similar to the one shown below and convert it to individual objects using Explode command. (Draw the polyline) Command: x EXPLODE Select objects: 1 found Select objects: (Choose any point on the polyline) Exploding this polyline has lost width information. The UNDO command will restore it.

(AutoCAD tells you that the width has been lost)

Tip: Besides PEDIT, you can use PROPERTIES to edit polylines.

Command Keyboard input / Alias Icon Menu

Explode Explode / x

Modify > Explode

Before

After

(Select any line to see that the polyline is converted to 4 lines.)

Page 15: AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27 Polylines A polyline is a connected series of line segments created as a single object.

Institute of Applied Technology ®

AutoCAD 2D III 14Module 27: Polylines

TASK 1 DETAILS

Instructions:

1. Setup the layer using the Layering scheme above. 2. Draw all construction objects on layer Construction and Freeze it when

complete. 3. Draw the object shown below. 4. Draw the centerlines.

Lab Exercise 27-1 Time Allotted: 45 min.

Drawing Specifications

Name Template Units Text Style Font

AutoCAD 2D Lab 27-1 Module Template A4 mm N/A N/A

Layering Scheme

Objects on Layer Name Color Linetype Lineweight

Construction Objects Construction 253 Continuous N/A

All Objects Object Red Continuous N/A

Center Lines Center Green CENTER2 N/A

IAT AutoCAD COMPETITION

SHEETDRAWING NO.SCALEDATEDRAWN

Completed Drawing

Page 16: AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27 Polylines A polyline is a connected series of line segments created as a single object.

Institute of Applied Technology ®

AutoCAD 2D III 15Module 27: Polylines

TASK 2 DETAILS

Instructions:

1. Copy the object from AutoCAD 2D Lab 27-1 exercise onto this drawing at the location shown on the figure below.

2. Make a copy 200 units to the right and scale it by a scale factor of 0.5. 3. At location A, use PEDIT command to change all the arcs and lines

converting them into polylines. 4. At location B, use the BOUNDARY command only, to create polylines of

all the arcs and lines. Place the polylines on layer Boundary. 5. Copy the objects at A and D directly below the originals as shown. Lock

layer Object so that you don’t copy any object from the layer. 6. At location C and D, explode all of the polylines. Place the arcs and lines

created with the explode command onto layer Explode. 7. Check your drawing with the key.

Lab Exercise 27-2 Time Allotted: 45 min.

Drawing Specifications

Name Template Units Text Style Font

AutoCAD 2D Lab 27-2 Module Template A3 mm N/A N/A

Layering Scheme

Objects on Layer Name Color Linetype Lineweight

Construction Objects Construction 253 Continuous N/A

Pline made with PEDIT Object 200 Continuous N/A

Pline made with Boundary Center 115 Continuous N/A

Exploded lines and arcs Explode 33 Continuous N/A

Page 17: AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27 Polylines A polyline is a connected series of line segments created as a single object.

Institute of Applied Technology ®

AutoCAD 2D III 16Module 27: Polylines

Completed Drawing

Page 18: AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27 Polylines A polyline is a connected series of line segments created as a single object.

Institute of Applied Technology ®

AutoCAD 2D III 17Module 27: Polylines

Module 27 Review Questions

1. Can a polyline be given a variable width? a. Only in certain drawings

b. Yes, whenever you command it

c. Only in AutoCAD 2006

d. No

2. Can different polylines be joined together? a. Only if they have arcs

b. Yes

c. No

d. Not if they have arcs

3. What command allows you to edit a poyline? a. Pedit

b. Edit

c. EditPE

d. P-Edit

4. Can a polyline be left open? a. Always

b. Never

c. Only if has arcs

d. Sometimes, depending on the drawing

5. T o convert the polyline into individual segments we use the ______ command.

a. Boundary

b. Explode

c. Pedit

d. Fill

Page 19: AutoCAD 2D III · 2018. 10. 2. · AutoCAD 2D III 3Module 27: Polylines POLYLINES MODULE 27 Polylines A polyline is a connected series of line segments created as a single object.

Institute of Applied Technology ®

AutoCAD 2D III 18Module 27: Polylines

6. The Fill command was toggled on but the donut I drew was not shown filled. What was the reason?

a. I should use the redraw command afterwards.

b. I should use the regenerate command afterwards.

c. I should use the pedit command afterwards.

d. I should use the explode command afterwards.

7. A rectangle was drawn using a line command. What command can convert it to a single object?

a. Rectangle

b. Fill

c. Polyline

d. Pedit

8. Which tool bar you can use to start the Pedit command? a. Modify

b. Modify II

c. Draw

d. Fill

9. Which one of the following can not be edited using the Pedit command?

a. A circle

b. A line

c. A donut

d. A polyline

10. Exploded polylines do not change their appearance except ploylines with _______.

a. Width

b. Length

c. Thickness

d. Elevation