An open API service indexing awesome lists of open source software.

https://github.com/francisengelmann/pyviz3d

PyViz3D is a web-based visualizer for 3D objects and point clouds.
https://github.com/francisengelmann/pyviz3d

3d visualizer

Last synced: 8 months ago
JSON representation

PyViz3D is a web-based visualizer for 3D objects and point clouds.

Awesome Lists containing this project

README

          

----
PyViz3D is a python package to visualize 3D scenes directly in your browser, and create beautiful renderings with blender.

#### Links

- Install: ```python -m pip install pyviz3d```
- [Examples](#examples)
- [Deployment](#deployment)

# Examples
Scene graph example, including blender rendering.
[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_graph.py)
[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/graph/index.html)




Blender example, including blender rendering.
[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_blender.py)
[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/blender/index.html)




Arrow example.
[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_arrows.py)
[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/arrows/index.html)
[

](https://francisengelmann.github.io/pyviz3d_examples/arrows/index.html)

Bounding boxes example.
[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_bounding_boxes.py)
[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/bounding_boxes/index.html)
[

](https://francisengelmann.github.io/pyviz3d_examples/bounding_boxes/index.html)

Polygon meshes (.obj and .ply).
[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_meshes.py)
[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/meshes/index.html)
[

](https://francisengelmann.github.io/pyviz3d_examples/meshes/index.html)

Point clouds, segments and normals.
[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_normals.py)
[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/normals/index.html)
[

](https://francisengelmann.github.io/pyviz3d_examples/normals/index.html)

Polylines.
[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_polylines.py)
[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/polylines/index.html)
[

](https://francisengelmann.github.io/pyviz3d_examples/polylines/index.html)

Superquadrics.
[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_superquadrics.py)
[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/superquadrics/index.html)
[

](https://francisengelmann.github.io/pyviz3d_examples/superquadrics/index.html)

Text Labels.
[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_text.py)
[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/text/index.html)
[

](https://francisengelmann.github.io/pyviz3d_examples/text/index.html)

# Deployment

[Instructions for PyPi](https://packaging.python.org/en/latest/tutorials/packaging-projects/) and [API Token](https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#create-an-account).

One time setup:
```
vim ~/.pypirc # put __token__ as username
python3 -m pip install build twine
python3 -m pip install --upgrade build
```

Upload latest version to pypi:
```
vim pyproject.toml # update version
rm -rf dist
rm -rf example_*
python3 -m build
python3 -m twine upload dist/*
```

# BibTeX
Please consider citing PyViz3D in your publications if it helps your research.
```
@misc{engelmann2019pyviz3d,
title={PyViz3D},
author={Francis Engelmann},
year={2019},
howpublished={\url{https://github.com/francisengelmann/PyViz3D}},
}
```