Implement libarea improvements for profile Implement libarea pocketing. consolidate occ and libarea pocketing operation into one with algorithm switch consolidate occ aand libarea profile op into one with algorithm switch add basic engraving operation. Add rough UI for profile holding tags implement holding tags for libarea profile. implement basic defaults for depth settings. First move in Drilling is rapid to clearance height. UI needs lots of work but is usable.
18 lines
444 B
Python
18 lines
444 B
Python
import iso_read as iso
|
|
import sys
|
|
|
|
# based on the iso reader
|
|
|
|
class Parser(iso.Parser):
|
|
def __init__(self, writer):
|
|
iso.Parser.__init__(self, writer)
|
|
|
|
def ParseWord(self, word):
|
|
iso.Parser.ParseWord(self, word)
|
|
if (word == 'M103'):
|
|
self.path_col = "rapid"
|
|
self.col = "rapid"
|
|
elif (word == 'M101'):
|
|
self.path_col = "feed"
|
|
self.col = "feed"
|