Oh cool! Thanks for this snip.triplus wrote: ↑Sun Apr 15, 2018 10:39 pm At this point this is the best i can offer (to get some results). Didn't test it but creating a macro command with assigned shortcut likely should be achievable using the code snippet as a basis:
P.S. In the future who knows what will happen. Projects like this or some other approach might end up making viewport a bigger by default:Code: Select all
from PySide import QtGui mw = Gui.getMainWindow() mw.findChild(QtGui.QDockWidget, "Combo View").toggleViewAction().trigger()
https://forum.freecadweb.org/viewtopic.php?f=8&t=23053
Left pane, and toolbar, prominence: Features, or not yet refined functional issues?
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Left pane, and toolbar, prominence: Features, or not yet refined functional issues?
Re: Left pane, and toolbar, prominence: Features, or not yet refined functional issues?
hi
also Macro_Toggle_Panels_Visibility
This macro toggles the visibility of various supporting panels in FreeCAD, allowing the main window to be viewed with all available screen space.
same triplus snippet and include the Python console and report view
mario
also Macro_Toggle_Panels_Visibility
This macro toggles the visibility of various supporting panels in FreeCAD, allowing the main window to be viewed with all available screen space.
same triplus snippet and include the Python console and report view
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.
Re: Left pane, and toolbar, prominence: Features, or not yet refined functional issues?
Thanks, will look at this.mario52 wrote: ↑Mon Apr 16, 2018 9:44 am hi
also Macro_Toggle_Panels_Visibility
This macro toggles the visibility of various supporting panels in FreeCAD, allowing the main window to be viewed with all available screen space.
same triplus snippet and include the Python console and report view
mario
Re: Left pane, and toolbar, prominence: Features, or not yet refined functional issues?
You're welcome.
I tend to forget to first check the macro list. If similar solution is already available.mario52 wrote: ↑Mon Apr 16, 2018 9:44 am hi
also Macro_Toggle_Panels_Visibility Image
This macro toggles the visibility of various supporting panels in FreeCAD, allowing the main window to be viewed with all available screen space.
same triplus snippet and include the Python console and report view
mario