3D Viewer#
- vivid3d.show(model, height=600)#
Convert a scene to HTML containing embedded geometry and a three.js viewer that will display nicely in an IPython/Jupyter notebook, or in web browser.
- Parameters
model (vivid3d.Model or vivid3d.BaseMesh) – .glb encoded blob file
height (int, default: 600) – height in pixels to open the viewer
- Returns
html (string) – The HTML page