diff options
Diffstat (limited to 'gerbonara')
-rw-r--r-- | gerbonara/__init__.py | 1 | ||||
-rw-r--r-- | gerbonara/graphic_objects.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/gerbonara/__init__.py b/gerbonara/__init__.py index 32d74e1..ea9a053 100644 --- a/gerbonara/__init__.py +++ b/gerbonara/__init__.py @@ -29,5 +29,6 @@ from .rs274x import GerberFile from .excellon import ExcellonFile from .ipc356 import Netlist from .layers import LayerStack +from .utils import MM, Inch __version__ = '1.0.0' 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 |