Import LinuxCNC source tree
This commit is contained in:
11
nc_files/ngcgui_lib/simp.ngc
Normal file
11
nc_files/ngcgui_lib/simp.ngc
Normal file
@@ -0,0 +1,11 @@
|
||||
(info: simp -- simple subroutine example -- Ctrl-U to edit)
|
||||
o<simp> sub
|
||||
#<ra> = #1 (=.6 Radius A) ;Example parm with comment
|
||||
#<radius_b> = #2 (=0.4) ;Example parm with no comment
|
||||
#<feedrate> = #3 (=100)
|
||||
(debug, feature: #<_feature:>)
|
||||
(debug, remaining: #<_remaining_features:>)
|
||||
g0x0y0z1
|
||||
g3 i#<ra> f#<feedrate>
|
||||
g3 i[0-#<radius_b>]
|
||||
o<simp> endsub
|
||||
Reference in New Issue
Block a user