Commit Graph

59 Commits (64b8e4dec8945eb48be96b1f20d3d781e85fb975)

Author SHA1 Message Date
Jan Petykiewicz 64b8e4dec8 Fix duplicates in gds with multiple top-level cells
Since the different patterns we are handed might reference the same
Patterns, we have to deepcopy the entire list at once so that we
don't make multiple copies of them.
4 years ago
Jan Petykiewicz e0db621595 allow locking of all objects 4 years ago
Jan Petykiewicz 09711116a7 allow more freedom in pattern names (e.g. names which violate spec, longer suffixes, filter warning, etc) 4 years ago
Jan Petykiewicz df9c4b52f4 add some todos 4 years ago
Jan Petykiewicz fcc4770534 Mirroring fix for gdsii import 4 years ago
Jan Petykiewicz f3669f2dfd fixup mirroring for subpatterns 5 years ago
Jan Petykiewicz 49982f1207 Add newlines to long log messages 5 years ago
jan 0ab5674fb9 strans needs starting value (0) 5 years ago
Jan Petykiewicz 75b42f6b63 Use normalize_mirror for all 2d-to-1d mirroring 5 years ago
Jan Petykiewicz 76f213a7ce use .identifier instead of the dynamically-created .ref_name 5 years ago
Jan Petykiewicz 17451cd995 Force dose2dtype to accept only a list of patterns
Backwards incompatible, just like the rest of the gdsii rework
5 years ago
Jan Petykiewicz 1ef8518c60 Fix dose2dtype
Was broken during gdsii refactor
5 years ago
Jan Petykiewicz 4bd5542ce9 Clarify warning when adding suffix 5 years ago
Jan Petykiewicz 3ff9a8a506 Shorten long names when writing
Maybe turn this into an option later?
5 years ago
Jan Petykiewicz 376cbcce26 Use buffered IO
free ~10% speedup on read, probably similar on write
5 years ago
Jan Petykiewicz bc43be48bc Implement SquareCustom end-caps and gds output 5 years ago
Jan Petykiewicz 0bbcf3823a Fix .gz suffix detection 5 years ago
Jan Petykiewicz 380393dbc3 Fix mirror axis for arrays 5 years ago
Jan Petykiewicz 0018891200 handle defaults for path params 5 years ago
Jan Petykiewicz 485a7bc29d General overhaul of gdsii read/write functions
- read() and write() now take streams instead of filenames
- readfile() and writefile() were added to handle filenames and can
detect and handle '.gz' suffixed/compressed files.
- write_dose2dtype() and and read_dtype2dose() were removed in favor of
read(use_dtype_as_dose=True) and dose2dtype()
5 years ago
Jan Petykiewicz d6d26b4e46 Add modify_originals param and don't modify the pattern by default 5 years ago
Jan Petykiewicz 783c0c0844 Add support for gds paths 5 years ago
Jan Petykiewicz 79c89b2a4b Rename empty-named patterns on gdsii save 5 years ago
Jan Petykiewicz 8987cf8c44 mirror_signs are per-coordinate, not per-vector 5 years ago
Jan Petykiewicz 11bbf6aa0b Fix auto-renaming for structures 5 years ago
Jan Petykiewicz 5e6485f410 allow setting library name 5 years ago
Jan Petykiewicz 3094aa4043 Automatically disambiguate repeated pattern names.
Also check for >32 char names
5 years ago
Jan Petykiewicz 3815069136 Fix out-of-range angles 5 years ago
Jan Petykiewicz f7ce17c293 Fix mirroring 5 years ago
Jan Petykiewicz bc723d96f3 Counts should be ints 5 years ago
jan c50bd8e148 Add GridRepetition: a SubPattern-like object which implements regular spatial arrays.
Also rework masque.file.gdsii to consolidate write() and
write_dose2dtype()
5 years ago
Jan Petykiewicz 64cb1ced34 fix spacing (cosmetic) 6 years ago
jan a064e74fc1 Merge branch 'master' of mpxd.net:jan/masque 6 years ago
jan d17cf5b6be label should have a list of 1 point 6 years ago
Jan Petykiewicz 48b8087d0c Make read output consistent with write args 6 years ago
Jan Petykiewicz 4323d81abd Change default written library name 6 years ago
Jan Petykiewicz 7eda7ea873 Clarify docs -- read returns a dict 6 years ago
jan 108694551b add support for labels (e.g. GDS TEXT) 6 years ago
jan 8623dbbeac Put masque-layer to gds-layer conversion into a private function, and only call once per shape 6 years ago
jan 1f17c07bef remove errant print 6 years ago
jan 70f3ea9304 Handle mirrored gds shapes 6 years ago
jan 358f45c5fd Error out when we see absolute positioning in GDS
We don't support it (yet?)
6 years ago
jan c14daf2e5e Fix GDS AREF handling 6 years ago
jan 0170f45f75 GDS stores rotation in degrees 6 years ago
jan 04ff11d3cb check for zero-length names 6 years ago
jan e4545bfa30 use is_scalar for checking if layer is a tuple 6 years ago
jan 2ca27b0792 fix typo 7 years ago
jan b7b0da7432 Allow writing a list of patterns to gds (multiple topcells) 7 years ago
jan c451e93df0 Add option to check for invalid polygons when reading gds 7 years ago
jan 6aa1787ba0 add comment specifying what gdsii lib is used 7 years ago