remove and/or generate routes | Fahrstraßen löschen und/oder neu generieren
generated routes with via blocks | Fahrstraßen mit kreuzenden Blöcken generieren
verify routes and update ids | Fahrstraßen überprüfen und Kennungen ergänzen
update block ids | Blockkennungen ergänzen
! do not forget to create a backup copy of your plan file ! / ! zuvor eine Sicherungskopie der Plandatei erstellen !
route generate strategy in short:
* take each block
* start at "from block" [1] from "each side"
* walk along the tracks
* when reaching a switch in trailing direction => add missing command
* when reaching a switch in heading direction => branch in all allowed directions
* until we reach a destination ("to block") or max number of elements is reached
* if there was no existing route from "from block" "from block start side" to "to block" "to block reached side"
* then create and add this route
* verify route id in all passed track elements and if it was missing add it
[1] if start "block" is a virtual block or a slave block then parent and slave blocks are treated "as logical equal start blocks"
↩
via route generate strategy in short:
* take each route (routeA)
* if destination block contains "viabk" in its description
* take each other route (routeB) that has a start block equal to the destination block of routeA
* merge routeA with routeB and add joint block to the via block list
route verify strategy in short:
* take each route [2]
* start at "from block" [3][4]
* walk along the tracks (according to switch commands)
* crossing/via blocks are passed
* until we reach the destination ("to block")
* verify route id in all passed track elements and if it was missing add it
[2] if description of route contains "skip_verify" then skip verify of this route
↩
[3] if description of any "from/via/to block" of a route contains "skip_verify" then skip verify of this route
↩
[4] if "from/via/to block" is a virtual block or a slave block then parent and slave blocks are treated "as logical equal from/via/to blocks"
↩
Note: tool state is β , documentation is α (unavailable 😇 )