The best web-based visualizer
Project description
DVIS: 3D Visualizations made easy
Visualize your data with just one line of code
Python -> Browser
💻 Usage
from dvis import dvis
dvis("mesh.obj") # load file
dvis(point_cloud, vs=0.03) # point cloud with specific voxel size
dvis(bboxes,'bbox', c=3, name='my_boxes') # show colored boxes
dvis(np.array([0,0,0,1,2,3]), 'vec') # vector from origin to (1,2,3)
dvis(transform, 'transform'), # display transformation
Check out more examples in ./examples
python examples/meshes.py
python examples/point_clouds.py
python examples/...
🚀 Getting started
Install the dvis
package
pip install .
Start the web server
cd server
python server.py
Verify you can open http://localhost:5001/ and see something like this:
Try out the client
import numpy as np
from dvis import dvis
dvis(np.random.rand(1000,6), s=0.03)
# sends randomly colored 1000x3 point cloud to the server
Verify you can see a colored point cloud
📖 Documentation
For an overview of available commands check out the documentation
Shotcuts
Shortcut | Description |
---|---|
Editor | |
w | Translate |
e | Rotate |
r | Scale |
z | Undo |
f | Focus |
DVIS | |
v | Show/hide selected object |
1-5 | Toggle layer 1-5 |
0 | Toggle all layers |
Shift + 0-5 | Show layer 0-5 add. |
g | Show/hide grid & axes helper |
n | Next keyframe |
b | Previous keyframe |
. | Next frame |
, | Previous frame |
t | Switch camera |
[ | Download screenshot |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
dvis-0.8.2.1-py3-none-any.whl
(14.9 kB
view details)
File details
Details for the file dvis-0.8.2.1-py3-none-any.whl
.
File metadata
- Download URL: dvis-0.8.2.1-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 512927c997df583c22c0d13bb0adae6fe7b8efcee8c419a1c611e598ec760fd0 |
|
MD5 | fa2e9a68015701b306e4ac6f589e0769 |
|
BLAKE2b-256 | 0bdb7d63ea304e2b81c3caf6b21597a30f31de14123cc6c601755c00c4832ed5 |