Orvisu provides an interface to simply generate 3D plot and 3D animations with color as 4th dimensions.
Orvisu is a Python3 interface realized with wxpython
Orvisu uses PVGeo and pyvista libraries for the visualization.
Orvisu can be useful in Geoscience to visualize 3D Domains or visualize sliced 3D domain.
Orvisu uses UBC file format to generate plots. For one plot two files are needed:
The mesh defines the model region and the model file defines the cells properties.
A script named "writeVisuOutput.py" is provided to generate UBC files from numpy arrays.
Example:
import sys
sys.path.append('/path/to/Orvisu/directory')
import writeVisuOutput as wvo
import numpy as np
data=np.random.rand(3,3,3)
wvo.WriteVisuOutput().run(data,'ubc','./numpytoubc')
s_data=np.ones((5,10,15))*10
wvo.WriteVisuOutput().run(s_data,'ubc','./s_numpytoubc')
Use the 'install.sh' script.
git clone https://github.com/BartheG/Orvisu.git
chmod +x ./install.sh && ./install.sh
or
git clone https://github.com/BartheG/Orvisu.git
chmod +x ./install.sh && sudo ./install.sh
python3 CoreInterface.py