17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-03 16:40:21 +01:00

feat(editor): the vertical profile shows the terrain model, the terrain follows it, the camera follows the plot

- The plot draws the ground of the terrain model (NMT) as measured, before any earthworks. The squares under the route are fetched in the background. The tooltip gives the grade line's distance from the model.
- Applying a profile lays the formation of the changed tracks anew, or reshapes the route's earthworks when there are any, so the heightmap terrain follows the new grade line. The terrain step is joined to the track step: one undo takes both back.
- In 3D and in the top view, the camera shows the part of the route the plot shows once the plot stops moving. It keeps clear of the floating plot window. A toggle turns this off.
- nmt_shape_tracks can shape only the given tracks, removing the modifiers of their paths that are gone.
This commit is contained in:
maj00r
2026-10-19 17:10:20 +02:00
parent fe2cd6a09a
commit 97be54e688
5 changed files with 322 additions and 15 deletions

View File

@@ -9865,3 +9865,27 @@ msgstr "Nie dało się przeciąć \"%s\", żeby zmienić pasy"
msgid "Looking for the templates..."
msgstr "Szukam szablonów..."
msgid "Terrain model"
msgstr "Teren z NMT"
msgid "The ground of the terrain model (NMT) as it was measured, before the earthworks; its squares along the route are still being fetched"
msgstr "Teren z modelu NMT taki, jak go zmierzono, sprzed robót ziemnych; jego kwadraty wzdłuż trasy jeszcze się pobierają"
msgid "The ground of the terrain model (NMT) as it was measured, before the earthworks"
msgstr "Teren z modelu NMT taki, jak go zmierzono, sprzed robót ziemnych"
msgid "Terrain model %.3f m, the grade line %+.2f m from it"
msgstr "Teren z NMT %.3f m, niweleta %+.2f m od niego"
msgid "Camera follows"
msgstr "Kamera za wykresem"
msgid "The view shows the part of the route the plot shows, once the plot is zoomed or moved"
msgstr "Widok pokazuje ten kawałek trasy, który widać na wykresie, kiedy go przybliżysz albo przesuniesz"
msgid "\nThe terrain followed the tracks: %zu formation laid anew"
msgid_plural "\nThe terrain followed the tracks: %zu formations laid anew"
msgstr[0] "\nTeren poszedł za torami: %zu torowisko ułożone od nowa"
msgstr[1] "\nTeren poszedł za torami: %zu torowiska ułożone od nowa"
msgstr[2] "\nTeren poszedł za torami: %zu torowisk ułożonych od nowa"