summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/gerber_statements.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2021-12-29 22:03:33 +0100
committerjaseg <git@jaseg.de>2021-12-29 22:03:33 +0100
commitd8ff4a468b7299a370905b5c12c62393e369c61a (patch)
tree9b55fb9921b0a52900f066483792c4121253ac50 /gerbonara/gerber/gerber_statements.py
parent3fb26e6940b5ae752308d8a33f2608d266795153 (diff)
downloadgerbonara-d8ff4a468b7299a370905b5c12c62393e369c61a.tar.gz
gerbonara-d8ff4a468b7299a370905b5c12c62393e369c61a.tar.bz2
gerbonara-d8ff4a468b7299a370905b5c12c62393e369c61a.zip
Fix some failing tests
Diffstat (limited to 'gerbonara/gerber/gerber_statements.py')
-rw-r--r--gerbonara/gerber/gerber_statements.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/gerber/gerber_statements.py b/gerbonara/gerber/gerber_statements.py
index 5f3363e..2bf909f 100644
--- a/gerbonara/gerber/gerber_statements.py
+++ b/gerbonara/gerber/gerber_statements.py
@@ -38,7 +38,7 @@ class FormatSpecStmt(ParamStmt):
def to_gerber(self, settings):
zeros = 'T' if settings.zeros == 'trailing' else 'L' # default to leading if "None" is specified
- notation = 'A' if settings.notation == 'absolute' else 'I'
+ notation = 'I' if settings.notation == 'incremental' else 'A' # default to absolute
number_format = str(settings.number_format[0]) + str(settings.number_format[1])
return f'%FS{zeros}{notation}X{number_format}Y{number_format}*%'