Commit Graph

11 Commits

Author SHA1 Message Date
luz paz
6debee9947 Tools: remove py2 support from fcinfo script 2022-02-08 16:29:27 +01:00
tomate44
05dfa5ccc0 fcinfo: support FCBak backup files 2020-12-20 09:59:43 +01:00
tomate44
d320c7bb8d fcinfo: support backup files 2020-12-20 09:25:36 +01:00
Mitch Roote
ea5d2efabe Update fcinfo script for py3 compatibility 2020-12-15 11:10:40 -05:00
luz.paz
50a8e3cf22 Fix misc. source comment typos
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller`  
Fix ./src/Tools/fcinfo grammar + whitesapce  
Fix typos in ./src/Mod/Mesh/App/Core/Evaluation.cpp
2019-08-07 20:16:45 -04:00
Yorik van Havre
a1edbb092c Tools: added --gui option to fcinfo tool 2019-07-28 13:59:03 -03:00
Yorik van Havre
d04686026d Tools: Small additional fix in fcinfo tool 2019-07-27 15:59:03 -03:00
Yorik van Havre
42d0282580 Tools: More options to fcinfo tool 2019-07-27 15:48:51 -03:00
Patola
c60824db35 Better handle non-ascii characters
This prevents the following error when using fcinfo as diff driver for WebTools Git:
(...)
  File "/usr/local/bin/fcinfo", line 89, in startElement
    print ("   " + key + " : " + val)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 17: ordinal not in range(128)
fatal: unable to read files to diff
2018-02-26 10:51:29 -03:00
Yorik van Havre
0f259a2c54 fixed wrong info in fcinfo tool 2016-03-28 00:27:43 -03:00
Yorik van Havre
abba688ee5 Added fcinfo utility
This utility prints information about a given FreeCAD file (*.FCStd)
on screen, including document properties, number of included objects
and object sizes.

It can be used as a textconv tool for git diff by adding this utility to
your exec path andadding this entry to .gitattributes: *.fcstd diff=fcinfo

Usage: fcinfo myfile.FCStd
2015-06-27 20:01:35 -03:00