Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2014
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. (AXIS, stop)
  2. o<pocket_circle> sub
  3. #<radius> = #1
  4. #<depth> = #2
  5. #<step> = #3
  6. #<step_down> = #4
  7. #<vertical_feed> = #5
  8. #<start_x> = #5420
  9. #<start_y> = #5421
  10. #<start_z> = #5422
  11.  
  12. #<r> = [#<radius> / #<step>]
  13. #<d> = [#<depth> / #<step_down>]
  14.  
  15. o101 while [#5422 le #<depth>]
  16. o102 while [#<r> le #<radius>]
  17. g1 z[#5422 - #<d>]
  18. g1 y[#5421 + #<step>]
  19.  
  20. g2 i0 j[-#<r>]
  21. #<r> = [#<r> + #<step>]
  22. #<d> = [#<d> + #<step_down>]
  23. o102 endwhile
  24. o101 endwhile
  25. o<pocket_circle> endsub
  26.  
  27. f10000
  28. o<pocket_circle> call [100] [5] [10] [1] [100]
  29. m2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement