From 5a41d96fe3fe94e46b4b8d1864a4bc5d71d1616f Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 24 Apr 2023 00:56:32 +0200 Subject: Fixing more tests --- gerbonara/apertures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gerbonara/apertures.py') 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): -- cgit