GiD - The personal pre and post processor

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

GiD 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 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)

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

  • numpy : efficient use of arrays

  • matplotlib : to plot graphs

  • meshio : conversion between several mesh formats

  • h5py : read/write HDF5 scientific data format

  • netCDF4 : read/write netCDF4 scientific data format

  • debugpy : 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 command line with a command like this:

-np- GiD_Python_PipGetMissingPackages {matplotlib}

  • No labels