martinRenou / Odysis

Jupyter Interactive Widgets library for 3-D mesh analysis
MIT License
15 stars 2 forks source link

Better camera start location #31

Open banesullivan opened 5 years ago

banesullivan commented 5 years ago

The camera always starts zoomed in to the center of the mesh. Could this be changed to some isometric position?

import pyvista as pv
from pyvista import examples

pvmesh = examples.download_st_helens().warp_by_scalar()

import odysis as ody
mesh = ody.Mesh.from_vtk(pvmesh)

ody.scene(mesh=mesh)
color = ody.color_mapping()
ody.plot()

2019-10-13 13 30 56

banesullivan commented 5 years ago

Whoops this is a duplicate of #7