PEdit

BricsCAD (Windows)BricsCAD (Mac)BricsCAD (Linux)

 

Edits polylines, 3D polylines, and 3D meshes (short for "polyline edit").

Accessing the Command

command bar:  pedit

aliases:  editpline, pe

menu: Modify | Edit Polyline

toolbar: Modify |

mouse: (double click a polyline)

 

: pedit

Prompts you in the command bar:

Multiple/Select polyline to edit: (Choose one polyline or polyface mesh or type M to select multiple polylines.)

 

When a 2D polyline is selected, you are prompted:

Edit polyline: Edit vertices/Close/Decurve/Fit/Join/Linetype-mode/Reverse/Spline/Taper/Width/Undo/<eXit>: (Enter an option, or press Enter to exit the command.)

 

When a 3D polyline is selected, you are prompted:

Edit polyline: Edit vertices/Close/Decurve/Join/Reverse/Undo/<eXit>: (Enter an option, or press Enter to exit the command.)

 

When a 3D mesh is selected, you are prompted:

Edit polyline: Edit vertices/Desmooth/Mopen/Nclose/Undo/<eXit>: (Enter an option, or press Enter to exit the command.)

 

When a line, arc, circle or spline is selected, you are prompted:

The entity selected is not a polyline.  Turn it into one? <Y> : (Press Enter to turn the selected entity into a 2D polyline.)

Edit polyline: Edit vertices/Close/Decurve/Fit/Join/Linetype-mode/Reverse/Spline/Taper/Width/Undo/<eXit>: (Enter an option, or press Enter to exit the command.)

 

When the Multiple option is chosen, you are prompted:

Select entities: (Select lines, polylines, arcs and/or splines)

When one or more lines, arcs, circles or spline are selected, you are prompted:

The entity selected is not a polyline.  Turn it into one? <Y>: (Press Enter to turn the selected entities into a 2D polylines.)

Edit polyline: Edit vertices/Close/Decurve/Fit/Join/Linetype-mode/Reverse/Spline/Taper/Width/Undo/<eXit>: (Enter an option, or press Enter to exit the command.)

Command Options

Option

Description

Select polyline to edit

Chooses a single polyline, 3D polyline, or 3D mesh to edit.

 

2D Polyline Option

Description

Edit vertices

Edit vertices; prompts you:

Edit vertices: Next/Previous/Angle/Break/Insert/Move/Regen/SElect/Straighten/Width/eXit/<Next> - enter an option.

BricsCAD displays a triangle marker at the start of the polyline, and an X marker at the current vertex.

Enter Next or Previous to move the marker from vertex to vertex.

Alternatively, use the SElect option to select the vertex directly.

Next

Moves the X marker to the next vertex.

When the marker reaches the last vertex of a closed polyline, it does not move to the "next' (first) vertex.

Previous

Moves the X marker to the previous vertex.

Angle

Changes the angle of the current segment:

  • If an arc segment, changes the angle (curvature) to the arc.

  • If a line segment, turns it into an arc.

  • Enter 0 to convert an arc segment into a line segment.

Prompts you:

Included angle for segment (>0 is ccw, 0 is straight, <0 is cw) <0> - enter an angle.

Break

Removes segments from the polyline; prompts you:

Next/Previous/Select/Go/eXit/<Next> - enter an option.

BricsCAD marks the two vertices that define the segments to be removed with two X markers.

Next

Moves the second X marker to the next vertex.

Previous

Moves the second X marker to the previous vertex.

Select

Moves second X marker directly to another vertex; prompts you:

Select point along segment move to - pick a point on the polyline.

BricsCAD places the second X marker on the vertex nearest to the pick point.

This option is faster than using Next and Previous.

Go

Erases the segments between two marked vertices.

This action turns:

  • Closed polylines into open polylines.

  • Open polylines into two polylines, with a gap between them.

This action cannot be undone.

eXit

Exits this sub-sub-option; returns to the previous prompt line.

Insert

Inserts a vertex; prompts you:

Location of vertex - pick a point for the new vertex.

The drag line previews the location of the new vertex.

BricsCAD adds the vertex and segment.

 

Move

Moves the current vertex; prompts you:

New location for vertex - pick point to move the vertex.

The drag line previews the new location of the vertex.

BricsCAD moves the vertex and associated segments.

It is easier to move vertices using grips.

Regen

Regenerates the polyline to show changes made by the editing actions of this command.

SElect

Moves X marker directly to another vertex; prompts you:

Select point along segment to edit - pick a point on the polyline.

BricsCAD places the X marker on the vertex nearest to the pick point.

This option is faster than using the Next and Previous options.

Straighten

Removes all segments between two vertices; prompts you:

Straighten: Next/Previous/Select/Go/eXit - enter an option

When you select the start and end points of an multi-segment polyline, the entire polyline is straightened, becoming a single segment; this also applies to closed polylines.

Next

Moves the second X marker to the next vertex.

Previous

Moves the second X marker to the previous vertex.

Select

Moves second X marker directly to another vertex; prompts you:

Select point along segment move to - pick a point on the polyline.

BricsCAD places the second X marker on the vertex nearest to the pick point.

This option is faster than using the Next and Previous options.

Go

Replaces the segments between the two marked vertices with a single segment.

This action cannot be undone.

eXit

Exits this sub-sub-option; returns to the previous prompt line.

 

Width

Changes the width of the current segment; prompts you:

Enter new starting width - specifies the width at the starting end of the polyline.

Enter new ending width - specifies the width at the polyline's end.

The "current" segment lays between the X-marked vertex and the next vertex.

eXit

Exits this sub-option; returns to the previous prompt line.

 

Close

Closes the polyline by adding a segment between the start and endpoints.

When the polyline is closed, this option reads Open.

Open

Opens closed polylines by removing the last segment drawn to close the polyline.

When the polyline is open, this option reads Close.

Decurve

Reverses the effects the Fit and Spline options.

Fit

Fits a curve to the polyline.

To unfit the polyline, use the Decurve option.

Join

When editing a single polyline:

Adds lines, arcs, and polylines to the selected polyline; prompts you:

Select arc or line for joining:

This option works only with open polylines and with cojoined lines, polylines, and arcs; it does not work with traces.

Cojoined means that the endpoints of entities meet, such as when drawn with ENDpoint object snap.

The number of already selected entities displays in the command bar: Entities in set: 3

Press Enter or right click to create the polyline: 3 segments added to polyline

The joined entities take on the source polyline's properties, such as color, width, and layer.

 

When editing multiple polylines:

; prompts you:

Enter fuzz distance or [Jointype]:

Do one of the following:

  • Press Enter to create one or more polylines with cojoined lines, polylines, and arcs in the selection set.

  • Enter a so called 'fuzz distance' then press Enter to  create one or more polylines with cojoined lines, polylines, and arcs in the selection set. If endpoints exist within the fuzz distance lines, polylines and arcs are extend or trimmed.

  • Type J, then press Enter; prompts you: Specify type of joining: [Extend/Add/Both]:
    Select a jointype:

    • Extend: Extends or trims the segments to their nearest endpoints that lie within the fuzz distance.

    • Add: Adds linear segments between their nearest endpoints that lie within the fuzz distance..

    • Both:  If possible joins the selected polylines by extending or trimming, otherwise adds linear segments.

BricsCAD reports the number of polylines created in the command bar: #segments added to # polylines

Linetype-mode

Determines how linetype appear on polylines; prompts you:

Linetype continuous along polyline: ON/OFF <OFF>:

  • ON - linetypes start and stop at the polyline's start and endpoints.

  • OFF - linetypes start and stop at each vertex.

(This option is related to the PLineGen system variable.)

Reverse

Reverses the direction of the polyline: the starting point is now its end point, and vice versa.

The polyline does not change its look with this operation.

This option affects operations that depend on the direction of a polyline, such as vertex editing.

The polyline does not change its look with this operation, except that the triangle marker moves to the other end of open polylines.

Spline

Converts the polyline into a spline.

All width information is lost; use the Width option to reapply width.

The spline is a Bezier-spline whose smoothing is defined by the SplineType system variable.

Taper

Tapers the width of the entire polyline from one end to the other; prompts you:

Enter new starting polyline width - specify the width at the starting end of the polyline.

Enter new ending polyline width - specify the width at the polyline's end.

Width

Changes the width of all segments; prompts you:

Enter new width for all segments - specify a width.

This option overrides tapered widths.

Undo

Undoes the last action.

eXit

Exits the command.

 

3D Polyline Option

Description

Edit vertices

Edit vertices; prompts you:

Edit vertices: Next/Previous/Break/Insert/Move/Regen/SElect/Straighten/eXit/<Next> - enter an option.

See polyline options, above.

(The Angle and Width options are missing, because 3D polylines cannot contain arcs and cannot have width.)

Close

Closes open 3D polylines by adding a segment between the start and endpoints.

When the 3D polyline is closed, this options reads Open.

Open

Opens closed 3D polylines by removing the last segment drawn to close the polyline.

When the 3D polyline is open, this options reads Close.

Decurve

Reverses the effects the Fit and Spline options.

Join

Adds lines, arcs, and polylines to the selected polyline; prompts you:

Select entities - choose lines and arcs.

This option works only with open polylines and with cojoined lines, polylines, and arcs; it does not work with traces.

Cojoined means that the endpoints of entities meet, such as when drawn with ENDpoint object snap.

The joined entities take on the source polyline's properties, such as color, width, and layer.

Reverse

Reverses the direction of the 3D polyline: the starting point is now its end point, and vice versa.

The 3D polyline does not change its look with this operation.

This option affects operations that depend on the direction of a polyline, such as vertex editing.

The polyline does not change its look with this operation, except that the triangle marker moves to the other end of open polylines.

Undo

Undoes the last action.

Exit

Exits the command.

 

3D Polyface Mesh Option

Description

Edit vertices

Moves vertices; prompts you:

Edit vertex (0,0): Select/Next/Previous/Left/RIght/Up/Down/Move/REgen/eXit - enter an option.

BricsCAD displays a triangle marker on the home vertex (0,0) and an X marker on the current vertex.

It is easier to move vertices using grips.

Select

Moves X marker directly to another vertex; prompts you:

Select point along segment to edit - pick a point on the mesh.

BricsCAD places the X marker on the vertex nearest to the pick point.

This option is faster than using the Next and Previous options.

Next

Moves the X marker to the next vertex.

When the marker reaches the last vertex, it does not move to the "next' (first) vertex.

Previous

Moves the X marker to the previous vertex.

Left

Moves the X marker to the vertex on the left.

RIght

Moves the X marker to the vertex on the right.

Up

Moves the X marker to the higher-numbered vertex.

Down

Moves the X marker to the lower-numbered vertex.

Move

Moves the current vertex; prompts you:

New location for vertex - pick a point to move the vertex.

The drag line previews the new location of the vertex.

BricsCAD moves the vertex and associated faces.

REgen

Regenerates the polyline to show changes made by the editing actions of this command.

eXit

Exits this sub-option; returns to the previous prompt line.

 

Desmooth

Removes the Bezier-spline smoothing of 3D meshes.

Mclose

Closes the 3D mesh in the m direction:

When the mesh is closed, this option reads MOpen.

Mopen

Opens the 3D mesh in the m direction.

When the mesh is closed, this option reads MClose.

Nclose

Closes the 3D mesh in the n direction:

When the mesh is closed, this option reads NOpen.

Nopen

Open the 3D mesh in the n direction.

When the mesh is closed, this option reads NClose.

Undo

Undoes the last action.

eXit

Exits the command.

Procedures

Converting an entity into a polyline

To fit a curve to a polyline

Convert a straight polyline segment into an arc

Break a polyline into two separate polylines

Insert a new vertex in a polyline

Move a vertex in a polyline

Delete vertices in a polyline

Change the width of a polyline segment

To apply a uniform width to a polyline

To taper a polyline uniformly along its length

To join an arc, line, or polyline to an existing polyline

Opening and closing polylines

Setting the Linetype generation mode

Related Commands

3dPoly - draws 3D polylines.

3dFace - draws 3D 4-edged faces with optional invisible edges.

3dMesh - draws 3D surface meshes of size m x n.

ConvertPoly - converts lightweight polylines to classic polylines (2D polylines) and vice versa.

Join - joins lines, LW polylines, 2D polylines, 3D polylines, circular arcs, elliptical arcs, splines and helixes at their common endpoints.

PeditExt - Edits vertices and segments of a polyline.

PFace - draws 3D multi-sided meshes.

PLine - draws polylines.

 


© Menhirs NV. All rights reserved.