colour.utilities.is_trimesh_installed#

colour.utilities.is_trimesh_installed(raise_exception: bool = False) bool[source]#

Return whether Trimesh is installed and available.

Parameters:

raise_exception (bool) – Whether to raise an exception if Trimesh is unavailable.

Returns:

Whether Trimesh is installed.

Return type:

bool

Raises:

ImportError – If Trimesh is not installed.