TwiceAsNice  2019-02-18
Functions | Variables
licsSEPreset Namespace Reference

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])
 

Function Documentation

◆ retreatBase()

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.

Variable Documentation

◆ astr

licsSEPreset.astr = config.node('ADAPTER').leaf()

◆ config

licsSEPreset.config = Nice.Application.config()

◆ dummy

licsSEPreset.dummy

◆ ep

string licsSEPreset.ep = os.path.basename(astr)

◆ Fcoo

licsSEPreset.Fcoo = wm[t.key()].map(locco)

◆ locco

licsSEPreset.locco = Nice.Point()

◆ pos

dictionary licsSEPreset.pos = se.getPosition('UM','F')

◆ se

licsSEPreset.se = LaosStarEnlarger.SE.connectWithEndpoint('SE',ep)

◆ sek

licsSEPreset.sek = sys.argv[3*arg+2]

◆ tra

licsSEPreset.tra = se.getTravelrange()

◆ trX

licsSEPreset.trX = tra[t.key()].x()

◆ trXw

licsSEPreset.trXw = tra[t.key()].width()

◆ wm

licsSEPreset.wm = se.getTransformation()

◆ xcoo

licsSEPreset.xcoo = float(sys.argv[3*arg+3])

◆ ycoo

licsSEPreset.ycoo = float(sys.argv[3*arg+4])