df9c4b52f4
add some todos
2019-12-12 01:48:24 -08:00
fcc4770534
Mirroring fix for gdsii import
2019-12-11 21:16:31 -08:00
f3669f2dfd
fixup mirroring for subpatterns
2019-12-06 22:19:16 -08:00
49982f1207
Add newlines to long log messages
2019-05-25 12:40:17 -07:00
0ab5674fb9
strans needs starting value (0)
2019-05-20 21:04:07 -07:00
75b42f6b63
Use normalize_mirror for all 2d-to-1d mirroring
2019-05-18 15:05:30 -07:00
76f213a7ce
use .identifier instead of the dynamically-created .ref_name
2019-05-17 20:51:53 -07:00
67c9b510cb
Rename svg functions to reflect their gds counterparts
...
Backwards incompatible!
2019-05-17 01:16:18 -07:00
17451cd995
Force dose2dtype to accept only a list of patterns
...
Backwards incompatible, just like the rest of the gdsii rework
2019-05-17 00:30:32 -07:00
1ef8518c60
Fix dose2dtype
...
Was broken during gdsii refactor
2019-05-17 00:28:46 -07:00
4bd5542ce9
Clarify warning when adding suffix
2019-05-15 23:51:17 -07:00
3ff9a8a506
Shorten long names when writing
...
Maybe turn this into an option later?
2019-05-15 23:51:00 -07:00
376cbcce26
Use buffered IO
...
free ~10% speedup on read, probably similar on write
2019-05-15 23:50:31 -07:00
bc43be48bc
Implement SquareCustom end-caps and gds output
2019-05-15 00:14:17 -07:00
0bbcf3823a
Fix .gz suffix detection
2019-05-15 00:11:28 -07:00
380393dbc3
Fix mirror axis for arrays
2019-05-07 00:58:39 -07:00
0018891200
handle defaults for path params
2019-04-20 15:42:42 -07:00
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()
2019-04-20 15:29:56 -07:00
d6d26b4e46
Add modify_originals param and don't modify the pattern by default
2019-04-20 15:26:27 -07:00
783c0c0844
Add support for gds paths
2019-04-20 15:25:19 -07:00
79c89b2a4b
Rename empty-named patterns on gdsii save
2019-04-18 01:14:08 -07:00
8987cf8c44
mirror_signs are per-coordinate, not per-vector
2019-04-18 01:12:33 -07:00
11bbf6aa0b
Fix auto-renaming for structures
2019-04-16 00:41:18 -07:00
5e6485f410
allow setting library name
2019-04-15 22:43:03 -07:00
3094aa4043
Automatically disambiguate repeated pattern names.
...
Also check for >32 char names
2019-04-13 21:10:08 -07:00
3815069136
Fix out-of-range angles
2019-04-13 17:34:28 -07:00
f7ce17c293
Fix mirroring
2019-04-13 17:34:01 -07:00
bc723d96f3
Counts should be ints
2019-04-13 17:33:15 -07:00
c50bd8e148
Add GridRepetition: a SubPattern-like object which implements regular spatial arrays.
...
Also rework masque.file.gdsii to consolidate write() and
write_dose2dtype()
2019-03-31 20:57:10 -07:00
64cb1ced34
fix spacing (cosmetic)
2018-10-28 13:31:23 -07:00
a064e74fc1
Merge branch 'master' of mpxd.net:jan/masque
2018-09-16 20:37:44 -07:00
d17cf5b6be
label should have a list of 1 point
2018-09-16 20:35:14 -07:00
48b8087d0c
Make read output consistent with write args
2018-09-16 20:19:28 -07:00
4323d81abd
Change default written library name
2018-09-16 20:18:21 -07:00
7eda7ea873
Clarify docs -- read returns a dict
2018-09-16 20:18:04 -07:00
108694551b
add support for labels (e.g. GDS TEXT)
2018-08-30 23:06:31 -07:00
8623dbbeac
Put masque-layer to gds-layer conversion into a private function, and only call once per shape
2018-08-30 23:05:30 -07:00
1f17c07bef
remove errant print
2018-04-16 14:55:01 -07:00
70f3ea9304
Handle mirrored gds shapes
2018-04-14 15:29:44 -07:00
358f45c5fd
Error out when we see absolute positioning in GDS
...
We don't support it (yet?)
2018-04-14 15:23:01 -07:00
c14daf2e5e
Fix GDS AREF handling
2018-04-14 15:20:39 -07:00
0170f45f75
GDS stores rotation in degrees
2018-04-14 15:19:48 -07:00
04ff11d3cb
check for zero-length names
2018-04-14 15:06:12 -07:00
e4545bfa30
use is_scalar for checking if layer is a tuple
2018-04-14 15:02:13 -07:00
2ca27b0792
fix typo
2017-11-14 10:17:11 -08:00
b7b0da7432
Allow writing a list of patterns to gds (multiple topcells)
2017-11-04 12:18:42 -07:00
c451e93df0
Add option to check for invalid polygons when reading gds
2017-11-04 12:15:35 -07:00
6aa1787ba0
add comment specifying what gdsii lib is used
2017-11-04 12:12:05 -07:00
583dd7b018
allow caller to specify gdsii logical unit
2017-09-05 11:00:36 -07:00
3b3ee216c2
add missing import
2017-08-29 16:55:58 -07:00
85e2c662cc
fix incomplete commit
2017-08-29 15:57:37 -07:00
fdd18ca7d8
add functions for reading/writing tuple-valued layers to gds
2017-08-29 15:45:00 -07:00
1127242aa0
fix typo
2017-08-24 15:35:10 -07:00
dcf34536ad
Improve docs for gdsii output
2017-08-12 19:32:15 -07:00
bf1cabe0b0
Let gdsii output handle list-specified errors
2017-08-12 19:31:49 -07:00
2c159f2798
remove extra polygonize
2017-04-20 13:00:40 -07:00
jan
d355d84f6d
fix gds name mangling in cases with fractional dose
2016-10-19 16:59:20 -07:00
jan
5bf486ac81
Add all files to repository
2016-03-15 19:12:39 -07:00