Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAD-style selection #545

Closed
damjes opened this issue Mar 27, 2023 · 3 comments
Closed

CAD-style selection #545

damjes opened this issue Mar 27, 2023 · 3 comments
Labels
done feature New feature or request
Milestone

Comments

@damjes
Copy link

damjes commented Mar 27, 2023

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:

  • left: partially contained and dashed green
  • right: completely contained and solid blue

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
Copy link
Owner

@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?

@flandreas flandreas added feature New feature or request discussion labels Mar 28, 2023
@damjes
Copy link
Author

damjes commented Mar 29, 2023

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

@flandreas
Copy link
Owner

Implemented the ALT variant.

@flandreas flandreas added done and removed discussion labels Mar 30, 2023
@flandreas flandreas added this to the 1.4.0 milestone Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants