#NEWLINE# def __init__( self , file_name = None ) : #NEWLINE# #INDENT# skeleton . __init__ ( self ) #NEWLINE# self . documentation = [ ] #NEWLINE# self . angle = 'deg' #NEWLINE# self . length = 1.0 #NEWLINE# self . mass = 1.0 #NEWLINE# self . type = 'acclaim' #NEWLINE# self . vertices [ 0 ] = vertex ( name = 'root' , id = 0 , parents = [ 0 ] , children = [ ] , meta = { #NEWLINE# #INDENT# 'orientation' : [ ] , #NEWLINE# 'axis' : [ 0.0 , 0.0 , 0.0 ] , #NEWLINE# 'axis_order' : [ ] , #NEWLINE# 'C' : np . eye ( 3 ) , #NEWLINE# 'Cinv' : np . eye ( 3 ) , #NEWLINE# 'channels' : [ ] , #NEWLINE# 'bodymass' : [ ] , #NEWLINE# 'confmass' : [ ] , #NEWLINE# 'order' : [ ] , #NEWLINE# 'rot_ind' : [ ] , #NEWLINE# 'pos_ind' : [ ] , #NEWLINE# 'limits' : [ ] , #NEWLINE# 'xyz' : np . array ( [ 0.0 , 0.0 , 0.0 ] ) , #NEWLINE# 'rot' : np . eye ( 3 ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# if file_name : #NEWLINE# #INDENT# self . load_skel ( file_name )