import numpy as np
import plotly.graph_objects as go
import gstlearn as gl
import gstlearn.plot3D as gop
import gstlearn.document as gdoc
import IPython
import os
from numpy import pi, cos, sin
gdoc.setNoScroll()
Definition of the Meshing
gl.defineDefaultSpace(gl.ESpaceType.SN)
mesh = gl.MeshSphericalExt()
err = mesh.resetFromDb(None,None,triswitch = "-r4",verbose=False)
Display a white skin around the meshing
blank = gop.SurfaceOnMesh(mesh, opacity=1)
fig = go.Figure(data = [blank])
fig.update_scenes(xaxis_visible=False, yaxis_visible=False, zaxis_visible=False )
f = fig.show()
We overlay the meshing
meshing = gop.Meshing(mesh)
fig = go.Figure(data = [blank, meshing])
fig.update_scenes(xaxis_visible=False, yaxis_visible=False, zaxis_visible=False )
f = fig.show()