summaryrefslogtreecommitdiff
path: root/gerbonara/aperture_macros/primitive.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2024-07-07 19:07:58 +0200
committerjaseg <git@jaseg.de>2024-07-07 19:07:58 +0200
commite98f3f3ace38060aaf90afc5d071200b254426dd (patch)
tree29b7974e26abbb23f5554aa6f34ae2a6554e3b93 /gerbonara/aperture_macros/primitive.py
parent6f8d4bb999e780f38776938599dab4b9b7ed8403 (diff)
downloadgerbonara-e98f3f3ace38060aaf90afc5d071200b254426dd.tar.gz
gerbonara-e98f3f3ace38060aaf90afc5d071200b254426dd.tar.bz2
gerbonara-e98f3f3ace38060aaf90afc5d071200b254426dd.zip
Add starburst pattern
Diffstat (limited to 'gerbonara/aperture_macros/primitive.py')
-rw-r--r--gerbonara/aperture_macros/primitive.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerbonara/aperture_macros/primitive.py b/gerbonara/aperture_macros/primitive.py
index 31c5cb9..0c0d54c 100644
--- a/gerbonara/aperture_macros/primitive.py
+++ b/gerbonara/aperture_macros/primitive.py
@@ -97,8 +97,8 @@ class Circle(Primitive):
exposure : Expression
diameter : UnitExpression
# center x/y
- x : UnitExpression
- y : UnitExpression
+ x : UnitExpression = 0
+ y : UnitExpression = 0
rotation : Expression = 0
def to_graphic_primitives(self, offset, rotation, variable_binding={}, unit=None, polarity_dark=True):