summaryrefslogtreecommitdiff
path: root/gerbonara/rs274x.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-02-05 12:34:28 +0100
committerjaseg <git@jaseg.de>2022-02-05 12:34:28 +0100
commit57941b1b76ffbdb9a5eeb9fef5e3c2365e3a4b84 (patch)
treeb75d54db39ad522ee0ee6ee0d3b3679d84247bd6 /gerbonara/rs274x.py
parent4cbda84aa61158c06acc78aac4b318bbea5b6214 (diff)
downloadgerbonara-57941b1b76ffbdb9a5eeb9fef5e3c2365e3a4b84.tar.gz
gerbonara-57941b1b76ffbdb9a5eeb9fef5e3c2365e3a4b84.tar.bz2
gerbonara-57941b1b76ffbdb9a5eeb9fef5e3c2365e3a4b84.zip
Arc approx WIP
Diffstat (limited to 'gerbonara/rs274x.py')
-rw-r--r--gerbonara/rs274x.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gerbonara/rs274x.py b/gerbonara/rs274x.py
index b355bda..51a5e19 100644
--- a/gerbonara/rs274x.py
+++ b/gerbonara/rs274x.py
@@ -232,6 +232,9 @@ class GerberFile(CamFile):
name = f'{self.original_path.name} ' if self.original_path else ''
return f'<GerberFile {name}with {len(self.apertures)} apertures, {len(self.objects)} objects>'
+ def __repr__(self):
+ return str(self)
+
def save(self, filename, settings=None, drop_comments=True):
""" Save this Gerber file to the file system. See :py:meth:`~.GerberFile.generate_gerber` for the meaning
of the arguments. """