make an svg icon from png for a FEM tool

A forum for research and development of the user interface of FreeCAD

Moderator: agryson

User avatar
bernd
Posts: 8332
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

make an svg icon from png for a FEM tool

Postby bernd » Wed Sep 19, 2018 5:59 am

Does someone has interest in makeing a nice svg icon from a png one? See https://github.com/FreeCAD/FreeCAD/tree ... rces/icons There is still one png icon ... https://github.com/FreeCAD/FreeCAD/blob ... -point.png This was taken from Praview AFAIK. Would be cool if we could have this as an svg too.

Bernd
User avatar
bitacovir
Posts: 693
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: make an svg icon from png for a FEM tool

Postby bitacovir » Wed Sep 19, 2018 1:30 pm

bernd wrote:
Wed Sep 19, 2018 5:59 am
Does someone has interest in makeing a nice svg icon from a png one? See https://github.com/FreeCAD/FreeCAD/tree ... rces/icons There is still one png icon ... https://github.com/FreeCAD/FreeCAD/blob ... -point.png This was taken from Praview AFAIK. Would be cool if we could have this as an svg too.

Bernd
Happy to help you. One question, these icons do not follow the Artwork Guidelines, right?
::bitacovir::
===================================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

My Blog
Mini Airflow Tunnel Project
User avatar
bernd
Posts: 8332
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: make an svg icon from png for a FEM tool

Postby bernd » Wed Sep 19, 2018 2:27 pm

great!

To be honest I do not know. Have a look at https://github.com/FreeCAD/FreeCAD/tree ... rces/icons All icons where redesigned by agryson. The icons starting with fem-post-filter-... are taken from paraview but where redesigned. If they are according the guidelines than yes this should be too, if not than no.

bernd
User avatar
bitacovir
Posts: 693
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: make an svg icon from png for a FEM tool

Postby bitacovir » Wed Sep 19, 2018 2:51 pm

Well. I follow the guidelines and tried to make a version based on one of the icons with a similar role.
https://github.com/FreeCAD/FreeCAD/blob ... g-line.svg
No sure if you like this one. Or do you prefer an exact SVG version of the PNG one?
inkscape_2018-09-19_11-46-28.png
inkscape_2018-09-19_11-46-28.png (16.08 KiB) Viewed 530 times
::bitacovir::
===================================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

My Blog
Mini Airflow Tunnel Project
User avatar
bernd
Posts: 8332
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: make an svg icon from png for a FEM tool

Postby bernd » Thu Sep 20, 2018 8:48 am

wow cool, looks great to me! How about adding another few lines to make the box looks like a box?

bernd
User avatar
bitacovir
Posts: 693
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: make an svg icon from png for a FEM tool

Postby bitacovir » Thu Sep 20, 2018 2:33 pm

bernd wrote:
Thu Sep 20, 2018 8:48 am
wow cool, looks great to me! How about adding another few lines to make the box looks like a box?

bernd
What about this?
inkscape_2018-09-20_11-29-26.png
inkscape_2018-09-20_11-29-26.png (15.32 KiB) Viewed 478 times
fem-post-filter-data-at-point.svg
(10.47 KiB) Downloaded 46 times
::bitacovir::
===================================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

My Blog
Mini Airflow Tunnel Project
User avatar
bernd
Posts: 8332
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: make an svg icon from png for a FEM tool

Postby bernd » Thu Sep 20, 2018 4:02 pm

looks much better to me. If you would like to be the contrbutor, go for a Pull Request and refere to this topic. If not I will add it to my bext PR.

bernd
User avatar
bitacovir
Posts: 693
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: make an svg icon from png for a FEM tool

Postby bitacovir » Thu Sep 20, 2018 5:17 pm

bernd wrote:
Thu Sep 20, 2018 4:02 pm
looks much better to me. If you would like to be the contrbutor, go for a Pull Request and refere to this topic. If not I will add it to my bext PR.

bernd
I do not know how to do it. I was reading the pull request subforum but I did not understand what to do. It is ok. You can do it.
::bitacovir::
===================================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

My Blog
Mini Airflow Tunnel Project
User avatar
Kunda1
Posts: 5509
Joined: Thu Jan 05, 2017 9:03 pm

Re: make an svg icon from png for a FEM tool

Postby Kunda1 » Thu Sep 20, 2018 5:21 pm

Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
bernd
Posts: 8332
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: make an svg icon from png for a FEM tool

Postby bernd » Thu Sep 20, 2018 7:33 pm

Kunda1 wrote:
Thu Sep 20, 2018 5:21 pm
Github
wow I did not know we have got such a great documantation :D Will you give it a try bitacovir? If you encounter any problems feel free to ask just here in this topic. You will be a FreeCAD developer after the merge :mrgreen: If not just drop a line, I will include it in my next PR.

bernd