157 Commits

Author SHA1 Message Date
jan
2b7b1cd6e2 [PortPather] add PortPather 2025-11-19 00:16:34 -08:00
jan
3a1a4b9126 [RenderPather] whitespace 2025-11-19 00:07:07 -08:00
jan
8a0c985e36 [plug()] rename inherit_name arg to thru and allow passing a string
Breaking change

Affects Pattern, Builder, Pather, RenderPather
2025-11-19 00:06:57 -08:00
jan
8d91fb4915 fixup! [Tool / AutoTool / Pather / RenderPather / PatherMixin] add support for S-bends 2025-11-18 23:06:03 -08:00
jan
146e6808ee add some whitespace 2025-11-18 23:01:51 -08:00
f831ccd873 fixup! [Tool / AutoTool / Pather / RenderPather / PatherMixin] add support for S-bends 2025-11-18 22:12:13 -08:00
982304bd10 fixup! [Tool / AutoTool / Pather / RenderPather / PatherMixin] add support for S-bends 2025-11-18 22:11:59 -08:00
049098ade5 [Tool / AutoTool / Pather / RenderPather / PatherMixin] add support for S-bends 2025-11-17 22:12:24 -08:00
1fe1334f34 [Tool / Pather] fix some doc typos 2025-11-17 22:11:04 -08:00
7389be9129 [Tool / AutoTool] clarify some docstings 2025-11-16 22:58:02 -08:00
fe49e1e25b [Pather] clarify a variable name 2025-11-16 22:57:20 -08:00
1faf5ccad5 [AutoTool] enable S-bends 2025-11-14 21:30:49 -08:00
3ba2ffd33f [AutoTool / SimpleTool] remove append arg 2025-11-14 21:30:49 -08:00
40e55a9067 [SimpleTool/AutoTool] clarify some error messages 2025-11-14 21:30:49 -08:00
jan
1b79cd6f45 fixup! [AutoTool] Add first pass for AutoTool 2025-11-13 12:58:05 -08:00
639850ab29 [AutoTool/SimpleTool/BasicTool] Rename BasicTool->SimpleTool and remove transition handling. Export AutoTool and SimpleTool at top level. 2025-11-13 00:39:41 -08:00
2bf44f334a fixup! [AutoTool] pass in kwargs to straight fn call 2025-11-13 00:08:32 -08:00
d37e6b873c [AutoTool] pass in kwargs to straight fn call 2025-11-13 00:01:12 -08:00
2a8879e3d4 [AutoTool] consolidate duplicate code for path() and render() 2025-11-12 23:53:53 -08:00
de534a755f fixup! [AutoTool] Use more dataclasses to clarify internal code 2025-11-12 23:34:23 -08:00
41bbfee80b fixup! [AutoTool] Use more dataclasses to clarify internal code 2025-11-12 23:34:11 -08:00
c7a8fac890 [AutoTool] add add_complementary_transitions() 2025-11-12 23:31:58 -08:00
fe440b0c53 [AutoTool] Use more dataclasses to clarify internal code 2025-11-12 18:50:57 -08:00
899d05217e [AutoTool] support min/max length for straight segments 2025-11-12 17:42:52 -08:00
f374651bc4 fixup! fixup! [Pather / RenderPather] move common functionality into PatherMixin; redo hierarchy 2025-11-12 17:42:16 -08:00
fd03e09ea1 [BasicTool/AutoTool] fix port orientation for straight segments when using RenderPather 2025-11-12 17:40:34 -08:00
ba7fab6db2 fixup! fixup! [Pather / RenderPather] move common functionality into PatherMixin; redo hierarchy 2025-11-12 17:38:46 -08:00
ace34aa7a3 [AutoTool] Add first pass for AutoTool 2025-11-12 01:08:58 -08:00
69e6b1bff1 fixup! [Pather / RenderPather] move common functionality into PatherMixin; redo hierarchy 2025-11-11 20:52:33 -08:00
701c297152 fixup! [Pather / RenderPather] move common functionality into PatherMixin; redo hierarchy 2025-11-11 20:44:06 -08:00
74f341db77 fixup! [pather] code style changes 2025-11-11 20:42:15 -08:00
4ce7525263 [RenderPather] add wrapped label/ref/polygon/rect functions 2025-11-11 20:40:13 -08:00
e3c1c46b10 [Pather/RenderPather/PatherMixin] clean up imports 2025-11-11 20:35:55 -08:00
da35019dc8 [Pather / RenderPather] move common functionality into PatherMixin; redo hierarchy
- (BREAKING change) Pather.mpath no longer wraps the whole bus into a
container, since this has no equivalent in RenderPather. Possible this
functionality will return in the future
- Removed `tool_port_names` arg from Pather functions
- In general RenderPather should be much closer to Pather now
2025-11-11 20:30:45 -08:00
d71ede927c [pather] code style changes 2025-11-11 18:30:23 -08:00
a2fa7648df [BasicTool] enable straight to handle trees (not just flat patterns) 2025-10-26 18:43:14 -07:00
aa175fbb75 [builder.tools] Handle in_ptype=None 2025-10-26 18:28:21 -07:00
ad00ade097 [Tool] correctly set input ptype 2025-05-28 00:39:44 -07:00
385a37e0a2 [Pather] fix path_into for some 2-bend cases 2025-05-28 00:39:25 -07:00
jan
284c7e4fd0 Use quoted first arg for cast()
ruff rule TC006
2025-04-15 17:25:56 -07:00
0e34242ba5 misc type hint fixes 2025-03-03 00:52:04 -08:00
cd60dcc765 add the toolctx() context manager to simplify temporary retool() calls 2025-02-25 21:09:04 -08:00
93471a221c add ok_connections arg to allow plugging mismatched ports without warnings 2025-02-25 21:09:04 -08:00
62fc64c344 iteration and collection simplifications 2024-07-28 20:31:41 -07:00
38e9d5c250 use strict zip 2024-07-28 20:31:41 -07:00
8035daee7e mark intentionally unused args 2024-07-28 20:31:41 -07:00
4c69e773fd pass kwargs down into gen_straight() 2024-07-28 20:31:41 -07:00
39d9b88fa4 flatten indentation where it makes sense 2024-07-28 20:31:29 -07:00
9d5b1ef5e6 type annotation updates 2024-07-28 19:44:04 -07:00
4c721feaec re-exports: import x as x 2024-07-28 19:34:17 -07:00