IconThemes
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: IconThemes
Note that i have just merged both documentation contributions from @Kunda1 and @st_phan. Nice job and it is shaping up nicely already:
https://github.com/triplus/IconThemes
Basically yes, good call. First maturing the documentation on IconThemes repository location, that makes the most sense. After it can get decided what belongs to FreeCAD Wiki and FreeCAD-icons repository locations.
P.S. Currently i am investing the most time in two areas. FreeCAD-icons/Travis CI effort is shaping up nicely, likely will be finished this week. Don't want to rush it, as it might end up being operational for a couple of years. Therefore it makes sense to read all the documentation, twice. Things like creating and using a machine user, who would have thought such a thing exists. The second area with bumped priority is further progressing icon themes support. That will likely be split in a series of around 3 PRs, first one might happen this week.
https://github.com/triplus/IconThemes
Basically yes, good call. First maturing the documentation on IconThemes repository location, that makes the most sense. After it can get decided what belongs to FreeCAD Wiki and FreeCAD-icons repository locations.
P.S. Currently i am investing the most time in two areas. FreeCAD-icons/Travis CI effort is shaping up nicely, likely will be finished this week. Don't want to rush it, as it might end up being operational for a couple of years. Therefore it makes sense to read all the documentation, twice. Things like creating and using a machine user, who would have thought such a thing exists. The second area with bumped priority is further progressing icon themes support. That will likely be split in a series of around 3 PRs, first one might happen this week.
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: IconThemes
Nice for new users.
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
-
- Posts: 35
- Joined: Mon Mar 28, 2022 8:21 am
Re: IconThemes
hello,
I need you help for the workbench 'icontheme" ... I have install it but I want now to go back to the original freecad theme ... BUT when I uninstall your icontheme, freecad stay with grey windows and don't go back even if I reinstall freecad ... !!!
I don't know what to do .... could you help me ??
thanks.
my configuration :
OS: Windows 10 Version 1809
Word size of FreeCAD: 64-bit
Version: 0.20.27422 (Git)
Build type: Release
Branch: master
Hash: d938733eaf2c2ce7cb18d1cbb56147185c473530
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: French/France (fr_FR)
I have try to delete the folder c:\user\.....\appdata\freecad\roaming\mod and reinstall freecad but I have not get back the original theme of freecad ...
what can I do ??
thanks
I need you help for the workbench 'icontheme" ... I have install it but I want now to go back to the original freecad theme ... BUT when I uninstall your icontheme, freecad stay with grey windows and don't go back even if I reinstall freecad ... !!!
I don't know what to do .... could you help me ??
thanks.
my configuration :
OS: Windows 10 Version 1809
Word size of FreeCAD: 64-bit
Version: 0.20.27422 (Git)
Build type: Release
Branch: master
Hash: d938733eaf2c2ce7cb18d1cbb56147185c473530
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: French/France (fr_FR)
I have try to delete the folder c:\user\.....\appdata\freecad\roaming\mod and reinstall freecad but I have not get back the original theme of freecad ...
what can I do ??
thanks
- Attachments
-
- screen capture icontheme.jpg (16.96 KiB) Viewed 1107 times
-
- Veteran
- Posts: 5505
- Joined: Thu Apr 05, 2018 1:53 am
Re: IconThemes
You might need to delete your config files. There is a macro that can help find them called findConfigFiles in the addon manager. You can also try the reset button in edit menu -> preferences.
- MisterMaker
- Posts: 742
- Joined: Mon Sep 21, 2020 7:41 am
Re: IconThemes
OK this addon is a bit weird, it says you need to compile a theme but it works just fine without compiling just copy all svg files in the theme folder and it picks them up. Although it only picks up svg files and my icons are all png files, so that sucks a bit. Wonder if I can tell it too use png files, anyone here experience with creating these rcc files in QT?
Btw the example files are different from the actual theme files.
Btw the example files are different from the actual theme files.
Re: IconThemes
But why are they PNG though? SVG scales, PNG doesn't
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
- MisterMaker
- Posts: 742
- Joined: Mon Sep 21, 2020 7:41 am
Re: IconThemes
SVG designs are pretty ugly because you can't do good shading. PNG files scale pretty good you can't tell the difference between svg scaled and PNG. I think this maybe was an issue 10 years ago but Qt now doesn't seem too have any issues with scaling png files. Freecad also never upscales too a big size so you can count pixels in a png, so that isn't a thing either.
I see there are ways too just mass dump every png in a svg file, gonna try that.
I see there are ways too just mass dump every png in a svg file, gonna try that.
Re: IconThemes
To do such transformations ImageMagick could be a good way, but note that:MisterMaker wrote: ↑Tue Jun 28, 2022 3:08 am SVG designs are pretty ugly because you can't do good shading. PNG files scale pretty good you can't tell the difference between svg scaled and PNG. I think this maybe was an issue 10 years ago but Qt now doesn't seem too have any issues with scaling png files. Freecad also never upscales too a big size so you can count pixels in a png, so that isn't a thing either.
I see there are ways too just mass dump every png in a svg file, gonna try that.
SVG where not made to have shades, as they are "vector graphics" so they are suited to reproduce things that scale up in a nice way, having their components defined as "vectorized elements".
PNG if I remember well was a OpenSource solution similar to GIF that are (were) "not Free".
They have simply different targets, and different philosopies.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- MisterMaker
- Posts: 742
- Joined: Mon Sep 21, 2020 7:41 am
Re: IconThemes
I managed to convert the png to a svg wrapper (using ImageMagick ), so maybe a bit stupid... But I have too do, with what I got. Also looked in the code of the add-on if I could see a way to make it skip on the extension. But I have no clue.
Converting process was although in batch it wasn't really bug free, had to batch edit every file and replace a piece of the code to make it work.
Also some svg files still ended up broken.
But looks good on first sight:
Converting process was although in batch it wasn't really bug free, had to batch edit every file and replace a piece of the code to make it work.
Also some svg files still ended up broken.
But looks good on first sight:
Re: IconThemes
Yea, looks really good!
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