@ -26,8 +26,6 @@ from ..utils import remove_colinear_vertices, normalize_mirror
#TODO document how GDS rotation / mirror works
#TODO absolute positioning
__author__ = 'Jan Petykiewicz'
logger = logging.getLogger(__name__)
@ -9,9 +9,6 @@ from .utils import mangle_name
from .. import Pattern
def writefile(pattern: Pattern,
filename: str,
custom_attributes: bool=False):
@ -7,9 +7,6 @@ from typing import Set, Tuple, List
from masque.pattern import Pattern
def mangle_name(pattern: Pattern, dose_multiplier: float=1.0) -> str:
"""
Create a name using `pattern.name`, `id(pattern)`, and the dose multiplier.
@ -4,9 +4,6 @@ import numpy
from numpy import pi
from .error import PatternError, PatternLockedError
from .utils import is_scalar, vector2, rotation_matrix_2d, layer_t
@ -19,8 +19,6 @@ from .label import Label
from .utils import rotation_matrix_2d, vector2, normalize_mirror
visitor_function_t = Callable[['Pattern', Tuple['Pattern'], Dict, numpy.ndarray], 'Pattern']
@ -13,8 +13,6 @@ from .error import PatternError, PatternLockedError
from .utils import is_scalar, rotation_matrix_2d, vector2
# TODO need top-level comment about what order rotation/scale/offset/mirror/array are applied
@ -6,9 +6,6 @@ from numpy import pi
from . import Shape, Polygon, normalized_shape_tuple, DEFAULT_POLY_NUM_POINTS
from .. import PatternError
from ..utils import is_scalar, vector2, layer_t
@ -5,9 +5,6 @@ from numpy import pi
from ..utils import is_scalar, rotation_matrix_2d, vector2, layer_t
@ -9,7 +9,6 @@ from .. import PatternError
from ..utils import remove_colinear_vertices, remove_duplicate_vertices
class Path(Shape):
@ -8,8 +8,6 @@ from .. import PatternError
class Polygon(Shape):
@ -7,8 +7,6 @@ from ..error import PatternError, PatternLockedError
# Type definitions
normalized_shape_tuple = Tuple[Tuple,
@ -12,9 +12,6 @@ from ..utils import is_scalar, vector2, get_bit, normalize_mirror, layer_t
# from matplotlib.path import Path
class Text(Shape):
Text (to be printed e.g. as a set of polygons).
class SubPattern: