Skip to content

Latest commit

 

History

334 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COMPAS ThreeJS

PyPI version Python versions License MIT Build Status Documentation Made with COMPAS

compas_threejs is a browser-based 3D viewer for COMPAS geometry. The Python package serves a bundled Three.js frontend and exchanges geometry, scene, and interaction messages through COMPAS Protobuf and WebSockets.

Installation

pip install compas_threejs

Quick start

from compas.geometry import Box
from compas_threejs.viewer import App

viewer = App()
viewer.add_geometry(Box(2, 3, 1))
viewer.start(show=True)

The viewer runs until interrupted with Ctrl+C.

Related projects

License

MIT, copyright COMPAS Association. See LICENSE.

About

No description, website, or topics provided.

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages