make an svg icon from png for a FEM tool

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

make an svg icon from png for a FEM tool

Post by bernd »

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
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

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

Post by bitacovir »

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)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

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

Post by bernd »

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
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

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

Post by bitacovir »

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 2162 times
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

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

Post by bernd »

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

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

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

Post by bitacovir »

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 2110 times
fem-post-filter-data-at-point.svg
(10.47 KiB) Downloaded 102 times
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

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

Post by bernd »

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
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

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

Post by bitacovir »

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)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

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

Post by Kunda1 »

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
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

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

Post by bernd »

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
Post Reply