yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #01956
Re: QT parameters
> v=qt.View()
> v.eyePosition=(3,.8,.96); v.upVector=(-.4,-.4,.8);
> v.viewDir=(-.9,-.25,-.3); v.axes=True; v.sceneRadius=1.9
>
> what parameters are also possible in this case?
> v.dict() does not work
.dict() is defined only for yade object (which the GL view is not).
The properties are documented at
http://beta.arcig.cz/~eudoxos/yade/epydoc/yade._qt.GLViewer-class.html ,
you can also use dir(v) (which is a python built-in for class
attributes), os use v.<tab> in ipython to show completions.
HTH, v.
Follow ups
References