diff options
author | jaseg <git@jaseg.de> | 2022-01-30 15:07:55 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-01-30 15:07:55 +0100 |
commit | c8bf837a4b5dcc6242b7dac383f09e9390deca35 (patch) | |
tree | 1c6d5f407e3276aad8304ef61fd81967c97a95b2 /gerbonara/gerber/utils.py | |
parent | 8bf6420cb4c8696487fe0fef5b5e154d262041b2 (diff) | |
download | gerbonara-c8bf837a4b5dcc6242b7dac383f09e9390deca35.tar.gz gerbonara-c8bf837a4b5dcc6242b7dac383f09e9390deca35.tar.bz2 gerbonara-c8bf837a4b5dcc6242b7dac383f09e9390deca35.zip |
Fix some more testcases
* Fix Excellon export among others
Diffstat (limited to 'gerbonara/gerber/utils.py')
-rw-r--r-- | gerbonara/gerber/utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gerbonara/gerber/utils.py b/gerbonara/gerber/utils.py index 6ea8bcb..71251de 100644 --- a/gerbonara/gerber/utils.py +++ b/gerbonara/gerber/utils.py @@ -97,6 +97,9 @@ class LengthUnit: def __str__(self): return self.shorthand + def __repr__(self): + return f'<LengthUnit {self.name}>' + MILLIMETERS_PER_INCH = 25.4 Inch = LengthUnit('inch', 'in', MILLIMETERS_PER_INCH) |