drawing and editing polylines and splines chapter 16...edt 310 - chapter 16 - drawing and editing...
TRANSCRIPT
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 1
Drawing and Editing Drawing and Editing PolylinesPolylines and and SplinesSplines
Chapter 16Chapter 16
Sacramento City CollegeEDT 310
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 2
ObjectivesObjectives
Use the PLINE command to draw polylinesand polyarcs.Edit existing polylines with the PEDITcommand.Describe the function of each PEDIT command option.Use the EXPLODE command to change polylines into individual line and arc segments.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 3
ObjectivesObjectives
Draw and edit spline curves.Create a polyline boundary.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 4
The PLINE CommandThe PLINE Command
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 5
PLINE CommandPLINE Command
The PLINE command can be accessed by:Picking the Polyline button in the Draw toolbar
ORSelecting Polyline from the Draw pull-down menu
ORType PL or PLINE at the Command: prompt.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 6
PLINE Command PLINE Command -- The Arc option The Arc option
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 7
PLINE CommandPLINE Command
The Arc option of the PLINE commandIs similar to the ARC commandThe PLINE Width and Halfwidth options can be used to set an arc width.
The arc width can range from 0 up to the radius of the arc.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 8
PLINE CommandPLINE Command
A polyline arc with different end widths is drawn by accessing the Width option and changing the width values.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 9
Drawing a Continuous Drawing a Continuous PolylinePolyline ArcArc
A polyline arc continued from a previous line or polyline is tangent to the last object drawn.
The arc's center is determined automaticallyYou can pick a new center.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 10
Drawing a Continuous Drawing a Continuous PolylinePolyline ArcArc
If a straight polyline is continued from a polyline arc, the arc's tangent direction remains the same as that of the previous line, arc, or polyline.
This may not be what you want. Specify a different setting with one of the PLINE Arc options.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 11
Drawing a Continuous Drawing a Continuous PolylinePolyline ArcArc
Options:AngleCenterCloseDirectionRadiusSecond pt (second point).
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 12
Specifying the Included AngleSpecifying the Included Angle
You can specify the angle for a PLINE arc by using the Angle option.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 13
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 14
Specifying the Included AngleSpecifying the Included Angle
When a polyline arc is continued from a drawn object, the center point is calculated automatically.You can to pick a new center point.The CEnter option allows you to specify a new center point for the arc.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 15
Specifying the Included AngleSpecifying the Included Angle
If A is entered, the next prompt is:Specify included angle: (enter an included angle and press [Enter])
If L is entered, the next prompt is:Specify length of chord: (enter a chord length and press [Enter])
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 16
The Direction OptionThe Direction Option
The Direction option changes the bearing of the arc. It changes the default option of placing a polyline arc tangent to the last polyline, arc, or line. The Direction option functions much like the Direction option of the ARC command.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 17
Drawing a Drawing a PolylinePolyline Arc by RadiusArc by Radius
Polyline arcs can be drawn by giving the arc's radius. Enter the Radius option inside the PLINEArc command.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 18
ThreeThree--Point Polyline ArcPoint Polyline Arc
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 19
ThreeThree--Point Point PolylinePolyline ArcArc
A three-point polyline arc can be drawn by using the Second pt option.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 20
ThreeThree--Point Point PolylinePolyline ArcArc
The CLose option adds the last segment to close a polygonal shape.
Used inside the PLINE Arc command sequence closes the shape with a polyline arc segment, rather than a straight polyline.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 21
ThreeThree--Point Point PolylinePolyline ArcArc
Notice that CL is entered at the prompt line to distinguish this option from the CEnter option.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 22
Presetting Polyline WidthsPresetting Polyline WidthsThe PLINEWID System Variable The PLINEWID System Variable
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 23
Presetting Presetting PolylinePolyline WidthsWidths
The PLINEWID system variable presets a constant width for polylines.
Enter PLINEWID at the Command: prompt and enter a new value.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 24
Presetting Presetting PolylinePolyline WidthsWidths
Although objects drawn with the POLYGON command are constructed with polylines, they are not affected by the PLINEWID system variable.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 25
Editing Editing PolylinesPolylines
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 26
Editing Editing PolylinesPolylines
Polylines are drawn as single segments.
Even though you draw connecting segments, AutoCAD puts them all together.
The result is one polyline treated as a single object.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 27
Editing Editing PolylinesPolylines
When editing a polyline, you must Edit it as one object
ORDivide it into its individual segments.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 28
Editing Editing PolylinesPolylines
These changes are made with the PEDITand EXPLODE commands.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 29
Editing Editing PolylinesPolylines
The PEDIT command is accessed by:Picking the Edit Polyline button from the Modify II toolbar
ORBy typing PE or PEDIT at the Command: prompt,
ORBy selecting Polyline from the Modify pull-down menu.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 30
Editing Editing PolylinesPolylines
You can also select a polyline and then right-click in the drawing area to display a shortcut menu.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 31
Editing Editing PolylinesPolylines
Use the pick box to select a polyline to be edited.If you use the pick box on a wide polyline, you must place it on the edge of a polylinesegment, rather than in the center.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 32
Editing Editing PolylinesPolylines
If the object you select is a line or arcobject (not a polyline), the following message is displayed:
Object selected is not a polylineDo you want to turn it into one? <Y>
Entering Y or pressing [Enter] turns the selected object into a polyline.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 33
Editing Editing PolylinesPolylines
A group of connected lines and arcs can be turned into a continuous polyline by using the PEDIT Join option.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 34
Editing Editing PolylinesPolylines
A polyline can be edited as a single object, or it can be divided into individual segments to revise each segment individually.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 35
Editing Editing PolylinesPolylines
There is no default option for the PEDITcommand
You must enter one of the options.Pressing [Enter] returns you to the Command: prompt.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 36
Opening and Closing a PolylineOpening and Closing a Polyline
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 37
Opening and Closing a Opening and Closing a PolylinePolyline
You may decide that you need to close an open polyline, or that you need to reopen a closed polyline.
These functions are performed with the Open and Close options of the PEDIT command.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 38
Opening and Closing a PolylineOpening and Closing a Polyline
If you select a polyline that is already closed after issuing the PEDIT command, AutoCAD displays the Open option along with the other PEDIT command options.
Use the Open option to open the polyline.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 39
Opening and Closing a PolylineOpening and Closing a Polyline
If you select an open polyline, the Close option is displayed instead of the open option.
Enter C to close the polyline.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 40
Opening and Closing a PolylineOpening and Closing a Polyline
The Open option is not displayed if you select a polyline that was closed bymanually drawing the final segment.
It is only available if the polygon was closed using the Close option of the PLINE command.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 41
Joining Joining PolylinesPolylines to Other to Other PolylinesPolylines
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 42
Joining Joining PolylinesPolylines to Other to Other PolylinesPolylines
Polylines, lines, and arcs that are connected can be joined to create a single polyline.
Using the Join option of the PEDITcommand.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 43
Joining Joining PolylinesPolylines to Other to Other PolylinesPolylines
This option works only if the polyline and other existing objects meet exactly.
They cannot cross.There cannot be any spaces or breaksbetween the objects.
Select each object to be joined
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 44
Joining Joining PolylinesPolylines to Other to Other PolylinesPolylines
Once items have been joined into a continuous polyline, the polyline can be closed using the PEDIT Close option.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 45
Changing the Polyline WidthChanging the Polyline Width
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 46
Changing the Changing the PolylinePolyline WidthWidth
The Width Option of the PEDIT command allows you to change a polyline width to a new width.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 47
Editing a Polyline VertexEditing a Polyline Vertex
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 48
Editing a Editing a PolylinePolyline VertexVertex
The Edit vertex option of the PEDITcommand is used to
Edit polyline vertices and Points of tangency.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 49
Editing a Editing a PolylinePolyline VertexVertex
A polyline vertex is where straight polylinesegments meet.
A point of tangency is where straight polyline segments or polyline arcs join other polyline arcs.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 50
Editing a Editing a PolylinePolyline VertexVertex
When you enter the Edit vertex option, an "X" marker appears on screen at the first polyline vertex or point of tangency.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 51
Editing a Editing a PolylinePolyline VertexVertex
NextPreviousBreakInsertMove
RegenStraightenTangentWidtheXit
The Edit vertex option has 10 options
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 52
Editing a Editing a PolylinePolyline VertexVertex
NextMoves the "X" marker on screen to the next vertex or point of tangency on the polyline.
PreviousMoves the marker to the previous vertex or point of tangency on the polyline.
BreakBreaks a portion out of the polyline.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 53
Editing a Editing a PolylinePolyline VertexVertex
InsertAdds a new polyline vertex.
MoveMoves a polyline vertex to a new location.
RegenGenerates the revised version of the polyline.
StraightenStraightens polyline segments.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 54
Editing a Editing a PolylinePolyline VertexVertex
TangentSpecifies a tangent direction for curve fitting when using the PEDIT Fit option.
WidthChanges a polyline segment width.
eXitReturns the PEDIT command prompt.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 55
Editing a Editing a PolylinePolyline VertexVertex
Only the current point identified by the "X" marker is affected by editing functions. The marker is moved
Clockwise using the Next option (N)Counterclockwise using the Previous option. (P)
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 56
Editing a Editing a PolylinePolyline VertexVertex
If you edit the vertices of a polyline and nothing appears to happen, use the Regenoption to regenerate the polyline.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 57
Making Breaks in a PolylineMaking Breaks in a Polyline
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 58
Making Breaks in a Making Breaks in a PolylinePolyline
You can break out a portion of a polylineby using the Break option after entering the Edit vertex option.
Use the Next or Previous option to move the "X" marker to the correct vertex.
AutoCAD accepts the highlighted vertex as the first break point.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 59
Making Breaks in a Making Breaks in a PolylinePolyline
Move the marker to the vertex you want to designate as the second break point.
Enter G for Go.
AutoCAD removes the portion of the polyline between the two selected points.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 60
Inserting a New Polyline VertexInserting a New Polyline Vertex
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 61
Inserting a New Inserting a New PolylinePolyline VertexVertex
Use the Insert vertex option to add a new vertex to a polyline.
Use the Next or Previous option to locate the vertex next to where you want the new vertex.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 62
Moving a Polyline VertexMoving a Polyline Vertex
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 63
Moving a Moving a PolylinePolyline VertexVertex
The Move vertex option enables you to move a polyline vertex to a desired location.
This option is similar to the Insert option. Place the "X" marker on the vertex you want to move with Next or Previous.Then, enter the Move option and specify the new location.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 64
Straightening Polyline Segments or Straightening Polyline Segments or ArcsArcs
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 65
Straightening Straightening PolylinePolyline Segments or ArcsSegments or Arcs
The Straighten vertex option allows you to straighten polyline segments or arcs between two points.
Place the "X" marker on the vertex you want to move with Next or Previous.Then, enter Straighten option.If the 'X" marker is not moved before G is entered, AutoCAD straightens the segment from the first marked point to the next vertex.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 66
Changing Polyline Segment WidthsChanging Polyline Segment Widths
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 67
Changing Changing PolylinePolyline Segment WidthsSegment Widths
The Width vertex option is the only option that changes the starting and ending widths of an individual polyline segment. To change a segment width
Move the "X" marker to the beginning vertex of the segment to be altered.Enter the Width option and specify the new width.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 68
Changing Changing PolylinePolyline Segment WidthsSegment Widths
The starting width default value is the current width of the segment to be changed.
The ending width default value is the same as the revised starting width.
Enter the Regen option to have AutoCAD draw the revised polyline.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 69
Making Smooth CurvesMaking Smooth Curves
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 70
Making Smooth CurvesMaking Smooth Curves
In some situations, you may need to convert a polyline into a series of smooth curves.
One example of this is a graph. A graph may show a series of plotted points as a smooth curve rather than straight segments. This process is called curve fitting.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 71
Making Smooth CurvesMaking Smooth Curves
Another example of this is a curved landscape border.
The landscape border can be drawn withstraight polyline segments and then converted to a smooth curve.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 72
Making Smooth CurvesMaking Smooth Curves
Use the PEDIT Fit option and the Tangentvertex editing option.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 73
Making Smooth CurvesMaking Smooth Curves
The Fit option allows you to construct pairs of arcs passing through control points.
You can specify the control pointsOR
You can simply use the vertices of the polyline.
Closely spaced control points produce a smooth curve.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 74
Making Smooth CurvesMaking Smooth Curves
Prior to curve fitting, each vertex can be given a tangent direction.AutoCAD then fits the curve based on the tangent directions that you set.However, you do not need to enter tangent directions.Specifying tangent directions is a way to edit vertices when the PEDIT Fit option does not produce the best results.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 75
Making Smooth CurvesMaking Smooth Curves
Use the Tangent vertex option to edit tangent directions.
Move the 'X" marker to each vertex to be changed.Enter the Tangent option for each specified vertex Enter a tangent direction in degrees
ORPick a point in the expected direction.The direction you choose is then indicated by an arrow placed at the vertex.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 76
Making Smooth CurvesMaking Smooth Curves
Continue by moving the marker to each vertex that you want to change.
Entering the Tangent option for each vertex .
Select a tangent direction.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 77
Making Smooth CurvesMaking Smooth Curves
Once the tangent directions are given for all vertices to be changed, enter the PEDIT Fit option.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 78
Making Smooth CurvesMaking Smooth Curves
You can also Enter the PEDIT commandSelect a polylineEnter the Fit option without adjusting tangencies if desired.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 79
Making Smooth CurvesMaking Smooth Curves
If the resulting curve does not look like what you had anticipated, enter the Edit vertex option.
Make changes using the various vertex editing options as necessary.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 80
The PEDIT The PEDIT SplineSpline OptionOption
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 81
The PEDIT Spline OptionThe PEDIT Spline Option
When a polyline is edited with the PEDIT Fit option, the resulting curve passes through polyline vertices.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 82
The PEDIT Spline OptionThe PEDIT Spline Option
The PEDIT Spline option makes the resulting curve pass through the first and last control points or vertices only.
The curve pulls toward the other vertices(but does not pass through them).
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 83
The PEDIT Spline OptionThe PEDIT Spline Option
The SPLINETYPE system variable determines whether AutoCAD draws cubic or quadratic curves.
Default = 6 = cubic5 = quadratic
Refer to page 597 in text.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 84
Straightening All Polyline SegmentsStraightening All Polyline Segments
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 85
Straightening All Straightening All PolylinePolyline SegmentsSegments
The PEDIT Decurve option returns a polyline edited with the Fit or Spline options to its original form.
The information entered for tangent directions is kept for future reference.
You can also use the Decurve option to straighten the segments of a polyarc.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 86
The Undo OptionThe Undo Option
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 87
The Undo OptionThe Undo Option
If you make a mistake while editing a polyline, use the Undo option.
Using the Undo option more than once allows you to step backward through each option used.
Press [Enter] to return to the Command: prompt.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 88
The Undo OptionThe Undo Option
The UNDO command can also be used at the Command: prompt to undo the effects of the last PEDIT command.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 89
The SPLINE Command The SPLINE Command
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 90
The SPLINE Command The SPLINE Command
The SPLINE command is used to create a special type of curve called a “non-uniform rational B-spline” (NURBS).
A NURBS curve is a “true spline”.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 91
The SPLINE Command The SPLINE Command
To access the SPLINE command:Pick SPLINE button in the Draw toolbar
ORPick SPLINE from the Draw pull-down menu.
ORType SPL or SPLINE at the the Command: prompt.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 92
Drawing Closed Drawing Closed SplinesSplines
Use the Close option to draw a closed spline.
EDT 310 - Chapter 16 - Drawing and Editing Polylines and Splines 93
The Fit Tolerance Specification The Fit Tolerance Specification
Different results can be achieved when drawing splines by altering the specifications used with the Fit Tolerance option.