-
Notifications
You must be signed in to change notification settings - Fork 27
Mesh not correctly plotted #66
Copy link
Copy link
Open
Description
Description
Attached mesh is not correctly plotted with Dash VTK. No issue with ParaView or PyVista.
No problem with simpler meshes with Dash VTK.
Steps/Code to Reproduce
import dash
import dash_vtk
from dash_vtk.utils import to_mesh_state
import pyvista
mesh = pyvista.read("mesh.dat")
mesh_state = to_mesh_state(mesh)
app = dash.Dash(__name__)
app.layout = dash.html.Div(
dash_vtk.View(
dash_vtk.GeometryRepresentation(
dash_vtk.Mesh(state=mesh_state),
property={"edgeVisibility": True},
),
cameraPosition=[1005.0, -5000.0, -1500.0],
cameraViewUp=[0.0, 0.0, 1.0],
),
style={"width": "600px", "height": "600px"},
)
if __name__ == "__main__":
app.run_server(debug=True)Expected Results
Actual Results
Versions
dash == 2.0.0
dash_vtk == 0.0.9
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

