Example #1
0
def move(params):
    s = steps(params)
    p = params['pos']
    if params['posmode'] == 'abs':
        params['pos'] = to(p, s)
    else:
        params['pos'] = to(p, p + s)
Example #2
0
def move(params):
    s = steps(params)
    p = params['pos']
    if params['posmode'] == 'abs':
        params['pos'] = to(p, s)
    else:
        params['pos'] = to(p, p + s)
Example #3
0
def to_origin(params):
    p = params['pos']
    params['X'] = 0
    params['Y'] = 0
    params['Z'] = 0
    params['pos'] = to(p, np.array([0, 0, 0]))
Example #4
0
def to_origin(params):
    p = params['pos']
    params['X'] = 0
    params['Y'] = 0
    params['Z'] = 0
    params['pos'] = to(p, np.array([0, 0, 0]))