This commit is contained in:
2025-04-17 04:52:48 +08:00
commit 9985b73dc1
3708 changed files with 2387532 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@ -0,0 +1,27 @@
AnimSchool Picker Install
Download here (follow the link at the bottom of the page.)
http://www.animschool.edu/DownloadOffer.aspx
Information here:
http://www.animschool.edu/pickerInfo.aspx
There are folders with the different Maya versions. You have to use the correct 32 bit or 64 bit version, depending on what version of Maya you're running.
Make a new shelf button
loadPlugin -qt "C:/Users/yourname/Documents/AnimSchoolPicker/AnimSchoolPicker/2020 (the version of Maya you're using)/AnimSchoolPicker.mll";
AnimSchoolPicker();
You can use the PickerIcon.png image for the Maya icon.
Mac:
loadPlugin -qt "/Users/yourname/AnimSchoolPicker.bundle";
AnimSchoolPicker();

View File

@ -0,0 +1,52 @@
// when run, this script will create a button on your current shelf
// that when clicked, will open the picker
//
// you can paste the entire contents of this file in the script editor, select,
// and hit enter
//
// Copyright (c) 2013 AnimSchool
global proc AnimSchoolPicker_install()
{
// this script will create a shelf button for the AnimSchoolPicker
string $os = `about -os`;
string $ff = "*.so"; // this is the type for linux
string $ps = "/"; // this the path separator for mac and linux
if( `gmatch $os "mac"` )
{
$ff = "*.bundle";
}
else if( `gmatch $os "win"` || `gmatch $os "win64"` )
{
$ff = "*.mll";
$ps = "\\";
}
// print ( "// filter is: " + $ff + "\n" );
string $path[] = `fileDialog2 -caption "Select the AnimSchoolPicker plugin:" -ff $ff -fileMode 1`;
if( size( $path ) == 1 )
{
// print ( "// the path to the file is: " + $path[ 0 ] + "\n" );
string $cmd = "loadPlugin -qt " + "\"" + $path[ 0 ] + "\";\nAnimSchoolPicker();";
string $icon = dirname( $path[ 0 ] ) + $ps + "AnimSchoolLogoIcon.png";
global string $gShelfTopLevel;
setParent `shelfTabLayout -query -selectTab $gShelfTopLevel`;
if( `filetest -r $icon` )
{
shelfButton -command $cmd -image $icon;
}
else
{
shelfButton -command $cmd -imageOverlayLabel "Pickr";
}
}
}
AnimSchoolPicker_install();

View File

@ -0,0 +1,37 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import maya.cmds as cmds
import os
def AnimSchoolPicker_install():
"""此脚本将为 AnimSchoolPicker 创建一个架子按钮"""
os_type = cmds.about(os=True)
ff = "*.so" # 这是 Linux 的类型
ps = "/" # 这是 Mac 和 Linux 的路径分隔符
if "mac" in os_type:
ff = "*.bundle"
elif "win" in os_type or "win64" in os_type:
ff = "*.mll"
ps = "\\"
# 打开文件对话框以选择插件
path = cmds.fileDialog2(caption="Select the AnimSchoolPicker plugin:", ff=ff, fileMode=1)
if len(path) == 1:
# 构建命令和图标路径
cmd = "loadPlugin -qt \"{}\";\nAnimSchoolPicker();".format(path[0])
icon = os.path.dirname(path[0]) + ps + "AnimSchoolLogoIcon.png"
# 获取当前架子
gShelfTopLevel = cmds.tabLayout('shelfTabLayout', query=True, selectTab=True)
if cmds.file(icon, query=True, exists=True):
cmds.shelfButton(command=cmd, image=icon)
else:
cmds.shelfButton(command=cmd, imageOverlayLabel="Pickr")
AnimSchoolPicker_install()

View File

@ -0,0 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from . import *