Got me thinking.... If you are doing railtracks, you are going to have a lot of trouble making the ends of the sleepers meet.
So you could investigate using my ofn-path-rungs script. It draws paths across between two paths. So you make two paths for the rails, and use ofn-path-rungs to generate paths for the sleepers. You can then extend them beyond the track paths using ofn-path-to-shape
By the way, there is a lower limit on the curvature radius of railroad tracks, determined by the conicity of the train wheels. This is explained in the 2nd part of this video:
So you could investigate using my ofn-path-rungs script. It draws paths across between two paths. So you make two paths for the rails, and use ofn-path-rungs to generate paths for the sleepers. You can then extend them beyond the track paths using ofn-path-to-shape
By the way, there is a lower limit on the curvature radius of railroad tracks, determined by the conicity of the train wheels. This is explained in the 2nd part of this video: