daily pastebin goal
46%
SHARE
TWEET

Untitled

a guest Mar 25th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. job= CNC.build 'plate' do
  2.     @safe_z= 2
  3.     @tool_dia= (1.0/8)*25.4 # 1/8" end mill
  4.     @doc= 0.2
  5.     @feedrate= 1000
  6.     @laser= false
  7.  
  8.     # size of plate
  9.     w = 100.0
  10.     l = 25.0
  11.  
  12.     m3 s:10000
  13.     g4 p:2
  14.  
  15.     # center of plate
  16.     moveto x: w/2, y: l/2
  17.  
  18.     # two 5mm holes 20mm apart either side of center
  19.     moveby x: -10
  20.     hole diameter: 5, depth: 4, feedrate: 800
  21.     moveby x: 20
  22.     hole diameter: 5, depth: 4, feedrate: 800
  23.     # cutout plate
  24.     moveto x: 0, y: 0
  25.     rectangle width: w, length: l, depth: 0.9
  26.  
  27.     m5
  28.     # m123 1, 2, 3
  29.     # m321 a:1, b:2, c:3
  30.   end
  31.  
  32.   #job.export('t.nc')
  33.   job.export
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top