Commit Graph

67 Commits

Author SHA1 Message Date
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
jan
c451e93df0 Add option to check for invalid polygons when reading gds 2017-11-04 12:15:35 -07:00
jan
6aa1787ba0 add comment specifying what gdsii lib is used 2017-11-04 12:12:05 -07:00
7396e83f35 bump version number 2017-10-17 12:56:06 -07:00
9308454ad4 allow cutting any shape, always require pyclipper 2017-10-17 12:35:56 -07:00
87c2ef5948 use pyclipper for polygon cutting 2017-10-17 11:09:53 -07:00
b3f99ee123 abs when thresholding raster for manhattanization 2017-10-17 11:09:53 -07:00
jan
83d163a102 fix typo 2017-09-08 14:26:27 -07:00
jan
f4b8f513d4 fix typos 2017-09-08 10:30:56 -07:00
jan
01395134ee Also clean vertices before cutting 2017-09-07 21:59:44 -07:00
jan
a817bf6642 Remove debug code 2017-09-06 21:04:57 -07:00
jan
10cd0778b8 Add copy() method to Shape 2017-09-06 21:04:44 -07:00
jan
723944018e add documentation to Polygon.cut() 2017-09-06 21:03:39 -07:00
jan
cea172e7f2 Make cut generate clean polygons 2017-09-06 21:03:23 -07:00
jan
4466198924 Add cut() function for polygon 2017-09-06 01:16:44 -07:00
jan
ffbaf8f4c4 Add manhattanization functionality 2017-09-06 01:16:24 -07:00
jan
3d52566016 Improve error handling 2017-09-06 01:14:46 -07:00
jan
934bfcd74e Clean up type info 2017-09-06 01:14:27 -07:00
jan
ccfd0f7f4f remove whitespace 2017-09-05 11:00:50 -07:00
jan
583dd7b018 allow caller to specify gdsii logical unit 2017-09-05 11:00:36 -07:00
jan
3b3ee216c2 add missing import 2017-08-29 16:55:58 -07:00
jan
3d89cd42a0 further fixes to ellipse bounding box 2017-08-29 16:55:06 -07:00
jan
85e2c662cc fix incomplete commit 2017-08-29 15:57:37 -07:00
jan
8256a540dc Use polar angle for ellipse bounds 2017-08-29 15:51:00 -07:00
jan
fdd18ca7d8 add functions for reading/writing tuple-valued layers to gds 2017-08-29 15:45:00 -07:00
jan
1127242aa0 fix typo 2017-08-24 15:35:10 -07:00
jan
dcf34536ad Improve docs for gdsii output 2017-08-12 19:32:15 -07:00
jan
bf1cabe0b0 Let gdsii output handle list-specified errors 2017-08-12 19:31:49 -07:00
jan
b99509289a Let layer be a tuple of ints (or just a single int like before) 2017-08-12 19:31:02 -07:00
jan
0a7c26bb08 No need to subclass 'object' in python3 2017-08-12 19:30:31 -07:00
jan
6cc6556e8a typo fix 2017-04-20 13:05:58 -07:00
jan
434178c853 correctly preserve total arc angle during normalize 2017-04-20 13:01:31 -07:00
jan
2c159f2798 remove extra polygonize 2017-04-20 13:00:40 -07:00
542da868c9 add TODO section 2017-04-19 18:56:14 -07:00