gustaf.show.make_showable#

gustaf.show.make_showable(obj, backend='vedo', **kwargs)[source]#

Since gustaf does not natively support visualization, one of the following library is used to visualize gustaf (visualizable) objects: (1) vedo -> Fast, offers a lot of features (2) trimesh -> Fast, compatible with old OpenGL (3) matplotlib -> Slow, offers vector graphics.

This determines showing types using whatami.

Parameters:
  • obj (gustaf-objects) –

  • backend (str) – (Optional) Default is gustaf.settings.VISUALIZATION_BACKEND. Options are: “vedo” | “trimesh” | “matplotlib”

Returns:

showable_objs – List of showable objects.

Return type:

list