Improve type annotations for layer
This commit is contained in:
parent
95ab0934b7
commit
df179c9233
10 changed files with 29 additions and 28 deletions
|
|
@ -6,10 +6,10 @@ from numpy import pi
|
|||
|
||||
from . import Shape, Polygon, normalized_shape_tuple, DEFAULT_POLY_NUM_POINTS
|
||||
from .. import PatternError
|
||||
from ..utils import is_scalar, vector2
|
||||
|
||||
|
||||
__author__ = 'Jan Petykiewicz'
|
||||
from ..utils import is_scalar, vector2, layer_t
|
||||
|
||||
|
||||
class Arc(Shape):
|
||||
|
|
@ -158,7 +158,7 @@ class Arc(Shape):
|
|||
offset: vector2 = (0.0, 0.0),
|
||||
rotation: float = 0,
|
||||
mirrored: Tuple[bool] = (False, False),
|
||||
layer: int = 0,
|
||||
layer: layer_t = 0,
|
||||
dose: float = 1.0,
|
||||
locked: bool = False):
|
||||
self.unlock()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue