HakanSeven12 wrote: ↑Mon Jan 18, 2021 12:13 pm
Hi
Disable start workbench. I already saw this. Its not returning a workbench object and that cause this error. Maybe I can put a pass code for it.
Hakan,
Thank you for the help.
I have disabled the start and the <None> workbench, but still get the following error log. Maybe once a pass is put into the addon this will resolve? May also just be a conflict with current version of FreeCAD?
"
13:17:33 Traceback (most recent call last):
13:17:33 File "C:\Users\Kevin\AppData\Roaming\FreeCAD\Mod\ModernUI\FCBinding.py", line 147, in selectWorkbench
13:17:33 self.createFileMenu()
13:17:33 File "C:\Users\Kevin\AppData\Roaming\FreeCAD\Mod\ModernUI\FCBinding.py", line 91, in createFileMenu
13:17:33 menu_list = workbench.listMenus()
13:17:33 File "<string>", line 70, in listMenus
13:17:33 AttributeError: 'StartWorkbench' object has no attribute '__Workbench__'
13:17:33 Traceback (most recent call last):
13:17:33 File "C:\Users\Kevin\AppData\Roaming\FreeCAD\Mod\ModernUI\FCBinding.py", line 276, in __init__
13:17:33 QtCore.Qt.TopDockWidgetArea, MenuDock())
13:17:33 File "C:\Users\Kevin\AppData\Roaming\FreeCAD\Mod\ModernUI\FCBinding.py", line 46, in __init__
13:17:33 self.setWidget(ModernMenu())
13:17:33 File "C:\Users\Kevin\AppData\Roaming\FreeCAD\Mod\ModernUI\FCBinding.py", line 67, in __init__
13:17:33 self.selectWorkbench()
13:17:33 File "C:\Users\Kevin\AppData\Roaming\FreeCAD\Mod\ModernUI\FCBinding.py", line 147, in selectWorkbench
13:17:33 self.createFileMenu()
13:17:33 File "C:\Users\Kevin\AppData\Roaming\FreeCAD\Mod\ModernUI\FCBinding.py", line 91, in createFileMenu
13:17:33 menu_list = workbench.listMenus()
13:17:33 File "<string>", line 70, in listMenus
13:17:33 AttributeError: 'StartWorkbench' object has no attribute '__Workbench__ "
Hi, I love the functionality this gives, but I'm just wondering whether there's any plans to make it so that the workbenches automatically switch between each other when required? For example, if I'm working in PartDesign and draw a new sketch, I need to manually switch to the Sketcher workbench. Similarly, when I exit the sketch I need to manually go back to the PartDesign workbench.
It would be nice for workflow if these changes were automatic.
FuriousBottle wrote: ↑Sun Jan 24, 2021 2:28 am
if I'm working in PartDesign and draw a new sketch, I need to manually switch to the Sketcher workbench.
Are you posting to the right topic? If this would be the case when using Modern UI, then it would be utterly wrong. Sketches would be placed in the wrong position, outside of the active body.
Can you please clarify this and add your full FreeCAD infos?
I just install the plugin, and I have no toolbars or menus.
I also don't see anything of the new UI.
Is there anything else I can do to try to get Modern-UI working?
Installation details:
OS: Windows 10 Pro
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
HakanSeven12 wrote: ↑Sun Apr 05, 2020 12:21 pmHow to install?
Open 'Tools -> Addon Manager'.
Select 'Modern UI' and click 'Install/update selected'.
Restart FreeCAD.
I can't solve the shortcuts issue. Same of the shortcuts are not working like del or space. Also it still under development. I want to show only 4 column of icons and move the rest of it to submenus. Also linkstage3 and ModernUI modifying dock widget so there will be bugs.
Are you thinking adding ModernUI to it is a good idea?
If you want to see ModernUI in ls3 the best way is porting it c++ and bound it's interface elements directly to freecad itself. But I only know python. I just hiding toolbars and access their widget and use them to create my widget. But a core implementation is the true way to do it.
I think you must ask realthunder for a c++ port of ModernUI