Edit Toolbar

The Edit Toolbar provides commands used to edit objects in drawings. If not already displayed, the edit toolbar will appear when an object is selected for editing with a CTRL-ALT clicking the object.

 

images\tbar_edit.gif

 

Commands are enabled when the editing situation allows. For example, if an object consisting of only one branch is being edited the Delete Branch command will not be enabled.

 

images\btn_edit_tbar_add_coordinate.gif

Add Coordinate (A) - Add a new coordinate wherever the tool is clicked, inserting the new coordinate into the segment nearest the clicked location.

images\btn_edit_tbar_add_coord_on_seg.gif

Add Coordinate on Segment - Add a new coordinate exactly on the segment nearest the clicked location.

images\btn_edit_tbar_delete_coordinate.gif

Delete Coordinate (D) - Delete the next clicked coordinate.

images\btn_edit_tbar_del_coord_split_branch.gif

Delete Coordinate / Split Branch - Delete the next clicked coordinate together with both adjacent segments, treating the remnants to either side of the deleted segments as two branches. Enabled when there are sufficient coordinates so that deleting a coordinate can create two branches.

images\btn_edit_tbar_split_branch.gif

Split Branch - Split the object into two branches at the next clicked coordinate.

images\btn_edit_tbar_delete_branch.gif

Delete Branch - Delete the clicked branch. Enabled when there is more than one branch.

images\btn_edit_tbar_extend.gif

Extend (E) - Extend the edited line to another line or area object, if by extending the last segment of the edited line it is possible to intersect the target object. Choose the tool, click the end of the line being edited and then click the object to which the line is to be extended.

images\btn_edit_tbar_leave.gif

Leave (L) - Cut an edited object with another object, leaving the designated part. Choose the tool, click a location in the part of the edited object that is to be retained and then click the object to be used as a cutter.

images\btn_edit_tbar_trim.gif

Trim (T) - Cut an edited object with another object, trimming off the designated part. Choose the tool, click a location in the part of the edited object that is to be removed and then click the object to be used as a cutter.

images\btn_edit_tbar_split.gif

Split (S) - Split an edited object with another object. Choose the tool and then click the object to be used as a cutter.

 

The most frequently used edit toolbar commands have keyboard shortcuts that allow them to be toggled on, switched and toggled off with a single key when an object is selected for editing. Using the keyboard shortcuts will speed up work flow in many situations because the mouse cursor can be kept near the work while the keyboard is used to rapidly choose the command desired. For example, with an object selected pressing the A key (either uppercase or lowercase) chooses the Add Coordinate command. Pressing the D key will switch from Add Coordinate to the Delete Coordinate tool. Pressing the D key again will toggle the Delete Coordinate command off. Note that pressing the next command's key will switch to that command without any need to first toggle off the previous command.

 

Edit Toolbar Commands Illustrated

 

The following sequence of illustrations show edit toolbar commands in action. Each is preceded the toolbar icon and brief description. Illustrations show the action of the command in a simple situation so that the action is clear. Following is an enlarged view of the command's toolbar icon with comments intended to help remember and recall the mnemonic nature of the icon. Illustrations use line objects. The same commands work areas as well.

 

Add Coordinate (A)

 

images\btn_edit_tbar_add_coordinate.gif Add Coordinate (A) - Add a new coordinate wherever the tool is clicked, inserting the new coordinate into the segment nearest the clicked location.

 

images\eg_edit_01.gif

 

images\eg_edit_02.gif

 

images\eg_edit_03.gif

 

Choosing this tool and then clicking near a segment of a selected object will add a new coordinate and edit handle to the object at the location of the click. Note that the coordinate is added not necessarily exactly on the segment, but at the location of the click. The click must be made close to the segment so that it is unambiguous to which segment the coordinate is to be added. If the coordinate is to be moved farther away from the previous segment, create it with a click, toggle the Add Coordinate command off and then drag the coordinate to the location desired.

 

images\ill_edit_add_coord.gif

 

The icon for this command shows a new coordinate (the black square) added and so the old line segment (the red segment) moves into the new black line shape.

 

 

Add Coordinate on Segment

 

images\btn_edit_tbar_add_coord_on_seg.gif Add Coordinate on Segment - Add a new coordinate exactly on the segment nearest the clicked location.

 

images\eg_edit_04.gif

 

images\eg_edit_05.gif

 

This command is similar to the one above except that when clicking near a segment it creates the new coordinate exactly on the old segment at the location nearest the click. It is used in a variety of ways, including to provide specific targets for Snap modes or using Snap modes to add coordinates at intersections between objects.

 

images\ill_edit_add_coord_seg.gif

 

The icon shows a new coordinate (the black square) added with no change in the line shape since the new coordinate is added exactly on an existing segment.

 

 

Delete Coordinate (D)

 

images\btn_edit_tbar_delete_coordinate.gif Delete Coordinate (D) - Delete the next clicked coordinate.

 

images\eg_edit_06.gif

 

images\eg_edit_07.gif

 

Clicking on a coordinate / edit handle with this tool deletes it, collapsing the two segments it separated into a single segment between adjacent surviving coordinates.

 

images\ill_edit_del_coord.gif

 

The icon shows the two line segments deleted (the red apex lines) when a coordinate at the apex is deleted. The result is the black line seen.

 

 

Delete Coordinate / Split Branch

 

images\btn_edit_tbar_del_coord_split_branch.gif Delete Coordinate / Split Branch - Delete the next clicked coordinate together with both adjacent segments, treating the remnants to either side of the deleted segments as two branches. Enabled when there are sufficient coordinates so that deleting a coordinate can create two branches.

 

images\eg_edit_08.gif

 

images\eg_edit_09.gif

 

This tool is similar to the above, except when the clicked coordinate is deleted both the coordinate as well as the two adjacent segments are deleted, leaving a gap between what have become separate branches.

 

images\ill_edit_delcoord_split.gif

 

The icon shows the two line segments deleted (the red apex lines) when a coordinate at the apex is deleted, with no segment replacing them. The two black lines shown are the result.

 

 

Split Branch

 

images\btn_edit_tbar_split_branch.gif Split Branch - Split the object into two branches at the next clicked coordinate.

 

images\eg_edit_10.gif

 

images\eg_edit_11.gif

 

Clicking this tool on a coordinate will split the object into two branches at that location. Note that there is no immediate difference in appearance, since the two objects are exactly coincident at their mutual ends at the clicked position, with no gap between them.

 

images\eg_edit_12.gif

 

We can see this by CTRL-SHIFT clicking and dragging one of the branches to move it in its entirety to a slightly different position.

 

images\eg_edit_13.gif

 

This shows that there really were two branches formed. In reality, we will often split an object into two branches not to simply move one of the branches but rather to delete one of the branches. This is faster than deleting many coordinates one by one to delete the undesired portion of the object.

 

images\ill_edit_split_branch.gif

 

The icon shows a gap where the branch is split at the apex to indicate it is split into two branches. Note that in reality no gap appears when one branch is split into two branches since the ends of both branches will be exactly coincident at the location of the split.

 

 

Delete Branch

 

images\btn_edit_tbar_delete_branch.gif Delete Branch - Delete the clicked branch. Enabled when there is more than one branch.

 

images\eg_edit_14.gif

 

images\eg_edit_15.gif

 

Available only for objects consisting of more than one branch, click this tool on any coordinate of a branch to delete that branch.

 

images\ill_edit_del_branch.gif

 

The icon shows a red figure where the entire branch is deleted. Note that in reality if a line consists of a single branch this last branch cannot be deleted.

 

 

Extend (E)

 

images\btn_edit_tbar_extend.gif Extend (E) - Extend the edited line to another line or area object, if by extending the last segment of the edited line it is possible to intersect the target object. Choose the tool, click the end of the line being edited and then click the object to which the line is to be extended.

 

images\eg_edit_16.gif

 

We begin with a line selected that is to be extended so that it precisely meets the line to the upper right. We select the tool and click once on the line segment or end coordinate / edit handle of the line to be extended...

 

images\eg_edit_17.gif

 

images\eg_edit_18.gif

 

...and then we click on the line to which it is to be extended.

 

images\eg_edit_19.gif

 

The last segment is extended in its current direction so that the last coordinate is precisely on the target line.

 

images\eg_edit_20.gif

 

Note that this command does not "split" the target line. If we select the target line for editing, we can see that it consists of two coordinates. There was no new coordinate inserted at the intersection with the extended line.

 

images\ill_edit_extend.gif

 

The icon shows one line selected (with a black square) being extended to a more solid line that is also selected.

 

Note: Manifold provides a CTRL command to extend to the next intersection if the line already intersects the object. When using the Extend command, CTRL-clicking the object to which the line should be extended will extend the edited line to the next intersection with the object if the line already intersects the object.

 

 

Leave (L)

 

images\btn_edit_tbar_leave.gif Leave (L) - Cut an edited object with another object, leaving the designated part. Choose the tool, click a location in the part of the edited object that is to be retained and then click the object to be used as a cutter.

 

images\eg_edit_21.gif

 

Given a line selected for editing that is to be cut by a second line, we choose the tool and then we first click on the portion of the edited line to leave...

 

images\eg_edit_22.gif

 

images\eg_edit_23.gif

 

...and then we click on the cutting line.

 

images\eg_edit_24.gif

 

The result is the edited line is cut by the cutter and any portion other the portion clicked is discarded.

 

images\ill_edit_leave.gif

 

The icon shows a cutting line cutting the selected line, leaving the portion originally clicked (with the black square) and deleting the portion in red on the other side of the cutter.

 

 

Trim (T)

 

images\btn_edit_tbar_trim.gif Trim (T) - Cut an edited object with another object, trimming off the designated part. Choose the tool, click a location in the part of the edited object that is to be removed and then click the object to be used as a cutter.

 

To use Trim we first click on the portion of the edited line to be discarded, or trimmed...

 

images\eg_edit_25.gif

 

images\eg_edit_26.gif

 

...and then we click on the line to use as a cutter.

 

images\eg_edit_27.gif

 

The portion of the edited line first clicked is removed, that is, trimmed.

 

images\ill_edit_trim.gif

 

The icon shows a cutting line cutting the selected line, deleting the portion originally clicked (with the black square and red line) and saving the portion in black on the other side of the cutter.

 

 

Split (S)

 

images\btn_edit_tbar_split.gif Split (S) - Split an edited object with another object. Choose the tool and then click the object to be used as a cutter.

 

images\eg_edit_28.gif

 

Given a line selected for editing that is intersected by some other line we click on the cutting line.

 

images\eg_edit_29.gif

 

The line selected for editing is then split into two branches.

 

images\eg_edit_30.gif

 

We can see it has been split into two branches because there are now two coincident terminal coordinate points located exactly at the location where the cutting line intersected the edited line.

 

images\ill_edit_split.gif

 

The icon shows a black line being cut into two by a cutting line. Note that in reality a line split by a cutter will not have a gap at the location of the cut, since the ends of the two split pieces will be exactly coincident.

 

Scroll Wheel

 

When using a mouse with a scroll wheel we can use the scroll wheel to zoom in and out. This works even in the middle of commands such as the edit toolbar editing commands. By default the zoom will be centered on the mouse position. Holding the CTRL key while operating the scroll wheel will force the zoom to be near the center of the opened window.