Will the startbench list all the names of the addons installed somewhere in the UI ?
Start Page Redesign
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Start Page Redesign
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
Re: Start Page Redesign
@Yorik, this is the output for all installed Workbenches except InventorLoader and kicadStepUpMod due to missing DLLs or dependancies, hope this gets you started:yorik wrote: ↑Tue Jan 15, 2019 1:47 pm Several external workbenches have non-standard workbench name probably.
If someone fancies installing all the addons, then paste here the results of:That would be a huge help!Code: Select all
FreeCADGui.listWorkbenches()
Code: Select all
{'NoneWorkbench': <__main__.NoneWorkbench object at 0x00000000032C0278>, 'ArchWorkbench': <__main__.ArchWorkbench object at 0x00000000032E8128>, 'CompleteWorkbench': <__main__.CompleteWorkbench object at 0x00000000032C06D8>, 'DraftWorkbench': <__main__.DraftWorkbench object at 0x0000000005D51128>, 'DrawingWorkbench': <__main__.DrawingWorkbench object at 0x00000000032C0710>, 'FemWorkbench': <__main__.FemWorkbench object at 0x00000000032E8208>, 'ImageWorkbench': <__main__.ImageWorkbench object at 0x0000000005D51080>, 'InspectionWorkbench': <__main__.InspectionWorkbench object at 0x0000000005D511D0>, 'MeshWorkbench': <__main__.MeshWorkbench object at 0x0000000005D514E0>, 'OpenSCADWorkbench': <__main__.OpenSCADWorkbench object at 0x0000000005D51748>, 'PartWorkbench': <__main__.PartWorkbench object at 0x0000000005D518D0>, 'PartDesignWorkbench': <__main__.PartDesignWorkbench object at 0x0000000005D51A90>, 'PathWorkbench': <__main__.PathWorkbench object at 0x00000000062428D0>, 'PlotWorkbench': <__main__.PlotWorkbench object at 0x0000000005D51F98>, 'PointsWorkbench': <__main__.PointsWorkbench object at 0x0000000005D51E48>, 'RaytracingWorkbench': <__main__.RaytracingWorkbench object at 0x0000000005D51E80>, 'RobotWorkbench': <__main__.RobotWorkbench object at 0x000000000646B7B8>, 'ShipWorkbench': <__main__.ShipWorkbench object at 0x000000000646BA90>, 'SketcherWorkbench': <__main__.SketcherWorkbench object at 0x000000000646B8D0>, 'SpreadsheetWorkbench': <__main__.SpreadsheetWorkbench object at 0x000000000646B5F8>, 'StartWorkbench': <__main__.StartWorkbench object at 0x00000000064849E8>, 'SurfaceWorkbench': <__main__.SurfaceWorkbench object at 0x0000000006484A90>, 'TechDrawWorkbench': <__main__.TechDrawWorkbench object at 0x0000000006484A58>, 'TestWorkbench': <__main__.TestWorkbench object at 0x0000000006484D30>, 'WebWorkbench': <__main__.WebWorkbench object at 0x0000000006484B38>, 'a2pWorkbench': <__main__.a2pWorkbench object at 0x00000000064A43C8>, 'AirPlaneDesignWorkbench': <__main__.AirPlaneDesignWorkbench object at 0x00000000096EAB38>, 'AnimationWorkbench': <__main__.AnimationWorkbench object at 0x0000000008FDF2E8>, 'ArchTextureWorkbench': <__main__.ArchTextureWorkbench object at 0x00000000064A4240>, 'BIMWorkbench': <__main__.BIMWorkbench object at 0x00000000069D9160>, 'CadQueryWorkbench': <__main__.CadQueryWorkbench object at 0x0000000006AAEEB8>, 'CfdOFWorkbench': <__main__.CfdOFWorkbench object at 0x0000000009DBB1D0>, 'CurvesWorkbench': <__main__.CurvesWorkbench object at 0x000000000A1DC518>, 'DefeaturingWB': <__main__.DefeaturingWB object at 0x000000000A3FE4A8>, 'DynamicDataWorkbench': <__main__.DynamicDataWorkbench object at 0x000000000A5C4B00>, 'ExplodedAssembly': <__main__.ExplodedAssembly object at 0x000000000A5C4D30>, 'FastenersWorkbench': <__main__.FastenersWorkbench object at 0x000000000A609240>, 'flamingoToolsWorkbench': <__main__.flamingoToolsWorkbench object at 0x000000000A609710>, 'Lattice2Workbench': <__main__.Lattice2Workbench object at 0x0000000002E16978>, 'LithophaneWorkbench': <__main__.LithophaneWorkbench object at 0x000000000A5C4BE0>, 'ManipulatorWB': <__main__.ManipulatorWB object at 0x000000000A651630>, 'NurbsWorkbench': <__main__.NurbsWorkbench object at 0x000000000A9CA0B8>, 'PartOMagicWorkbench': <__main__.PartOMagicWorkbench object at 0x000000000A65DC88>, 'SMWorkbench': <__main__.SMWorkbench object at 0x000000000A7733C8>, 'Silk': <__main__.Silk object at 0x000000000A773710>, 'gearWorkbench': <freecad.gears.init_gui.gearWorkbench object at 0x000000000A773E80>, 'frame_workbench': <freecad.frametools.init_gui.frame_workbench object at 0x000000000A773F60>}
Re: Start Page Redesign
Your right, I have missed that, because I have never seen this icon on my machine. This is assigned in the StartPage.js. Do you have an Add-on where this is shown? On my machine this is never shown on the Py2/QT4 build, but I haven't very much Addon's installed.
I suspect the embedded Webbrowser decided to open the file with http protocoll instead of a local file access. I know earlier Firefox Version had the same issue (at least on Windows) when you just entering the Filepath. In those days you had to add a file:// in front of the path, but this was long time ago.
Re: Start Page Redesign
Using OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15611 (Git)
Build type: Release
Branch: master
Hash: 64a94ae0f7c60fc981086fe157150a9c0dca29c6
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedKingdom (en_GB)
the Addons section displays as:
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15611 (Git)
Build type: Release
Branch: master
Hash: 64a94ae0f7c60fc981086fe157150a9c0dca29c6
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedKingdom (en_GB)
the Addons section displays as:
Re: Start Page Redesign
I know this is 'fluff' but it would be cool if the icons of said addons would display next to their names. Brand recognition.
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
Re: Start Page Redesign
Thanks for having a look at this issue @RogerK.
I tested a recent build. Startpage now looks the same for linux and windows. I didn't notice any differences for linux. Tested with 0.18.15640.
Re: Start Page Redesign
Thanks for the list, @Kunda1. Those from that list should be fixed with git commit 71d57b376
Re: Start Page Redesign
That was @Syres not meyorik wrote: ↑Tue Jan 15, 2019 10:02 pm Thanks for the list, @Kunda1. Those from that list should be fixed with git commit 71d57b376
and thanks @Syres from me too
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
Re: Start Page Redesign
Have been reading too fast once again Thanks @Syres
Re: Start Page Redesign
Thanks for the List. I have now fixed the missing installed icon. In addition there was also another relative filepath (line 419), but the code was just executed when no Workbench icon was found, so normally this would not happen.
The code change was successfuly tested with the Build 15646, with both Py2QT4 and the Py3QT5 x64 Windows Builds.
I have noticed that in the StartPage.py in line 401 an extra "data" folder is added to the Workbench picture path (FreeCAD.getResourceDir() already points to the data folder). At least on Windows this extra data folder doesn't exist wether in the Py2QT4 nor the Py3QT5 Build. I have removed this extra Folder in the attached StartPage.py too. I hope this is not needed on other Systems.yorik wrote: ping
Code: Select all
img = os.path.join(FreeCAD.getResourceDir(),"data","Mod",wn,"Resources","icons",wn+"Workbench.svg")
You are welcome, pleased to help out on this. And thank you for testing.