ARCHSPLACE
Architecture, made simple — since 2018
Align

SketchALin the studio

Align

Align moves the selected lines in the sketch editor so that points on them land on destination points: one pair of points moves them, a second pair also turns them, and S scales them to fit. It places a shape against other lines in a single gesture.

What it is

Align places what you selected by pairs of points: a source point on the shape, and the destination point where it must land. With one pair, the shape moves so that the source lands on the destination. With two pairs, it also turns about the first destination, so that the second source point lies on the line towards the second destination. With scaling on, it also grows or shrinks so that the second source lands exactly on the second destination.

Align works on the lines as you drew them: selecting one side of an outline aligns the whole outline.

When to use it

  • To lay a shape along an edge that is not square to the view, in one gesture instead of a move and a rotation.
  • To fit a shape exactly between two points, with scaling on.

The steps

  1. Choose what to align. In the sketch editor (see Select for the ways in), select the lines with Select first, or pick Align and choose them afterwards.

    Choose what to align. In the sketch editor (see Select for the ways in), select the lines with Select first, or pick Align and choose them afterwards.
  2. Pick Align. Type A and then L quickly, or click Align on the toolbar of the editor. The hint at the cursor tells you to move and turn the selection onto destination points, that one pair moves, two turn, and S scales.

    Pick Align. Type A and then L quickly, or click Align on the toolbar of the editor.
  3. Pick the lines, if none are selected. Click lines to add them, Shift with a click to take one out again, drag a box to the right for the lines lying fully inside or to the left for every line it touches, or press F for a fence. Press Enter when done.

    Pick the lines, if none are selected. Click lines to add them, Shift with a click to take one out again, drag a box to the right for the lines lying fully inside or to the left for every line it touches, or press F for a fence.
  4. Pick the first source point, then the first destination. Both snap to corners, midpoints, crossings, the dimmed shape in force and the lines of the view; you can also type them as x;y. A preview of the moved shape follows the pointer.

    Pick the first source point, then the first destination. Both snap to corners, midpoints, crossings, the dimmed shape in force and the lines of the view; you can also type them as x;y.
  5. Press Enter to move only, or pick the second pair. Enter after the first pair moves the shape and stops there. Otherwise pick a second source point on the shape, then its destination: the preview turns as you point, and the second click places the shape.

    Press Enter to move only, or pick the second pair. Enter after the first pair moves the shape and stops there.
  6. Scale to fit, if you want. Press S before the last click to switch scaling on; the hint says scaling. Press it again to switch it off. Escape takes back the last point given, one at a time, then goes back to Select.

    Scale to fit, if you want. Press S before the last click to switch scaling on; the hint says scaling.

What it refuses

  • Aligning with nothing selected. The points are not asked for until at least one line is picked and Enter ends the selection.
  • Stretching one way. Scaling keeps the proportions of the shape. To stretch a shape in one direction, use Stretch.
  • Part of a line. Align always takes whole lines as drawn.
  • The shape in force. The dimmed shape behind your drawing cannot be aligned, though its corners make good destinations.

What it writes to the contract

Nothing until you press Done. Every alignment is one step inside the editor, and Ctrl+Z goes back through them. The contract changes when you press Done, or Enter with nothing in progress, as one step that you can undo: what the lines enclose becomes the profile of the window or door, points [u, v] in metres across the wall and up from the floor, or the outline of the pattern area in the floorAreas or ceilingAreas of the room, points [x, y] in plan metres.

Moving, turning and scaling keep every arc an arc: its bulge, the third number on its starting point, does not change.

Common questions

How do I simply move a shape from one point to another with Align?

Pick the lines, then a source point and a destination point, and press Enter. With one pair, Align only moves.

How do I make a shape fit exactly between two points?

Give both pairs of points and press S before the last click: the shape is moved, turned and scaled so that the distance between the two source points becomes the distance between the two destination points.

Does Align stretch a shape in one direction?

No. Scaling is the same in every direction, so the shape keeps its proportions.