17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-02 11:39:14 +01:00

feat(editor): the plan shows which curve is edited: each named W1, W2... as its vertex is in the view, with its km and "Show in the view", which flies the camera over it; the part of it whose field the mouse is over or which is being edited (the whole curve, an arc of a compound one, the transition in, out or between two arcs) lit up in the view and named there with its radius, cant or length. The points clicked when a line is laid are kept with its design in the scenery ("click" lines, moved with it): the plan shows them in the colours of their departure and, while "Keep to the points clicked" is on, fits the radii of a curve whose transitions or cants are changed again to them, its transitions and cants as set; "Transitions for these cants" makes the transitions as long as the norms ask for at the radii and the cants set, an arc of a compound curve with no cant lengthening the ones either side of it. Unit test: 50 m between the arcs become 85 m, the curve 4 cm off the points clicked instead of 58

This commit is contained in:
maj00r
2026-10-25 00:11:58 +02:00
parent 2a399a92a5
commit aeef2cebb3
9 changed files with 633 additions and 68 deletions

View File

@@ -11920,3 +11920,57 @@ msgstr "Przechyłka łuku znów proporcjonalna do jego krzywizny"
msgid "Height of the outer rail above the inner one on the sharpest arc; the arcs with no cant of their own get it in proportion to their curvature"
msgstr "Wysokość szyny zewnętrznej ponad wewnętrzną na najostrzejszym łuku; łuki bez własnej przechyłki dostają ją proporcjonalnie do swojej krzywizny"
msgid "Curve W%d"
msgstr "Łuk W%d"
msgid "Show in the view"
msgstr "Pokaż w widoku"
msgid "The camera flies over the curve, which is lit up in the view while the mouse is over its fields"
msgstr "Kamera przelatuje nad łuk; łuk świeci w widoku, gdy mysz jest nad jego polami"
msgid "points clicked %zu: %.0f cm on average, at most %.0f cm"
msgstr "kliknięte punkty %zu: średnio %.0f cm, najwyżej %.0f cm"
msgid "The points clicked along the curve when it was laid, kept in the scenery, and how far the curve is from them now"
msgstr "Punkty kliknięte wzdłuż łuku przy kładzeniu, zapisane w scenerii, i jak daleko łuk jest teraz od nich"
msgid "Fit to them"
msgstr "Dopasuj do nich"
msgid "The radii of the curve and their shares fitted again to the points clicked, the transitions and the cants as they are"
msgstr "Promienie łuku i ich udziały dopasowane od nowa do klikniętych punktów; przejściówki i przechyłki bez zmian"
msgid "Keep to the points clicked"
msgstr "Trzymaj się kliknięć"
msgid "The scenery keeps the points clicked when the line was laid: a curve whose transitions or cants are changed gets its radii fitted to them again, so it stays where it was seen on the photo"
msgstr "Sceneria pamięta punkty kliknięte przy kładzeniu linii: łuk ze zmienioną przejściówką albo przechyłką dostaje promienie dopasowane do nich od nowa, więc zostaje tam, gdzie był widoczny na zdjęciu"
msgid "Fit all to them"
msgstr "Dopasuj wszystkie"
msgid "The radii of every curve fitted again to the points clicked along it, the transitions and the cants as they are"
msgstr "Promienie każdego łuku dopasowane od nowa do punktów klikniętych wzdłuż niego; przejściówki i przechyłki bez zmian"
msgid "Transitions for these cants"
msgstr "Przejściówki do tych przechyłek"
msgid "The transition curves as long as the norms ask for at these radii and cants, the cants staying: a cant lowered asks for longer ones"
msgstr "Krzywe przejściowe tak długie, jak normy wymagają przy tych promieniach i przechyłkach; przechyłki zostają. Mniejsza przechyłka wymaga dłuższych przejściówek"
msgid "W%d transition in %.0f m"
msgstr "W%d przejściowa wejściowa %.0f m"
msgid "W%d transition out %.0f m"
msgstr "W%d przejściowa wyjściowa %.0f m"
msgid "W%d transition R%d-R%d %.0f m"
msgstr "W%d przejściowa R%d-R%d %.0f m"
msgid "W%d R%d %.0f m cant %.0f mm"
msgstr "W%d R%d %.0f m przechyłka %.0f mm"
msgid "W%d R %.0f m cant %.0f mm"
msgstr "W%d R %.0f m przechyłka %.0f mm"