Improvement of rectangular selection
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
-
- Posts: 22
- Joined: Mon May 29, 2017 11:29 pm
Improvement of rectangular selection
So in addition to the "normal" selection which is currently there I'd like to add a selection that selects the whole object when it's only touched on one corner/line/point.
It could be switched like in SolidWorks where it depends if you make the selection bottom to top or top to bottom (not sure which was which). Using a key like the M key is another option however the start-point method seems simpler to me (especially when you have to switch a lot between the modes).
It could be switched like in SolidWorks where it depends if you make the selection bottom to top or top to bottom (not sure which was which). Using a key like the M key is another option however the start-point method seems simpler to me (especially when you have to switch a lot between the modes).
Re: Improvement of rectangular selection
AutoCAD has a similar behavior - there is (or was) a ticket in the tracker for this (and I may have commented on it) but I don't know what became of it. Let me check...
Edit: Sorry - that will have to wait because the tracker is too slow for me now. The ticket might have been submitted by Oldestfox but I'm not sure.
Edit: Sorry - that will have to wait because the tracker is too slow for me now. The ticket might have been submitted by Oldestfox but I'm not sure.
Re: Improvement of rectangular selection
This is already implemented with the difference that it's not top <=> bottom/bottom <=> top but left <=> right/right <=> left.So in addition to the "normal" selection which is currently there I'd like to add a selection that selects the whole object when it's only touched on one corner/line/point.
It could be switched like in SolidWorks where it depends if you make the selection bottom to top or top to bottom (not sure which was which).
Re: Improvement of rectangular selection
I didn't know - thanks! I just tested it and think I have found a glitch which can be replicated by doing this:
Create the default Cube.
Create a Sketch (I used the X-Y Plane at the default Z = 0) and make a zig-zag pattern larger than the footprint of the Cube, something like this: Now try the right-to-left Box Select on a portion of the Cube without intersecting the Sketch geometry and the all the Sketch geometry is selected. I'm guessing right-to-left selection uses something like a bounding box instead of using the geometry itself?
OS: Ubuntu 16.04.3 LTS
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.17.12223 (Git)
Build type: None
Branch: master
Hash: 917e61a3be12f3316d571ebf6fd6e3c537691c14
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)
Re: Improvement of rectangular selection
How do you perform this selection anyway? I guess it's a rubberband selection, which I don't have at all. It exists only in Sketcher.
I use the Gesture mouse model.
I use the Gesture mouse model.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Improvement of rectangular selection
For performance reasons it doesn't check each element of an object if it's inside the rectangle but instead it just uses an object's (projected) bounding box.
Re: Improvement of rectangular selection
sort of unrelated but here's another box issue that is open on the tracker: issue #2706 - Box selection does not select dimension or text
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
-
- Posts: 22
- Joined: Mon May 29, 2017 11:29 pm
Re: Improvement of rectangular selection
I can't get Sketcher to select the whole line/circle/element when I only box a part of it, no matter from where I start the selection. That is what I was looking for.wmayer wrote: ↑Fri Sep 29, 2017 6:16 amThis is already implemented with the difference that it's not top <=> bottom/bottom <=> top but left <=> right/right <=> left.So in addition to the "normal" selection which is currently there I'd like to add a selection that selects the whole object when it's only touched on one corner/line/point.
It could be switched like in SolidWorks where it depends if you make the selection bottom to top or top to bottom (not sure which was which).
Re: Improvement of rectangular selection
That sort of behavior is a choice made by the program designers. I have some graphics-related programs that work on the "touch" method and other that require the entire object to be selected.SparkyCola wrote: ↑Sat Sep 30, 2017 1:24 pm I can't get Sketcher to select the whole line/circle/element when I only box a part of it, no matter from where I start the selection. That is what I was looking for.
There are pluses and minuses to both approaches. The "touch" method sounds easy, but it also makes it very easy to select unwanted elements that may have portions close to the desired selection. The "entire" method is generally more definite for selection, but it is slightly more work.
I don't see an obvious advantage for one method over the other.
Just learn the "rules" and go forward.
Gene