Commit Graph

131 Commits

Author SHA1 Message Date
jan
9b7f312ed9 Improve arc arclength estimation (untested) 2023-09-17 21:33:52 -07:00
jan
e3fdcba645 various doc updates 2023-09-17 21:33:22 -07:00
0f9746c2a5 use retstep instead of subtracting 2023-07-17 23:36:12 -07:00
94300d926a Update comments 2023-07-17 21:30:30 -07:00
ed10f57a31 remove TODO labels from mypy #3004 comments 2023-07-17 21:30:30 -07:00
b95e9de1ee Improve arclength calculation for elliptical arcs 2023-07-17 21:30:30 -07:00
jan
47dbf75769 delete some old code 2023-04-14 23:32:10 -07:00
jan
23336150c6 don't keep track of y-mirroring separately from x 2023-04-14 22:20:40 -07:00
jan
d14d5438a4 renderpather, get_bounds includes repetitions, Boundable 2023-04-13 17:54:52 -07:00
jan
237b24ae8e repetitions affect bounds 2023-04-12 19:31:17 -07:00
jan
88d123af71 move to dicty layers and targets 2023-04-12 13:56:50 -07:00
jan
66f3ad04b7 comment updates 2023-04-07 23:19:55 -07:00
jan
463c41b62a cleanup 2023-04-06 17:03:31 -07:00
742058885f fix rounding 2023-03-19 10:17:37 -07:00
a710494dd8 use Self type 2023-02-23 13:37:34 -08:00
c9402500e2 modernize type annotations 2023-02-23 13:15:32 -08:00
23c64b4f63 remove per-shape polygonization state 2023-02-23 11:25:40 -08:00
089e5192e3 various fixes and cleanup
mainly involving ports_to_data and data_to_ports
2023-01-25 23:57:02 -08:00
326c9b9727 flake8-aided fixes 2023-01-23 22:27:26 -08:00
8484628f2f fix more type issues 2023-01-22 22:16:09 -08:00
jan
e482107366 wip 2023-01-19 22:20:16 -08:00
cb8897b8fe some type updates 2023-01-18 18:14:53 -08:00
83b9af0cc3 Remove support for dose
Since there isn't GDS/OASIS level support for dose, this can be mostly
handled by using arbitrary layers/dtypes directly. Dose scaling isn't
handled as nicely that way, but it corresponds more directly to what
gets written to file.
2023-01-18 18:14:33 -08:00
ecb61c9174 get rid of "identifier" 2023-01-18 17:14:35 -08:00
jan
1741cfb755 wip again 2023-01-13 20:33:14 -08:00
jan
42c3a2b1e1 WIP: make libraries and names first-class! 2023-01-11 18:59:57 -08:00
jan
8edb7b0956 round().astype() -> rint(...) 2023-01-11 18:29:28 -08:00
b188589b60 Fix / simplify some cases where the arc is a sector 2022-06-08 21:12:39 -07:00
jan
4cc824526b fix deepcopy for locked shapes 2022-04-17 19:04:18 -07:00
jan
a4aa50d814 fix another instance where numpy prohibits using not bounds 2022-02-28 23:43:16 -08:00
jan
20be409341 fix numpy complaining about .any() / .all() 2022-02-28 23:03:23 -08:00
jan
0471addd65 add get_bounds_nonempty 2022-02-27 21:23:03 -08:00
jan
a4fe3d9e2e Use ArrayLike and NDArray wherever possible. Some type fixes and some related corner cases 2022-02-23 15:47:38 -08:00
jan
89f327ba37 reformat some multiline arg lists and add missing 'None' return types 2022-02-23 15:16:25 -08:00
886bd59726 should be casting with numpy.array() not .ndarray() 2021-06-22 19:00:43 -07:00
4796676a4e use ArrayLike when accepting pseudo-ndarrays 2021-06-22 18:59:13 -07:00
65466a5986 Force keyword args in more cases 2021-06-18 18:46:05 -07:00
21ef4207df Enable repetition arg for other Polygon constructors 2021-06-18 18:45:40 -07:00
bce3d9f37c Avoid placing duplicate vertices when polygonizing an arc 2020-12-20 20:40:59 -08:00
b7383a30ca fix mirroring across y for arcs and ellipses 2020-12-05 14:49:57 -08:00
6c4fe0e9e4 Add octagon constructor 2020-11-09 22:06:19 -08:00
8e1c05cf73 add mirror2d() to Rotatable 2020-11-09 22:05:56 -08:00
f364970403 style and type fixes (per flake8)
could potentially fix some bugs in `Library` class and dxf reader
2020-10-16 19:00:50 -07:00
c6684936cf Improve docs, error messages, and type annotations 2020-09-26 17:33:46 -07:00
f51144ae6a misc doc/import/typing fixes 2020-09-20 16:32:17 -07:00
0e04633f61 Force use of keyword args on most constructors 2020-09-20 16:32:17 -07:00
49a3b4e322 add support for annotations
and other fixes
2020-09-20 16:32:17 -07:00
e7c8708f7f prefer f-strings 2020-09-20 16:32:17 -07:00
d14182998b various fixes 2020-09-20 16:32:17 -07:00
f57ccc073d add raw arg, which skips setter funcs 2020-09-20 16:32:17 -07:00