18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-03 08:55:22 +01:00
Files
maszyna/editor
maj00r bdffbccd2a test(editor): the station track picked by bands of height in a unit case; a station failing half way and one at the history cap in self-tests
The review of #508 asked for these two.

- The choice of the track a station starts or ends on is trace_station::pick_station_track(), a free function of
  editor/editorTraceStation: the tracks in reach in plan compared by bands of 3 m of height, then by the distance in plan, the
  first of two alike. editor_mode::station_track_at() collects the tracks as before and takes its pick, in the same order and
  with the same comparisons, so it picks what it picked. The unit case covers a flyover above and a bridge over a cutting
  against the track at the height clicked, a high embankment within one band, a track only far above or below, the reach and
  the width of the bands.
- st_5_station_failed: the station of st_1 made to fail after its first turnout, then after both turnouts with the line
  between them not laid. Each time the turnouts laid are taken back, the main track is as it was, the clicks are kept but the
  last one, the reason is told and Ctrl+Y has nothing to lay; the last click again lays the station in full.
- st_6_station_history_cap: the same station laid with the history capped at 2 steps, laid in full and not taken for failed.
- For them the self-test has stationfail <end|line> (the next station made to fail there, once; lay_station() asks
  selftest_station_fails(), which only the self-test sets), historycap <steps> and expect laypoints <count>.
2026-12-02 17:35:09 +01:00
..
feat(editor): a road crossing the rails laid into the plane of the heads of each track, across it with its cant and along it with its grade, the tracks at other heights joined smoothly, the approaches no steeper than 3% within 20 m of the outer rails (Dz.U. 2025 poz. 1105, annex 5), led to the end of a road ending within them, the crossing refused where the road around leaves no room for that; a track canted more than a crossing allows at the angle the road crosses it (the road over the crossing at most 8%, § 31 ust. 4) refused, the fix lowering the cant of its curve with its ramps and limiting its speed; the grade line of the road breaking at the heads of two tracks side by side by more than 5% refused (annex 5 pt 3), its fixes levelling the tracks into one plane by the grade line of one of them, flat over the crossing with ramps within the track norms, or lowering both cants alike as far as keeps the break to 5%, a break up to 5% told in orange; none on a cant ramp (§ 31 ust. 3), the window telling how far the ramp goes; none within a turnout (§ 34); at a skew the decks ending where the axis passes the field side of the heads and the road cut into pieces of half a metre at most there, its lanes on the surface of the crossing within a centimetre; the crossing panels laid per track, bent along it: the panels CBP made of their drawings, rows long enough for the road with their joints over the sleepers, on curves of R 600 m and more (Id-111), or the panels of the game; the road in the plane of the heads under the whole footprint of each panel, meeting its edges at its top, between two tracks straight from the head of the one to the head of the other with the outer panels there bent onto that line, no hump between them (§ 30 ust. 3), the editor asking the ground over the grooves getting the surface; laid again once a change of the road, of a track it crosses or of a panel is done, a step of the history taken back with the change; told in the status line, the windows of a refused crossing with their text wrapped; self-test commands (crossingholes checking a crossing as built, crossingreport, crossingfix level/lower) and cases rx_*, rx_7 the crossings of a single track, at 60 degrees, on a curve and of four double tracks canted and crossed at a skew checked watertight; Polish translation
2026-11-25 09:21:21 +01:00
feat(editor): a road crossing the rails laid into the plane of the heads of each track, across it with its cant and along it with its grade, the tracks at other heights joined smoothly, the approaches no steeper than 3% within 20 m of the outer rails (Dz.U. 2025 poz. 1105, annex 5), led to the end of a road ending within them, the crossing refused where the road around leaves no room for that; a track canted more than a crossing allows at the angle the road crosses it (the road over the crossing at most 8%, § 31 ust. 4) refused, the fix lowering the cant of its curve with its ramps and limiting its speed; the grade line of the road breaking at the heads of two tracks side by side by more than 5% refused (annex 5 pt 3), its fixes levelling the tracks into one plane by the grade line of one of them, flat over the crossing with ramps within the track norms, or lowering both cants alike as far as keeps the break to 5%, a break up to 5% told in orange; none on a cant ramp (§ 31 ust. 3), the window telling how far the ramp goes; none within a turnout (§ 34); at a skew the decks ending where the axis passes the field side of the heads and the road cut into pieces of half a metre at most there, its lanes on the surface of the crossing within a centimetre; the crossing panels laid per track, bent along it: the panels CBP made of their drawings, rows long enough for the road with their joints over the sleepers, on curves of R 600 m and more (Id-111), or the panels of the game; the road in the plane of the heads under the whole footprint of each panel, meeting its edges at its top, between two tracks straight from the head of the one to the head of the other with the outer panels there bent onto that line, no hump between them (§ 30 ust. 3), the editor asking the ground over the grooves getting the surface; laid again once a change of the road, of a track it crosses or of a panel is done, a step of the history taken back with the change; told in the status line, the windows of a refused crossing with their text wrapped; self-test commands (crossingholes checking a crossing as built, crossingreport, crossingfix level/lower) and cases rx_*, rx_7 the crossings of a single track, at 60 degrees, on a curve and of four double tracks canted and crossed at a skew checked watertight; Polish translation
2026-11-25 09:21:21 +01:00
feat(editor): a road crossing the rails laid into the plane of the heads of each track, across it with its cant and along it with its grade, the tracks at other heights joined smoothly, the approaches no steeper than 3% within 20 m of the outer rails (Dz.U. 2025 poz. 1105, annex 5), led to the end of a road ending within them, the crossing refused where the road around leaves no room for that; a track canted more than a crossing allows at the angle the road crosses it (the road over the crossing at most 8%, § 31 ust. 4) refused, the fix lowering the cant of its curve with its ramps and limiting its speed; the grade line of the road breaking at the heads of two tracks side by side by more than 5% refused (annex 5 pt 3), its fixes levelling the tracks into one plane by the grade line of one of them, flat over the crossing with ramps within the track norms, or lowering both cants alike as far as keeps the break to 5%, a break up to 5% told in orange; none on a cant ramp (§ 31 ust. 3), the window telling how far the ramp goes; none within a turnout (§ 34); at a skew the decks ending where the axis passes the field side of the heads and the road cut into pieces of half a metre at most there, its lanes on the surface of the crossing within a centimetre; the crossing panels laid per track, bent along it: the panels CBP made of their drawings, rows long enough for the road with their joints over the sleepers, on curves of R 600 m and more (Id-111), or the panels of the game; the road in the plane of the heads under the whole footprint of each panel, meeting its edges at its top, between two tracks straight from the head of the one to the head of the other with the outer panels there bent onto that line, no hump between them (§ 30 ust. 3), the editor asking the ground over the grooves getting the surface; laid again once a change of the road, of a track it crosses or of a panel is done, a step of the history taken back with the change; told in the status line, the windows of a refused crossing with their text wrapped; self-test commands (crossingholes checking a crossing as built, crossingreport, crossingfix level/lower) and cases rx_*, rx_7 the crossings of a single track, at 60 degrees, on a curve and of four double tracks canted and crossed at a skew checked watertight; Polish translation
2026-11-25 09:21:21 +01:00