Simple fix for the ugly rail circles
Posted: Fri May 08, 2015 7:42 am
I find this so interesting, that I link it to the suggestions board, even knowing, that this is not really a suggestion. -- ssilk
Soo, this is not a proper circle.
Why do there need to be straight segments in the diagonals? No one expects this, this shouldn't be neccessary.
You probably have no desire reworking the entire geometry (e.g. as needed to incorporate s-bends, which is surprisingly complicated), and you don't have to. The fix is really easy. Here it is: So the curve segment has a 10 tile radius, which means a 7% deviation to meet the diagonal, not a bad choice. (12 would be only 1,2%, but as I promised, no reworking today - I will open a thread in ideas and suggestions for that.) Rail segments are subject to placement restrictions, to reduce the clutter and chance of near miss while building I guess. Sensible restriction.
But with that, a completely unnecessary problem was introduced. If the horizontal and vertical segments should end only at every second grid line (thick line), then the center of the circle has to be positiond on a thick line crossing. But with a radius of 10, this means that the horizontal and vertical segments themselves, have to be positiond right on top a thick line, not a thin one.
So simply swapping the placement restrictions, alleviates the need for straight segments in the circle, while preserving every other property. It would even be possible to make the diagonals twice as long, since every curves diagonal end then ends on a thin line crossing, never on a thick one. The graphics already suggest that length.
I really am puzzled as to why the current geometry is this way, as I see no need or reason(*) for it. So I guess it really is unintentionally.
Savegame compatibility would be broken, obviously.
* Only perhaps, that in this configuration, a two track line without space in between aims right for the center of a upcoming circle. With the fix, a single track may be centered towards the circle, two tracks without space would always be off, as one track will be centered, the other not.
Edit: Changed the subject. "Simple fix for flawed rail geometry" seems to have caused some misunderstandings.
Soo, this is not a proper circle.
Why do there need to be straight segments in the diagonals? No one expects this, this shouldn't be neccessary.
You probably have no desire reworking the entire geometry (e.g. as needed to incorporate s-bends, which is surprisingly complicated), and you don't have to. The fix is really easy. Here it is: So the curve segment has a 10 tile radius, which means a 7% deviation to meet the diagonal, not a bad choice. (12 would be only 1,2%, but as I promised, no reworking today - I will open a thread in ideas and suggestions for that.) Rail segments are subject to placement restrictions, to reduce the clutter and chance of near miss while building I guess. Sensible restriction.
But with that, a completely unnecessary problem was introduced. If the horizontal and vertical segments should end only at every second grid line (thick line), then the center of the circle has to be positiond on a thick line crossing. But with a radius of 10, this means that the horizontal and vertical segments themselves, have to be positiond right on top a thick line, not a thin one.
So simply swapping the placement restrictions, alleviates the need for straight segments in the circle, while preserving every other property. It would even be possible to make the diagonals twice as long, since every curves diagonal end then ends on a thin line crossing, never on a thick one. The graphics already suggest that length.
I really am puzzled as to why the current geometry is this way, as I see no need or reason(*) for it. So I guess it really is unintentionally.
Savegame compatibility would be broken, obviously.
* Only perhaps, that in this configuration, a two track line without space in between aims right for the center of a upcoming circle. With the fix, a single track may be centered towards the circle, two tracks without space would always be off, as one track will be centered, the other not.
Edit: Changed the subject. "Simple fix for flawed rail geometry" seems to have caused some misunderstandings.