Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danbradham/mvp
Maya Viewport API...I need this
https://github.com/danbradham/mvp
Last synced: about 2 months ago
JSON representation
Maya Viewport API...I need this
- Host: GitHub
- URL: https://github.com/danbradham/mvp
- Owner: danbradham
- License: mit
- Created: 2014-12-19T23:42:04.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2022-01-05T00:38:21.000Z (almost 3 years ago)
- Last Synced: 2023-08-04T09:06:38.169Z (over 1 year ago)
- Language: Python
- Size: 529 KB
- Stars: 23
- Watchers: 5
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
.. image:: https://img.shields.io/pypi/v/mvp.svg
:target: https://testpypi.python.org/pypi/mvp/
:alt: Latest Version=======================
MVP - Maya Viewport API
=======================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 = FalseFeatures
========* Unified api for manipulating Maya Viewports
* Get or set viewport state (all attributes). Making it easy to restore a Viewport to a previous configuration.
* Easily set focus and playblast Viewports. Much more consistent than using active view.
* Draw text in Viewports using QLabels.
* Show identifiers in viewports, making it easy to grab the correct viewport at a glance.
Get MVP
=======PyPi
----
MVP is available through the python package index as **mvp**.::
pip install mvp
Distutils/Setuptools
--------------------::
git clone [email protected]/danbradham/mvp.git
cd mvp
python setup.py installDocumentation
=============For more information visit the `docs `_.