MAGIKS  1.1
Manipulator General Inverse Kinematic Solver
 All Classes Namespaces Files Functions Variables Pages
magiks/jointspace/__init__.py
Go to the documentation of this file.
1 def set_file_path( verbose=False ):
2  '''
3  execute the set_file_path function of the super package.
4  -> an absolute path has to be set only at root level of packages.
5  '''
6  import os
7  import sys
8 
9  file_path = os.path.abspath( os.path.dirname( __file__ ) )
10  super_path = os.path.abspath( os.path.join( file_path, '../..' ))
11 
12  if verbose :
13  print
14  print file_path
15  print super_path
16  print
17 
18  sys.path.append( super_path )
19 
20  # super package magiks:
21  import magiks
22  return magiks.set_file_path( verbose = verbose )
def set_file_path