FreeCAD command icons in the FC Wiki that should be in SVG format but are in PNG instead

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

Moderator: agryson

User avatar
Kunda1
Posts: 7009
Joined: Thu Jan 05, 2017 9:03 pm

FreeCAD command icons in the FC Wiki that should be in SVG format but are in PNG instead

Postby Kunda1 » Fri Feb 07, 2020 4:02 pm

This thread is to track icons in the wiki that should be SVG. Once they have been fixed they will be crossed out.

https://freecadweb.org/wiki/File:Std_Measure_Menu.png
https://freecadweb.org/wiki/Std_Measure_Menu
https://freecadweb.org/wiki/File:Std_ViewCreate.png
https://freecadweb.org/wiki/Arch_MultiMaterial
https://freecadweb.org/wiki/Arch_SetMaterial
https://freecadweb.org/wiki/Arch_CompSetMaterial
https://freecadweb.org/wiki/File:Mesh_RegularSolid.png
https://freecadweb.org/wiki/File:Mesh_H ... ormals.png
https://freecadweb.org/wiki/File:Mesh_F ... veHole.png
https://freecadweb.org/wiki/File:Mesh_ExportMesh.png
https://freecadweb.org/wiki/Part_ReverseShapes
https://freecadweb.org/wiki/Part_ConvertToSolid
https://freecadweb.org/wiki/Part_Export <-- the svg exists but isn't displaying correctly in the {{GuiCommand}} template
https://freecadweb.org/wiki/Part_Import <-- same issue as Export
https://freecadweb.org/wiki/Part_Plane
https://freecadweb.org/wiki/Part_ProjectionOnSurface
https://freecadweb.org/wiki/Part_CompCompoundTools
https://freecadweb.org/wiki/Part_CompSplittingTools
https://freecadweb.org/wiki/Part_CompJoinFeatures
https://freecadweb.org/wiki/File:Part_MakeCompound.png
https://freecadweb.org/wiki/Part_CompOffsetTools
https://freecadweb.org/wiki/Part_Helix
https://freecadweb.org/wiki/Path_FaceProfile
https://freecadweb.org/wiki/File:Part_Prism.png should be Part_Prism.svg (thanks @renatorivo)
https://freecadweb.org/wiki/Path_Array
https://freecadweb.org/wiki/Path_SimpleCopy
https://freecadweb.org/wiki/Path_3DSurface
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
Kunda1
Posts: 7009
Joined: Thu Jan 05, 2017 9:03 pm

Re: FreeCAD command icons in the FC Wiki that should be in SVG format but are in PNG instead

Postby Kunda1 » Mon Feb 10, 2020 4:27 pm

Thanks. Crossed-out. Added a few more to OP.
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
Kunda1
Posts: 7009
Joined: Thu Jan 05, 2017 9:03 pm

Re: FreeCAD command icons in the FC Wiki that should be in SVG format but are in PNG instead

Postby Kunda1 » Fri Feb 14, 2020 5:47 pm

FYI, some of the individual Part CreatePrimitives have SVGs other are PNG
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
vocx
Posts: 3253
Joined: Thu Oct 18, 2018 9:18 pm

Re: FreeCAD command icons in the FC Wiki that should be in SVG format but are in PNG instead

Postby vocx » Sat Feb 15, 2020 2:54 am

Kunda1 wrote:
Fri Feb 14, 2020 5:47 pm
FYI, some of the individual Part CreatePrimitives have SVGs other are PNG
Rename: Part_CreatePrimitives to Part_Primitives
Always add the important information to your posts if you need help.
To support the documentation effort, and code development, your donation is appreciated: paypal.
vocx
Posts: 3253
Joined: Thu Oct 18, 2018 9:18 pm

Re: FreeCAD command icons in the FC Wiki that should be in SVG format but are in PNG instead

Postby vocx » Thu Feb 20, 2020 6:17 pm

Kunda1 wrote:
Thu Feb 20, 2020 3:03 pm
What should we do about wiki page icons like...(?)...
https://github.com/FreeCAD/FreeCAD/blob ... #L773-L784

Code: Select all

DEF_STD_CMD_ACL(CmdPartCompCompoundTools)

CmdPartCompCompoundTools::CmdPartCompCompoundTools()
  : Command("Part_CompCompoundTools")
{
    sAppModule      = "Part";
    sGroup          = QT_TR_NOOP("Part");
    sMenuText       = QT_TR_NOOP("Compound tools");
    sToolTipText    = QT_TR_NOOP("Compound tools: working with lists of shapes.");
    sWhatsThis      = "Part_CompCompoundTools";
    sStatusTip      = sToolTipText;
}
The compound tools don't specify an icon (sPixmap), they use the one first on the list, or the latest command used.

In the wiki I would just use the first icon in the list, and ignore the arrow that Mario added to the PNG icon.
Always add the important information to your posts if you need help.
To support the documentation effort, and code development, your donation is appreciated: paypal.