Repository navigation
PEDIT Command
Edits 2D polylines and polygon meshes, and turns lines and arcs into polylines.
| Command | PEDIT |
| Aliases | PE |
| Ribbon | Draw tab › Modify panel |
| Web app | Available |
| Since | 0.1.3 |
- Select a polyline, or type Multiple (
M) to edit several at once. - If you pick a line or an arc, answer Yes to turn it into a polyline first.
- Enter an option. Repeat as needed.
- Type eXit (
X) or press Enter to finish.
With Multiple, select the objects, press Enter, and answer whether to convert the selected lines and arcs to polylines.
| Option | What it does |
|---|---|
Close (C) |
Adds a segment from the last vertex to the first. |
Open (O) |
Removes the closing segment. |
Join (J) |
Select lines, arcs and polylines that meet the ends of the polyline and press Enter to join them into it. With Multiple, asks for a fuzz distance and a join type instead. |
Width (W) |
Sets one width for the whole polyline. You can also type W and the value together, for example W 0.5. |
Fit (F) |
Replaces the segments with arcs that pass through every vertex. Tangents set with Edit vertex are used. |
Spline (S) |
Fits a smooth spline curve through the vertex frame. |
Decurve (D) |
Removes fit or spline curves and returns to straight segments. |
Edit vertex (E) |
Steps through the vertices to edit one at a time (see below). Not offered with Multiple. |
Ltype gen (L) |
Turns linetype generation ON or OFF: whether the linetype pattern runs continuously over the whole polyline. |
Reverse (R) |
Reverses the order of the vertices. |
Undo (U) |
Undoes the last PEDIT operation. |
eXit (X) |
Ends the command. |
Join type (J, with Multiple) chooses how ends further apart than zero but within the fuzz distance are joined: Extend (E) extends or trims the segments to meet, Add (A) adds a segment between them, Both (B) extends where it can and adds a segment otherwise.
The current vertex is marked. Enter one of:
| Option | What it does |
|---|---|
Next (N) / Previous (P) |
Moves the mark to the next or previous vertex. Enter moves to the next one. |
Break (B) |
Marks this vertex, then move to a second vertex with Next or Previous and type Go (G). The part between the two vertices is removed; with both marks on one vertex, the polyline is split there. |
Insert (I) |
Adds a new vertex after the marked one at a point you specify. |
Move (M) |
Moves the marked vertex to a point you specify. |
Straighten (S) |
Marks this vertex, then move to a second vertex and type Go (G) to replace the part between them with a straight segment. |
Tangent (T) |
Sets a tangent direction at the vertex, used by Fit. |
Width (W) |
Sets the starting and ending widths of the segment after the vertex. |
eXit (X) |
Returns to the main options. |
When you select a polygon mesh, the options are:
| Option | What it does |
|---|---|
Edit vertex (E) |
Steps through the mesh vertices with Next, Previous, Left, Right, Up and Down, and moves one with Move (M). Regen (G) redraws, eXit (X) returns. |
Smooth surface (S) |
Smooths the mesh, using SURFTYPE, SURFU and SURFV. |
Desmooth (D) |
Returns the mesh to its control points. |
M close / M open (MC / MO) |
Closes or opens the mesh in the M direction. |
N close / N open (NC / NO) |
Closes or opens the mesh in the N direction. |
Undo (U) |
Undoes the last operation. |
eXit (X) |
Ends the command. |
- If you select a polyline before starting the command, the select step is skipped.
- The join type and fuzz distance are remembered for the session.
PLINE · JOIN · SPLINEDIT · EXPLODE · 3DMESH
Open CAD Studio is free software under the GPL-3.0 licence · Source code · Download · Web app · Discussions
Get started
- Installation
- Your First Drawing
- Tutorials
- The User Interface
- Ribbon Reference
- Workspaces and Toolbars
- Navigating the Drawing
Draw and edit
- Drawing Setup and Units
- Precision Drawing
- Isometric Drafting
- Drawing Objects
- Multilines
- Selecting Objects
- Modifying Objects
- Hatches and Fills
- Layers and Properties
Annotate
Organise and reuse
Present and share
3D
Tools
Reference