GiD 16.1.2d developer includes a Tcl package called tohil
that provides ways to exchange data and execute code between the Python and Tcl interpreters.
The documentation of tohil
is at https://flightaware.github.io/tohil-docs/
A python interpreter (initial version 3.10.5/3.10.8) will be included inside GiD along with some common modules:
numpy 1.23.3 : efficient use of arrays
matplotlib 3.6.1 : to plot graphs
meshio 5.3.4 : conversion between several mesh formats
h5py 3.7.0 : read/write HDF5 scientific data format
netCDF4 1.6.1 : read/write netCDF4 scientific data format
debugpy 1.6.3 : debugging Python from VSCode editor in case of embedded Python interpreter
In fact these modules are now included in the GiD installer since GiD 16.1.4d, they will installed on demand by the functions of GiD plugins that require them, and off course could be easily installed manually from the GiD command line with a command like this:
-np- GiD_Python_PipGetMissingPackages {matplotlib}