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
jan
583dd7b018
allow caller to specify gdsii logical unit
7 years ago
jan
3b3ee216c2
add missing import
7 years ago
jan
85e2c662cc
fix incomplete commit
7 years ago
jan
fdd18ca7d8
add functions for reading/writing tuple-valued layers to gds
7 years ago
jan
1127242aa0
fix typo
7 years ago
jan
dcf34536ad
Improve docs for gdsii output
7 years ago
jan
bf1cabe0b0
Let gdsii output handle list-specified errors
7 years ago
jan
2c159f2798
remove extra polygonize
7 years ago
jan
5bf486ac81
Add all files to repository
8 years ago