Post #1890866
2026-04-25 15:44 UTC
Replies (1)
-
@monoidmusician@tech.lgbt 2026-04-25 16:18
right now this is very much a manual process: duplicate the paths from the ordinary route, trim them down, add them to the groups/clones/whatnot (in Inkscape you can double click on a path to insert a node along the path, then delete the other nodes) you could imagine an algorithm that calculates intersections to lay these check rails automatically: calculate whether it is a crossing or a switch/turnout, calculate how far away each stroke should go, and add those paths to the layout with similar algorithms, you could create the active elements too, but it would require some work: Bézier subpaths and interpolation for flexing rails (either switch points or stub switches), and some geometry to lay out swingnose crossings. all types of active elements also require modifications to the mask that provides for the flange clearance, at least for ideal geometry