No changes to the TDB are needed at this point. What's been asked for by Route Builders is a way to rebuild a TDB and RDB end to end.
I've been looking at a way to run a looping function that a) selects each TrackObj, b) emulate a Z keypress, and c) emulate another Z keypress. Keeps all the same functionality that doing this via the GUI would do, so no changes in the math or file I/O...
Reducing the floating point precision from 8 to 7 does seem to have made a few bugs go away. The 180 degree flipped vectors at turnouts seem to have been reduced, as have the broken vectors (a small difference between the ending point of node member X and the starting point of node member X+1 within the same node).
There were also some values being written to TrItems with small decimal values instead of being rounded which also went away when FPP was adjusted.
I've been looking at a way to run a looping function that a) selects each TrackObj, b) emulate a Z keypress, and c) emulate another Z keypress. Keeps all the same functionality that doing this via the GUI would do, so no changes in the math or file I/O...
Reducing the floating point precision from 8 to 7 does seem to have made a few bugs go away. The 180 degree flipped vectors at turnouts seem to have been reduced, as have the broken vectors (a small difference between the ending point of node member X and the starting point of node member X+1 within the same node).
There were also some values being written to TrItems with small decimal values instead of being rounded which also went away when FPP was adjusted.
Comment