global proc shelf_hair () { global string $gBuffStr; global string $gBuffStr0; global string $gBuffStr1; shelfButton -enableCommandRepeat 1 -enable 1 -width 34 -height 34 -manage 1 -visible 1 -label "hairTubes" -imageOverlayLabel "hairTubes" -image1 "commandButton.xpm" -style "iconOnly" -command "// hairTubes.mel\r\n//\r\n// This script may be freely distributed. Modify at your own risk.\r\n//\r\n// Author: Terry Stoeger\r\n//\r\n// Creation Date: ( 1/9/01 )\r\n// Last Update: ()\r\n//\r\n//\r\n// Description: Creates poly tubes with history to a nurbs circle \r\n// \t\tJust pick your extrude curves and select this script from the shelf. \r\n//\r\n//\t\tAfter you can change the diameter of the tubes by scaling the circle\r\n//\t\tThen make them cloth objects\r\n//\r\n// Input Arguments: NONE\r\n//\r\n// Version: Maya3.0/3.0.1\r\n//\r\n\r\nstring $exPaths[] = `ls -sl`;\r\nstring $exCircle[] = `circle -c 0 0 0 -nr 0 1 0 -sw 360 -r 1 -d 3 -ut 0 -tol 0.01 -s 8 -ch 1 -n hairTubeCircle`;\r\nint $i;\r\nfor ($i=0; $i < size($exPaths); ++$i)\r\n\t{\r\n\textrude -ch true -rn false -po 1 -et 2 -ucp 1 -fpt 1 -upn 1 -rotation 0 -scale 1 -rsp 1 -n hairTube $exCircle[0] $exPaths[$i];\r\n\tstring $tesser[] = `listHistory`;\r\n\r\n\tsetAttr ($tesser[1] + \".polygonType\") 0;\r\n\tsetAttr ($tesser[1] + \".format\") 1;\r\n\tsetAttr ($tesser[1] + \".chordHeightRatio\") 0.2;\r\n\tsetAttr ($tesser[1] + \".fractionalTolerance\") 0.2;\r\n\tsetAttr ($tesser[1] + \".minEdgeLength\") 0.3;\r\n\tsetAttr ($tesser[1] + \".delta\") 0.3;\r\n\r\n\t};\r\n\r\n" ; shelfButton -enableCommandRepeat 1 -enable 1 -width 34 -height 34 -manage 1 -visible 1 -label "crvOnPoly" -imageOverlayLabel "crvOnPoly" -image1 "commandButton.xpm" -style "iconOnly" -command "//\r\n// crvOnPoly (creates a psuedo curve on poly from a series of connected poly edges)\r\n//\r\n// This script may be freely distributed. Use and modify at your own risk.\r\n//\r\n// NOTE: This script will duplicate selected edges on a poly object as curves.\r\n// All edges must be contiguous. A window will prompt the user to select\r\n// the degree of the curve. It will then connect the resulting edge curves\r\n// while maintaining history. The end result will be a single 1 2 or 3 degree \r\n// curve that will be bound to the edges/vertices of the poly object. There \r\n// must be at least 3 edges selected to achieve a 3 degree (cubic) curve and \r\n// 2 edges selected in order to create a degree 2 curve, otherwise a linear\r\n// curve will be created automatically. \r\n//\r\n// The purpose is to create a psuedo curve on surface for a poly object for \r\n// for various uses, including paint effects strokes. All interim curves\r\n// are hidden and grouped under the \"edgeHistGrp\" node so that history can be \r\n// maintained.\r\n//\r\n// Caveats:\r\n//\r\n// * since this is setup as a local proc, just drag the script to a shelf,\r\n// then select one or more contiguous poly edges and click on the script-button\r\n//\r\n// Author: Steven T. L. Roselle\r\n// \r\n//\r\n// Creation Date: ( 08/22/00 )\r\n// Last Update: ( 01/11/01 )\r\n//\r\n// Input Arguments: NONE\r\n//\r\n// works with Maya Versions: 3.0, 3.0.1\r\n\r\nproc crvOnPoly()\r\n{\r\n//Creat UI and prompt user to determine degree of resulting curve\r\n//\r\n if( (`window -exists crvOnPoly`) == true )\r\n {\r\n deleteUI crvOnPoly ;\r\n windowPref -remove crvOnPoly;\r\n }\r\n\r\n window -sizeable true -widthHeight 119 152 crvOnPoly;\r\n rowColumnLayout -numberOfRows 5;\r\n text -label \"Select curve degree\" ;\r\n button -label \" 1 \" -command (\"createCrv(1)\");\r\n button -label \" 2 \" -command (\"createCrv(2)\");\r\n button -label \" 3 \" -command (\"createCrv(3)\");\r\n button -label \" Close \" -command (\"deleteUI crvOnPoly;windowPref -remove crvOnPoly\");\r\n \r\n showWindow crvOnPoly ;\r\n}\r\n\r\n\r\nproc createCrv(int $degree)\r\n{ \r\n// Initialize edge and curve lists and check for valid selection\r\n//\r\nint $error = 0;\r\nstring $crvs[];\r\nstring $edgeList[] = `filterExpand -sm 32` ;\r\nint $size = `size $edgeList`;\r\nif ($size < 1)\r\n {\r\n print (\"\\n\\n\\/\\/ERROR: Nothing valid selected.\\/\\/\");\r\n $error = 1;\r\n }\r\n\r\n \r\n// Disable paint select if it was in use\r\n//\r\nescapeCurrentTool; \r\n\r\n\r\n// Duplicate edges as curves and put in temporary curve list\r\n//\r\nint $c = 0;\r\nfor ($edge in $edgeList)\r\n {\r\n string $tmpCrv[] = `duplicateCurve -name tmpCrv -ch 1 -rn 0 -local 0 $edge`;\r\n $crvs[$c] = $tmpCrv[0];\r\n $c ++; \r\n }\r\n\r\n\r\n// Get initial number of curves in list for loop\r\n// and make last curve in list the attach curve\r\n//\r\nif ($error)\r\n {\r\n $size = 0;\r\n }\r\nelse \r\n {\r\n $size = `size $crvs` - 1;\r\n rename $crvs[`size $crvs` - 1] tmpAttach;\r\n }\r\n\r\n\r\n// Step through list of curves and attach adjacent curves to the attach curve\r\n// This is done by comparing the endpoints of all curves until a match is found\r\n//\r\nwhile ($size > 0)\r\n {\r\n \r\n // Check size of list before comparison loop\r\n //\r\n $sizein = $size;\r\n\r\n // Compare attach curve to all other curves in list\r\n //\r\n for ($c = 0; $c < $size; $c++)\r\n {\r\n \r\n // Get number of points on attach curve\r\n //\r\n select -r \"tmpAttach.cv[*]\";\r\n string $cvList[] = `filterExpand -sm 28`;\r\n int $c1_lastCV = (`size($cvList)` - 1);\r\n \r\n // Get number of points on curve2\r\n //\r\n string $tmp = $crvs[$c]+\".cv[*]\"; \r\n select -r $tmp;\r\n string $cvList[] = `filterExpand -sm 28`;\r\n int $c2_lastCV = (`size($cvList)` - 1);\r\n \r\n\r\n // Get positional values of endpoints for both curves\r\n //\r\n //print (\"Compare \"+$crvs[0]+\" to \"+$crvs[$c]+\"\\n\");\r\n string $tmp = \"tmpAttach.cv[0]\";\r\n float $c1p1[] = `xform -q -t $tmp`; //attach curve endpoint1\r\n string $tmp = \"tmpAttach.cv[\"+$c1_lastCV+\"]\";\r\n float $c1p2[] = `xform -q -t $tmp`; //attach curve endpoint2\r\n string $tmp = $crvs[$c]+\".cv[0]\";\r\n float $c2p1[] = `xform -q -t $tmp`; //curve2 endpoint1\r\n string $tmp = $crvs[$c]+\".cv[\"+$c2_lastCV+\"]\";\r\n float $c2p2[] = `xform -q -t $tmp`; //curve2 endpoint2\r\n\r\n \r\n // Compare pairs of endpoints looking for a match. \r\n // If match is found, attach curves, replace first curve with\r\n // new attached curve, rename second curve for later use\r\n //\r\n int $match = ptCmp($c1p1,$c2p1);\r\n if ($match)\r\n {\r\n attachCurve -ch 1 -rpo 1 -kmk 1 -m 1 -bb 0.5 -bki 0 -p 0.1 tmpAttach $crvs[$c] ;\r\n rename $crvs[$c] TMPCRV;\r\n }\r\n else \r\n {\r\n int $match = ptCmp($c1p1,$c2p2);\r\n if ($match)\r\n {\r\n attachCurve -ch 1 -rpo 1 -kmk 1 -m 1 -bb 0.5 -bki 0 -p 0.1 tmpAttach $crvs[$c] ;\r\n rename $crvs[$c] TMPCRV;\r\n }\r\n else \r\n {\r\n int $match = ptCmp($c1p2,$c2p1);\r\n if ($match)\r\n {\r\n attachCurve -ch 1 -rpo 1 -kmk 1 -m 1 -bb 0.5 -bki 0 -p 0.1 tmpAttach $crvs[$c] ;\r\n rename $crvs[$c] TMPCRV;\r\n }\r\n else \r\n {\r\n int $match = ptCmp($c1p2,$c2p2);\r\n if ($match)\r\n {\r\n attachCurve -ch 1 -rpo 1 -kmk 1 -m 1 -bb 0.5 -bki 0 -p 0.1 tmpAttach $crvs[$c] ;\r\n rename $crvs[$c] TMPCRV;\r\n }\r\n \r\n }\r\n } \r\n } // close nested if statements\r\n \r\n } // close for statement\r\n\r\n \r\n // select all remaining tmpCrv's and rebuild\r\n // list of remaining curves to be attached\r\n //\r\n select -cl;\r\n string $sel[] = `ls \"tmpCrv*\"`;\r\n if (`size($sel)`)\r\n {\r\n select -r $sel;\r\n select -d \"tmpCrv*Shape\"; //remove shape nodes from selection list \r\n }\r\n string $sel[] = `ls -sl`;\r\n $crvs = $sel; //remaining curves\r\n\r\n\r\n // Check size of new list after comparison loop. If unchanged,\r\n // print ERROR message clean up temporary curves and exit.\r\n // Otherwise set new size and check remaining curves.\r\n //\r\n $sizeout = (`size($crvs)`);\r\n if (($sizeout == $sizein) && ($sizeout > 0))\r\n {\r\n print (\"\\n\\n\\/\\/ERROR: All edges must be contiguous.\\/\\/\");\r\n $error = 1;\r\n delete \"tmpCrv*\";\r\n if( `objExists tmpAttach`)\r\n delete \"tmpAttach\"; \r\n if( `objExists TMPCRV`) \r\n delete \"TMPCRV*\";\r\n select $edgeList;\r\n $size = 0;\r\n break;\r\n }\r\n else\r\n $size = $sizeout;\r\n\r\n } // close while\r\n \r\n \r\n // bypass this and exit if error was found, otherwise finish the job.\r\n // \r\n if ($error != 1) \r\n {\r\n\r\n //Make list of tmp curves for history\r\n //\r\n select -cl;\r\n string $sel[] = `ls \"TMPCRV*\"`;\r\n if (`size($sel)`)\r\n {\r\n select -r $sel;\r\n select -d \"TMPCRV*Shape\"; //remove shape nodes from selection list \r\n }\r\n string $sel[] = `ls -sl`;\r\n\r\n //Rename all tmp curves in list to dupEdge and group under edgeHistGrp\r\n //\r\n for ($tmp in $sel)\r\n {\r\n rename $tmp \"dupEdge\";\r\n }\r\n if( `objExists edgeHistGrp`)\r\n ungroup edgeHistGrp;\r\n if( `objExists dupEdge`)\r\n {\r\n hide \"dupEdge*\";\r\n select -r \"dupEdge*\";\r\n group -name edgeHistGrp;\r\n } \r\n\r\n //Get number of points on curve\r\n select -r \"tmpAttach.cv[*]\";\r\n string $cvs[] = `filterExpand -sm 28`;\r\n select -r \"tmpAttach\";\r\n\r\n //Rename tmpAttach curve to final edgeCurve\r\n // \r\n rename \"tmpAttach\" \"edgeCurve\";\r\n\r\n //Rebuild curve. Curve must have 4 or more points for rebuild\r\n //Note: comment out rebuild line to generate a linear poly line instead\r\n //\r\n if (($degree == 3) && (`size($cvs)` >= 4))\r\n {\r\n rebuildCurve -ch 1 -rpo 1 -rt 0 -end 1 -kr 0 -kcp 1 -kep 1 -kt 0 -s 4 -d 3 -tol 0.01;\r\n print (\"\\nEdges duplicated successfully as a cubic curve .\");\r\n }\r\n else if (($degree == 2) && (`size($cvs)` >= 3))\r\n {\r\n rebuildCurve -ch 1 -rpo 1 -rt 0 -end 1 -kr 0 -kcp 1 -kep 1 -kt 0 -s 4 -d 2 -tol 0.01;\r\n print (\"\\nEdges duplicated successfully as a 2 degree curve .\");\r\n }\r\n else\r\n print (\"\\nEdges duplicated successfully as a linear curve .\");\r\n }\r\nstring $crvResult[] = `ls -sl`;\r\nreverseCurve -ch 1 -rpo 1 $crvResult[0];\r\n\r\n}\r\n\r\n\r\n\r\nproc int ptCmp(float $p1[], float $p2[])\r\n{\r\n\r\n// read in and compare two point positions\r\n// return true:1 if the points are the same\r\n//\r\nfloat $distance;\r\nfloat $v[3];\r\n$v[0] = $p1[0] - $p2[0];\r\n$v[1] = $p1[1] - $p2[1];\r\n$v[2] = $p1[2] - $p2[2];\r\n$distance = $v[0]*$v[0] + $v[1]*$v[1] + $v[2]*$v[2];\r\n$distance = sqrt( $distance ); \r\n//print (\"Distance is : \"+$distance+\"\\n\");\r\n \r\nif ($distance == 0) \r\n {\r\n return 1;\r\n }\r\nelse\r\n {\r\n return 0;\r\n }\r\n} \r\n\r\n\r\n//Run script\r\n//\r\ncrvOnPoly; \r\n\r\n\r\n" ; shelfButton -enableCommandRepeat 1 -enable 1 -width 34 -height 34 -manage 1 -visible 1 -label "blondHair" -imageOverlayLabel "blondHair" -image1 "userPaint.xpm" -style "iconOnly" -command "brushPresetSetup();bPset \"time\" 0; bPset \"globalScale\" 1.0; bPset \"depth\" 1; bPset \"modifyDepth\" 1; bPset \"modifyColor\" 1; bPset \"modifyAlpha\" 1; bPset \"illuminated\" 1; bPset \"castShadows\" 1; bPset \"branches\" 0; bPset \"twigs\" 0; bPset \"buds\" 0; bPset \"leaves\" 0; bPset \"flowers\" 0; bPset \"brushType\" 0; bPset \"brushWidth\" 0.3659388056; bPset \"screenspaceWidth\" 0; bPset \"stampDensity\" 3.5; bPset \"softness\" 0.11382; bPset \"edgeAntialias\" 1; bPset \"blurIntensity\" 4; bPset \"color1R\" 0.2039215714; bPset \"color1G\" 0.1559960395; bPset \"color1B\" 0.05067455769; bPset \"color2R\" 0.5843137503; bPset \"color2G\" 0.5098039508; bPset \"color2B\" 0.360784322; bPset \"transparency1R\" 0.3215686381; bPset \"transparency1G\" 0.3215686381; bPset \"transparency1B\" 0.3215686381; bPset \"transparency2R\" 0.4666666687; bPset \"transparency2G\" 0.4666666687; bPset \"transparency2B\" 0.4666666687; bPset \"incandescence1R\" 0; bPset \"incandescence1G\" 0; bPset \"incandescence1B\" 0; bPset \"incandescence2R\" 0; bPset \"incandescence2G\" 0; bPset \"incandescence2B\" 0; bPset \"specularColorR\" 1; bPset \"specularColorG\" 0.9825035334; bPset \"specularColorB\" 0.6881539822; bPset \"specular\" 0.47572; bPset \"specularPower\" 15.6849; bPset \"translucence\" 1; bPset \"glow\" 0; bPset \"glowColorR\" 0.631372571; bPset \"glowColorG\" 0.631372571; bPset \"glowColorB\" 0.631372571; bPset \"glowSpread\" 1; bPset \"shaderGlow\" 0; bPset \"hueRand\" 0.01626; bPset \"satRand\" 0.1165; bPset \"valRand\" 0.14564; bPset \"rootFade\" 0; bPset \"tipFade\" 0.09708; bPset \"fakeShadow\" 0; bPset \"shadowOffset\" 0.5; bPset \"shadowDiffusion\" 0.1; bPset \"shadowTransparency\" 0.8; bPset \"backShadow\" 0; bPset \"brightnessRand\" 0.65048; bPset \"centerShadow\" 0; bPset \"depthShadowType\" 0; bPset \"depthShadow\" 0.47572; bPset \"depthShadowDepth\" 0.17476; bPset \"realLights\" 1; bPset \"lightDirectionX\" 0.5; bPset \"lightDirectionY\" 0.5; bPset \"lightDirectionZ\" -0.5; bPset \"gapSize\" 0; bPset \"gapSpacing\" 1; bPset \"gapRand\" 1; bPset \"flowSpeed\" 0; bPset \"timeClip\" 0; bPset \"strokeTime\" 0; bPset \"startTime\" 0; bPset \"endTime\" 1000; bPset \"tubes\" 1; bPset \"tubeCompletion\" 1; bPset \"tubesPerStep\" 10; bPset \"tubeRand\" 0.3398; bPset \"startTubes\" 0; bPset \"lengthMax\" 4.0776; bPset \"lengthMin\" 2.9126; bPset \"segments\" 23; bPset \"tubeWidth1\" 0.01; bPset \"tubeWidth2\" 0.003884; bPset \"widthRand\" 0.22764; bPset \"widthBias\" -0.36584; bPset \"lengthFlex\" 0.7767; bPset \"segmentLengthBias\" 0; bPset \"segmentWidthBias\" 0; bPset \"tubeDirection\" 0; bPset \"elevationMin\" 0.94174; bPset \"elevationMax\" 0.97088; bPset \"azimuthMin\" -0.05000000075; bPset \"azimuthMax\" 0.05000000075; bPset \"flatness1\" 0; bPset \"flatness2\" 0; bPset \"twist\" 0; bPset \"twistRate\" 0; bPset \"twistRand\" 1; bPset \"spiralMin\" 0; bPset \"spiralMax\" 0; bPset \"spiralDecay\" 0; bPset \"displacementDelay\" 0.7767; bPset \"wiggle\" 0; bPset \"wiggleFrequency\" 13; bPset \"wiggleOffset\" 0; bPset \"curl\" 0; bPset \"curlFrequency\" 1.5; bPset \"curlOffset\" 0; bPset \"noise\" 0; bPset \"noiseFrequency\" 0.50412; bPset \"noiseOffset\" 0; bPset \"splitMaxDepth\" 2; bPset \"splitRand\" 0; bPset \"splitAngle\" 30; bPset \"splitSizeDecay\" 0.7; bPset \"splitBias\" 0; bPset \"splitTwist\" 0.5; bPset \"startBranches\" 0; bPset \"numBranches\" 2; bPset \"branchDropout\" 0; bPset \"middleBranch\" 0; bPset \"minSize\" 0.0001; bPset \"pathFollow\" 0; bPset \"pathAttract\" 0; bPset \"curveFollow\" 1; bPset \"curveAttract\" 0.3204; bPset \"curveMaxDist\" 1.068; bPset \"uniformForceX\" 0; bPset \"uniformForceY\" 0; bPset \"uniformForceZ\" 0; bPset \"turbulenceType\" 0; bPset \"turbulenceInterpolation\" 2; bPset \"turbulence\" 0.03; bPset \"turbulenceFrequency\" 1.95702; bPset \"turbulenceSpeed\" 0.3398; bPset \"turbulenceOffsetX\" 0; bPset \"turbulenceOffsetY\" 0; bPset \"turbulenceOffsetZ\" 0; bPset \"random\" 0; bPset \"gravity\" 0; bPset \"momentum\" 0.36894; bPset \"deflection\" 0; bPset \"deflectionMin\" -0.47968; bPset \"deflectionMax\" 0.29268; bPset \"twigsInCluster\" 1; bPset \"twigDropout\" 0; bPset \"twigAngle1\" 90; bPset \"twigAngle2\" 80; bPset \"twigTwist\" 0; bPset \"twigLength\" 0.5; bPset \"twigStart\" 0.5; bPset \"numTwigClusters\" 4; bPset \"twigBaseWidth\" 0.4; bPset \"twigTipWidth\" 0.2; bPset \"leavesInCluster\" 1; bPset \"leafDropout\" 0; bPset \"leafAngle1\" 75; bPset \"leafAngle2\" 25; bPset \"leafTwist\" 0; bPset \"leafSegments\" 5; bPset \"leafStart\" 0.5; bPset \"numLeafClusters\" 3; bPset \"leafFlatness\" 1; bPset \"leafLength\" 0.3; bPset \"leafBaseWidth\" 0.15; bPset \"leafTipWidth\" 0.05; bPset \"leafSizeDecay\" 0.7; bPset \"leafTranslucence\" 0.3; bPset \"terminalLeaf\" 0; bPset \"leafColor1R\" 0.200000003; bPset \"leafColor1G\" 0.6000000238; bPset \"leafColor1B\" 0.3000000119; bPset \"leafColor2R\" 0.400000006; bPset \"leafColor2G\" 0.6000000238; bPset \"leafColor2B\" 0.3000000119; bPset \"leafHueRand\" 0; bPset \"leafSatRand\" 0; bPset \"leafValRand\" 0; bPset \"leafUseBranchTex\" 1; bPset \"budSize\" 0.03; bPset \"budColorR\" 0.400000006; bPset \"budColorG\" 0.8000000119; bPset \"budColorB\" 0.200000003; bPset \"petalsInFlower\" 1; bPset \"petalDropout\" 0; bPset \"flowerAngle1\" 75; bPset \"flowerAngle2\" 25; bPset \"flowerTwist\" 0.23; bPset \"petalSegments\" 5; bPset \"flowerStart\" 1; bPset \"numFlowers\" 10; bPset \"petalFlatness\" 1; bPset \"petalLength\" 0.2; bPset \"petalBaseWidth\" 0.05; bPset \"petalTipWidth\" 0.1; bPset \"flowerSizeDecay\" 0.7; bPset \"flowerTranslucence\" 0.3; bPset \"petalColor1R\" 0.8000000119; bPset \"petalColor1G\" 0.200000003; bPset \"petalColor1B\" 0.1000000015; bPset \"petalColor2R\" 1; bPset \"petalColor2G\" 1; bPset \"petalColor2B\" 1; bPset \"flowerHueRand\" 0; bPset \"flowerSatRand\" 0; bPset \"flowerValRand\" 0; bPset \"flowerUseBranchTex\" 1; bPset \"simplifyMethod\" 0; bPset \"colorLengthMap\" 0; bPset \"transpLengthMap\" 0; bPset \"incandLengthMap\" 0; bPset \"widthLengthMap\" 0; bPset \"splitLengthMap\" 0; bPset \"mapColor\" 0; bPset \"mapOpacity\" 0; bPset \"textureType\" 0; bPset \"mapMethod\" 2; bPset \"texColorScale\" 1; bPset \"texColorOffset\" 0; bPset \"texOpacityScale\" 1; bPset \"texOpacityOffset\" 0; bPset \"texColor1R\" 1; bPset \"texColor1G\" 1; bPset \"texColor1B\" 1; bPset \"texColor2R\" 0; bPset \"texColor2G\" 0; bPset \"texColor2B\" 0; bPset \"texAlpha1\" 0; bPset \"texAlpha2\" 1; bPset \"texUniformity\" 0.5; bPset \"fringeRemoval\" 1; bPset \"repeatU\" 1; bPset \"repeatV\" 1; bPset \"offsetU\" 0; bPset \"offsetV\" 0; bPset \"blurMult\" 1; bPset \"smear\" 0.1; bPset \"smearU\" 0; bPset \"smearV\" 0; bPset \"useFrameExtension\" 0; bPset \"frameExtension\" 1; bPset \"fractalRatio\" 0.7; bPset \"fractalAmplitude\" 1; bPset \"fractalThreshold\" 0; \r\nbPsetName \"imageName\" \"\";\r\nbPsetName \"leafImage\" \"\";\r\nbPsetName \"flowerImage\" \"\";\r\nbPsetName \"creationScript\" \"\";\r\nbPsetName \"runtimeScript\" \"\";\r\nbrushPresetApply();\r\npresetSetPressure 1 1 0.7235999703 1;\r\npresetSetPressure 2 7 0.09759999812 1;\r\npresetSetPressure 3 10 1 0.2275999933;\r\nrename (getDefaultBrush()) blond;" ; shelfButton -enableCommandRepeat 1 -enable 1 -width 34 -height 34 -manage 1 -visible 1 -label "brownHair" -imageOverlayLabel "brown" -image1 "userPaint.xpm" -style "iconOnly" -command "brushPresetSetup();bPset \"time\" 1; bPset \"globalScale\" 1.0; bPset \"depth\" 1; bPset \"modifyDepth\" 1; bPset \"modifyColor\" 1; bPset \"modifyAlpha\" 1; bPset \"illuminated\" 1; bPset \"castShadows\" 1; bPset \"branches\" 0; bPset \"twigs\" 0; bPset \"buds\" 0; bPset \"leaves\" 0; bPset \"flowers\" 0; bPset \"brushType\" 0; bPset \"brushWidth\" 1; bPset \"screenspaceWidth\" 0; bPset \"stampDensity\" 4.8544; bPset \"softness\" 0.11382; bPset \"edgeAntialias\" 1; bPset \"blurIntensity\" 4; bPset \"color1R\" 0.04699999839; bPset \"color1G\" 0.0253173355; bPset \"color1B\" 0.01447600126; bPset \"color2R\" 0.1790000051; bPset \"color2G\" 0.1299540102; bPset \"color2B\" 0.1054309979; bPset \"transparency1R\" 0; bPset \"transparency1G\" 0; bPset \"transparency1B\" 0; bPset \"transparency2R\" 0.05490196124; bPset \"transparency2G\" 0.05490196124; bPset \"transparency2B\" 0.05490196124; bPset \"incandescence1R\" 0; bPset \"incandescence1G\" 0; bPset \"incandescence1B\" 0; bPset \"incandescence2R\" 0; bPset \"incandescence2G\" 0; bPset \"incandescence2B\" 0; bPset \"specularColorR\" 0.5333333611; bPset \"specularColorG\" 0.5333333611; bPset \"specularColorB\" 0.5333333611; bPset \"specular\" 0.47572; bPset \"specularPower\" 15.6849; bPset \"translucence\" 1; bPset \"glow\" 0; bPset \"glowColorR\" 0; bPset \"glowColorG\" 0; bPset \"glowColorB\" 0; bPset \"glowSpread\" 1; bPset \"shaderGlow\" 0; bPset \"hueRand\" 0; bPset \"satRand\" 0.15; bPset \"valRand\" 0.1; bPset \"rootFade\" 0; bPset \"tipFade\" 0; bPset \"fakeShadow\" 0; bPset \"shadowOffset\" 0.5; bPset \"shadowDiffusion\" 0.1; bPset \"shadowTransparency\" 0.8; bPset \"backShadow\" 0.07766; bPset \"brightnessRand\" 0.3; bPset \"centerShadow\" 0.2233; bPset \"depthShadowType\" 0; bPset \"depthShadow\" 0.93204; bPset \"depthShadowDepth\" 0.17476; bPset \"realLights\" 1; bPset \"lightDirectionX\" 0.5; bPset \"lightDirectionY\" 0.5; bPset \"lightDirectionZ\" -0.5; bPset \"gapSize\" 0; bPset \"gapSpacing\" 1; bPset \"gapRand\" 1; bPset \"flowSpeed\" 0; bPset \"timeClip\" 0; bPset \"strokeTime\" 0; bPset \"startTime\" 0; bPset \"endTime\" 1000; bPset \"tubes\" 1; bPset \"tubeCompletion\" 1; bPset \"tubesPerStep\" 10; bPset \"tubeRand\" 1; bPset \"startTubes\" 75; bPset \"lengthMax\" 5; bPset \"lengthMin\" 2; bPset \"segments\" 50; bPset \"tubeWidth1\" 0.02; bPset \"tubeWidth2\" 0.005; bPset \"widthRand\" 0.22764; bPset \"widthBias\" -0.36584; bPset \"lengthFlex\" 1; bPset \"segmentLengthBias\" 0; bPset \"segmentWidthBias\" 0; bPset \"tubeDirection\" 0; bPset \"elevationMin\" 1; bPset \"elevationMax\" 1; bPset \"azimuthMin\" 1; bPset \"azimuthMax\" 1; bPset \"flatness1\" 0; bPset \"flatness2\" 0; bPset \"twist\" 0; bPset \"twistRate\" 0; bPset \"twistRand\" 0; bPset \"spiralMin\" 0; bPset \"spiralMax\" 0; bPset \"spiralDecay\" 0; bPset \"displacementDelay\" 0.3; bPset \"wiggle\" 0; bPset \"wiggleFrequency\" 10; bPset \"wiggleOffset\" 0; bPset \"curl\" 0.15; bPset \"curlFrequency\" 0.0001; bPset \"curlOffset\" 0; bPset \"noise\" 0; bPset \"noiseFrequency\" 0.5; bPset \"noiseOffset\" 0; bPset \"splitMaxDepth\" 2; bPset \"splitRand\" 0; bPset \"splitAngle\" 30; bPset \"splitSizeDecay\" 0.7; bPset \"splitBias\" 0; bPset \"splitTwist\" 0.5; bPset \"startBranches\" 0; bPset \"numBranches\" 2; bPset \"branchDropout\" 0; bPset \"middleBranch\" 0; bPset \"minSize\" 0.0001; bPset \"pathFollow\" 0; bPset \"pathAttract\" 0; bPset \"curveFollow\" 0.5; bPset \"curveAttract\" 0; bPset \"curveMaxDist\" 20; bPset \"uniformForceX\" 0; bPset \"uniformForceY\" 0; bPset \"uniformForceZ\" 0; bPset \"turbulenceType\" 0; bPset \"turbulenceInterpolation\" 2; bPset \"turbulence\" 0.03; bPset \"turbulenceFrequency\" 1.95702; bPset \"turbulenceSpeed\" 0.3398; bPset \"turbulenceOffsetX\" 0; bPset \"turbulenceOffsetY\" 0; bPset \"turbulenceOffsetZ\" 0; bPset \"random\" 1; bPset \"gravity\" 0; bPset \"momentum\" 1; bPset \"deflection\" 0; bPset \"deflectionMin\" -0.47968; bPset \"deflectionMax\" 0.29268; bPset \"twigsInCluster\" 1; bPset \"twigDropout\" 0; bPset \"twigAngle1\" 90; bPset \"twigAngle2\" 80; bPset \"twigTwist\" 0; bPset \"twigLength\" 0.5; bPset \"twigStart\" 0.5; bPset \"numTwigClusters\" 4; bPset \"twigBaseWidth\" 0.4; bPset \"twigTipWidth\" 0.2; bPset \"leavesInCluster\" 1; bPset \"leafDropout\" 0; bPset \"leafAngle1\" 75; bPset \"leafAngle2\" 25; bPset \"leafTwist\" 0; bPset \"leafSegments\" 5; bPset \"leafStart\" 0.5; bPset \"numLeafClusters\" 3; bPset \"leafFlatness\" 1; bPset \"leafLength\" 0.3; bPset \"leafBaseWidth\" 0.15; bPset \"leafTipWidth\" 0.05; bPset \"leafSizeDecay\" 0.7; bPset \"leafTranslucence\" 0.3; bPset \"terminalLeaf\" 0; bPset \"leafColor1R\" 0.200000003; bPset \"leafColor1G\" 0.6000000238; bPset \"leafColor1B\" 0.3000000119; bPset \"leafColor2R\" 0.400000006; bPset \"leafColor2G\" 0.6000000238; bPset \"leafColor2B\" 0.3000000119; bPset \"leafHueRand\" 0; bPset \"leafSatRand\" 0; bPset \"leafValRand\" 0; bPset \"leafUseBranchTex\" 1; bPset \"budSize\" 0.03; bPset \"budColorR\" 0.400000006; bPset \"budColorG\" 0.8000000119; bPset \"budColorB\" 0.200000003; bPset \"petalsInFlower\" 1; bPset \"petalDropout\" 0; bPset \"flowerAngle1\" 75; bPset \"flowerAngle2\" 25; bPset \"flowerTwist\" 0.23; bPset \"petalSegments\" 5; bPset \"flowerStart\" 1; bPset \"numFlowers\" 10; bPset \"petalFlatness\" 1; bPset \"petalLength\" 0.2; bPset \"petalBaseWidth\" 0.05; bPset \"petalTipWidth\" 0.1; bPset \"flowerSizeDecay\" 0.7; bPset \"flowerTranslucence\" 0.3; bPset \"petalColor1R\" 0.8000000119; bPset \"petalColor1G\" 0.200000003; bPset \"petalColor1B\" 0.1000000015; bPset \"petalColor2R\" 1; bPset \"petalColor2G\" 1; bPset \"petalColor2B\" 1; bPset \"flowerHueRand\" 0; bPset \"flowerSatRand\" 0; bPset \"flowerValRand\" 0; bPset \"flowerUseBranchTex\" 1; bPset \"simplifyMethod\" 0; bPset \"colorLengthMap\" 0; bPset \"transpLengthMap\" 0; bPset \"incandLengthMap\" 0; bPset \"widthLengthMap\" 0; bPset \"splitLengthMap\" 0; bPset \"mapColor\" 0; bPset \"mapOpacity\" 0; bPset \"textureType\" 0; bPset \"mapMethod\" 2; bPset \"texColorScale\" 1; bPset \"texColorOffset\" 0; bPset \"texOpacityScale\" 1; bPset \"texOpacityOffset\" 0; bPset \"texColor1R\" 1; bPset \"texColor1G\" 1; bPset \"texColor1B\" 1; bPset \"texColor2R\" 0; bPset \"texColor2G\" 0; bPset \"texColor2B\" 0; bPset \"texAlpha1\" 0; bPset \"texAlpha2\" 1; bPset \"texUniformity\" 0.5; bPset \"fringeRemoval\" 1; bPset \"repeatU\" 1; bPset \"repeatV\" 1; bPset \"offsetU\" 0; bPset \"offsetV\" 0; bPset \"blurMult\" 1; bPset \"smear\" 0.1; bPset \"smearU\" 0; bPset \"smearV\" 0; bPset \"useFrameExtension\" 0; bPset \"frameExtension\" 1; bPset \"fractalRatio\" 0.7; bPset \"fractalAmplitude\" 1; bPset \"fractalThreshold\" 0; \r\nbPsetName \"imageName\" \"\";\r\nbPsetName \"leafImage\" \"\";\r\nbPsetName \"flowerImage\" \"\";\r\nbPsetName \"creationScript\" \"\";\r\nbPsetName \"runtimeScript\" \"\";\r\nbrushPresetApply();\r\npresetSetPressure 1 2 0.1870000064 1.5;\r\npresetSetPressure 2 0 0.1870000064 1;\r\npresetSetPressure 3 10 0 1.200000048;\r\nrename (getDefaultBrush()) brownHair;" ; shelfButton -enableCommandRepeat 1 -enable 1 -width 34 -height 34 -manage 1 -visible 1 -label "blackHair" -imageOverlayLabel "black" -image1 "userPaint.xpm" -style "iconOnly" -command "brushPresetSetup();bPset \"time\" 1; bPset \"globalScale\" 1.0; bPset \"depth\" 1; bPset \"modifyDepth\" 1; bPset \"modifyColor\" 1; bPset \"modifyAlpha\" 1; bPset \"illuminated\" 1; bPset \"castShadows\" 1; bPset \"branches\" 0; bPset \"twigs\" 0; bPset \"buds\" 0; bPset \"leaves\" 0; bPset \"flowers\" 0; bPset \"brushType\" 0; bPset \"brushWidth\" 1; bPset \"screenspaceWidth\" 0; bPset \"stampDensity\" 4.8544; bPset \"softness\" 0.11382; bPset \"edgeAntialias\" 1; bPset \"blurIntensity\" 4; bPset \"color1R\" 0; bPset \"color1G\" 0; bPset \"color1B\" 0; bPset \"color2R\" 0.01568627357; bPset \"color2G\" 0.01138443127; bPset \"color2B\" 0.009233511984; bPset \"transparency1R\" 0; bPset \"transparency1G\" 0; bPset \"transparency1B\" 0; bPset \"transparency2R\" 0.05490196124; bPset \"transparency2G\" 0.05490196124; bPset \"transparency2B\" 0.05490196124; bPset \"incandescence1R\" 0; bPset \"incandescence1G\" 0; bPset \"incandescence1B\" 0; bPset \"incandescence2R\" 0; bPset \"incandescence2G\" 0; bPset \"incandescence2B\" 0; bPset \"specularColorR\" 0.5333333611; bPset \"specularColorG\" 0.5333333611; bPset \"specularColorB\" 0.5333333611; bPset \"specular\" 0.47572; bPset \"specularPower\" 15.6849; bPset \"translucence\" 1; bPset \"glow\" 0; bPset \"glowColorR\" 0; bPset \"glowColorG\" 0; bPset \"glowColorB\" 0; bPset \"glowSpread\" 1; bPset \"shaderGlow\" 0; bPset \"hueRand\" 0; bPset \"satRand\" 0.1; bPset \"valRand\" 0.1; bPset \"rootFade\" 0; bPset \"tipFade\" 0; bPset \"fakeShadow\" 0; bPset \"shadowOffset\" 0.5; bPset \"shadowDiffusion\" 0.1; bPset \"shadowTransparency\" 0.8; bPset \"backShadow\" 0.07766; bPset \"brightnessRand\" 0.7; bPset \"centerShadow\" 0.2233; bPset \"depthShadowType\" 0; bPset \"depthShadow\" 0.93204; bPset \"depthShadowDepth\" 0.17476; bPset \"realLights\" 1; bPset \"lightDirectionX\" 0.5; bPset \"lightDirectionY\" 0.5; bPset \"lightDirectionZ\" -0.5; bPset \"gapSize\" 0; bPset \"gapSpacing\" 1; bPset \"gapRand\" 1; bPset \"flowSpeed\" 0; bPset \"timeClip\" 0; bPset \"strokeTime\" 0; bPset \"startTime\" 0; bPset \"endTime\" 1000; bPset \"tubes\" 1; bPset \"tubeCompletion\" 1; bPset \"tubesPerStep\" 10; bPset \"tubeRand\" 1; bPset \"startTubes\" 75; bPset \"lengthMax\" 5; bPset \"lengthMin\" 2; bPset \"segments\" 50; bPset \"tubeWidth1\" 0.02; bPset \"tubeWidth2\" 0.005; bPset \"widthRand\" 0.22764; bPset \"widthBias\" -0.36584; bPset \"lengthFlex\" 1; bPset \"segmentLengthBias\" 0; bPset \"segmentWidthBias\" 0; bPset \"tubeDirection\" 0; bPset \"elevationMin\" 1; bPset \"elevationMax\" 1; bPset \"azimuthMin\" 1; bPset \"azimuthMax\" 1; bPset \"flatness1\" 0; bPset \"flatness2\" 0; bPset \"twist\" 0; bPset \"twistRate\" 0; bPset \"twistRand\" 0; bPset \"spiralMin\" 0; bPset \"spiralMax\" 0; bPset \"spiralDecay\" 0; bPset \"displacementDelay\" 0.3; bPset \"wiggle\" 0; bPset \"wiggleFrequency\" 10; bPset \"wiggleOffset\" 0; bPset \"curl\" 0.15; bPset \"curlFrequency\" 0.0001; bPset \"curlOffset\" 0; bPset \"noise\" 0; bPset \"noiseFrequency\" 0.5; bPset \"noiseOffset\" 0; bPset \"splitMaxDepth\" 2; bPset \"splitRand\" 0; bPset \"splitAngle\" 30; bPset \"splitSizeDecay\" 0.7; bPset \"splitBias\" 0; bPset \"splitTwist\" 0.5; bPset \"startBranches\" 0; bPset \"numBranches\" 2; bPset \"branchDropout\" 0; bPset \"middleBranch\" 0; bPset \"minSize\" 0.0001; bPset \"pathFollow\" 0; bPset \"pathAttract\" 0; bPset \"curveFollow\" 0.5; bPset \"curveAttract\" 0; bPset \"curveMaxDist\" 20; bPset \"uniformForceX\" 0; bPset \"uniformForceY\" 0; bPset \"uniformForceZ\" 0; bPset \"turbulenceType\" 0; bPset \"turbulenceInterpolation\" 2; bPset \"turbulence\" 0.03; bPset \"turbulenceFrequency\" 1.95702; bPset \"turbulenceSpeed\" 0.3398; bPset \"turbulenceOffsetX\" 0; bPset \"turbulenceOffsetY\" 0; bPset \"turbulenceOffsetZ\" 0; bPset \"random\" 1; bPset \"gravity\" 0; bPset \"momentum\" 1; bPset \"deflection\" 0; bPset \"deflectionMin\" -0.47968; bPset \"deflectionMax\" 0.29268; bPset \"twigsInCluster\" 1; bPset \"twigDropout\" 0; bPset \"twigAngle1\" 90; bPset \"twigAngle2\" 80; bPset \"twigTwist\" 0; bPset \"twigLength\" 0.5; bPset \"twigStart\" 0.5; bPset \"numTwigClusters\" 4; bPset \"twigBaseWidth\" 0.4; bPset \"twigTipWidth\" 0.2; bPset \"leavesInCluster\" 1; bPset \"leafDropout\" 0; bPset \"leafAngle1\" 75; bPset \"leafAngle2\" 25; bPset \"leafTwist\" 0; bPset \"leafSegments\" 5; bPset \"leafStart\" 0.5; bPset \"numLeafClusters\" 3; bPset \"leafFlatness\" 1; bPset \"leafLength\" 0.3; bPset \"leafBaseWidth\" 0.15; bPset \"leafTipWidth\" 0.05; bPset \"leafSizeDecay\" 0.7; bPset \"leafTranslucence\" 0.3; bPset \"terminalLeaf\" 0; bPset \"leafColor1R\" 0.200000003; bPset \"leafColor1G\" 0.6000000238; bPset \"leafColor1B\" 0.3000000119; bPset \"leafColor2R\" 0.400000006; bPset \"leafColor2G\" 0.6000000238; bPset \"leafColor2B\" 0.3000000119; bPset \"leafHueRand\" 0; bPset \"leafSatRand\" 0; bPset \"leafValRand\" 0; bPset \"leafUseBranchTex\" 1; bPset \"budSize\" 0.03; bPset \"budColorR\" 0.400000006; bPset \"budColorG\" 0.8000000119; bPset \"budColorB\" 0.200000003; bPset \"petalsInFlower\" 1; bPset \"petalDropout\" 0; bPset \"flowerAngle1\" 75; bPset \"flowerAngle2\" 25; bPset \"flowerTwist\" 0.23; bPset \"petalSegments\" 5; bPset \"flowerStart\" 1; bPset \"numFlowers\" 10; bPset \"petalFlatness\" 1; bPset \"petalLength\" 0.2; bPset \"petalBaseWidth\" 0.05; bPset \"petalTipWidth\" 0.1; bPset \"flowerSizeDecay\" 0.7; bPset \"flowerTranslucence\" 0.3; bPset \"petalColor1R\" 0.8000000119; bPset \"petalColor1G\" 0.200000003; bPset \"petalColor1B\" 0.1000000015; bPset \"petalColor2R\" 1; bPset \"petalColor2G\" 1; bPset \"petalColor2B\" 1; bPset \"flowerHueRand\" 0; bPset \"flowerSatRand\" 0; bPset \"flowerValRand\" 0; bPset \"flowerUseBranchTex\" 1; bPset \"simplifyMethod\" 0; bPset \"colorLengthMap\" 0; bPset \"transpLengthMap\" 0; bPset \"incandLengthMap\" 0; bPset \"widthLengthMap\" 0; bPset \"splitLengthMap\" 0; bPset \"mapColor\" 0; bPset \"mapOpacity\" 0; bPset \"textureType\" 0; bPset \"mapMethod\" 2; bPset \"texColorScale\" 1; bPset \"texColorOffset\" 0; bPset \"texOpacityScale\" 1; bPset \"texOpacityOffset\" 0; bPset \"texColor1R\" 1; bPset \"texColor1G\" 1; bPset \"texColor1B\" 1; bPset \"texColor2R\" 0; bPset \"texColor2G\" 0; bPset \"texColor2B\" 0; bPset \"texAlpha1\" 0; bPset \"texAlpha2\" 1; bPset \"texUniformity\" 0.5; bPset \"fringeRemoval\" 1; bPset \"repeatU\" 1; bPset \"repeatV\" 1; bPset \"offsetU\" 0; bPset \"offsetV\" 0; bPset \"blurMult\" 1; bPset \"smear\" 0.1; bPset \"smearU\" 0; bPset \"smearV\" 0; bPset \"useFrameExtension\" 0; bPset \"frameExtension\" 1; bPset \"fractalRatio\" 0.7; bPset \"fractalAmplitude\" 1; bPset \"fractalThreshold\" 0; \nbPsetName \"imageName\" \"\";\nbPsetName \"leafImage\" \"\";\nbPsetName \"flowerImage\" \"\";\nbPsetName \"creationScript\" \"\";\nbPsetName \"runtimeScript\" \"\";\nbrushPresetApply();\npresetSetPressure 1 2 0.1870000064 1.5;\npresetSetPressure 2 0 0.1870000064 1;\npresetSetPressure 3 10 0 1.200000048;\nrename (getDefaultBrush()) blackHair;" ; shelfButton -enableCommandRepeat 1 -enable 1 -width 34 -height 34 -manage 1 -visible 1 -label "blackHairWave" -imageOverlayLabel "wavy" -image1 "userPaint.xpm" -style "iconOnly" -command "brushPresetSetup();bPset \"time\" 1; bPset \"globalScale\" 1.0; bPset \"depth\" 1; bPset \"modifyDepth\" 1; bPset \"modifyColor\" 1; bPset \"modifyAlpha\" 1; bPset \"illuminated\" 1; bPset \"castShadows\" 1; bPset \"branches\" 0; bPset \"twigs\" 0; bPset \"buds\" 0; bPset \"leaves\" 0; bPset \"flowers\" 0; bPset \"brushType\" 0; bPset \"brushWidth\" 1; bPset \"screenspaceWidth\" 0; bPset \"stampDensity\" 4.8544; bPset \"softness\" 0.11382; bPset \"edgeAntialias\" 1; bPset \"blurIntensity\" 4; bPset \"color1R\" 0; bPset \"color1G\" 0; bPset \"color1B\" 0; bPset \"color2R\" 0.01568627357; bPset \"color2G\" 0.01138443127; bPset \"color2B\" 0.009233511984; bPset \"transparency1R\" 0; bPset \"transparency1G\" 0; bPset \"transparency1B\" 0; bPset \"transparency2R\" 0.05490196124; bPset \"transparency2G\" 0.05490196124; bPset \"transparency2B\" 0.05490196124; bPset \"incandescence1R\" 0; bPset \"incandescence1G\" 0; bPset \"incandescence1B\" 0; bPset \"incandescence2R\" 0; bPset \"incandescence2G\" 0; bPset \"incandescence2B\" 0; bPset \"specularColorR\" 0.5333333611; bPset \"specularColorG\" 0.5333333611; bPset \"specularColorB\" 0.5333333611; bPset \"specular\" 0.47572; bPset \"specularPower\" 15.6849; bPset \"translucence\" 1; bPset \"glow\" 0; bPset \"glowColorR\" 0; bPset \"glowColorG\" 0; bPset \"glowColorB\" 0; bPset \"glowSpread\" 1; bPset \"shaderGlow\" 0; bPset \"hueRand\" 0; bPset \"satRand\" 0.1; bPset \"valRand\" 0.1; bPset \"rootFade\" 0; bPset \"tipFade\" 0; bPset \"fakeShadow\" 0; bPset \"shadowOffset\" 0.5; bPset \"shadowDiffusion\" 0.1; bPset \"shadowTransparency\" 0.8; bPset \"backShadow\" 0.07766; bPset \"brightnessRand\" 0.7; bPset \"centerShadow\" 0.2233; bPset \"depthShadowType\" 0; bPset \"depthShadow\" 0.93204; bPset \"depthShadowDepth\" 0.17476; bPset \"realLights\" 1; bPset \"lightDirectionX\" 0.5; bPset \"lightDirectionY\" 0.5; bPset \"lightDirectionZ\" -0.5; bPset \"gapSize\" 0; bPset \"gapSpacing\" 1; bPset \"gapRand\" 1; bPset \"flowSpeed\" 0; bPset \"timeClip\" 0; bPset \"strokeTime\" 0; bPset \"startTime\" 0; bPset \"endTime\" 1000; bPset \"tubes\" 1; bPset \"tubeCompletion\" 1; bPset \"tubesPerStep\" 10; bPset \"tubeRand\" 1; bPset \"startTubes\" 75; bPset \"lengthMax\" 5; bPset \"lengthMin\" 2; bPset \"segments\" 50; bPset \"tubeWidth1\" 0.02; bPset \"tubeWidth2\" 0.005; bPset \"widthRand\" 0.22764; bPset \"widthBias\" -0.36584; bPset \"lengthFlex\" 1; bPset \"segmentLengthBias\" 0; bPset \"segmentWidthBias\" 0; bPset \"tubeDirection\" 0; bPset \"elevationMin\" 1; bPset \"elevationMax\" 1; bPset \"azimuthMin\" 1; bPset \"azimuthMax\" 1; bPset \"flatness1\" 0; bPset \"flatness2\" 0; bPset \"twist\" 0; bPset \"twistRate\" 0; bPset \"twistRand\" 0; bPset \"spiralMin\" 0; bPset \"spiralMax\" 0; bPset \"spiralDecay\" 0; bPset \"displacementDelay\" 0.8; bPset \"wiggle\" 0; bPset \"wiggleFrequency\" 10; bPset \"wiggleOffset\" 0; bPset \"curl\" 0.5; bPset \"curlFrequency\" 6; bPset \"curlOffset\" 0; bPset \"noise\" 0; bPset \"noiseFrequency\" 0.0001; bPset \"noiseOffset\" 0; bPset \"splitMaxDepth\" 2; bPset \"splitRand\" 0; bPset \"splitAngle\" 30; bPset \"splitSizeDecay\" 0.7; bPset \"splitBias\" 0; bPset \"splitTwist\" 0.5; bPset \"startBranches\" 0; bPset \"numBranches\" 2; bPset \"branchDropout\" 0; bPset \"middleBranch\" 0; bPset \"minSize\" 0.0001; bPset \"pathFollow\" 0; bPset \"pathAttract\" 0; bPset \"curveFollow\" 0.5; bPset \"curveAttract\" 0; bPset \"curveMaxDist\" 20; bPset \"uniformForceX\" 0; bPset \"uniformForceY\" 0; bPset \"uniformForceZ\" 0; bPset \"turbulenceType\" 0; bPset \"turbulenceInterpolation\" 2; bPset \"turbulence\" 0.03; bPset \"turbulenceFrequency\" 1.95702; bPset \"turbulenceSpeed\" 0.3398; bPset \"turbulenceOffsetX\" 0; bPset \"turbulenceOffsetY\" 0; bPset \"turbulenceOffsetZ\" 0; bPset \"random\" 0.29126; bPset \"gravity\" 0; bPset \"momentum\" 1; bPset \"deflection\" 0; bPset \"deflectionMin\" -0.47968; bPset \"deflectionMax\" 0.29268; bPset \"twigsInCluster\" 1; bPset \"twigDropout\" 0; bPset \"twigAngle1\" 90; bPset \"twigAngle2\" 80; bPset \"twigTwist\" 0; bPset \"twigLength\" 0.5; bPset \"twigStart\" 0.5; bPset \"numTwigClusters\" 4; bPset \"twigBaseWidth\" 0.4; bPset \"twigTipWidth\" 0.2; bPset \"leavesInCluster\" 1; bPset \"leafDropout\" 0; bPset \"leafAngle1\" 75; bPset \"leafAngle2\" 25; bPset \"leafTwist\" 0; bPset \"leafSegments\" 5; bPset \"leafStart\" 0.5; bPset \"numLeafClusters\" 3; bPset \"leafFlatness\" 1; bPset \"leafLength\" 0.3; bPset \"leafBaseWidth\" 0.15; bPset \"leafTipWidth\" 0.05; bPset \"leafSizeDecay\" 0.7; bPset \"leafTranslucence\" 0.3; bPset \"terminalLeaf\" 0; bPset \"leafColor1R\" 0.200000003; bPset \"leafColor1G\" 0.6000000238; bPset \"leafColor1B\" 0.3000000119; bPset \"leafColor2R\" 0.400000006; bPset \"leafColor2G\" 0.6000000238; bPset \"leafColor2B\" 0.3000000119; bPset \"leafHueRand\" 0; bPset \"leafSatRand\" 0; bPset \"leafValRand\" 0; bPset \"leafUseBranchTex\" 1; bPset \"budSize\" 0.03; bPset \"budColorR\" 0.400000006; bPset \"budColorG\" 0.8000000119; bPset \"budColorB\" 0.200000003; bPset \"petalsInFlower\" 1; bPset \"petalDropout\" 0; bPset \"flowerAngle1\" 75; bPset \"flowerAngle2\" 25; bPset \"flowerTwist\" 0.23; bPset \"petalSegments\" 5; bPset \"flowerStart\" 1; bPset \"numFlowers\" 10; bPset \"petalFlatness\" 1; bPset \"petalLength\" 0.2; bPset \"petalBaseWidth\" 0.05; bPset \"petalTipWidth\" 0.1; bPset \"flowerSizeDecay\" 0.7; bPset \"flowerTranslucence\" 0.3; bPset \"petalColor1R\" 0.8000000119; bPset \"petalColor1G\" 0.200000003; bPset \"petalColor1B\" 0.1000000015; bPset \"petalColor2R\" 1; bPset \"petalColor2G\" 1; bPset \"petalColor2B\" 1; bPset \"flowerHueRand\" 0; bPset \"flowerSatRand\" 0; bPset \"flowerValRand\" 0; bPset \"flowerUseBranchTex\" 1; bPset \"simplifyMethod\" 0; bPset \"colorLengthMap\" 0; bPset \"transpLengthMap\" 0; bPset \"incandLengthMap\" 0; bPset \"widthLengthMap\" 0; bPset \"splitLengthMap\" 0; bPset \"mapColor\" 0; bPset \"mapOpacity\" 0; bPset \"textureType\" 0; bPset \"mapMethod\" 2; bPset \"texColorScale\" 1; bPset \"texColorOffset\" 0; bPset \"texOpacityScale\" 1; bPset \"texOpacityOffset\" 0; bPset \"texColor1R\" 1; bPset \"texColor1G\" 1; bPset \"texColor1B\" 1; bPset \"texColor2R\" 0; bPset \"texColor2G\" 0; bPset \"texColor2B\" 0; bPset \"texAlpha1\" 0; bPset \"texAlpha2\" 1; bPset \"texUniformity\" 0.5; bPset \"fringeRemoval\" 1; bPset \"repeatU\" 1; bPset \"repeatV\" 1; bPset \"offsetU\" 0; bPset \"offsetV\" 0; bPset \"blurMult\" 1; bPset \"smear\" 0.1; bPset \"smearU\" 0; bPset \"smearV\" 0; bPset \"useFrameExtension\" 0; bPset \"frameExtension\" 1; bPset \"fractalRatio\" 0.7; bPset \"fractalAmplitude\" 1; bPset \"fractalThreshold\" 0; \nbPsetName \"imageName\" \"\";\nbPsetName \"leafImage\" \"\";\nbPsetName \"flowerImage\" \"\";\nbPsetName \"creationScript\" \"\";\nbPsetName \"runtimeScript\" \"\";\nbrushPresetApply();\npresetSetPressure 1 2 0.1870000064 1.5;\npresetSetPressure 2 0 0.1870000064 1;\npresetSetPressure 3 10 0 1.200000048;\nrename (getDefaultBrush()) blackHairWave;" ; shelfButton -enableCommandRepeat 1 -enable 1 -width 34 -height 34 -manage 1 -visible 1 -label "CombedBlackHairV2" -imageOverlayLabel "CmbBlack" -image1 "userPaint.xpm" -style "iconOnly" -command "brushPresetSetup();bPset \"time\" 1; bPset \"globalScale\" 0.1; bPset \"depth\" 1; bPset \"modifyDepth\" 1; bPset \"modifyColor\" 1; bPset \"modifyAlpha\" 1; bPset \"illuminated\" 1; bPset \"castShadows\" 1; bPset \"branches\" 0; bPset \"twigs\" 0; bPset \"buds\" 0; bPset \"leaves\" 0; bPset \"flowers\" 0; bPset \"brushType\" 0; bPset \"brushWidth\" 1; bPset \"screenspaceWidth\" 0; bPset \"stampDensity\" 4.8544; bPset \"softness\" 0.11382; bPset \"edgeAntialias\" 1; bPset \"blurIntensity\" 4; bPset \"color1R\" 0; bPset \"color1G\" 0; bPset \"color1B\" 0; bPset \"color2R\" 0.01568627357; bPset \"color2G\" 0.01138443127; bPset \"color2B\" 0.009233511984; bPset \"transparency1R\" 0; bPset \"transparency1G\" 0; bPset \"transparency1B\" 0; bPset \"transparency2R\" 0.05490196124; bPset \"transparency2G\" 0.05490196124; bPset \"transparency2B\" 0.05490196124; bPset \"incandescence1R\" 0; bPset \"incandescence1G\" 0; bPset \"incandescence1B\" 0; bPset \"incandescence2R\" 0; bPset \"incandescence2G\" 0; bPset \"incandescence2B\" 0; bPset \"specularColorR\" 0.5333333611; bPset \"specularColorG\" 0.5333333611; bPset \"specularColorB\" 0.5333333611; bPset \"specular\" 0.47572; bPset \"specularPower\" 15.6849; bPset \"translucence\" 1; bPset \"glow\" 0; bPset \"glowColorR\" 0; bPset \"glowColorG\" 0; bPset \"glowColorB\" 0; bPset \"glowSpread\" 1; bPset \"shaderGlow\" 0; bPset \"hueRand\" 0; bPset \"satRand\" 0.1; bPset \"valRand\" 0.1; bPset \"rootFade\" 0; bPset \"tipFade\" 0; bPset \"fakeShadow\" 0; bPset \"shadowOffset\" 0.5; bPset \"shadowDiffusion\" 0.1; bPset \"shadowTransparency\" 0.8; bPset \"backShadow\" 0.07766; bPset \"brightnessRand\" 0.7; bPset \"centerShadow\" 0.2233; bPset \"depthShadowType\" 0; bPset \"depthShadow\" 0.93204; bPset \"depthShadowDepth\" 0.17476; bPset \"realLights\" 1; bPset \"lightDirectionX\" 0.5; bPset \"lightDirectionY\" 0.5; bPset \"lightDirectionZ\" -0.5; bPset \"gapSize\" 0; bPset \"gapSpacing\" 1; bPset \"gapRand\" 1; bPset \"flowSpeed\" 0; bPset \"timeClip\" 0; bPset \"strokeTime\" 0; bPset \"startTime\" 0; bPset \"endTime\" 1000; bPset \"tubes\" 1; bPset \"tubeCompletion\" 1; bPset \"tubesPerStep\" 40; bPset \"tubeRand\" 0; bPset \"startTubes\" 0; bPset \"lengthMax\" 1.7356; bPset \"lengthMin\" 1.7356; bPset \"segments\" 70; bPset \"tubeWidth1\" 0.02; bPset \"tubeWidth2\" 0.005; bPset \"widthRand\" 0.32232; bPset \"widthBias\" -0.36584; bPset \"lengthFlex\" 1; bPset \"segmentLengthBias\" -1; bPset \"segmentWidthBias\" 0; bPset \"tubeDirection\" 0; bPset \"elevationMin\" 1; bPset \"elevationMax\" 1; bPset \"azimuthMin\" 1; bPset \"azimuthMax\" 1; bPset \"flatness1\" 0; bPset \"flatness2\" 0; bPset \"twist\" 0; bPset \"twistRate\" 0; bPset \"twistRand\" 0; bPset \"spiralMin\" 0; bPset \"spiralMax\" 0; bPset \"spiralDecay\" 0; bPset \"displacementDelay\" 0; bPset \"wiggle\" 0; bPset \"wiggleFrequency\" 0.0001; bPset \"wiggleOffset\" 0; bPset \"curl\" 0; bPset \"curlFrequency\" 0.0001; bPset \"curlOffset\" 0; bPset \"noise\" 0; bPset \"noiseFrequency\" 0.0001; bPset \"noiseOffset\" 0; bPset \"splitMaxDepth\" 2; bPset \"splitRand\" 0; bPset \"splitAngle\" 30; bPset \"splitSizeDecay\" 0.7; bPset \"splitBias\" 0; bPset \"splitTwist\" 0.5; bPset \"startBranches\" 0; bPset \"numBranches\" 2; bPset \"branchDropout\" 0; bPset \"middleBranch\" 0; bPset \"minSize\" 0.0001; bPset \"pathFollow\" 0; bPset \"pathAttract\" 0; bPset \"curveFollow\" 1; bPset \"curveAttract\" 0.1; bPset \"curveMaxDist\" 20; bPset \"uniformForceX\" 0; bPset \"uniformForceY\" 0; bPset \"uniformForceZ\" 0; bPset \"turbulenceType\" 0; bPset \"turbulenceInterpolation\" 2; bPset \"turbulence\" 0.03; bPset \"turbulenceFrequency\" 1.95702; bPset \"turbulenceSpeed\" 0.3398; bPset \"turbulenceOffsetX\" 0; bPset \"turbulenceOffsetY\" 0; bPset \"turbulenceOffsetZ\" 0; bPset \"random\" 1; bPset \"gravity\" 0; bPset \"momentum\" 1; bPset \"deflection\" 0; bPset \"deflectionMin\" -1; bPset \"deflectionMax\" 0; bPset \"twigsInCluster\" 1; bPset \"twigDropout\" 0; bPset \"twigAngle1\" 90; bPset \"twigAngle2\" 80; bPset \"twigTwist\" 0; bPset \"twigLength\" 0.5; bPset \"twigStart\" 0.5; bPset \"numTwigClusters\" 4; bPset \"twigBaseWidth\" 0.4; bPset \"twigTipWidth\" 0.2; bPset \"leavesInCluster\" 1; bPset \"leafDropout\" 0; bPset \"leafAngle1\" 75; bPset \"leafAngle2\" 25; bPset \"leafTwist\" 0; bPset \"leafSegments\" 5; bPset \"leafStart\" 0.5; bPset \"numLeafClusters\" 3; bPset \"leafFlatness\" 1; bPset \"leafLength\" 0.3; bPset \"leafBaseWidth\" 0.15; bPset \"leafTipWidth\" 0.05; bPset \"leafSizeDecay\" 0.7; bPset \"leafTranslucence\" 0.3; bPset \"terminalLeaf\" 0; bPset \"leafColor1R\" 0.200000003; bPset \"leafColor1G\" 0.6000000238; bPset \"leafColor1B\" 0.3000000119; bPset \"leafColor2R\" 0.400000006; bPset \"leafColor2G\" 0.6000000238; bPset \"leafColor2B\" 0.3000000119; bPset \"leafHueRand\" 0; bPset \"leafSatRand\" 0; bPset \"leafValRand\" 0; bPset \"leafUseBranchTex\" 1; bPset \"budSize\" 0.03; bPset \"budColorR\" 0.400000006; bPset \"budColorG\" 0.8000000119; bPset \"budColorB\" 0.200000003; bPset \"petalsInFlower\" 1; bPset \"petalDropout\" 0; bPset \"flowerAngle1\" 75; bPset \"flowerAngle2\" 25; bPset \"flowerTwist\" 0.23; bPset \"petalSegments\" 5; bPset \"flowerStart\" 1; bPset \"numFlowers\" 10; bPset \"petalFlatness\" 1; bPset \"petalLength\" 0.2; bPset \"petalBaseWidth\" 0.05; bPset \"petalTipWidth\" 0.1; bPset \"flowerSizeDecay\" 0.7; bPset \"flowerTranslucence\" 0.3; bPset \"petalColor1R\" 0.8000000119; bPset \"petalColor1G\" 0.200000003; bPset \"petalColor1B\" 0.1000000015; bPset \"petalColor2R\" 1; bPset \"petalColor2G\" 1; bPset \"petalColor2B\" 1; bPset \"flowerHueRand\" 0; bPset \"flowerSatRand\" 0; bPset \"flowerValRand\" 0; bPset \"flowerUseBranchTex\" 1; bPset \"simplifyMethod\" 0; bPset \"colorLengthMap\" 0; bPset \"transpLengthMap\" 0; bPset \"incandLengthMap\" 0; bPset \"widthLengthMap\" 0; bPset \"splitLengthMap\" 0; bPset \"mapColor\" 0; bPset \"mapOpacity\" 0; bPset \"textureType\" 0; bPset \"mapMethod\" 2; bPset \"texColorScale\" 1; bPset \"texColorOffset\" 0; bPset \"texOpacityScale\" 1; bPset \"texOpacityOffset\" 0; bPset \"texColor1R\" 1; bPset \"texColor1G\" 1; bPset \"texColor1B\" 1; bPset \"texColor2R\" 0; bPset \"texColor2G\" 0; bPset \"texColor2B\" 0; bPset \"texAlpha1\" 0; bPset \"texAlpha2\" 1; bPset \"texUniformity\" 0.5; bPset \"fringeRemoval\" 1; bPset \"repeatU\" 1; bPset \"repeatV\" 1; bPset \"offsetU\" 0; bPset \"offsetV\" 0; bPset \"blurMult\" 1; bPset \"smear\" 0.1; bPset \"smearU\" 0; bPset \"smearV\" 0; bPset \"useFrameExtension\" 0; bPset \"frameExtension\" 1; bPset \"fractalRatio\" 0.7; bPset \"fractalAmplitude\" 1; bPset \"fractalThreshold\" 0; \nbPsetName \"imageName\" \"\";\nbPsetName \"leafImage\" \"\";\nbPsetName \"flowerImage\" \"\";\nbPsetName \"creationScript\" \"\";\nbPsetName \"runtimeScript\" \"\";\nbrushPresetApply();\npresetSetPressure 1 2 0.1870000064 1.5;\npresetSetPressure 2 0 0.1870000064 1;\npresetSetPressure 3 10 0 1.200000048;\nrename (getDefaultBrush()) CombedBlackHairV2;" ; }