Changes to Sketcher keyboard shortcuts [Discussion thread]

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
user1234
Veteran
Posts: 3512
Joined: Mon Jul 11, 2016 5:08 pm

Re: Changes to Sketcher keyboard shortcuts [Discussion thread]

Post by user1234 »

Hello!

My 2 cents: is this discussion for the default settings really necessary? Everyone can config his/her opinion like he/she wants.

Greetings
user1234
Attachments
00.png
00.png (47.36 KiB) Viewed 2873 times
Bance
Veteran
Posts: 4256
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Changes to Sketcher keyboard shortcuts [Discussion thread]

Post by Bance »

It is, because they don't work as they should (i.e. as per described in the wiki.)
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Changes to Sketcher keyboard shortcuts [Discussion thread]

Post by openBrain »

Bance wrote: Wed Jun 02, 2021 11:05 am Does that mean that the current Sketcher tools SC's (which are Ctrl-Shift based,) should be changed?
Not sure but it should be looked at with some care. And this is only my opinion. ;)
chrisb
Veteran
Posts: 54214
Joined: Tue Mar 17, 2015 9:14 am

Re: Changes to Sketcher keyboard shortcuts [Discussion thread]

Post by chrisb »

So could we agree that geometric constraints should have single letter shortcuts?
Syres wrote: Wed Jun 02, 2021 8:19 am Purely from a personal standpoint, I don't use any shortcuts in Sketcher and only a handful in FC because my brain can't handle having a significant number of Blender SC's and then having to learn/unlearn similar functions in FC.
That's one reason why the shortcuts should be easy to remember, e.g. by using the first letter of the command name.

I don't think that shortcuts should be unique over the whole FreeCAD application. When I work in sketcher, I don't care about Draft workbench. Or even more significant: I want to use the same shortcut for creating a line in Sketcher and in Draft workbench.

Emacs - BTW one of the ancestors of free software - has much experience with shortcuts and two or even more letter shortcuts work quite well. They have the notion of local shortcuts, which could be seen as working only in a certain workbench, and global shortcuts working in all workbenches. Perhaps this concept could be used in FreeCAD as well. The local shortcuts would have priority over the global ones.

Back to Sketcher: If Ctrl or Shift are unwanted, I can very well live with e.g. D prefix for dimension and G prefix for geometry. The drawback of this has been mentioned by openBrain: D cannot be used as a single letter shortcut. I would like to use D as a shortcut for Diameter, but that may be obsolete anyway, because currently it is the same as for the radius, and depends what was selected in the radius/diameter menu.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Bance
Veteran
Posts: 4256
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Changes to Sketcher keyboard shortcuts [Discussion thread]

Post by Bance »

Roy_043 wrote: Wed Jun 02, 2021 6:50 pmping
jmaustpc wrote: Mon Feb 20, 2017 12:25 pmping
drmacro wrote: Wed Jun 02, 2021 9:55 amping
heda wrote: Tue Jun 01, 2021 8:07 pmping
GeneFC wrote: Wed Jun 02, 2021 2:30 amping
Anybody else (Including all I didn't ping :D ) want to weigh in before I try to come up with a schema?

New users are welcome to chime in as well :o
User avatar
Roy_043
Veteran
Posts: 8552
Joined: Thu Dec 27, 2018 12:28 pm

Re: Changes to Sketcher keyboard shortcuts [Discussion thread]

Post by Roy_043 »

This wiki page was created for a topic that was already mentioned here:
https://wiki.freecadweb.org/Sandbox:Keyboard_Shortcuts
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Changes to Sketcher keyboard shortcuts [Discussion thread]

Post by GeneFC »

Bance wrote: Thu Jun 03, 2021 6:42 am
GeneFC wrote: Wed Jun 02, 2021 2:30 amping
Anybody else (Including all I didn't ping :D ) want to weigh in before I try to come up with a schema?
I almost never use keyboard shortcuts except the most basic ones like CTRL-C and CTRL-V.

Any scheme is fine since it will go unused by me. :shock:

Gene
User avatar
Roy_043
Veteran
Posts: 8552
Joined: Thu Dec 27, 2018 12:28 pm

Re: Changes to Sketcher keyboard shortcuts [Discussion thread]

Post by Roy_043 »

In the case of the Sketcher WB there is less chance of conflicting shortcuts. You can f.e. use the same shortcut for Sketcher_CreateLine and Draft_Line. But if the end goal is unique shortcuts for all commands then things might get tricky.
User avatar
adrianinsaval
Veteran
Posts: 5551
Joined: Thu Apr 05, 2018 5:15 pm

Re: Changes to Sketcher keyboard shortcuts [Discussion thread]

Post by adrianinsaval »

I don't think making globally unique SC makes much sense, they should only need to be unique within Sketcher. I like the single key SC for geometrical constraints and shift+first letter for dimensional. IMO it could be more intuitive if drawing tools use ctrl or ctrl+shift that way we know what key is for each type of command.
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Changes to Sketcher keyboard shortcuts [Discussion thread]

Post by openBrain »

adrianinsaval wrote: Thu Jun 03, 2021 3:59 pm I don't think making globally unique SC makes much sense, they should only need to be unique within Sketcher.
It actually makes sense as of today, all commands from workbenches that had been opened (visited) are loaded and shortcuts can conflict. But sure not an optimal solution. ;)
Post Reply