The FreeCAD.xml (org.freecadweb.FreeCAD.xml
by default) file, as well as FreeCAD.thumbnailer, and other support files are in the src/XDGData folder
: https://github.com/FreeCAD/FreeCAD/tree ... rc/XDGData
The xml file is normally installed on your system under /usr/share/freecad/share/mime/packages/org.freecadweb.FreeCAD.xml
, but this could be different in the AppImage case (I have not checked it).
defines some Mime information, such as the file type extension for FreeCAD files and it's needed so Nautilus or Thunar can recognize them as freecad files with the right mimetype.
With regards to the -s
option, freecad-thumbnailer currently ignores it, but it could pontentially be used to get a given pixel size for the thumbnail. Right now it just uses the default size that FreeCAD stores in its files, so no resizing is done.
Anyhow, If it were to work, the right invocation needs adding the size in pixels for the thumbnail just after the -s
option, like this:
Code: Select all
freecad-thumbnailer -s 64 inputfile.fcstd mypath/output.png
I hope this can get you further.