From 69f360be7a71888ed64ca3677d5d06c2b3cfbb3c Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 15 Jan 2022 15:44:34 +0100 Subject: Excellon: WIP --- gerbonara/gerber/cam.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gerbonara/gerber/cam.py') diff --git a/gerbonara/gerber/cam.py b/gerbonara/gerber/cam.py index 7988b44..12906a0 100644 --- a/gerbonara/gerber/cam.py +++ b/gerbonara/gerber/cam.py @@ -62,6 +62,14 @@ class FileSettings: def __str__(self): return f'' + @property + def incremental(self): + return self.notation == 'incremental' + + @property + def absolute(self): + return not self.incremental # default to absolute + def parse_gerber_value(self, value): if not value: return None -- cgit