SOFA plugin: ArticulatedSystemPlugin  master
Open source framework for multi-physics simuation
robot Namespace Reference

Classes

class  Robot
 

Functions

def addVisu (node, index, filename, translation=[0, 0, 0])
 
def addCenter (node, name, parentIndex, childIndex, posOnParent, posOnChild, articulationProcess, isTranslation, isRotation, axis, articulationIndex)
 
def addPart (node, name, index, filename1, filename2=None, translation=[0, 0, 0])
 
def createScene (rootNode)
 

Variables

string path = os.path.dirname(os.path.abspath(__file__))+'/data/'
 
string basePath = path+'RobotBase.stl'
 
string part11Path = path+'RobotPart1.stl'
 
string part12Path = path+'RobotPart3.stl'
 
string part21Path = path+'RobotPart2.stl'
 
string part22Path = path+'RobotPart4.stl'
 
string part3Path = path+'RobotPart6.stl'
 
string part41Path = path+'RobotPart5.stl'
 
string part42Path = path+'RobotPart9.stl'
 
string part51Path = path+'RobotPart7.stl'
 
string part52Path = path+'RobotPart8.stl'
 
string part6Path = path+'RobotPart10.stl'
 

Function Documentation

◆ addCenter()

def robot.addCenter (   node,
  name,
  parentIndex,
  childIndex,
  posOnParent,
  posOnChild,
  articulationProcess,
  isTranslation,
  isRotation,
  axis,
  articulationIndex 
)

◆ addPart()

def robot.addPart (   node,
  name,
  index,
  filename1,
  filename2 = None,
  translation = [0, 0, 0] 
)

◆ addVisu()

def robot.addVisu (   node,
  index,
  filename,
  translation = [0, 0, 0] 
)

◆ createScene()

def robot.createScene (   rootNode)

Variable Documentation

◆ basePath

string robot.basePath = path+'RobotBase.stl'

◆ part11Path

string robot.part11Path = path+'RobotPart1.stl'

◆ part12Path

string robot.part12Path = path+'RobotPart3.stl'

◆ part21Path

string robot.part21Path = path+'RobotPart2.stl'

◆ part22Path

string robot.part22Path = path+'RobotPart4.stl'

◆ part3Path

string robot.part3Path = path+'RobotPart6.stl'

◆ part41Path

string robot.part41Path = path+'RobotPart5.stl'

◆ part42Path

string robot.part42Path = path+'RobotPart9.stl'

◆ part51Path

string robot.part51Path = path+'RobotPart7.stl'

◆ part52Path

string robot.part52Path = path+'RobotPart8.stl'

◆ part6Path

string robot.part6Path = path+'RobotPart10.stl'

◆ path

string robot.path = os.path.dirname(os.path.abspath(__file__))+'/data/'