Fix converting values for excellon files. Give error for incremental mode
This commit is contained in:
parent
ad29fac873
commit
2eac1e427c
2 changed files with 13 additions and 16 deletions
|
|
@ -36,6 +36,11 @@ class ExcellonContext(GerberContext):
|
|||
|
||||
self.header.append(UnitStmt.from_settings(self.settings))
|
||||
|
||||
if self.settings.notation == 'incremental':
|
||||
raise NotImplementedError('Incremental mode is not implemented')
|
||||
else:
|
||||
self.body.append(AbsoluteModeStmt())
|
||||
|
||||
def _start_comments(self):
|
||||
|
||||
# Write the digits used - this isn't valid Excellon statement, so we write as a comment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue