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' |
def robot.addCenter | ( | node, | |
name, | |||
parentIndex, | |||
childIndex, | |||
posOnParent, | |||
posOnChild, | |||
articulationProcess, | |||
isTranslation, | |||
isRotation, | |||
axis, | |||
articulationIndex | |||
) |
def robot.addPart | ( | node, | |
name, | |||
index, | |||
filename1, | |||
filename2 = None , |
|||
translation = [0, 0, 0] |
|||
) |
def robot.addVisu | ( | node, | |
index, | |||
filename, | |||
translation = [0, 0, 0] |
|||
) |
def robot.createScene | ( | rootNode | ) |
string robot.basePath = path+'RobotBase.stl' |
string robot.part11Path = path+'RobotPart1.stl' |
string robot.part12Path = path+'RobotPart3.stl' |
string robot.part21Path = path+'RobotPart2.stl' |
string robot.part22Path = path+'RobotPart4.stl' |
string robot.part3Path = path+'RobotPart6.stl' |
string robot.part41Path = path+'RobotPart5.stl' |
string robot.part42Path = path+'RobotPart9.stl' |
string robot.part51Path = path+'RobotPart7.stl' |
string robot.part52Path = path+'RobotPart8.stl' |
string robot.part6Path = path+'RobotPart10.stl' |
string robot.path = os.path.dirname(os.path.abspath(__file__))+'/data/' |