Manipulate Maya 3D Viewports.
I really needed this…
This module exists to unify and pythonify the various commands and apis necessary to manipulate Maya’s 3D Viewports. These include, hardwareRenderGlobal attributes, modelPanel and modelEditor commands, as well as some key features of OpenMayaUI’s M3dView class.
from mvp import Viewport view = Viewport.active() view.camera = 'top' view.background = 0.5, 0.5, 0.5 view.nurbsCurves = False
MVP is available through the python package index as mvp.
pip install mvp
git clone firstname.lastname@example.org/danbradham/mvp.git cd mvp python setup.py install
For more information visit the docs.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|mvp-0.3.1-py2-none-any.whl (13.0 kB) Copy SHA256 Checksum SHA256||py2||Wheel||Jun 1, 2017|
|mvp-0.3.1.tar.gz (10.1 kB) Copy SHA256 Checksum SHA256||–||Source||Jun 1, 2017|