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

feat(editor): two free ends joined without loops or forced curves, the shape from a free end on the wheel

- the join of two free ends (a drag from one onto the other, or a click of the lay tool on it) tries in turn: a straight when the joints check can't see the kinks (half its angle), one circular arc through both ends (a piece cut out of a curve comes back as it was, its cant kept), a curve with straights where the tangents meet, a reverse curve, and only then a free Bezier curve; a curve turning more than it needs to, sharper than 10 m or longer than three chords is never taken
- the transition curves eased out of a curved neighbour only when there's room for them between the ends, never crossing each other into a loop
- cant and transition curves recommended for the radius the curve really gets, at the speed of the joined track or of the tool and never above what the radius allows; the circular arc keeps at least max(20 m, 0.4 V) between the transitions, the cant lowered to what the shortened transitions can ramp, transitions under 1 m left out
- shapes from a free end: arc then straight, straight then arc, arc through the cursor, straight; Ctrl+wheel steps the radius, Shift+wheel the shape (at a free end: the other joins), the plain wheel still zooms; a click of the lay tool from a free end lays the shape and goes on from its end
- self-test commands join, layto and joints; Polish translation
This commit is contained in:
maj00r
2026-10-11 11:11:21 +02:00
parent 3ed864812f
commit 16c1ac4c7b
8 changed files with 860 additions and 76 deletions

View File

@@ -5213,3 +5213,73 @@ msgstr "Punkt znikania"
msgid "Pedestrian crossing"
msgstr "Przejście dla pieszych"
# scenery editor: joining free ends, the shape from a free end on the wheel
msgid "No curve fits between the ends, they are joined with a free curve"
msgstr "Między końcami nie mieści się żaden łuk, połączono je krzywą swobodną"
msgid "Arc, then straight"
msgstr "Łuk, potem prosta"
msgid "Straight, then arc"
msgstr "Prosta, potem łuk"
msgid "Arc through the cursor"
msgstr "Łuk przez kursor"
msgid "Shape from a free end"
msgstr "Kształt z wolnego końca"
msgid "What a drag or a click from a free end lays towards the cursor; Shift+wheel changes it, Ctrl+wheel the radius"
msgstr "Co przeciągnięcie lub kliknięcie z wolnego końca kładzie w stronę kursora; Shift+kółko zmienia kształt, Ctrl+kółko promień"
msgid "Speed limit of the new paths, and the design speed of the transition curves and of the cant; the speed of the track joined comes first, and none higher than the radius allows"
msgstr "Prędkość nowych torów i prędkość projektowa krzywych przejściowych oraz przechyłki; pierwszeństwo ma prędkość toru, do którego się dołącza, i nigdy nie wyższa, niż pozwala promień"
msgid "R %.0f m Ctrl+wheel: radius"
msgstr "R %.0f m Ctrl+kółko: promień"
msgid "Ctrl+wheel: radius, Shift+wheel: arc / straight"
msgstr "Ctrl+kółko: promień, Shift+kółko: łuk / prosta"
msgid "Ctrl+wheel: radius, Shift+wheel: another shape"
msgstr "Ctrl+kółko: promień, Shift+kółko: inny kształt"
msgid "arc"
msgstr "łuk"
msgid "curve"
msgstr "łuk z prostymi"
msgid "reverse curve"
msgstr "łuk odwrotny (S)"
msgid "free curve"
msgstr "krzywa swobodna"
msgid "(auto)"
msgstr "(auto)"
msgid " cant %.0f mm"
msgstr " przechyłka %.0f mm"
msgid " transitions %.0f m"
msgstr " krzywe przejściowe %.0f m"
msgid "the shape chosen towards the cursor, to a free end: joins it"
msgstr "wybrany kształt w stronę kursora, na wolny koniec: łączy z nim"
msgid "Ctrl+wheel"
msgstr "Ctrl+kółko"
msgid "Shift+wheel"
msgstr "Shift+kółko"
msgid "arc / straight, at a free end: another shape"
msgstr "łuk / prosta, na wolnym końcu: inny kształt"
msgid "lay the shape up to here and go on from its end"
msgstr "kładzie kształt dotąd i idzie dalej od jego końca"
msgid "type the radius"
msgstr "wpisz promień"