initial commit
This commit is contained in:
commit
bf20f25afa
7 changed files with 141 additions and 0 deletions
47
mill_bottom.ngc
Normal file
47
mill_bottom.ngc
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
g90
|
||||
#<radius> = 1.5
|
||||
#<cornerx> = 10.58
|
||||
#<cornery> = 2.18
|
||||
|
||||
#<cornerbx> = 0
|
||||
#<cornerby> = [8+#<radius>]
|
||||
|
||||
#<diffx> = [#<cornerbx>-#<cornerx>]
|
||||
#<diffy> = [#<cornerby>-#<cornery>]
|
||||
|
||||
#<MAX_stepover> = 1
|
||||
#<MAX_stepdown> = 0.2
|
||||
#<depth> = 8
|
||||
|
||||
#<downfeednr> = [FUP[#<depth>/#<MAX_stepdown>]]
|
||||
#<stepdown> = [#<depth>/#<downfeednr>]
|
||||
|
||||
#<repeatnr> = [FUP[#<diffx>/#<MAX_stepover>]]
|
||||
#<xstep> = [#<diffx>/#<repeatnr>]
|
||||
#<ystep> = [#<diffy>/#<repeatnr>]
|
||||
|
||||
#<offsetz> = 0
|
||||
|
||||
G0z[#<depth>+1]
|
||||
G0x#<cornerbx>y#<cornerby>
|
||||
|
||||
o<downfeed> repeat [#<downfeednr>]
|
||||
#<offsetz> = [#<offsetz>-#<stepdown>]
|
||||
G0z#<offsetz>
|
||||
|
||||
#<offsetx> = #<cornerbx>
|
||||
#<offsety> = #<cornerby>
|
||||
o<relief> repeat [#<repeatnr>]
|
||||
#<offsetx> = [#<offsetx> - #<xstep>]
|
||||
#<offsety> = [#<offsety> - #<ystep>]
|
||||
G0x[#<offsetx>+[cos[85]*[#<cornerby>-#<offsety>]]]
|
||||
G1x#<offsetx>y#<offsety>
|
||||
G1x#<cornerbx>
|
||||
G0y#<cornerby>
|
||||
o<relief> endrepeat
|
||||
|
||||
o<downfeed> endrepeatß
|
||||
|
||||
|
||||
M2
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue