Thanks for your question.
As you have identified there are some limitations when using markers which basically means they cannot overlap with certain other parts of an array, including themselves.
It helps to understand internally what RailClone is doing. The path is processed in RailClone by dividing it into sections. Things that split a spline into a new section include corners, evenly segments, and markers. Since the path is basically split into smaller sub-splines, this means they can't overlap which is why you're seeing the behaviour you describe.
A couple of workarounds might include
- to remove the box between two close markers, you could use a Conditional node and remove the geometry if the length of the current segment falls below a certain threshold.
- For corners, you could change the settings so that Corner Segments are only added on Corner vertex types. Then on any corners where the markers overlap, you can change the vertex type to Bezier Corner instead.
Please see the attached sample file for an example of both those options.
I hope that helps, please let me know if you have any further questions.
All the best