Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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. (Tohil is included since GiD 16.1.2d developer)

The documentation of tohil is at https://flightaware.github.io/tohil-docs/

A python interpreter (initial version is included with Tohil inside GiD (GiD 17.0 has Python 3.12.3, previous developer versions had Python 3.10.5 /or 3.10.8) will be included inside GiD along with

This is a list of some common Python modules, required by GiD Tcl plugins invoking Python (like meshio, pybaqus, meshfix):

  • 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 preliminary versions these modules were included in the GiD installer, but 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 Tcl command line with a command like this:

-np- GiD_Python_PipInstall {matplotlib}