Sistem bilgilerinide yollar mısın?
Modern UI
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: Modern UI
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Re: Modern UI
OS: Linux Mint 20.1 (X-Cinnamon/cinnamon)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23546 (Git) AppImage
Build type: Release
Branch: master
Hash: 6b017f9a16b15b0e628c8d874c4058442dee5548
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Turkish/Turkey (tr_TR)
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: Modern UI
Bu hatayla hiç karşılaşmadım. User.cfg ve System.cfg yi sildim. FreeCAD'i ve Modern UI'yi sildim kurdum. Hatta başka bir bilgisayara bile kurdum fakat hatayla karşılaşmadım Part Design aktifken şunu python konsolunda dener misin? Modern UI kurmana gerek yok.
Code: Select all
workbench = FreeCADGui.activeWorkbench()
workbench.listMenus()
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Re: Modern UI
Kod Çıktısı:HakanSeven12 wrote: ↑Tue Jan 12, 2021 6:08 am Bu hatayla hiç karşılaşmadım. User.cfg ve System.cfg yi sildim. FreeCAD'i ve Modern UI'yi sildim kurdum. Hatta başka bir bilgisayara bile kurdum fakat hatayla karşılaşmadım Part Design aktifken şunu python konsolunda dener misin? Modern UI kurmana gerek yok.
Code: Select all
workbench = FreeCADGui.activeWorkbench() workbench.listMenus()
>>> workbench = FreeCADGui.activeWorkbench()
>>> workbench.listMenus()
['&File', '&Edit', '&View', '&Tools', '&Macro', '&Sketch', '&Part Design', 'Measure', '&Windows', 'Separator', '&Help']
- Attachments
-
- code_.jpg (133.46 KiB) Viewed 4432 times
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: Modern UI
Aynı kod Modern UI içinde hata veriyor ama sen konsoldan girince düzgün çalışıyor. Hatanın sebebini anlayamadım malesef.
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Re: Modern UI
Sağlık olsun, ne yapalımHakanSeven12 wrote: ↑Wed Jan 13, 2021 6:09 am Aynı kod Modern UI içinde hata veriyor ama sen konsoldan girince düzgün çalışıyor. Hatanın sebebini anlayamadım malesef.
Ara ara deniyorum. Sorun muhetemelen benden (kurcaladığım ayarlardan) kaynaklıdır.
Re: Modern UI
Shall we make a Turkic language subforum? It's a little confusing to non-turkish speakers to mix languages in a thread.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: Modern UI
Why not
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Re: Modern UI
Hello,
Fantastic addon! Had some good use out of it until I started to encounter a major error. Occurred after I changed the order of the workbenches in the ModernUI settings...
Have tried all the solutions already discussed on the forum with no luck, including removing and updating both the addon and the entire FreeCAD software, as well as modifying preferences files. Using FreeCAD version 0.19.23683, OS: Windows 10 (x64).
Fantastic addon! Had some good use out of it until I started to encounter a major error. Occurred after I changed the order of the workbenches in the ModernUI settings...
Code: Select all
16:58:08 Traceback (most recent call last):
16:58:08 File "C:\Users\Kevin\AppData\Roaming\FreeCAD\Mod\ModernUI\FCBinding.py", line 147, in selectWorkbench
16:58:08 self.createFileMenu()
16:58:08 File "C:\Users\Kevin\AppData\Roaming\FreeCAD\Mod\ModernUI\FCBinding.py", line 91, in createFileMenu
16:58:08 menu_list = workbench.listMenus()
16:58:08 File "<string>", line 70, in listMenus
16:58:08 AttributeError: 'StartWorkbench' object has no attribute '__Workbench__'
16:58:08 Traceback (most recent call last):
16:58:08 File "C:\Users\Kevin\AppData\Roaming\FreeCAD\Mod\ModernUI\FCBinding.py", line 276, in __init__
16:58:08 QtCore.Qt.TopDockWidgetArea, MenuDock())
16:58:08 File "C:\Users\Kevin\AppData\Roaming\FreeCAD\Mod\ModernUI\FCBinding.py", line 46, in __init__
16:58:08 self.setWidget(ModernMenu())
16:58:08 File "C:\Users\Kevin\AppData\Roaming\FreeCAD\Mod\ModernUI\FCBinding.py", line 67, in __init__
16:58:08 self.selectWorkbench()
16:58:08 File "C:\Users\Kevin\AppData\Roaming\FreeCAD\Mod\ModernUI\FCBinding.py", line 147, in selectWorkbench
16:58:08 self.createFileMenu()
16:58:08 File "C:\Users\Kevin\AppData\Roaming\FreeCAD\Mod\ModernUI\FCBinding.py", line 91, in createFileMenu
16:58:08 menu_list = workbench.listMenus()
16:58:08 File "<string>", line 70, in listMenus
16:58:08 AttributeError: 'StartWorkbench' object has no attribute '__Workbench__'
Last edited by Kunda1 on Mon Jan 18, 2021 12:01 pm, edited 1 time in total.
Reason: Added code tags
Reason: Added code tags
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: Modern UI
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.
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.
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum