Commit Graph

619 Commits

Author SHA1 Message Date
jan
a82b1d4dcf comment grammar 2023-10-12 23:40:24 -07:00
jan
eeca5666f4 save new name on a separate line, for debugging convenience 2023-10-12 01:33:29 -07:00
jan
98d33727a2 add <= operator for library (returns an Abstract) 2023-10-12 01:33:04 -07:00
jan
2d88c00cd7 Add NoReturn __contains__ with a more descriptive error message 2023-10-12 01:32:33 -07:00
jan
f2e2de1d2e add mkport() for safely making ports 2023-10-12 01:31:44 -07:00
jan
c5bd34c9d6 references to Pattern should be forward references 2023-10-12 01:31:29 -07:00
jan
9d5177ce63 Allow Pattern.ref() to take an Abstract 2023-10-12 01:31:05 -07:00
jan
c53057e5f6 fix broken import 2023-10-12 01:30:36 -07:00
jan
ecf37580c5 improve docs and variable names 2023-10-12 01:30:23 -07:00
jan
8f2f672137 Fix major bugs in presort 2023-10-12 01:29:57 -07:00
1a823a54f3 Lots of doc updates 2023-10-07 01:54:16 -07:00
f1ca5a0111 get rid of Pather.mk() 2023-10-07 01:53:45 -07:00
d683372e26 remove unused import 2023-10-07 01:53:08 -07:00
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