Commit Graph

650 Commits

Author SHA1 Message Date
ab483fc9d4 Remove pyclipper dependency; remove shape.cut() 2018-11-13 23:32:26 -08:00
8dfd856e18 Subtattern .as_pattern() should deepcopy 2018-10-28 13:34:37 -07:00
df5c61f1d4 Clarify that rectangle/square is centered on the origin
Eventually, should allow arbitrary limit combination (rather than center
+ width)
2018-10-28 13:34:09 -07:00
b295c318a9 Fix arc bounding box calculation 2018-10-28 13:32:04 -07:00
64cb1ced34 fix spacing (cosmetic) 2018-10-28 13:31:23 -07:00
jan
a064e74fc1 Merge branch 'master' of mpxd.net:jan/masque 2018-09-16 20:37:44 -07:00
jan
d17cf5b6be label should have a list of 1 point 2018-09-16 20:35:14 -07:00
jan
f3115baabe Add get_cap_edges() 2018-09-16 20:33:55 -07:00
jan
832e3b46fa Add general angle-to-parameter helper function
and improve accuracy of to_polygons
2018-09-16 20:32:19 -07:00
8b9d0fa2c9 use python3 for setup 2018-09-16 20:20:56 -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
jan
f3aa27a7c4 add missing import 2018-09-02 20:01:25 -07:00
jan
d92645e413 Add long description to setup.py 2018-08-30 23:12:15 -07:00
jan
4498990545 Move version string into __init__ 2018-08-30 23:12:01 -07:00
jan
4fea49edef Add missing file (support for labels) 2018-08-30 23:07:14 -07:00
jan
86068102d9 Clarify that layer can be a tuple 2018-08-30 23:06:56 -07:00
jan
6bafaaf4fc Fix typo in arc docs 2018-08-30 23:06:45 -07:00
jan
108694551b add support for labels (e.g. GDS TEXT) 2018-08-30 23:06:31 -07:00
jan
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
jan
4840c321c5 rename param for do_subset 2018-04-18 07:48:08 -07:00
jan
6fda991700 Rewrite/fix apply() implementation 2018-04-18 07:47:50 -07:00
jan
082236b6fd add missing arg 2018-04-16 15:34:14 -07:00
jan
cc35ff802e clean up comments 2018-04-16 15:33:04 -07:00
jan
4c3250a2a1 add recursive option to subset 2018-04-16 15:32:15 -07:00
jan
f875ae89d7 make sure apply() only hits each pattern one 2018-04-16 15:31:18 -07:00
jan
52adb582dc copy name when using Pattern.subset() 2018-04-16 15:06:16 -07:00
jan
e38a530dee close paren in docstring 2018-04-16 14:55:19 -07:00
jan
1f17c07bef remove errant print 2018-04-16 14:55:01 -07:00
jan
79ac6a59e4 Fix mirror axis in Pattern.mirror() 2018-04-16 13:59:44 -07:00
jan
70f3ea9304 Handle mirrored gds shapes 2018-04-14 15:29:44 -07:00
jan
f580e784f7 Add mirroring functions to patterns/subpatterns 2018-04-14 15:29:19 -07:00
jan
d5a255a9d7 Add mirror() to shapes
Might need to fix ordering on Text.to_polygons()
2018-04-14 15:27:56 -07:00
jan
358f45c5fd Error out when we see absolute positioning in GDS
We don't support it (yet?)
2018-04-14 15:23:01 -07:00
jan
c14daf2e5e Fix GDS AREF handling 2018-04-14 15:20:39 -07:00
jan
0170f45f75 GDS stores rotation in degrees 2018-04-14 15:19:48 -07:00
jan
04ff11d3cb check for zero-length names 2018-04-14 15:06:12 -07:00
jan
37a55e0d9b Add deepcopy() convenience method to Pattern 2018-04-14 15:02:35 -07:00
jan
e4545bfa30 use is_scalar for checking if layer is a tuple 2018-04-14 15:02:13 -07:00
jan
3e06214b7e Add recursive "apply()" helper to pattern 2018-04-14 14:53:53 -07:00
jan
4c535e6564 return self from Text's scale_by and rotate 2018-04-14 14:38:42 -07:00
jan
eae57f7158 add set_bit 2018-04-14 14:34:34 -07:00
jan
3d7df45c2b fix get_bit docs 2018-04-14 14:34:26 -07:00
jan
e2b05d7c86 add fast approximate manhattanization function 2018-01-15 23:55:28 -08:00
fca3d8fda1 move code to new location 2018-01-15 22:35:12 -08:00
jan
2ca27b0792 fix typo 2017-11-14 10:17:11 -08:00
jan
0fd0e259aa Merge branch 'master' of mpxd.net:jan/masque 2017-11-04 12:19:08 -07:00
jan
bc5d4f62d8 Test writing to gds in ellip_grating 2017-11-04 12:18:58 -07:00
jan
b7b0da7432 Allow writing a list of patterns to gds (multiple topcells) 2017-11-04 12:18:42 -07:00