[ create a new paste ] login | about

Link: http://codepad.org/Ctqa9yrH    [ raw code | fork ]

Plain Text, pasted on Aug 20:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# placeholder function for LivePlotter.update():
def user_live_update():
    isHomed=False
    while isHomed == False:
        isHomed=True
        for i,h in enumerate(s.homed):
            if s.axis_mask & (1<<i):
                isHomed=isHomed and h
    c.wait_complete()
    # clear G54 offset
    commands.clear_offset(1)
    # clear G55 offset
    commands.clear_offset(2)
    pass


Create a new paste based on this one


Comments: