Commit Graph

606 Commits

Author SHA1 Message Date
78f95e31c8 fix isinstance call arg order 2023-10-07 01:52:53 -07:00
aac8522d18 Give a more explicit error message 2023-10-07 01:52:40 -07:00
9400bfd7fc add missing end condition 2023-10-07 01:52:22 -07:00
10a07a82c3 fix arclength calculations giving invalid values or non-integral steps 2023-10-07 01:50:56 -07:00
10436b59f4 repr updates 2023-10-07 01:50:22 -07:00
13bb3e36c6 Add the option to use explicit x= or y= in path_to 2023-10-07 01:49:32 -07:00
f6bfd3b638 Move plug/place/interface to Pattern
Since Pattern has ports already, these should live in Pattern and get
wrapped elsewhere. Builder becomes a context-holder (holding .library
and .dead) and some code duplication goes away.
2023-10-07 01:46:43 -07:00
4af9493840 clean some old code 2023-10-07 01:38:31 -07:00
120b8f401b add notes about ports 2023-10-07 01:38:13 -07:00
jan
4e955b7e53 fix old variable name 2023-09-17 21:53:29 -07:00
jan
301da15f58 missing import 2023-09-17 21:52:42 -07:00
jan
6be45d0501 Remove more mentions of AutoSlots 2023-09-17 21:52:32 -07:00
jan
57ad73dfca simplify imports and use new approach 2023-09-17 21:34:21 -07:00
jan
1604878201 don't need to deepcopy twice 2023-09-17 21:34:02 -07:00
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
3fa124d13f speed up get_bounds when called on a manhattan ref 2023-07-17 21:30:30 -07:00
bb986ffc1c find_ptransform -> find_port_transform 2023-07-17 21:30:30 -07:00
a8686a6748 add has_ports() 2023-07-17 21:30:30 -07:00
ece7b36801 add mutate_other arg 2023-07-17 21:30:30 -07:00
59290413e7 move __repr__ higher 2023-07-17 21:30:30 -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
fcbf651694 update some examples 2023-07-17 20:22:21 -07:00
587305497f add retool() 2023-06-02 21:17:07 -07:00
2271681c57 Only remove existing ports 2023-06-02 21:17:00 -07:00
0e2b628465 add prune_layers and prune_refs 2023-06-02 21:15:16 -07:00
45d5845e07 fix comment 2023-06-02 21:15:05 -07:00
jan
47dbf75769 delete some old code 2023-04-14 23:32:10 -07:00
jan
f8d6527586 improve accuracy of manhattan rotations 2023-04-14 22:33:31 -07:00
jan
c57ba5c7e6 fix missing tools prop 2023-04-14 22:30:42 -07:00
jan
3f5a4599fc fix bounds 2023-04-14 22:27:44 -07:00
jan
6c489366cc update readme 2023-04-14 22:25:25 -07:00
jan
23336150c6 don't keep track of y-mirroring separately from x 2023-04-14 22:20:40 -07:00
jan
7e190bf8fc renderbuilder fixes 2023-04-14 00:01:04 -07:00
jan
d14d5438a4 renderpather, get_bounds includes repetitions, Boundable 2023-04-13 17:54:52 -07:00
jan
41dd123efe fix bounds 2023-04-12 22:40:08 -07:00
jan
13140ac1d3 pattern copy should be deep 2023-04-12 21:43:58 -07:00
jan
8d47ff9fb4 wrong func name 2023-04-12 21:42:56 -07:00
jan
c94127280e missing import 2023-04-12 21:42:32 -07:00
jan
ab4f24cd77 missing parens 2023-04-12 21:41:18 -07:00
jan
237b24ae8e repetitions affect bounds 2023-04-12 19:31:17 -07:00
jan
835bcc24e0 wip get_bounds 2023-04-12 18:43:44 -07:00
jan
6f67c81b97 faster get_bounds for manhattan refs 2023-04-12 18:21:37 -07:00
jan
fe3a373807 Make rotation matrix immutable and cache the value 2023-04-12 18:21:18 -07:00
jan
152dea9b60 misc fixes 2023-04-12 14:47:10 -07:00
jan
88d123af71 move to dicty layers and targets 2023-04-12 13:56:50 -07:00
jan
dc4f24a028 delete FlatBuilder (Builder subsumes it) 2023-04-11 20:05:50 -07:00