Re: Customize shortcut/hotkeys
Posted by
ACL on
May 20, 2020; 11:04am
URL: https://forum.librecad.org/Customize-shortcut-hotkeys-tp5718912p5718921.html
Is the problem that you don't know what the command is, in cases where it's not already listed in the alias file? I ran into the same thing when I was investigating the various snap modes. For instance drawing a line from point to tangent was listed in the alias file (tangentpc) but tangent to tangent (I assume it would be tangentcc) wasn't. Even in the reference
https://librecad.readthedocs.io/en/latest/ref/tools.html most commands are only shown in their full form if there is also an alias.
I would be happy to help with this documentation if I knew the commands. I see some of them in rs_commands.cpp but they seem to only be the ones with aliases. In fact it seems redundant to me that the default aliases are hard-coded into that file and also listed in the aliases file. Seems you'd want the file to have only the true command and the aliases to be only in the aliases file. What happens if you remove an alias from the file because you are used to it doing something different? Will it still work because it's hard-coded?
Anyway, I didn't see "circle tangent to two existing circles" in the rs_commands.cpp file so maybe I haven't helped much yet. I'll keep looking around.