Dwmaya
Collection of Maya functions/tools/scripts/helpers/examples.
Install / Use
/learn @DreamWall-Animation/DwmayaREADME
dwmaya
Collection of Maya functions/tools/scripts/helpers/examples.
playblast:
Uses a temporary floating viewport to avoid messing with your UI and to make sure the correct camera is used.
Also works in batch mode (mayapy).
dwmaya.playblast.playblast(camera='')
shelf:
Create shelf menu in python. Handy to create non-destructible shelf from userSetup.py and also re-use common part of buttons in multiple shelf tabs.
dwmaya.ui.shelf.create(
name='example',
shelf_buttons=[
dict(
tooltip="farm_launcher",
icon="farm_launcher.png",
command='print("test")'),
dwmaya.ui.shelf.SEPARATOR,
dict(
tooltip="left click menu",
icon="cube.png",
command='import maya.cmds as mc;mc.polyCube()',
menu_button=dwmaya.ui.shelf.RIGHT_BUTTON,
menu=[
dict(label='first menu item',
command='polyCube',
source_type='mel'),
dict(label='another menu item',
command='polyCube',
source_type='mel'),
]
)
]
)
Related Skills
node-connect
342.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.7kCommit, push, and open a PR
