Modify Tools: Move, Offset, Trim, Mirror and Arrays
CAD-style commands for your markups: move, copy, mirror, scale, offset, trim, extend, break, join, explode, reverse, and grids or circles of copies.
Edit > Modify has the commands you know from CAD software, for the lines, polylines, polygons, rectangles and ellipses you have drawn or measured. Each command is one undo step, and each has a hotkey, shown beside it in the menu.
Two kinds of command. Move, Copy by base point, Mirror, Scale, Multiply, Polar array, Join, Explode and Reverse work on the markups you have selected, so select them first. Offset, Trim, Extend and Break work on the markup you click, so no selection is needed. They stay on after each use, so you can work down a drawing. Press Esc to stop, or press another Modify hotkey to switch.
A prompt follows the pointer and tells you the next step. When a distance or factor is wanted, it has a field: type the value and press Enter. Distances follow the page scale, so with a scale of 1 in = 10 ft you can type 3 ft, 36 in or just 3 (a plain number means the scale's unit). With no scale set, a plain number is in PDF points.
Move, copy, mirror and scale
Move (M) and Copy by base point (Shift+C)
- Select the markups, then choose Edit > Modify > Move.
- Click a base point, then click where it should go. Or type a distance and press Enter to move that far toward the pointer.
- Copy by base point works the same, but leaves the originals and stays on so you can place more copies. Press Esc when you are done.
Mirror (I)
- Select the markups, then choose Edit > Modify > Mirror.
- Click two points to set the mirror line. A dashed outline shows the result as you move the pointer. The markups are flipped across the line.
Scale (S)
- Select the markups, then choose Edit > Modify > Scale.
- Click a base point, which stays where it is. Type a factor, such as 2, or a percentage, such as 50%, and press Enter.
Offset, trim, extend and break
Offset (O)
- Choose Edit > Modify > Offset, then click the line, polyline, polygon, rectangle or ellipse.
- Move the pointer to the side you want. Click to offset by that distance, or type a distance and press Enter.
- A copy is made at that distance. It will not be made if the result would fold over itself or collapse, such as moving a small polygon inward by more than half its width. A rectangle stays a rectangle, grown or shrunk on every side. An ellipse is offset by growing or shrinking both of its radii by the distance. That is an approximation, because the true offset of an ellipse is not quite an ellipse; it is close for modest distances, and DraftPDF will not offset an ellipse inward past the point where the approximation would break down.
Trim (Shift+T)
- Choose Edit > Modify > Trim, then click the part of a line or polyline to remove.
- The part between the nearest markups that cross it is cut away. With another markup on one side only, the line is cut back to it. Rectangles, ellipses and polygons count as edges to trim to.
- If the cut splits the line in two, the second piece is a new markup. An arrowhead stays only on the piece that still has that end.
Extend (Shift+E)
- Choose Edit > Modify > Extend, then click near the end of a line or polyline.
- That end is carried on in a straight line until it meets the next markup.
Break (B)
- Choose Edit > Modify > Break, then click a first point on a line or polyline.
- Click a second point to take out the gap between them, or click the same spot again to split the line in two.
Join, explode and reverse
- Join (J): select lines and polylines whose ends meet, within 1 point, and choose Join. They become one polyline, or a polygon if they close a loop. It will not join three or more ends that meet at one point, or pieces that do not all connect.
- Explode (X): select polylines or polygons and choose Explode. Each becomes separate lines, one per side. The originals are removed.
- Reverse (Shift+V): select lines, polylines or polygons and choose Reverse. They run the other way, so an arrow points the opposite way.
Grids and circles of copies
Multiply (Shift+M)
- Select the markups and choose Edit > Modify > Multiply.
- Set the columns and rows, which count the originals. The gap is the space between one copy and the next, measured across everything you selected. A negative gap overlaps the copies.
- Click Multiply. Columns run to the right and rows run down the page.
Polar array (Shift+A)
- Select the markups and choose Edit > Modify > Polar array.
- Set the number of items, which counts the originals, and the fill angle. 360 spaces them evenly round a full circle. A smaller angle puts the first and last at its ends.
- Leave Rotate items on to turn each copy as it goes round, or turn it off to keep every copy facing the same way.
- Click Choose centre, then click the centre of the array on the page.
Align and distribute
Edit > Align
- Select two or more markups on one page (three for Distribute), then choose Edit > Align and a command.
- Align left, Align center and Align right line the markups up with the left edge, the middle line or the right edge of the whole selection. Align top, Align middle and Align bottom do the same from top to bottom.
- Distribute horizontally and Distribute vertically leave the two outermost markups where they are and space the others so the gaps between neighbours are equal. If markups overlap, the overlaps are made equal.
Align and distribute work on shapes, lines, polygons, text boxes and freehand strokes, using each one's visible edges. The members of a group stay together and move as one, so a group lines up by its overall edges. Locked markups stay where they are but still count when the selection's edges are worked out, and Distribute will not run if one is locked. Each command is one undo step. They are also on the toolbar (the Align section) and in the command palette (Ctrl+K), and have no hotkeys. See Align and Distribute for the full guide.
What the commands work on
Lines, polylines, polygons, rectangles and ellipses, including the measurements you have made with the Measure tools. Other markups, such as text boxes, stamps and freehand pen strokes, are not supported and the command says so. Locked markups can be copied but not changed. The commands work on markups only, not on the lines of the drawing underneath.
Measurements: Move, Copy, Mirror, Scale, Multiply, Polar array, Reverse and Explode work on them, and a copy keeps its scale. Offset, Trim, Extend, Break and Join leave measurements alone. Explode turns a measurement into plain lines, so its value is gone.
Names: each measurement's Subject is the name a Math note uses for it. A copy of L1 is named L1-2, then L1-3, so a calculation that uses L1 still finds the original. If a Modify command changes a measurement's value, such as Scale, Math notes update their text as a separate step, so you may need to press Undo twice to undo the command and the update.