Small bugfix

This commit is contained in:
jaseg 2023-04-15 17:09:35 +02:00
parent 2400ff8e5f
commit fba0507a55
2 changed files with 2 additions and 1 deletions

View file

@ -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'

View file

@ -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