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

View File

@ -0,0 +1,16 @@
ExampleFiles can be automatically downloaded with from the Demo section of the AdvancedSkeleton tools.
Or they can be manually downloaded from:
www.animationstudios.com.au/advancedskeleton/download
Some of the example files require the wbDeltaMushDeformer plugin that comes with AdvancedSkeleton.
If a example file does not load correctly, it might be because this plugin has not been added to "modulePath".
A quick way to fix this, is to drag`n`drop the "setModulePath.mel" file, into any Maya viewport.
If you wish to use any of the AdvancedSkeleton example rigs for any commercial project, please obtain a AdvancedSkeleton license.
For non-commercial projects, such as student work, please add "Rig by AdvancedSkeleton" to the credits,
and if the the project is will be avaiable for viewing online, please email us a link.
Copyright (C) 2016 by AnimationStudios, Oslo, Norway.

View File

@ -0,0 +1,33 @@
global proc asScriptExampleFilesLocatorProc (){}
global proc string asGetScriptExampleFilesLocation ()
{
string $whatIs=`whatIs asScriptExampleFilesLocatorProc`;
string $fullPath=`substring $whatIs 25 999`;
string $buffer[];
int $numTok=`tokenize $fullPath "/" $buffer`;
int $numLetters=size($fullPath);
int $numLettersLastFolder=size($buffer[$numTok-1]);
string $scriptLocation=`substring $fullPath 1 ($numLetters-$numLettersLastFolder-1)`;
return $scriptLocation;
}
string $buffer[];
tokenize `asGetScriptExampleFilesLocation` "/" $buffer;
string $asPath="";
for ($i=0;$i<size($buffer)-2;$i++)
{
$asPath+=$buffer[$i];
if ($i<size($buffer)-3) $asPath+="/";
}
string $asFile=$asPath+"/AdvancedSkeleton5.mel";
string $modFile=$asPath+"/AdvancedSkeleton5Files/modules/wbDeltaMushDeformer.mod";
if (!`file -q -ex $asFile`)
error ("file:\""+$asFile+"\" not found");
if (!`file -q -ex $modFile`)
error ("file:\""+$modFile+"\" not found");
evalEcho ("source \""+$asFile+"\"");
evalEcho ("asAddModulePath");