summaryrefslogtreecommitdiff
path: root/gerbonara/apertures.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/apertures.py')
-rw-r--r--gerbonara/apertures.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerbonara/apertures.py b/gerbonara/apertures.py
index d5670a2..415eeee 100644
--- a/gerbonara/apertures.py
+++ b/gerbonara/apertures.py
@@ -392,8 +392,8 @@ class ObroundAperture(Aperture):
return ApertureMacroInstance(GenericMacros.obround,
[MM(inst.w, self.unit),
MM(inst.h, self.unit),
- MM(inst.hole_dia, self.unit),
- MM(inst.hole_rect_h, self.unit),
+ MM(inst.hole_dia, self.unit) or 0,
+ MM(inst.hole_rect_h, self.unit) or 0,
inst.rotation])
def _params(self, unit=None):