compas-dev / compas_view2

Standalone viewer for COMPAS
https://compas.dev/compas_view2/
MIT License
7 stars 9 forks source link

Visible #83

Closed Licini closed 3 years ago

Licini commented 3 years ago

Add visible flag to objects. now you can do either

viewer.add(spherecollection, colors=colors, u=20, v=5, linecolor=(0.2, 0, 0), visible=False)

or

obj = viewer.add(spherecollection, colors=colors, u=20, v=5, linecolor=(0.2, 0, 0))
obj.visible = False