[feature request] Sketcher mouse selection options
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
[feature request] Sketcher mouse selection options
Hi All,
while constraining a repetitive path I was annoyed by clicking so many single lines with the mouse over and over again. Is there a way to select multiple lines with the mouse without selecting the points or vice versa?
Here are some pictures and Ideas on how to implement a smart selection by using mouse and keyboard combinations:
Selecting only points with the 'selecting square' of the mouse '+Ctrl'
Select only lines with the 'selecting square' of the mouse '+Ctrl + Shift'
while constraining a repetitive path I was annoyed by clicking so many single lines with the mouse over and over again. Is there a way to select multiple lines with the mouse without selecting the points or vice versa?
Here are some pictures and Ideas on how to implement a smart selection by using mouse and keyboard combinations:
Selecting only points with the 'selecting square' of the mouse '+Ctrl'
Select only lines with the 'selecting square' of the mouse '+Ctrl + Shift'
- Attachments
-
- selection_example.FCStd
- (1.23 KiB) Downloaded 27 times
Re: [feature request] Sketcher mouse selection options
Smarter selection mechanisms may be desirable, but very often should such regular sketches, where you need it, better be designed differently. E.g. in your case I would recommend to sketch only one rectangle and use a pattern on the created feature.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: [feature request] Sketcher mouse selection options
I'm with @chrisb in that my first thought was "I hope that's not how the OP models radiator cores" (or other example repetitive work), I personally would definitely be using a Draft Array either after a Sweep if this was pipework or on the Sketch of just one 'S' bend.
But back to the request, here's a proposal that only applies to Box Selection and excludes BSplines. I still need to add the UI functions because this will need to be easily switched but where in the Task Panel will no doubt be subject to many a debate.
https://github.com/FreeCAD/FreeCAD/comp ... 6:patch-27
But back to the request, here's a proposal that only applies to Box Selection and excludes BSplines. I still need to add the UI functions because this will need to be easily switched but where in the Task Panel will no doubt be subject to many a debate.
https://github.com/FreeCAD/FreeCAD/comp ... 6:patch-27
Re: [feature request] Sketcher mouse selection options
Added checkboxes to Edit Control section of task panel:
Re: [feature request] Sketcher mouse selection options
Woah that commit was fast! Nice! I was wandering if we should not touch 'shift' as it usual helps when selecting several objects. Maybe there is already some sort of similar mouse+key combination/standard known from other FOSS programms to alter selection behavior (Inkscape, Blender, LibreCAD...). Does soemone knows?
To the off-topic:
To the off-topic:
Maybe we should add this to the discussion about combining sketcher and draft : As a beginner I do not want to leave sketcher simply because it feels like I have to learn another tool (draft in this case). So I used copies and copies of copies to quickly repeat the pattern. Of course an array is way more efficient and also parameterized. Since I consider sketcher as the ultimate place for parameterized 2D drawings it could make sense to add the array feature (an array out of clones, mirroring, rotation..) into the sketcher / solver...
Last edited by LibrEars on Wed Jul 28, 2021 12:46 pm, edited 1 time in total.
Re: [feature request] Sketcher mouse selection options
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: [feature request] Sketcher mouse selection options
You do realise it's only in my forked branch and not even a PR yet? I use Blender most days but the others very little, if I was any good at C++ I would have created the equivalent to Blender's Circle Select method as that is my go to when I've got many scattered verts/edges/faces to choose. I'd say for now stick to something fairly simple, experience tells me that as soon as a feature request morphs into a project then it grinds to a halt.LibrEars wrote: ↑Wed Jul 28, 2021 7:38 am Woah that commit was fast! Nice! I was wandering if we should not touch 'shift' as it usual helps when selecting several objects. Maybe there is already some sort of similar mouse+key combination/standard known from other FOSS programms to alter selection behavior (Inkscape, Blender, LibreCAD...). Does soemone knows?
Re: [feature request] Sketcher mouse selection options
I wanted to express my admiration for your hands on attitude - and I agree to start simple. Unless there is an easy way to share code between the projects (https://docs.blender.org/manual/en/late ... cting.html). Maybe someone knows if the navigation style 'Blender' was realized as a sort of code sharing. It is one of my favorite feature of FreeCAD that you can chose different 3D navigation styles.
In terms of selection sometimes it is also hard to get the constrains selected. Would it be easy to add a third option to your suggestoin (Vertices, edges, constrains)?