Mayavi Model in VIKTOR

If anyone wondered whether it is possible to convert a Mayavi model to an object rendered in the GeometryView, this is indeed possible. Here is an example of a jack-up model that was first rendered using Mayavi with a python script locally:


Image by SOCO via https://www.standardoffshoreco.com

One can translate the Mayavi objects to GeometryView objects by simply defining functions that translate these, e.g. to translate a Mayavi tube/cylinder to a VIKTOR Circular Extrusion. This results in the following result:


Image by Calypso via https://calypso.viktor.ai/

#geometry #geometryview #mayavi

4 Likes