summaryrefslogtreecommitdiff
path: root/gerber/gerber_statements.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerber/gerber_statements.py')
-rw-r--r--gerber/gerber_statements.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerber/gerber_statements.py b/gerber/gerber_statements.py
index 52e7ac3..3212c1c 100644
--- a/gerber/gerber_statements.py
+++ b/gerber/gerber_statements.py
@@ -279,9 +279,9 @@ class ADParamStmt(ParamStmt):
return cls('AD', dcode, 'R', ([width, height],))
@classmethod
- def circle(cls, dcode, diameter):
+ def circle(cls, dcode, diameter, hole_diameter):
'''Create a circular aperture definition statement'''
- return cls('AD', dcode, 'C', ([diameter],))
+ return cls('AD', dcode, 'C', ([diameter, hole_diameter],))
@classmethod
def obround(cls, dcode, width, height):