http://www.math.univ-paris13.fr/~cuvelier/software/codes/Python/fc-tools/pyfc-tools_400.png

The fc_tools Python package contains some functions used in various packages I develop : fc-oogmsh, fc-hypermesh, fc-simesh, fc-simesh-matplotlib, fc-simesh-mayavi, fc-vfemp1 ...

Description:

The fc_tools Python package contains some modules:

  • colors module with the main functions:

    • selectColors: pick colors that are maximally perceptually distinct,
    • str2rgb: get RGB color triple from X11 or svg colors name.
  • Matplotlib module with the main functions:

    • set_axes_equal : make axes of 3D plot have equal scale ,
    • DisplayFigures: distributes and resizes a set of figures on screen,
    • SaveAllFigsAsFiles: Save all matplotlib figures as files.
  • Mayavi module with the main function:

    • vtk_SaveAllFigsAsFiles: Save all Mayavi figures as files.
  • Sys module with the main functions:

    • getArch: get system architecture (Windows, Linux, MacOS)
    • getOSinfo:
    • getRAM:
    • getCPUinfo:

Installation:

The fc_tools Python package is available from the Python Package Index, so to install/upgrade simply type

pip install fc_tools -U