Jan Petykiewicz
|
f364970403
|
style and type fixes (per flake8)
could potentially fix some bugs in `Library` class and dxf reader
|
4 years ago |
Jan Petykiewicz
|
c6684936cf
|
Improve docs, error messages, and type annotations
|
4 years ago |
Jan Petykiewicz
|
f51144ae6a
|
misc doc/import/typing fixes
|
4 years ago |
Jan Petykiewicz
|
0e04633f61
|
Force use of keyword args on most constructors
|
4 years ago |
Jan Petykiewicz
|
49a3b4e322
|
add support for annotations
and other fixes
|
4 years ago |
Jan Petykiewicz
|
e7c8708f7f
|
prefer f-strings
|
4 years ago |
Jan Petykiewicz
|
d14182998b
|
various fixes
|
4 years ago |
Jan Petykiewicz
|
f57ccc073d
|
add `raw` arg, which skips setter funcs
|
4 years ago |
Jan Petykiewicz
|
629a6a9ba2
|
enable per-shape repetitions
|
4 years ago |
Jan Petykiewicz
|
bab40474a0
|
Add repetitions and split up code into traits
|
4 years ago |
Jan Petykiewicz
|
d4fbdd8d27
|
add fast-path for 0-degree rotations
|
4 years ago |
Jan Petykiewicz
|
0fa073b488
|
Make sure linspace gets an integer number of points
|
4 years ago |
Jan Petykiewicz
|
8302286a7a
|
allow using a string for the layer
Can't use it in gdsii, but no reason to forbit it in masque...
|
4 years ago |
Jan Petykiewicz
|
6b09fc0c20
|
make section comments more prominent
|
4 years ago |
Jan Petykiewicz
|
a440f2e256
|
add Shape.set_layer()
|
4 years ago |
Jan Petykiewicz
|
c236fdb81b
|
Add __repr__ methods to most objects`
These are closer to what __str__ should be and will likely change in the
future.
|
4 years ago |
Jan Petykiewicz
|
c79eee2a8c
|
Stricter locking (lock contained ndarrays and turn lists into tuples)
|
4 years ago |
Jan Petykiewicz
|
157df47884
|
Improve type annotations based on mypy errors
|
4 years ago |
Jan Petykiewicz
|
bd4085365f
|
Path should create a Path, not a Polygon
|
4 years ago |
Jan Petykiewicz
|
9bfb3bef9f
|
avoid unnecessarily nested classes
Still provide a class variable for convenience
|
4 years ago |
Jan Petykiewicz
|
fa8fc52dd6
|
Improve consistency of ndarray members
|
4 years ago |
Jan Petykiewicz
|
334633662e
|
Remove extra __author__ declarations
|
4 years ago |
Jan Petykiewicz
|
df179c9233
|
Improve type annotations for layer
|
4 years ago |
jan
|
5adabfd25a
|
Docstring format change
(new param and return format)
Also some minor code formatting fixes in utils
|
4 years ago |
Jan Petykiewicz
|
25c9e591cb
|
shapes: unlock before modifying during deepcopy
|
4 years ago |
Jan Petykiewicz
|
e0db621595
|
allow locking of all objects
|
4 years ago |
Jan Petykiewicz
|
2259e7987b
|
don't rename shape.to_polygons() args
|
5 years ago |
jan
|
dcd8324eb4
|
Use to_polygons() for bounds calculation for simple path shapes
|
5 years ago |
Jan Petykiewicz
|
75b42f6b63
|
Use normalize_mirror for all 2d-to-1d mirroring
|
5 years ago |
Jan Petykiewicz
|
ca80b14ee4
|
Fix text get_bounds
was addressing list using numpy slices
|
5 years ago |
Jan Petykiewicz
|
a154555902
|
Add TODO noting that polygon mirroring could be normalized
|
5 years ago |
Jan Petykiewicz
|
f00d283c56
|
Add missing imports
|
5 years ago |
Jan Petykiewicz
|
032c410b43
|
Add mirror_x to extrinsic properties
It's not implemented for Polygon shapes, since I haven't thought about
how to normalize those for reflection yet
|
5 years ago |
Jan Petykiewicz
|
2e54cf1080
|
initialize identifier for text shapes
|
5 years ago |
Jan Petykiewicz
|
16c6bfc70a
|
Cosmetic changes to argument lists
|
5 years ago |
Jan Petykiewicz
|
38f64f7c62
|
Use __slots__ for class members
Also use the other sort of type hints for instance variables
|
5 years ago |
Jan Petykiewicz
|
a461446059
|
Custom deepcopy() implementations to help speed things up
|
5 years ago |
Jan Petykiewicz
|
94410dffc9
|
Fix clockwise (to-perp) path bends
|
5 years ago |
Jan Petykiewicz
|
2909b25fd7
|
Missing args for commit bc43be48bc (cap_extensions)
|
5 years ago |
Jan Petykiewicz
|
a44a7c176e
|
Add type hints
|
5 years ago |
Jan Petykiewicz
|
bc43be48bc
|
Implement SquareCustom end-caps and gds output
|
5 years ago |
Jan Petykiewicz
|
9ab1372c7b
|
Allow shapes to carry an arbitrary identifier (Tuple)
|
5 years ago |
Jan Petykiewicz
|
ee6699a7de
|
fix alternate polygon constructors
|
5 years ago |
Jan Petykiewicz
|
783c0c0844
|
Add support for gds paths
|
5 years ago |
Jan Petykiewicz
|
d53c9487ff
|
Comment and error-checking fixes
|
5 years ago |
Jan Petykiewicz
|
8fe8bbd655
|
Normalization-related fixes
|
5 years ago |
Jan Petykiewicz
|
c6fac19fe0
|
Set standard constructor arg order and add `rotation` and `mirrored` args where reasonable
|
5 years ago |
Jan Petykiewicz
|
8dfb6d4440
|
Move vertex-cleanup functions to utils and generalize for non-closed paths
|
5 years ago |
Jan Petykiewicz
|
e3586a4574
|
fix variable names (manhattanize_fast fixes)
|
5 years ago |
Jan Petykiewicz
|
c6830abe22
|
Fix corners in manhattanize_fast
|
5 years ago |