luftpumpensockel.ngc 545 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. %
  2. G17 G40 G49 G80 G90 G94 G61 G21
  3. #1 = [23.5 / 2]
  4. #2 = 5 ( Tool D=10 )
  5. #20 = 100
  6. #21 = 35
  7. G54 F#20 M3
  8. G0 X0 Y0 Z5
  9. G0 X[0 - [#1 - #2]] Y0
  10. G1 Z0
  11. #99 = 0
  12. O1 while [ #99 lt 15 ]
  13. #99 = [#99 + 3]
  14. G1 Z[0 - #99] F#21
  15. #30 = 13 (top)
  16. G1 Y#30 F#20
  17. G1 X0
  18. G1 Y0
  19. G0 Y#30
  20. G1 X[#1 - #2]
  21. G1 Y0
  22. G2 X[0 - [#1 - #2]] Y0 I[0 - [#1 - #2]] J0
  23. O1 endwhile
  24. G0 Z5
  25. G0 X0 Y[6 - #2]
  26. #99 = 0
  27. O2 while [ #99 lt 15 ]
  28. #99 = [#99 + 3]
  29. G0 Z[0 - #99] F#21
  30. G1 X25 F#20
  31. G1 Y[0 - [6 - #2]]
  32. G1 X0
  33. G0 Y[6 - #2]
  34. O2 endwhile
  35. G0 Z5
  36. M30
  37. %
  38. vim: syntax=rs274ngc ts=4