Inclined track shape counting error

Use this forum if you found a bug.
Post Reply
futosz
Posts: 7
Joined: 28 Dec 2020, 20:52
Location: Hungary
Contact:
Hi!

I discovered an annoying bug in TSRE5 when laying certain kind of shape with inclination, the best example is A1tDblSlip6_3d. Sectionidx with vector offset (z) different than null counted incorrectly in tdb as shape inclination would be zero:

Image

TrackShape ( 22021
FileName ( A1tDblSlip6_3d.s )
NumPaths ( 6 )
ClearanceDist ( 35 )
SectionIdx ( 1 0 0 0 0 28868 )
SectionIdx ( 1 0 0 12.471 0 28869 )
SectionIdx ( 1 0 0 25.529 0 28868 )
SectionIdx ( 1 1.6512 0 0.0912 -6.32 28868 )
SectionIdx ( 1 0.2784 0 12.4864 -6.32 28869 )
SectionIdx ( 1 -1.159 0 25.4649 -6.32 28868 )

CrossoverShape ( )
XoverPts ( 1
XoverPt ( 0 0 15 )
)
)

Red lines are counted wrong in tdb, as if TSRE wouldn't calculate vector elevation based on inclination. Placing the same object with zero gradient looks fine.

User avatar
Goku
Site Admin
Posts: 363
Joined: 15 Jan 2019, 18:10
Location: Poland
Contact:

futosz
Posts: 7
Joined: 28 Dec 2020, 20:52
Location: Hungary
Contact:
Goku wrote: 14 Jan 2021, 11:16 Try this:
http://koniec.org/TSRE5_for_futosz.exe
Now it works fine!
Thank you for your help!

Post Reply