<s> from kraken import plugins <EOL> from kraken . core . maths import Vec3 <EOL> from kraken_components . biped . spine_component import SpineComponentGuide , SpineComponentRig <EOL> from kraken . core . profiler import Profiler <EOL> from kraken . helpers . utility_methods import logHierarchy <EOL> Profiler . getInstance ( ) . push ( "<STR_LIT>" ) <EOL> spineGuide = SpineComponentGuide ( "<STR_LIT>" ) <EOL> spineGuide . loadData ( { <EOL> "<STR_LIT:name>" : "<STR_LIT>" , <EOL> "<STR_LIT:location>" : "<STR_LIT:M>" , <EOL> "<STR_LIT>" : Vec3 ( <NUM_LIT:0.0> , <NUM_LIT> , - <NUM_LIT> ) , <EOL> "<STR_LIT>" : Vec3 ( <NUM_LIT:0.0> , <NUM_LIT> , - <NUM_LIT> ) , <EOL> "<STR_LIT>" : Vec3 ( <NUM_LIT:0.0> , <NUM_LIT> , - <NUM_LIT> ) , <EOL> "<STR_LIT>" : Vec3 ( <NUM_LIT:0.0> , <NUM_LIT> , - <NUM_LIT> ) , <EOL> "<STR_LIT>" : Vec3 ( <NUM_LIT:0.0> , <NUM_LIT> , - <NUM_LIT> ) , <EOL> "<STR_LIT>" : <NUM_LIT:6> <EOL> } ) <EOL> saveData = spineGuide . saveData ( ) <EOL> spineGuideData = spineGuide . getRigBuildData ( ) <EOL> spine = SpineComponentRig ( ) <EOL> spine . loadData ( spineGuideData ) <EOL> builder = plugins . getBuilder ( ) <EOL> builder . buildComponent ( spine ) <EOL> Profiler . getInstance ( ) . pop ( ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> print Profiler . getInstance ( ) . generateReport ( ) <EOL> else : <EOL> for each in spine . getItems ( ) . values ( ) : <EOL> if each . isTypeOf ( '<STR_LIT>' ) : <EOL> logHierarchy ( each ) </s>
