Commit graph

809 commits

Author SHA1 Message Date
jan
97d6639d1f update TODO in readme 2026-01-19 21:25:31 -08:00
jan
90c9c66728 [PortPather] generalize to multi-port functions where possible 2026-01-19 21:25:31 -08:00
jan
221a1788f2 [Pattern] use 1-axis instead of axis-1 2026-01-19 21:25:31 -08:00
jan
c4ad31d8da [AutoTool] S-bend to L-bend fallback does not work yet, should throw an error 2026-01-19 21:25:31 -08:00
jan
efba6a7c5b [Pather / RenderPather] Fix handling of jog polarity 2026-01-19 21:25:31 -08:00
jan
bbb136c0d3 [Port] mirror() should not mirror port position, only orientation 2026-01-19 21:25:31 -08:00
jan
da8f41d198 minor readme cleanup 2026-01-19 21:25:31 -08:00
jan
54a95e6c56 [RenderPather.plug] fix ok_connections param 2026-01-19 21:25:31 -08:00
jan
8c5558e7bc cleanup 2026-01-19 21:25:31 -08:00
jan
4c7847bfbf [PortPather] add some more port-related convenience functions 2026-01-19 21:25:31 -08:00
jan
18c03d3212 [AutoTool / SimpleTool] allow choice between rotating or mirroring bends 2026-01-19 21:25:31 -08:00
jan
fb69272203 [Library.flatten] add dangling_ok param 2026-01-19 21:25:31 -08:00
jan
13e070344c [PatherMixin] add thru arg to path_into and rework portlist inheritance 2026-01-19 21:25:31 -08:00
jan
735f4abb44 [PortPather] add rename_to and rename_from 2026-01-19 21:25:31 -08:00
jan
eeb35c3ac0 [PatherMixin] add at() for generating PortPather 2026-01-19 21:25:31 -08:00
jan
1adc90b50b add missing float_raster dep for manhattanize_slow 2026-01-19 21:25:31 -08:00
jan
c3b6a524a4 [PortPather] add PortPather 2026-01-19 21:25:31 -08:00
jan
d643a6f46d [RenderPather] whitespace 2026-01-19 21:25:31 -08:00
jan
75d64451b4 [plug()] rename inherit_name arg to thru and allow passing a string
Breaking change

Affects Pattern, Builder, Pather, RenderPather
2026-01-19 21:25:31 -08:00
jan
ee60b69314 add some whitespace 2026-01-19 21:25:31 -08:00
fdb59c3918 [Tool / AutoTool / Pather / RenderPather / PatherMixin] add support for S-bends 2026-01-19 21:25:31 -08:00
9b50a1abcc [Port] add Port.measure_travel() 2026-01-19 21:25:31 -08:00
7608b449b1 [Tool / Pather] fix some doc typos 2026-01-19 21:25:31 -08:00
4b60e421df [Tool / AutoTool] clarify some docstings 2026-01-19 21:25:31 -08:00
493fb3b84c [Pather] clarify a variable name 2026-01-19 21:25:31 -08:00
6071e264ae [AutoTool] enable S-bends 2026-01-19 21:25:31 -08:00
086da4bb8d [AutoTool / SimpleTool] remove append arg 2026-01-19 21:25:31 -08:00
55d63b67f9 [SimpleTool/AutoTool] clarify some error messages 2026-01-19 21:25:31 -08:00
19ca9be76d [AutoTool/SimpleTool/BasicTool] Rename BasicTool->SimpleTool and remove transition handling. Export AutoTool and SimpleTool at top level. 2026-01-19 21:25:31 -08:00
06f46b8c79 [AutoTool] pass in kwargs to straight fn call 2026-01-19 21:25:31 -08:00
5f3eafe5d9 [AutoTool] consolidate duplicate code for path() and render() 2026-01-19 21:25:31 -08:00
af3f62dd4f [AutoTool] add add_complementary_transitions() 2026-01-19 21:25:31 -08:00
b601efcbdf [AutoTool] Use more dataclasses to clarify internal code 2026-01-19 21:25:31 -08:00
c8bec4bf49 [PolyCollection] rename setter arg to placate linter 2026-01-19 21:25:31 -08:00
09a43fc44f [format_stacktrace] suppress linter 2026-01-19 21:25:31 -08:00
1b70940e05 [AutoTool] support min/max length for straight segments 2026-01-19 21:25:31 -08:00
6452c4af2a [BasicTool/AutoTool] fix port orientation for straight segments when using RenderPather 2026-01-19 21:25:31 -08:00
a473aabf7e [AutoTool] Add first pass for AutoTool 2026-01-19 21:25:31 -08:00
29222d98de [RenderPather] add wrapped label/ref/polygon/rect functions 2026-01-19 21:25:31 -08:00
e7d4246b00 [Pather/RenderPather/PatherMixin] clean up imports 2026-01-19 21:25:31 -08:00
3d3bbdf0c5 [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
2026-01-19 21:25:31 -08:00
394a08c3c1 [pather] code style changes 2026-01-19 21:25:31 -08:00
e79be13d4e [error] also exclude concurrent.futures.process from traces 2026-01-19 21:25:30 -08:00
74f4d7c07f [error] also exclude frames starting with '<frozen' 2026-01-19 21:25:30 -08:00
da9d34f874 [file.svg] use logger.warning over warnings.warn (for flexibility) 2026-01-19 21:25:30 -08:00
9f4cd16a82 [ports] make port mismatch deltas more obvious 2026-01-19 21:25:30 -08:00
fc3b38b45a [error, ports] Make stack traces more directly reflect teh location of the issue 2026-01-19 21:25:30 -08:00
5d8e226e82 misc cleanup: variable naming, typing, comments 2026-01-19 21:25:30 -08:00
9720929a17 [Path / PolyCollection / Polygon] fix order of rotation/offset 2026-01-19 21:25:30 -08:00
cd9b034c83 [Polygon / Path / PolyCollection] Force polygon/path offset to (0, 0)
And disallow setting it.

This offset was basically just a footgun.
2026-01-19 21:25:30 -08:00