Omit variations of gap fillers
One of the most valuable features of RailModeler (in my opinion) is the gap filler. However, when it finds a solution, all the permutations of the tracks are also listed. I am only interested in seeing a single, unique line for each solution, since I can easily permute the tracks manually, should I have the desire.
The implementation requires only a few lines of code. (For each preliminary solution, form a set of the tracks. Keep only solutions, whose track sets are different. Sort the tracks according to their respective length.)
If others like the feature as it is now, I argue in favour of an option in the preferences.
Feature request grooming:
Removing suggestions not getting any traction in 12+ months
-
Pascal Bourguignon commented
It would be nice to sort the solution by the absolute value of the delta distance.
I note also that it's always displayed as positive number, but it could also be negative if the solution is a tad too long. -
Unfortunately the problem is trickier than it might appear on first glance -
not all permutations are geometrically equivalent.The simplest example would be a combination of a straight and curved track: The two possible permutations result in a very different overall geometry.
So in the context of the gap filler all variations must be analyzed in order to guarantee they're equivalent.
As the current implementation has no impact on functionality any enhancements will have a low priority on our list of open items, which include missing and new features.