diff options
author | jaseg <git@jaseg.de> | 2021-12-28 22:00:28 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2021-12-28 22:00:28 +0100 |
commit | 30dabef9ee83021067957854187b9bbf245c14cf (patch) | |
tree | 03278488746025ca3c9682ff2cca7f858f7fc67f /gerbonara/gerber/aperture_macros/parse.py | |
parent | 57307528863e2fc8c1c1c7d0489603ce0686e5f0 (diff) | |
download | gerbonara-30dabef9ee83021067957854187b9bbf245c14cf.tar.gz gerbonara-30dabef9ee83021067957854187b9bbf245c14cf.tar.bz2 gerbonara-30dabef9ee83021067957854187b9bbf245c14cf.zip |
WIP
Diffstat (limited to 'gerbonara/gerber/aperture_macros/parse.py')
-rw-r--r-- | gerbonara/gerber/aperture_macros/parse.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gerbonara/gerber/aperture_macros/parse.py b/gerbonara/gerber/aperture_macros/parse.py index 47f45d1..2f578ee 100644 --- a/gerbonara/gerber/aperture_macros/parse.py +++ b/gerbonara/gerber/aperture_macros/parse.py @@ -85,6 +85,10 @@ class ApertureMacro: else: return f'gn_{hash(self)}' + @name.setter + def name(self, name): + self._name = name + def __str__(self): return f'<Aperture macro, variables {str(self.variables)}, primitives {self.primitives}>' |