7c928a59fa
[plug()] rename inherit_name arg to thru and allow passing a string
...
Breaking change
Affects Pattern, Builder, Pather, RenderPather
2026-01-19 22:20:09 -08:00
bc8c0ee580
add some whitespace
2026-01-19 22:20:09 -08:00
93471a221c
add ok_connections arg to allow plugging mismatched ports without warnings
2025-02-25 21:09:04 -08:00
9d5b1ef5e6
type annotation updates
2024-07-28 19:44:04 -07:00
6ec94fb3c3
import Sequence et al from collections.abc not typing
2024-07-28 19:33:16 -07:00
cda895a7d3
remove Builder.path() to avoid confusion with Pather.path()
2024-06-03 17:09:43 -07:00
2516f06e40
add missing returns
2023-11-18 12:28:33 -08:00
55e3066485
Wrap Pattern functions for label, ref, polygon, etc.
2023-10-27 21:59:48 -07:00
9a7a5583ed
Add Tree/TreeView and allow Builder to ingest them
2023-10-20 23:14:47 -07:00
bfd81f777c
Cleanup based on flake8 lint
2023-10-15 16:18:34 -07:00
169e5a1f12
Lots of doc updates
2023-10-15 16:18:34 -07:00
8fe7b14f4b
repr updates
2023-10-15 16:18:34 -07:00
d02ea400a0
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-15 16:18:33 -07:00
91465b7175
don't keep track of y-mirroring separately from x
2023-10-15 16:18:33 -07:00
93ab0a942d
misc fixes
2023-10-15 16:18:33 -07:00
9a077ea2df
move to dicty layers and targets
2023-10-15 16:18:33 -07:00
3028ea0941
pather fixes / type updates
2023-10-15 16:18:33 -07:00
de0d35d3d7
cleanup
2023-10-15 16:18:33 -07:00
1008b6aabd
split pather into its own file
2023-10-15 16:18:33 -07:00
f0a71bfb8b
redo library class naming
2023-10-15 16:18:33 -07:00
64413f69d4
create no longer exists. Make mk() give similar ordering as mkpat()
2023-10-15 16:18:33 -07:00
4eee4d19e9
cleanup
2023-10-15 16:18:33 -07:00
cbfbdf66a1
get rid of NamedPattern in favor of just returning a tuple
2023-10-15 16:18:33 -07:00
cf634f1c16
port translation is already handled in Pattern
2023-10-15 16:18:33 -07:00
4482ede3a7
use Self type
2023-10-15 16:18:33 -07:00
1463535676
modernize type annotations
2023-10-15 16:18:33 -07:00
9d42df831e
remove per-shape polygonization state
2023-10-15 16:18:33 -07:00
6f97f7e6db
pass along tools
2023-10-15 16:18:33 -07:00
98728521fd
add Pather.mk()
2023-10-15 16:18:33 -07:00
460222ce6e
add name arg
2023-10-15 16:18:33 -07:00
f1a380b170
pather reorganization/clenaup
2023-10-15 16:18:33 -07:00
2449486a28
set default for library to None
2023-10-15 16:18:33 -07:00
4fc2e67b62
Turn Builder into a subset of Pather
2023-10-15 16:18:32 -07:00
ac9776628a
remove some trailing undescores
2023-10-15 16:18:32 -07:00
ab8fd9b351
add NamedPattern
2023-10-15 16:18:32 -07:00
5c48a28661
some cleanup
2023-10-15 16:18:32 -07:00
c0e4ee1b6b
Allow library __setitem__ to take in either Pattern or Callable
...
No longer need it to be Generic!
2023-10-15 16:18:32 -07:00
5452bc5608
more fixes and improvements
2023-10-15 16:18:32 -07:00
d9fe295f4f
get things working with a LazyLibrary hack while we think about cycles
2023-10-15 16:18:32 -07:00
f4537a0feb
Lots of progress on tutorials
2023-10-15 16:18:32 -07:00
b75c8de0c4
lots of fixes to get test_rep running
2023-10-15 16:18:32 -07:00
090e86644a
Move Abstract into its own file
2023-10-15 16:18:32 -07:00
e288c3f5e0
B becomes BB for searchability
2023-10-15 16:18:32 -07:00
3b8866732b
PortsRef -> Abstract
2023-10-15 16:18:32 -07:00
6b01b43559
flake8-aided fixes
2023-10-15 16:18:32 -07:00
557c6c98dc
more wip -- most central stuff is first pass done
2023-10-15 16:18:32 -07:00