Commit Graph

158 Commits

Author SHA1 Message Date
jan
e2c7f8c8cc various doc updates 2023-10-15 16:18:33 -07:00
jan
91465b7175 don't keep track of y-mirroring separately from x 2023-10-15 16:18:33 -07:00
jan
9a077ea2df move to dicty layers and targets 2023-10-15 16:18:33 -07:00
jan
de0d35d3d7 cleanup 2023-10-15 16:18:33 -07:00
jan
f0a71bfb8b redo library class naming 2023-10-15 16:18:33 -07:00
jan
4eee4d19e9 cleanup 2023-10-15 16:18:33 -07:00
59c8f47f4d update to newer ezdxf 2023-10-15 16:18:33 -07:00
1463535676 modernize type annotations 2023-10-15 16:18:33 -07:00
ada8c591a0 fix error message 2023-10-15 16:18:33 -07:00
e0939049dd force 'wb' mode for gzipfile 2023-10-15 16:18:33 -07:00
5ffcadb362 always apply postprocess 2023-10-15 16:18:33 -07:00
1598582865 remove log messages 2023-10-15 16:18:32 -07:00
42ee4db989 Return WrapLibrary from read() and readfile() 2023-10-15 16:18:32 -07:00
d44374bf1f writefile should write to a temporary file first 2023-10-15 16:18:32 -07:00
5452bc5608 more fixes and improvements 2023-10-15 16:18:32 -07:00
f4537a0feb Lots of progress on tutorials 2023-10-15 16:18:32 -07:00
c31d7dfa2c Add note about reproducibility for DXF 2023-10-15 16:18:32 -07:00
61b381cfaa remove dead code 2023-10-15 16:18:32 -07:00
cca7cbaae1 formatting 2023-10-15 16:18:32 -07:00
b75c8de0c4 lots of fixes to get test_rep running 2023-10-15 16:18:32 -07:00
92f7fce6ff improve gzipped file reproducibility
Mostly avoid writing the old filename and modification time to the gzip
header
2023-10-15 16:18:32 -07:00
6b01b43559 flake8-aided fixes 2023-10-15 16:18:32 -07:00
db9b39dbc0 fix more type issues 2023-10-15 16:18:32 -07:00
557c6c98dc more wip -- most central stuff is first pass done 2023-10-15 16:18:32 -07:00
jan
9efb6f0eeb wip 2023-10-15 16:18:32 -07:00
jan
d9ae8dd6e3 wip 2023-10-15 16:18:32 -07:00
c7f3e7ee52 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.
2023-10-15 16:18:32 -07:00
f7a2edfe23 fix some type-related issues 2023-10-15 16:18:32 -07:00
jan
7ca017d993 wip again 2023-10-15 16:18:32 -07:00
jan
7aaf73cb37 WIP: make libraries and names first-class! 2023-10-15 16:18:32 -07:00
afcbd315ae Fix extra vertex added during OASIS loading 2023-01-24 14:14:10 -08:00
jan
8edb7b0956 round().astype() -> rint(...) 2023-01-11 18:29:28 -08:00
48b28351ed speed up GDS writing
by preallocating xy array and directly rounding to target dtype
2022-06-08 21:12:39 -07:00
b5ddb5749c fix calculation of displacements 2022-04-01 17:35:12 -07:00
fd0b2ba4cd no longer ignore numpy types 2022-04-01 17:30:13 -07:00
3640de27c7 Fix OASIS loading when strings are stored by-reference 2022-04-01 17:30:00 -07:00
jan
30025ba081 fixup dxf read 2022-02-28 22:59:45 -08:00
jan
a4fe3d9e2e Use ArrayLike and NDArray wherever possible. Some type fixes and some related corner cases 2022-02-23 15:47:38 -08:00
jan
89f327ba37 reformat some multiline arg lists and add missing 'None' return types 2022-02-23 15:16:25 -08:00
jan
e2fdd5a347 make klamath the default gdsii reader/writer, and install it automatically
python-gdsii code is now under masque.file.python_gdsii
2021-03-26 10:34:02 -07:00
8ad4082f6d Fix offset complaining if it gets a Vec3 2021-03-08 17:11:33 -08:00
jan
1dc7d5bd56 2-element paths are not polygons 2021-02-13 15:47:04 -08:00
jan
5aa41f5e12 fix reading lwpolylines 2021-02-13 15:47:04 -08:00
09a5e4a2db type-related fixes and improvements 2020-11-09 22:04:04 -08:00
6402c6242e add full_load option to load_library 2020-11-02 20:57:29 -08:00
6ead7231a8 make raw_mode an arg to read()` 2020-11-02 20:56:56 -08:00
2bc03cbbf4 improve some more type annotations using TypeVar 2020-11-01 19:33:43 -08:00
f364970403 style and type fixes (per flake8)
could potentially fix some bugs in `Library` class and dxf reader
2020-10-16 19:00:50 -07:00
0f35eb5e58 fix dxf reader 2020-10-10 19:11:35 -07:00
4a7e20d6ba improve type annotations in dxf writer 2020-10-10 19:11:22 -07:00