Fix Gerber generation for coord blocks with implicit op code
This commit is contained in:
parent
0c54a20263
commit
a3cce62be7
1 changed files with 3 additions and 0 deletions
|
|
@ -455,6 +455,9 @@ class GerberParser(object):
|
|||
|
||||
if stmt.op:
|
||||
self.op = stmt.op
|
||||
else:
|
||||
# no implicit op allowed, force here if coord block doesn't have it
|
||||
stmt.op = self.op
|
||||
|
||||
if self.op == "D01":
|
||||
if self.region_mode == 'on':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue