Workbenches missing in overview

Discussions about the wiki documentation of FreeCAD and its translation.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Workbenches missing in overview

Post by triplus »

renatorivo wrote:Also missing the icon Reverse Engineering. I can not find the icons of the Drop-Down-Menu, does anyone know where they are stored?
I only found one in xpm format:

Code: Select all

/* XPM */
static const char *ReverseEngineering_Box[]={
"16 16 3 1",
". c None",
"# c #000000",
"a c #c6c642",
"................",
".......#######..",
"......#aaaaa##..",
".....#aaaaa###..",
"....#aaaaa##a#..",
"...#aaaaa##aa#..",
"..#aaaaa##aaa#..",
".########aaaa#..",
".#aaaaa#aaaaa#..",
".#aaaaa#aaaa##..",
".#aaaaa#aaa##...",
".#aaaaa#aa##....",
".#aaaaa#a##... .",
".#aaaaa###......",
".########.......",
"................"};
"""
Put the code in icon.xpm text file.
User avatar
r-frank
Veteran
Posts: 2180
Joined: Thu Jan 24, 2013 6:26 pm
Location: Möckmühl, Germany
Contact:

Re: Workbenches missing in overview

Post by r-frank »

Good find triplus.

Yes, I remember that those Icons are still XPM and hardcoded, look here.

It would be a good thing to have SVG-Versions of those at least on the wiki.

Roland
Deutsche FreeCAD Tutorials auf Youtube
My GrabCAD FreeCAD-Projects
FreeCAD lessons for beginners in english

Native german speaker - so apologies for my english, no offense intended :)
renatorivo
Veteran
Posts: 2611
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: Workbenches missing in overview

Post by renatorivo »

Thanks for your help
I added the icon for Reverse Engineering.
I added icons for Test and Points, they are similar, but I could not find the right ones.

Now, if I'm not mistaken, it seems missing a page for
Inspection WB (post: viewtopic.php?t=2916),
REEN WB (an old post:At the moment there is no useful functionality in the REEN module. It's more like a sandbox at the moment), (recent post: viewtopic.php?t=11659),
Web WB self-explanatory, but two lines of explanation would be nice.
Renato
User avatar
r-frank
Veteran
Posts: 2180
Joined: Thu Jan 24, 2013 6:26 pm
Location: Möckmühl, Germany
Contact:

Re: Workbenches missing in overview

Post by r-frank »

Inspection Workbench created.
Reverse Engineering Workbench created.
Web Workbench created.

RevEng Workbench can be deleted (what was I thinking when typing that ? ...)

Thanks renato.

Roland
Deutsche FreeCAD Tutorials auf Youtube
My GrabCAD FreeCAD-Projects
FreeCAD lessons for beginners in english

Native german speaker - so apologies for my english, no offense intended :)
renatorivo
Veteran
Posts: 2611
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: Workbenches missing in overview

Post by renatorivo »

triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Workbenches missing in overview

Post by triplus »

renatorivo wrote:I added the icon for Reverse Engineering.
I added icons for Test and Points, they are similar, but I could not find the right ones.
Points WB:

Code: Select all

/* XPM */
static const char *test_icon[]={
"16 16 2 1",
"a c #000000",
". c None",
"......##......##",
"............##..",
"..##....##......",
"......##.....##.",
"....##....##....",
"##..............",
"....##....##....",
".......##.......",
"...##......##...",
".....##.........",
".........##.....",
"...##........##.",
".....##.........",
".........##.....",
"...##......##...",
"................"};
Test WB:

Code: Select all

/* XPM */
static const char *test_icon[]={
"16 16 2 1",
"a c #000000",
". c None",
"................",
"................",
"..############..",
"..############..",
"..############..",
"......####......",
"......####......",
"......####......",
"......####......",
"......####......",
"......####......",
"......####......",
"......####......",
"......####......",
"................",
"................"};
renatorivo
Veteran
Posts: 2611
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: Workbenches missing in overview

Post by renatorivo »

triplus wrote: renatorivo wrote:
I added the icon for Reverse Engineering.
I added icons for Test and Points, they are similar, but I could not find the right ones.
thank you
updated, but just out of curiosity, where are they? :)
Renato
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Workbenches missing in overview

Post by triplus »

renatorivo wrote:
triplus wrote: renatorivo wrote:
I added the icon for Reverse Engineering.
I added icons for Test and Points, they are similar, but I could not find the right ones.
thank you
updated, but just out of curiosity, where are they? :)
Renato
Each workbench has one defined in InitGui.py:

https://github.com/FreeCAD/FreeCAD/blob ... InitGui.py

But most of them already use the icon in SVG format:

https://github.com/FreeCAD/FreeCAD/blob ... InitGui.py
User avatar
r-frank
Veteran
Posts: 2180
Joined: Thu Jan 24, 2013 6:26 pm
Location: Möckmühl, Germany
Contact:

Re: Workbenches missing in overview

Post by r-frank »

Hello.

Mr Eagle Eye on patrol reporting the "Complete Workbench" is missing on the user-hub-start-page.

Renato, would you mind fixing that ?
Thanks a lot ...

Roland
Deutsche FreeCAD Tutorials auf Youtube
My GrabCAD FreeCAD-Projects
FreeCAD lessons for beginners in english

Native german speaker - so apologies for my english, no offense intended :)
renatorivo
Veteran
Posts: 2611
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: Workbenches missing in overview

Post by renatorivo »

Done.
Note that Complete_Workbench is an unfinished page.
I just copied a few things ...
Renato
Post Reply