mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-22 21:21:10 +02:00
feat(editor): Alt while laying turns the straight to 1:9, 1:6.6... of a straight track
Besides the steps of 15 degrees, Alt snaps the laid straight to the ratios of the switches (1:4.8 to 1:26.5) of the straight track the straight crosses, or of one within 30 m of where it starts; the label at the cursor says which ratio to which track. The first click with Alt within 2 m of a straight track puts the start on its axis, so a branch or a crossing at 1:9 starts exactly on the track.
This commit is contained in:
@@ -5079,7 +5079,7 @@ void editor_mode::render_first_steps()
|
||||
"curves",
|
||||
{{"Ctrl + wheel", "The radius of the curve, while laying on from an end"},
|
||||
{"Shift + wheel", "The shape: arc then straight, straight then arc, arc, straight"},
|
||||
{"Alt", "Held: the direction turns in steps of 15 degrees"},
|
||||
{"Alt", "Held: the direction turns in steps of 15 degrees, or to 1:9, 1:6.6... to a straight track it starts by or crosses"},
|
||||
{"0 1 2 3", "Type the length of the next piece, Enter lays it"},
|
||||
{"wheel", "Alone it zooms, as everywhere"}},
|
||||
{{first_step::wheel, "Change the radius with Ctrl+wheel"}, {first_step::shape, "Change the shape with Shift+wheel"}},
|
||||
@@ -5425,7 +5425,7 @@ void editor_mode::render_shortcuts_window()
|
||||
{"Ctrl+wheel", "Laying: radius"},
|
||||
{"Shift+wheel", "Laying: arc then straight, straight then arc, arc, straight; at a free end: another way to join"},
|
||||
{"0-9 while laying", "Type the length (or the radius) of the next piece, Enter lays it"},
|
||||
{"Alt held while laying", "The direction in steps of 15 degrees"},
|
||||
{"Alt held while laying", "The direction in steps of 15 degrees, or 1:9, 1:6.6... to a straight track; the first click with Alt goes onto the axis of the track"},
|
||||
{"N", "Parallel track: LMB on a track, then the side and the spacing"},
|
||||
{"Shift+LMB on a track in L", "The Parallel tool (N) with it"},
|
||||
{"Enter / Backspace", "Laying track: lay up to the cursor / take the last piece back"},
|
||||
|
||||
Reference in New Issue
Block a user