flandreas / antares

Digital circuit learning platform
49 stars 6 forks source link

CAD-style selection #545

Closed damjes closed 1 year ago

damjes commented 1 year ago

Currently (1.3.0), You can choose between two selection box scopes: completely and partially contained.

In CAD programs there is a rule, that selection box depends of direction. In Antares terms and CAD GUI it will be:

It would be nice to select "CAD style" or similar to "Selection box scope". Difference in looks could be nice, but it's not as important.

Here is some additional sources: https://forums.autodesk.com/t5/autocad-forum/difference-between-left-cross-and-right-window-selection/td-p/2898188 https://www.youtube.com/watch?v=pqU7kJw1XMQ

flandreas commented 1 year ago

@damjes Thank you for your input.

I like the idea of being able to dynamically switch between the two selection modes. However, I'm not sure if I like the approach of distinguishing the modes by the direction in which I stretch the box. What if I have a large chunk of components, and I want to "partially contained"-select some of them in the left half of the chunk, so I would like to stretch the box to right, but I have to stretch it to the left in order to get the correct mode?

What do you think about choosing the mode by pressing the ALT key while stretching the box?

damjes commented 1 year ago

I am not sure, it seems nice, but also nonstandard.

flandreas commented 1 year ago

Implemented the ALT variant.