Selecting and rotating
- Gratuit
- Depuis la v0.1.0
Pick pieces, move them, and turn them to any angle with the rotate handle, a typed angle or R, alone or as a group.
Selecting
#The Select tool (V) is the default. Click a piece to select it. Shift-click to add to the selection. Click empty canvas to clear. Press Esc to clear in one step.
The inspector on the right shows the current selection's details — connector types, dimensions, neighbouring joins. Drag its left edge to make it wider (or focus the divider and use the arrow keys) when a long name or SKU doesn't fit; the width is remembered on your device.
Moving
#Drag a piece to move it. Press on a piece and drag — the point on the track you grabbed stays under the cursor (it doesn't jump to the piece's centre or trail by its end), and it snaps to a free connector on release. If the piece wasn't selected, the drag selects it first; if it's part of a multi-selection, the whole group moves together as one undo step. A press that doesn't move is just a click, so it still selects. Dragging on empty canvas pans the view instead.
If a move would drop a piece on top of another one it isn't joining, the dragged piece turns red and the drop is refused — it snaps back to where it was. Move it somewhere clear (or snap its connector onto the other piece — joined pieces are meant to touch) and the colour returns to normal. This is the same overlap rule the Place tool uses — and like it, it's lifted by ticking I know what I'm doing in the status bar, when the drop goes ahead and the checks flag the clash instead.
Hold Shift while dragging to lock the move to one axis. The lock follows whichever direction you've dragged farthest — push mostly sideways and it pins the up/down, push mostly up/down and it pins the sideways — and it switches live if you change your mind mid-drag, so you can slide a piece dead straight along the bench. A dashed guide line through the point you grabbed shows the axis you're locked to. It works the same in the 2D editor and the 3D view. (Shift when you first grab a piece adds it to the selection instead; the axis lock only applies once the drag is moving.)
Rotating
#Select a piece and a round rotate handle appears just above it. The handle is attached to the piece: it turns with it, however you turn it, so after a turn it's on the side you left it, the same distance from the track. Press the handle and drag it round the piece: the piece turns with it, about its middle, to any angle. A line from the middle to the handle shows what it's turning about, and a readout beside the handle gives the piece's angle as you go. Let go to keep it, or press Esc before you let go to put it back.
- The angle follows your pointer to a tenth of a degree. The further out from the piece you drag, the finer the control.
- Hold
Shiftto land on 15° steps (0°, 15°, 30°, 45°…). You can press or release it mid-drag.
To set an exact angle, type it in the inspector's Rotation field and press Enter. The piece turns about its middle, the shorter way round. Beside the field, ↺ and ↻ turn it 15° counter-clockwise or clockwise.
From the keyboard, in one press:
Rrotates +15° (counter-clockwise).Shift+Rrotates −15° (clockwise).
The right-click menu has Rotate counter-clockwise and Rotate clockwise too. 15° divides evenly into 360° and reaches the 15°, 30°, 45° and 90° angles most track is laid at.
With a piece in hand (the Place tool), R and Shift+R turn the piece you're about to place instead, so a turnout dropped away from other track can go down at any of those angles. Picking up a piece lets go of whatever was selected, so these keys can't turn something already on the plan by mistake. The turn stays for the next piece until you put the Place tool down. A piece that snaps onto track takes that track's direction whatever its turn.
Every turn is one undo step, a whole drag included.
Rotating a group
#Multi-select two or more pieces (Shift-click, or hold Shift and drag a marquee) and drag the rotate handle, or press R / Shift+R. The whole group rotates as a rigid body: distances and joins between selected pieces are preserved. While you drag, the readout gives how far the group has turned (+12.5°), since its pieces each point their own way; Shift snaps that turn to 15° steps.
Turning a piece breaks its joins to pieces you didn't select. Their ends no longer line up once it has turned, so those joins drop and the ends show as open, even if you turn it back by hand. Rotating never joins track either: to connect a turned piece, drag it onto the open end and let it snap. To turn a stretch of track without breaking it, select all of it first.
Where it turns about. The handle, the inspector's field and its buttons turn the selection about its middle. R lets you choose: it turns about the selection's free connector (an end with nothing joined to it) closest to the cursor. So if you want to swing a curve sequence around its outer endpoint, move the cursor near that endpoint and press R. If the selection is a closed loop (no free connectors) or the cursor has wandered off the canvas, it turns about the selection's centroid. The right-click menu's rotate items turn about the free connector nearest where you right-clicked.
This matches how you'd physically rotate a sub-assembly on the baseboard: by holding the end you care about and swinging the rest.
Deleting
#Delete or Backspace removes every selected piece in a single undo step. Joins to neighbours that survived are kept; joins between deleted pieces vanish with them.
Undo / Redo
#⌘Z / Ctrl+Z undoes. ⌘Shift+Z / Ctrl+Shift+Z redoes. Every placement, rotation, flip, deletion, and group rotation is one step.