Commit Graph

634 Commits

Author SHA1 Message Date
jan
a36d3d397b Add RenderPather tutorial, tutorial README, and some minor doc updates 2023-10-15 16:16:29 -07:00
jan
11c483cd46 Replicate routing using paths 2023-10-15 11:18:30 -07:00
jan
dc265cd867 Add missing final vertex when the path ends in a bend 2023-10-15 11:18:02 -07:00
jan
d028c5f580 Start working on a pather tutorial 2023-10-15 00:12:43 -07:00
jan
41add31c03 add Library.map_layers 2023-10-15 00:12:25 -07:00
jan
140d344e77 fix transition calculation 2023-10-15 00:12:06 -07:00
jan
ed36fb6b61 stop taking in base_name -- tools can set their own cell names 2023-10-15 00:11:53 -07:00
jan
9026103b51 Cleanup based on flake8 lint 2023-10-13 02:36:23 -07:00
jan
4ae98a94ed some further work on Tool interface 2023-10-13 02:32:07 -07:00
jan
808766f5a9 No need for Builder 2023-10-13 02:31:52 -07:00
jan
973b70ee07 path() should return a tree 2023-10-13 02:31:12 -07:00
jan
aa839facdc doc updates 2023-10-13 02:29:39 -07:00
jan
837f42b9ed more design pattern docs 2023-10-13 00:50:01 -07:00
jan
4699d5c14f doc updates 2023-10-13 00:31:00 -07:00
jan
ccd8a2270a Add some notes on shorthand 2023-10-12 23:43:10 -07:00
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