Commit Graph

197 Commits

Author SHA1 Message Date
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
f25f6966e0 add example showing how to make an elliptical grating 2017-04-19 18:55:44 -07:00
ff76626e21 fix multiple bugs in arc and ellipse 2017-04-19 18:54:58 -07:00
jan
113671e591 bump version 2016-10-19 17:00:00 -07:00
jan
d355d84f6d fix gds name mangling in cases with fractional dose 2016-10-19 16:59:20 -07:00
jan
103e72628c Remove extra spaces 2016-10-19 16:52:40 -07:00
jan
3a460a9296 Add Text shape
Rendered using freetype-py and matplotlib

Can eliminate the matplotlib dependency if I write my own bezier code,
but that's work (and I already use matplotlib...).
2016-10-19 16:52:28 -07:00
jan
3e1ff19270 Add license 2016-04-13 03:51:25 -07:00
jan
496d07008d Switch to code style and remove --upgrade 2016-03-29 13:56:36 -07:00
jan
ff6c4f71c1 fix import and switch to setuptools 2016-03-27 17:29:46 -07:00
jan
77f36206f9 use find_packages() 2016-03-27 17:23:18 -07:00
jan
1e7b9751be remove empty dependency block 2016-03-27 15:20:19 -07:00
jan
3bfe71b9c7 Add dependencies to setup.py 2016-03-22 14:41:42 -07:00
jan
2a20a540b9 remove extra spaces 2016-03-16 15:16:01 -07:00
jan
5f8e238ad8 set readme to point at release branch 2016-03-15 20:49:38 -07:00
jan
4945567544 Add install instructions 2016-03-15 19:33:36 -07:00
jan
44b157dcc5 add extension to readme 2016-03-15 19:14:01 -07:00
jan
5bf486ac81 Add all files to repository 2016-03-15 19:12:39 -07:00