test1.py 342 B

12345678910111213141516171819
  1. from pync import *
  2. f=100
  3. G54() - G64(0.05) - S(1000) - F(100) - M3
  4. G0(X=0, Y=0, Z=2)
  5. z=-1
  6. while z > -2.001:
  7. G1(Z=z) - F(f/3)
  8. G1(X=5.5-3) - F(f/2)
  9. G2(X=5.5-3, Y=0, I=-(5.5-3), J=0) - F(f)
  10. G1(X=9.5-3) - F(f/2)
  11. G2(X=9.5-3, Y=0, I=-(9.5-3), J=0) - F(f)
  12. G0(X=5.5-3)
  13. G1(Z=z-0.3) - F(f/3)
  14. G2(X=5.5-3, Y=0, I=-(5.5-3), J=0) - F(f)
  15. z -= 1