From fba0507a5565cb6ab6425d01a4a448dcc1788766 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 15 Apr 2023 17:09:35 +0200 Subject: Small bugfix --- gerbonara/graphic_objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gerbonara/graphic_objects.py') diff --git a/gerbonara/graphic_objects.py b/gerbonara/graphic_objects.py index 7dd9199..d035fb8 100644 --- a/gerbonara/graphic_objects.py +++ b/gerbonara/graphic_objects.py @@ -281,7 +281,7 @@ class Region(GraphicObject): cut-in, the region is allowed to touch (but never overlap!) itself. """ - def __init__(self, outline=None, arc_centers=None, *, unit, polarity_dark): + def __init__(self, outline=None, arc_centers=None, *, unit=MM, polarity_dark=True): self.unit = unit self.polarity_dark = polarity_dark self.outline = [] if outline is None else outline -- cgit