ModernUI Workbench: Difference between revisions
(→Install: Add self-contained installation for LInux) |
(Addon_Manager -> Std_AddonMgr) |
||
(25 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{UnfinishedDocu{{#translation:}}}} |
{{UnfinishedDocu{{#translation:}}}} |
||
<translate> |
|||
⚫ | |||
<!--T:1--> |
|||
⚫ | |||
⚫ | |||
</translate> |
|||
{{TOCright}} |
{{TOCright}} |
||
<translate> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
<!--T:3--> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
<!--T:5--> |
|||
* Author: Hakan Seven |
* Author: Hakan Seven |
||
* Source code on github: https://github.com/HakanSeven12/Modern-UI |
* Source code on github: [https://github.com/HakanSeven12/Modern-UI Source code Modern-UI] |
||
==Limitations and Troubleshooting== |
== Limitations and Troubleshooting == <!--T:6--> |
||
<!--T:7--> |
|||
* If you experience unexpected behavior, always |
* If you experience unexpected behavior, always first try to uninstall and then reinstall the ModernUI workbench. |
||
* The workbench is primarily tested with English and may exhibit unexpected behavior in other languages. |
* The workbench is primarily tested with English and may exhibit unexpected behavior in other languages. |
||
* Installing more workbenches after installing ModernUI may cause problems. |
* Installing more workbenches after installing ModernUI may cause problems. |
||
== Install == |
== Install == <!--T:8--> |
||
<!--T:9--> |
|||
Install with the [[Image: |
Install with the [[Image:Std_AddonMgr.svg|24px|link=Std_AddonMgr]] [[Std_AddonMgr|Addon Manager]]. |
||
<!--T:10--> |
|||
Note: To uninstall, you |
Note: To uninstall, you have to create a macro and execute it. If you do not feel confident about this, consider to not install. |
||
=== Running Modern UI in a self-contained directory === |
=== Running Modern UI in a self-contained directory === <!--T:11--> |
||
<!--T:12--> |
|||
To easily test Modern UI without interfering with your standard configuration, you can contain it in a separate directory. Uninstalling Modern UI is then simply accomplished by deleting the directory. |
To easily test Modern UI without interfering with your standard configuration, you can contain it in a separate directory. Uninstalling Modern UI is then simply accomplished by deleting the directory. {{Version|0.19}} |
||
==== Linux ==== <!--T:13--> |
|||
'''Linux''' |
|||
<!--T:14--> |
|||
For example: |
For example: |
||
⚫ | |||
⚫ | |||
⚫ | |||
</translate> |
|||
<pre> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
</pre> |
|||
<translate> |
|||
<!--T:15--> |
|||
When starting FreeCAD like this for the first time, you have a new default configuration. Now install (and configure) Modern UI. This is essentially a [[Download#Notes_for_GNU.2FLinux_users|''portable'' FreeCAD version]]. |
When starting FreeCAD like this for the first time, you have a new default configuration. Now install (and configure) Modern UI. This is essentially a [[Download#Notes_for_GNU.2FLinux_users|''portable'' FreeCAD version]]. |
||
<!--T:16--> |
|||
Instead of using the command line, you can also [[Start_up_and_Configuration#Starting_FreeCAD_from_the_desktop|create a dedicated desktop icon]]. |
Instead of using the command line, you can also [[Start_up_and_Configuration#Starting_FreeCAD_from_the_desktop|create a dedicated desktop icon]]. |
||
==== Windows ==== <!--T:17--> |
|||
⚫ | |||
<!--T:18--> |
|||
⚫ | |||
There are not dedicated instructions for Windows yet, however, it is very similar to [[Start_up_and_Configuration#Starting_FreeCAD_from_a_portable_USB_medium|creating a portable version of FreeCAD on a USB medium]]. |
|||
⚫ | |||
<!--T:20--> |
|||
⚫ | |||
<!--T:21--> |
|||
The uninstall sequence is as follows: |
The uninstall sequence is as follows: |
||
# Uninstall with the [[Image:AddonManager.svg|24px|link=Std_AddonMgr]] [[Std_AddonMgr|Addon Manager]]. |
|||
# Restart FreeCAD. |
|||
# Create a macro with this code: |
|||
</translate>{{Code|code= |
|||
from PySide2 import QtCore, QtGui, QtWidgets |
|||
mw = FreeCADGui.getMainWindow() |
|||
mw.menuBar().show() |
|||
WBList = FreeCADGui.listWorkbenches() |
|||
for WB in WBList: |
|||
FreeCADGui.activateWorkbench(WB) |
|||
for tb in mw.findChildren(QtWidgets.QToolBar): |
|||
tb.show() |
|||
}} |
|||
⚫ | |||
<translate> |
|||
⚫ | |||
<!--T:22--> |
|||
⚫ | |||
⚫ | |||
==Links== |
== Links == <!--T:23--> |
||
<!--T:24--> |
|||
* Workbench Wiki: |
|||
* FreeCAD Wiki: |
|||
* FreeCAD Forum: https://forum.freecadweb.org/viewtopic.php?f=34&t=44937 |
* FreeCAD Forum: https://forum.freecadweb.org/viewtopic.php?f=34&t=44937 |
||
* Tutorials: |
|||
* Videos: |
|||
* Files: |
|||
* Report bugs: https://github.com/HakanSeven12/Modern-UI |
* Report bugs: https://github.com/HakanSeven12/Modern-UI |
||
* Patreon (to support the author): https://www.patreon.com/HakanSeven12 |
* Patreon (to support the author): https://www.patreon.com/HakanSeven12 |
||
</translate> |
|||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
||
⚫ | |||
[[Category:Addons{{#translation:}}]] |
[[Category:Addons{{#translation:}}]] |
||
⚫ |
Latest revision as of 20:16, 3 November 2021
This documentation is not finished. Please help and contribute documentation.
GuiCommand model explains how commands should be documented. Browse Category:UnfinishedDocu to see more incomplete pages like this one. See Category:Command Reference for all commands.
See WikiPages to learn about editing the wiki pages, and go to Help FreeCAD to learn about other ways in which you can contribute.
Introduction
The ModernUI Workbench is an external workbench that replaces the standard user interface. It has modern features such as:
- Each workbench has its ribbon tab.
- Modern UI ribbon tab replaces the top-level menu.
- Activating a workbench's ribbon tab shows groups of the workbench's tools.
- Panels such as Combo View are collapsed/expanded upon mouse-over.
References
- Author: Hakan Seven
- Source code on github: Source code Modern-UI
Limitations and Troubleshooting
- If you experience unexpected behavior, always first try to uninstall and then reinstall the ModernUI workbench.
- The workbench is primarily tested with English and may exhibit unexpected behavior in other languages.
- Installing more workbenches after installing ModernUI may cause problems.
Install
Install with the Addon Manager.
Note: To uninstall, you have to create a macro and execute it. If you do not feel confident about this, consider to not install.
Running Modern UI in a self-contained directory
To easily test Modern UI without interfering with your standard configuration, you can contain it in a separate directory. Uninstalling Modern UI is then simply accomplished by deleting the directory. introduced in version 0.19
Linux
For example:
$ mkdir modernUI # new directory that contains Modern UI $ cd modernUI $ HOME="$PWD" FREECAD_USER_HOME="$PWD" FreeCAD_0.19.AppImage
When starting FreeCAD like this for the first time, you have a new default configuration. Now install (and configure) Modern UI. This is essentially a portable FreeCAD version.
Instead of using the command line, you can also create a dedicated desktop icon.
Windows
There are not dedicated instructions for Windows yet, however, it is very similar to creating a portable version of FreeCAD on a USB medium.
Uninstall
Detailed instructions can be found on GitHub.
The uninstall sequence is as follows:
- Uninstall with the Addon Manager.
- Restart FreeCAD.
- Create a macro with this code:
from PySide2 import QtCore, QtGui, QtWidgets mw = FreeCADGui.getMainWindow() mw.menuBar().show() WBList = FreeCADGui.listWorkbenches() for WB in WBList: FreeCADGui.activateWorkbench(WB) for tb in mw.findChildren(QtWidgets.QToolBar): tb.show()
- Execute the macro.
- Restart FreeCAD.
Links
- FreeCAD Forum: https://forum.freecadweb.org/viewtopic.php?f=34&t=44937
- Report bugs: https://github.com/HakanSeven12/Modern-UI
- Patreon (to support the author): https://www.patreon.com/HakanSeven12
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub