jan
4aad8ab786
shorten labels
1 year ago
jan
de04d06b7a
cleanup
1 year ago
jan
62b82eb230
get rid of NamedPattern in favor of just returning a tuple
1 year ago
Jan Petykiewicz
0917b02a31
str(namedpattern) should just return its name
1 year ago
Jan Petykiewicz
c515ada2f8
updates to Pattern.polygonize()
1 year ago
Jan Petykiewicz
f5d1fd2c29
Pipe-operator does not support forward references
1 year ago
Jan Petykiewicz
28424be3db
add polygon() and label() convenience methods
1 year ago
Jan Petykiewicz
a710494dd8
use Self type
1 year ago
Jan Petykiewicz
c9402500e2
modernize type annotations
1 year ago
Jan Petykiewicz
23c64b4f63
remove per-shape polygonization state
1 year ago
Jan Petykiewicz
7a4a96ff5f
fixes based on mypy
1 year ago
Jan Petykiewicz
8c42145e44
fixes/updates
1 year ago
Jan Petykiewicz
1d720b6577
Drop ports by default
1 year ago
Jan Petykiewicz
3105a669b4
add NamedPattern
1 year ago
Jan Petykiewicz
7fc0902fe7
Add recurse arg to get_bounds
1 year ago
Jan Petykiewicz
c2ce9ed547
more fixes and improvements
1 year ago
Jan Petykiewicz
22735125d5
Lots of progress on tutorials
1 year ago
Jan Petykiewicz
1b04fb7ed0
lots of fixes to get test_rep running
1 year ago
Jan Petykiewicz
326c9b9727
flake8-aided fixes
1 year ago
Jan Petykiewicz
6565b8baa3
more wip -- most central stuff is first pass done
1 year ago
Jan Petykiewicz
df1acd7c87
wip -- more fixes
1 year ago
jan
743428d8d7
wip
1 year ago
jan
e482107366
wip
1 year ago
Jan Petykiewicz
83b9af0cc3
Remove support for dose
...
Since there isn't GDS/OASIS level support for dose, this can be mostly
handled by using arbitrary layers/dtypes directly. Dose scaling isn't
handled as nicely that way, but it corresponds more directly to what
gets written to file.
1 year ago
jan
1741cfb755
wip again
1 year ago
Jan Petykiewicz
14e9a7ccbe
indirect type spec for Pattern
1 year ago
jan
42c3a2b1e1
WIP: make libraries and names first-class!
1 year ago
Jan Petykiewicz
ed9b0df057
fix scaling for objects with repetitions
2 years ago
jan
0471addd65
add get_bounds_nonempty
2 years ago
jan
a4fe3d9e2e
Use ArrayLike and NDArray wherever possible. Some type fixes and some related corner cases
2 years ago
jan
89f327ba37
reformat some multiline arg lists and add missing 'None' return types
2 years ago
Jan Petykiewicz
576077c461
add docstring for Pattern.rename()
3 years ago
Jan Petykiewicz
dbee0027b2
fix wrap_repated_shapes for labels
3 years ago
Jan Petykiewicz
4796676a4e
use ArrayLike when accepting pseudo-ndarrays
3 years ago
Jan Petykiewicz
78a4416f4c
Fix wrap_repeated_shapes
3 years ago
jan
5b84a436a0
Make flatten() work in-place on all subpatterns (avoid copies and repeated calls). Also fix a bug around identifier generation introduced in a5900f6ad
.
3 years ago
Jan Petykiewicz
a5900f6ade
BREAKING change shape identifers generated when flattening
3 years ago
Jan Petykiewicz
88d42807be
label axes in visualization
4 years ago
Jan Petykiewicz
09a5e4a2db
type-related fixes and improvements
4 years ago
Jan Petykiewicz
1b400605b1
use addsp() to consolidate some existing code
4 years ago
Jan Petykiewicz
3a9eca91b5
add `addsp()` convenience function to Pattern
4 years ago
Jan Petykiewicz
517a6dec98
remove duplicate setattr definition
...
already set by LockableImpl
4 years ago
Jan Petykiewicz
2bc03cbbf4
improve some more type annotations using TypeVar
4 years ago
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
7ed3b26b02
skip assignment in dfs() to avoid PatternLockedError on unmodified patterns
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
3f59168cec
Use chain() instead of adding lists
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