# The import line is necessary if you want to run this directly in python. # However, this program is intended to be run inside the environment created # by the VM. from vm import * cut_speed = 2 rapid_speed = 10 plunge_speed = 2 cut_rpm = 3600 lower_left = (0,0) lower_right = (1,0) upper_right = (1,1) upper_left = (0,1) safe_z = 0.1 cut_z = -0.01 wait() set_speed(plunge_speed,'z') set_speed(rapid_speed,'xy') move(safe_z,'z') move(lower_left) set_speed(cut_rpm,'bit') move(1,'bit') move(cut_z,'z') move(lower_right) move(upper_right) move(upper_left) move(lower_left) move(safe_z,'z') move(0,'bit') move(HOME)