summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/aperture_macros/parse.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/gerber/aperture_macros/parse.py')
-rw-r--r--gerbonara/gerber/aperture_macros/parse.py4
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}>'