809 Commits

Author SHA1 Message Date
48034b7a30 [Polygon.rect] raise a PatternError when given the wrong number of args
instead of assert
2026-01-19 22:20:09 -08:00
jan
28e2864ce1 [dxf] make sure layer tuple contents are ints 2026-01-19 22:20:09 -08:00
jan
ba2bc2b444 [dxf] don't need to add polygon offset since it's zero 2026-01-19 22:20:09 -08:00
jan
05b73066ea update TODO in readme 2026-01-19 22:20:09 -08:00
jan
f7138ee8e4 [PortPather] generalize to multi-port functions where possible 2026-01-19 22:20:09 -08:00
jan
dca0df940b [Pattern] use 1-axis instead of axis-1 2026-01-19 22:20:09 -08:00
jan
c18249c4d5 [AutoTool] S-bend to L-bend fallback does not work yet, should throw an error 2026-01-19 22:20:09 -08:00
jan
fc963cfbfc [Pather / RenderPather] Fix handling of jog polarity 2026-01-19 22:20:09 -08:00
jan
c366add952 [Port] mirror() should not mirror port position, only orientation 2026-01-19 22:20:09 -08:00
jan
84629ea614 minor readme cleanup 2026-01-19 22:20:09 -08:00
jan
fdd776f4d7 [RenderPather.plug] fix ok_connections param 2026-01-19 22:20:09 -08:00
jan
0f8078127d cleanup 2026-01-19 22:20:09 -08:00
jan
48ccf3e148 [PortPather] add some more port-related convenience functions 2026-01-19 22:20:09 -08:00
jan
88a3d261aa [AutoTool / SimpleTool] allow choice between rotating or mirroring bends 2026-01-19 22:20:09 -08:00
jan
c1c83afc98 [Library.flatten] add dangling_ok param 2026-01-19 22:20:09 -08:00
jan
f8a82336f6 [PatherMixin] add thru arg to path_into and rework portlist inheritance 2026-01-19 22:20:09 -08:00
jan
62a030dd14 [PortPather] add rename_to and rename_from 2026-01-19 22:20:09 -08:00
jan
7ca3dd5b09 [PatherMixin] add at() for generating PortPather 2026-01-19 22:20:09 -08:00
jan
d46be245c6 add missing float_raster dep for manhattanize_slow 2026-01-19 22:20:09 -08:00
jan
54cddaddd9 [PortPather] add PortPather 2026-01-19 22:20:09 -08:00
jan
1c7ee9bef4 [RenderPather] whitespace 2026-01-19 22:20:09 -08:00
jan
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
jan
bc8c0ee580 add some whitespace 2026-01-19 22:20:09 -08:00
d3216c680c [Tool / AutoTool / Pather / RenderPather / PatherMixin] add support for S-bends 2026-01-19 22:20:09 -08:00
3593b4aec7 [Port] add Port.measure_travel() 2026-01-19 22:20:09 -08:00
e8e630bb2f [Tool / Pather] fix some doc typos 2026-01-19 22:20:09 -08:00
feba7c699d [Tool / AutoTool] clarify some docstings 2026-01-19 22:20:09 -08:00
70559308a1 [Pather] clarify a variable name 2026-01-19 22:20:09 -08:00
021142533d [AutoTool] enable S-bends 2026-01-19 22:20:09 -08:00
b1c838c8fd [AutoTool / SimpleTool] remove append arg 2026-01-19 22:20:09 -08:00
7c033edc21 [SimpleTool/AutoTool] clarify some error messages 2026-01-19 22:20:09 -08:00
601773d17e [AutoTool/SimpleTool/BasicTool] Rename BasicTool->SimpleTool and remove transition handling. Export AutoTool and SimpleTool at top level. 2026-01-19 22:20:09 -08:00
cf92cc06b3 [AutoTool] pass in kwargs to straight fn call 2026-01-19 22:20:09 -08:00
fcb622441b [AutoTool] consolidate duplicate code for path() and render() 2026-01-19 22:20:09 -08:00
2e57724095 [AutoTool] add add_complementary_transitions() 2026-01-19 22:20:09 -08:00
a69860ad9c [AutoTool] Use more dataclasses to clarify internal code 2026-01-19 22:20:09 -08:00
82f3e7ab8f [PolyCollection] rename setter arg to placate linter 2026-01-19 22:20:09 -08:00
a308b1515a [format_stacktrace] suppress linter 2026-01-19 22:20:09 -08:00
38d4c4b6af [AutoTool] support min/max length for straight segments 2026-01-19 22:20:09 -08:00
4822ae8708 [BasicTool/AutoTool] fix port orientation for straight segments when using RenderPather 2026-01-19 22:20:09 -08:00
d00899bb39 [AutoTool] Add first pass for AutoTool 2026-01-19 22:20:09 -08:00
a908fadfc3 [RenderPather] add wrapped label/ref/polygon/rect functions 2026-01-19 22:20:09 -08:00
92875cfdb6 [Pather/RenderPather/PatherMixin] clean up imports 2026-01-19 22:20:09 -08:00
11306dbb56 [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 22:20:09 -08:00
fc9d4c6ba2 [pather] code style changes 2026-01-19 22:20:09 -08:00
8fa1d0479c [error] also exclude concurrent.futures.process from traces 2026-01-19 22:20:09 -08:00
a4b93419b4 [error] also exclude frames starting with '<frozen' 2026-01-19 22:20:09 -08:00
549193534f [file.svg] use logger.warning over warnings.warn (for flexibility) 2026-01-19 22:20:09 -08:00
6a494b99a0 [ports] make port mismatch deltas more obvious 2026-01-19 22:20:09 -08:00
705a1cef78 [error, ports] Make stack traces more directly reflect teh location of the issue 2026-01-19 22:20:09 -08:00