Having a spot of bovver wiv me track
2 posters
Page 1 of 1
Having a spot of bovver wiv me track
Haven't made any track for ages, so rustier than a preservation rail! Using latest Trackgen version, the output item seemed strange, and it's longer than the usual 25m section Here's the settings:
And the result:
The ballast covers the 25m track length. Now, though this looks odd it isn't so dreadful with the item in place, though it's not quite right around the frog area, and the check rail on the (left) joining branch is very close to the running rail:
Other info: 1.6metre gauge, article placed as freeobj in the running rail and rotated at angle to align. Is this anything to do with the divergence distance being less than 2 metres ? I'm banjaxed
And the result:
The ballast covers the 25m track length. Now, though this looks odd it isn't so dreadful with the item in place, though it's not quite right around the frog area, and the check rail on the (left) joining branch is very close to the running rail:
Other info: 1.6metre gauge, article placed as freeobj in the running rail and rotated at angle to align. Is this anything to do with the divergence distance being less than 2 metres ? I'm banjaxed
Last edited by graymac on Sat Jun 30, 2018 8:48 pm; edited 1 time in total (Reason for editing : attach zipfile)
Re: Having a spot of bovver wiv me track
I think I know what's happening here, but I can't investigate properly until tomorrow evening
If I'm right, the issue here is your divergance value.
To be precise, I'd say the issue is that it's less than your track gauge.
If we think about what happens with the divergance:
The termination point for each rail gets moved in the X-plane by this amount to produce the second track for the switch.
Our outside rail starts at 0.8m & gets moved +1.16m ==> 1.96m ; This is fine.
Our inside rail on the other hand starts at -0.8m & gets moved +1.16m ==> 0.36m ; As you can see, the inside rail is still therefore within the outside rail of our original line. No use for a switch, when both need to be clear
I'm guessing that the code has stretched the rails so that they end up outside the original line, but left the ballast at 25m length.
Need to investigate exactly how/ why, but my immediate instinct is that the program should be blocking any attempt to generate a switch with a divergance value less than the track gauge
If I'm right, the issue here is your divergance value.
To be precise, I'd say the issue is that it's less than your track gauge.
If we think about what happens with the divergance:
The termination point for each rail gets moved in the X-plane by this amount to produce the second track for the switch.
Our outside rail starts at 0.8m & gets moved +1.16m ==> 1.96m ; This is fine.
Our inside rail on the other hand starts at -0.8m & gets moved +1.16m ==> 0.36m ; As you can see, the inside rail is still therefore within the outside rail of our original line. No use for a switch, when both need to be clear
I'm guessing that the code has stretched the rails so that they end up outside the original line, but left the ballast at 25m length.
Need to investigate exactly how/ why, but my immediate instinct is that the program should be blocking any attempt to generate a switch with a divergance value less than the track gauge
Re: Having a spot of bovver wiv me track
I had a feeling that the divergence of < track gauge might be the culprit. I'll revisit it later today, I'd been working all day on a new route when I started the pointwork so was a bit past me sell-by!
I made another article, with the divergence at 2m. This didn't extend beyond the 25m section length, but the rail tops weren't generated on the insides - I thought this bug was fixed before??
I made another article, with the divergence at 2m. This didn't extend beyond the 25m section length, but the rail tops weren't generated on the insides - I thought this bug was fixed before??
Re: Having a spot of bovver wiv me track
Hmm...
The problem with the first file is as I suspected.
The second file is a little more complex, and has to do with the number of selected segments.
You're using 10 segments, hence 2.5m per segment.
If you note, the railheads should start at ~23.5m, and as there's less than 2.5m between the toe of the switch and the end and so it's omitting the railheads.
Need to think on this one to figure out exactly how to deal with it.
Increasing to 20 segments will fix the issue, but this ought to be handled better internally.
The problem with the first file is as I suspected.
The second file is a little more complex, and has to do with the number of selected segments.
You're using 10 segments, hence 2.5m per segment.
If you note, the railheads should start at ~23.5m, and as there's less than 2.5m between the toe of the switch and the end and so it's omitting the railheads.
Need to think on this one to figure out exactly how to deal with it.
Increasing to 20 segments will fix the issue, but this ought to be handled better internally.
Re: Having a spot of bovver wiv me track
Well, if the railheads are missing I can at least try a different number of segments. I try and use the minimum consistent with a smooth look, much the same as cylinder faces.
I suppose "x" crossings and double slips would be an impossible ask??
I suppose "x" crossings and double slips would be an impossible ask??
Re: Having a spot of bovver wiv me track
Honest answer- Dunno
Platforms and viaducts were actually relatively easy, as it's just a simple transform of the underlying structure, but getting switches working right is a nasty little set of math problems....
I'll think about it at some stage, but don't expect anything soon
If you use the same track texture, those from Switch aren't *too* bad.
Platforms and viaducts were actually relatively easy, as it's just a simple transform of the underlying structure, but getting switches working right is a nasty little set of math problems....
I'll think about it at some stage, but don't expect anything soon
If you use the same track texture, those from Switch aren't *too* bad.
Re: Having a spot of bovver wiv me track
My problem with Switch is the gauge - Ireland's 1600mm
I've cheated in the past, if the crossover's not on the actual running rail, or too obviously visible, by letting the rails cross and dropping one of them by a couple of mm to stop "Y fighting". It looked better than a "Switch" item that I took ages to "doctor-up" - I gave up on that approach.
I've cheated in the past, if the crossover's not on the actual running rail, or too obviously visible, by letting the rails cross and dropping one of them by a couple of mm to stop "Y fighting". It looked better than a "Switch" item that I took ages to "doctor-up" - I gave up on that approach.
Similar topics
» Track position (Track namespace)
» Is it possible to add objects to a track?
» Track Generator
» Track.Height can't set $Sub() ?
» Site Redesign & a New Release
» Is it possible to add objects to a track?
» Track Generator
» Track.Height can't set $Sub() ?
» Site Redesign & a New Release
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum