GithubHelp home page GithubHelp logo

mvp's Introduction

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 = False

Features

  • 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 install

Documentation

For more information visit the docs.

mvp's People

Contributors

danbradham avatar movermeyer avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.