Small bugfix
This commit is contained in:
parent
2400ff8e5f
commit
fba0507a55
2 changed files with 2 additions and 1 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue