LESSON 2-7
| |
POLYLINES
A polyline is an object in AutoCAD that consists of one or more line (or arc) segments. A rectangle is an example of a polyline that you are already familiar with. As you've seen, it is one object that can be modified and worked with easier than four separate lines.
Polylines are created using the POLYLINE command, invoked by typing PL at the command line. To draw a simple polyline, draw it as though you are using the line command. The only difference is that it is one object instead of many.
Polylines have some unique qualities that make them very useful:
1. They can have width (constant or varying)
2. They can consist of arcs and lines.
3. They can be edited
4. They can be joined together.
5. They can be exploded into individual segments
When you start the command, you will notice that there are several options available:
Command: pl PLINE
Specify start point: Current line-width is 0.0000 Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: Remember that any time you want to choose an option, you type in the Capitol letter of that option. One important tool is the Close option. This truly closes a polyline, which is different that just having two ends meeting at the same point. A closed polyline is required for extruding into 3-D space and other modifications. If you use the CL option while drawing to complete your polyline, it will automatically be closed. The Spline option allows you to draw a shape of lines using arcs and/or straight lines and then change them into one flowing curve. Also by changing the width of a polyline, you can get some different looks to your lines. Look at the examples below and then practice drawing polylines and try some of the options available. ![]() ![]()
Command: pl PLINE
Remember DDE? Start by entering your first point, then (with Ortho on) move your cursor to the right and type 5 Specify start point: Current line-width is 0.0000 Specify next point or [Arc/Halfwidth/Length/Undo/Width]: 5 Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: a 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 Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: 5 Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: a Specify endpoint of arc or [Angle/CEnter/CLose/Direction/Halfwidth/Line/Radius/Second pt/Undo/Width]: cl To edit a polyline, use the PEDIT command or type PE at the command line.
Command: pe PEDIT Select polyline or [Multiple]:
One of the most common editing tools is the Join (J) option. Use this to combine two or more polylines.Enter an option [Close/Join/Width/Edit vertex/Fit/Spline/Decurve/Ltype gen/Undo]: Use the LINE command to draw a line from 0,0 to 5,5. Now use the line command to draw a line from 5,5 to 8,5. This will leave you with 2 line objects that share a common point (5,5). Start the PEDIT command (PE) and select one of the lines. AutoCAD will ask you if you want to turn it into one, select Y
Command: pe PEDIT Select polyline or [Multiple]:
Object selected is not a polyline Do you want to turn it into one? Enter an option [Close/Join/Width/Edit vertex/Fit/Spline/Decurve/Ltype gen/Undo]: J Select objects: 1 segments added to polyline
Enter an option [Close/Join/Width/Edit vertex/Fit/Spline/Decurve/Ltype
Now you have one object (a polyline). This is a handy tool to use for editing.gen/Undo]: Now the shape is complete and you can offset it, scale it, etc., as one object. In 3D, you could also extrude it. Polylines are useful - try to use them whenever possible. Sometimes you can draw the outside walls of a building, offset the polyline for the wall thickness, then explode both of them for more versatility. Extra Practice: Copy this drawing - extra_2-001.gif. You will need to use the Arc option when drawing the polyline. Try to draw it as one line, but if you have trouble, draw two polylines and join them. After drawing it, use the Spline option of PEDIT to change the polyline. Once you have the spline, use the Decurve option. Extra Practice: Draw the exercise from Lesson 1-4 as a polyline. This is also a good chance to review your input options. Extra Practice: Copy this drawing - extra_2-002.gif. The centre line in the middle indicates that both halves are the same. Create one polyline, then offset it to get the smaller one. |




No comments:
Post a Comment
Note: Only a member of this blog may post a comment.