
If i would provide shortcut support by default i would likely use some sensible key combination and that sensible key combination is likely already used for something else. To assign one if desired once the macro is added as a command to custom toolbar. That is why i didn't add shortcut support to the macro as that is left to the user. In short it's nearly impossible thing to do. As for introducing new shortcut combinations like suggested F12 you can read my opinion here: If such functionality will ever be part of FreeCAD by default i guess such specialized behaviour can be explored then. But then again i do imagine having a way for changing the global draw style mode between As is and Wireframe draw style mode is what majority of users are after and the macro does that. Likely macro could be made in a way it would check if anything is selected and just change the draw style mode for selection.

Herrdeh wrote:So - to make it perfect, I'd like to suggest that the macro should cover both, which can be linked with different shortcuts (eg F12 and shift-F12). I guess that is not desirable ATM and i will try to think of and use a different solution tomorrow that will hopefully resolve the issue with translations altogether (and will still work with FreeCAD 0.16 and up). But that would only work for FreeCAD 0.17 and up. Translations wouldn't represent an issue any more. In FreeCAD 0.17 this happened:Īnd therefore new macro could be made in a way that it would use relating commands unique object name instead. Once that happened manually changing the macro (based on the language used) i guess started to represent an usability issue. After that has evolved in a macro that toggles two commands and i guess after it evolved in a more generally used macro shared on the Wiki. As long as the menu text is unique the solution should work as expected. That is using menu text as an alternative.
FREECAD KEYBOARD SHORTCUTS HOW TO
I shared one possible solution on how to achieve that. Initial request in this thread was on how to create a shortcut for FreeCAD command that doesn't have unique object name set. For some reason, my User.cfg got corrupted see this topic, so now I am in the process of restoring my macros, toolbars and keyboard shortcuts by pasting them back in from my old user.cfg (only for the things I know worked fine). chennes Veteran Posts: 3374 Joined: Fri 3:38 pm Location: Norman, OK, USA BUG Delete keyboard shortcut not.
FREECAD KEYBOARD SHORTCUTS CODE
Forum rules Be nice to others Read the FreeCAD code of conduct 6 posts of 1. Today i won't have more time to look into it more in depth but i decided to share some quick observations. Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going This is the place. I guess that could be changed if desired. One thing i noticed in the test on a single screen is the dock widget isn't dockable. I will test the behaviour on dual screen tomorrow.

Thank you for taking good care on the Wiki side of things, making them more accessible and discoverable.BTW: The "ctrl-D" window is firmly sticked at the top edge of my 2nd monitor and can be resized, but cannot be moved - can that cause any harm? Over the years more people show interest in this set of macros, that was my motivation to bring them up to speed again. I used an approach, where the menu on toolbar gets updated, using the Std_DrawStyle command doesn't do that. FreeCAD is a continually updated project and keybindings can and (unfortunately) do tend to change with each additional release. 20 the shortcuts in the Sketcher Workbench changed. Current limitation of the App::Link features being, you can't toggle the display mode of only the selected Link feature, its parent and sibling App::Link features display mode will change too. FreeCAD 0.20 Sketcher Keyboard Shortcuts by LittleGreyAliens With the release of FreeCAD. Note that i added support for selected App::Link features.

0: mw.findChild(QtGui.QAction, "Std_DrawStyleAsIs"),ġ: mw.findChild(QtGui.QAction, "Std_DrawStyleFlatLines"),Ģ: mw.findChild(QtGui.QAction, "Std_DrawStyleShaded"),ģ: mw.findChild(QtGui.QAction, "Std_DrawStyleWireframe"),Ĥ: mw.findChild(QtGui.QAction, "Std_DrawStylePoints"),ĥ: mw.findChild(QtGui.QAction, "Std_DrawStyleHiddenLine"),Ħ: mw.findChild(QtGui.QAction, "Std_DrawStyleNoShading"),
