Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def _Move(t, p):
- coords = ["%s%f" % (x, y) for x, y in zip(("X", "Y", "Z"), p) if y != None]
- if len(coords) != 0:
- return t + " " + " ".join(coords)
- else:
- return ""
- def RapidMoveTo(p):
- print _Move("G0", p)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement