summaryrefslogtreecommitdiff
path: root/gerbonara/cam.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-02-06 01:10:17 +0100
committerjaseg <git@jaseg.de>2022-02-06 01:10:17 +0100
commit263617ca754fc7b3fc550a33934fcbcbe5ef8acf (patch)
tree48bee309f4311a030cae5ed518d6499a93edfb8b /gerbonara/cam.py
parent5c4e18031623207b31855ff58be6b4c907962474 (diff)
downloadgerbonara-263617ca754fc7b3fc550a33934fcbcbe5ef8acf.tar.gz
gerbonara-263617ca754fc7b3fc550a33934fcbcbe5ef8acf.tar.bz2
gerbonara-263617ca754fc7b3fc550a33934fcbcbe5ef8acf.zip
Add Zuken tests and fix parsing
Diffstat (limited to 'gerbonara/cam.py')
-rw-r--r--gerbonara/cam.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gerbonara/cam.py b/gerbonara/cam.py
index ef99dfc..7acc108 100644
--- a/gerbonara/cam.py
+++ b/gerbonara/cam.py
@@ -117,7 +117,8 @@ class FileSettings:
return deepcopy(self)
def __str__(self):
- return f'<File settings: unit={self.unit}/{self.angle_unit} notation={self.notation} zeros={self.zeros} number_format={self.number_format}>'
+ notation = f'notation={self.notation} ' if self.notation != 'absolute' else ''
+ return f'<File settings: unit={self.unit}/{self.angle_unit} {notation}zeros={self.zeros} number_format={self.number_format}>'
@property
def is_incremental(self):