nglview.shape

Module contents

class nglview.shape.Shape(view)[source]

Bases: object

TODO: doc

view : nglview.NGLWidget

Unstable feature

>>> import nglview as nv
>>> view = nv.NGLWidget()
>>> view
>>> shape = nv.Shape(view=view)
>>> # TODO: add example
>>> shape.add_sphere(...)
add(*args)[source]

# TODO : add me

http://arose.github.io/ngl/api/