TwiceAsNice
2019-02-18
|
Functions | |
def | retreatBase (se, pos, wm, tra) |
Variables | |
config = Nice.Application.config() | |
astr = config.node('ADAPTER').leaf() | |
ep = os.path.basename(astr) | |
dummy | |
se = LaosStarEnlarger.SE.connectWithEndpoint('SE',ep) | |
pos = se.getPosition('UM','F') | |
wm = se.getTransformation() | |
tra = se.getTravelrange() | |
locco = Nice.Point() | |
trX = tra[t.key()].x() | |
trXw = tra[t.key()].width() | |
Fcoo = wm[t.key()].map(locco) | |
sek = sys.argv[3*arg+2] | |
xcoo = float(sys.argv[3*arg+3]) | |
ycoo = float(sys.argv[3*arg+4]) | |
def licsSEPreset.retreatBase | ( | se, | |
pos, | |||
wm, | |||
tra | |||
) |
Set the y-coordinates of all current (local) positions to zero . This means all the existing arms are by default retreated on the shortest way to their base positions. The x-coordinates are not changed.
licsSEPreset.astr = config.node('ADAPTER').leaf() |
licsSEPreset.config = Nice.Application.config() |
licsSEPreset.dummy |
string licsSEPreset.ep = os.path.basename(astr) |
licsSEPreset.locco = Nice.Point() |
dictionary licsSEPreset.pos = se.getPosition('UM','F') |
licsSEPreset.se = LaosStarEnlarger.SE.connectWithEndpoint('SE',ep) |
licsSEPreset.sek = sys.argv[3*arg+2] |
licsSEPreset.tra = se.getTravelrange() |
licsSEPreset.wm = se.getTransformation() |
licsSEPreset.xcoo = float(sys.argv[3*arg+3]) |
licsSEPreset.ycoo = float(sys.argv[3*arg+4]) |