Open cambrialas opened 1 month ago
This is an interesting idea, it reminds me of the old Track Designer app.
There were a few crashes, but I managed to get it to run. Ideally, this wouldn't be a separate dialog, and instead, we could experiment with new gizmos on the main view when a track piece is focused for a seamless editing experience.
Cool to hear you like the idea.
Agree, it's better to have the train track system editor integrated into the main window.
My thoughts about, how it could be integrated, is as follows:
And to make it fast to place a new track section, it could be using keyboard accelerators, as follows: Hovering over the gizmo, choose section type by arrow keys 'up/down' keys and rotate by 'right/left' keys and place section by hitting 'enter' key.
I was thinking to implement the gizmo by inheriting from the 'object' class?
Best regard
I've checked in an initial implementation of how I think this should work.
It works very well, with the track system editor in main window.
In commit 'f460e65', there is added functionality, so the track can be rotated, when a new preview track section is selected. While holding the mouse left button down, the track can be rotated, moving the mouse right or left. Track section is set when the mouse button is released.
This is a feature, which can create train track systems in an easy way.
How to use:
This pull request is to hear what you think about this feature.
Kind regards