compas-dev / compas-dev/compas_viewer

Replace scene with scene from different context

Open
#150 0 comments 0 reactions 2 assignees Claimed by @PingHsunTsai View on GitHub
enhancement
Dominant language
Python
Stars
12
Forks
12
PR merge metrics
No merged PRs in 30d

Description

I would like to set the scene of the viewer using a scene from another context.

```python
import compas
from compas_viewer import Viewer

scene = compas.json_load('scene.json')

viewer = Viewer(scene=scene)
viewer.show()
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.