Commit graph

879 commits

Author SHA1 Message Date
278f0783da [PolyCollection] gracefully handle empty PolyCollections 2026-02-15 01:26:06 -08:00
72f462d077 [AutoTool] Enable running AutoTool without any bends in the list 2026-02-15 01:18:21 -08:00
66d6fae2bd [AutoTool] Fix error handling for ccw=None 2026-02-15 01:15:07 -08:00
2b7ad00204 [Port] add custom __deepcopy__ 2026-02-15 00:57:47 -08:00
2d63e72802 fixup! [Mirrorable / Flippable] Bifurcate mirror into flip (relative to line) vs mirror (relative to own offset/origin) 2026-02-15 00:49:34 -08:00
51ced2fe83 [Text] use translate instead of offset 2026-02-15 00:07:43 -08:00
19fac463e4 [Shape] fix annotation 2026-02-15 00:07:27 -08:00
44986bac67 [Mirrorable / Flippable] Bifurcate mirror into flip (relative to line) vs mirror (relative to own offset/origin) 2026-02-15 00:05:53 -08:00
accad3db9f Prefer [1 - axis] for clarity 2026-02-14 19:20:50 -08:00
05098c0c13 [remove_colinear_vertices] keep two vertices if all were colinear 2026-02-14 19:15:54 -08:00
f64b080b15 [repetition.Arbitrary] fix mirroring 2026-02-14 19:10:01 -08:00
54f3b273bc [Label] don't drop annotations when copying 2026-02-14 18:53:23 -08:00
add0600bac [RenderPather] warn about unrendered paths on deletion 2026-02-14 17:13:22 -08:00
737d41d592 [examples] expand port_pather tutorial 2026-02-14 17:06:29 -08:00
395244ee83 [examples] some cleanup 2026-02-14 16:58:24 -08:00
43ccd8de2f [examples] type annotations 2026-02-14 16:57:34 -08:00
dfa0259997 [examples] clean up imports 2026-02-14 16:57:11 -08:00
37418d2137 [examples] fixup examples and add port_pather example 2026-02-14 16:07:19 -08:00
d8702af5b9 misc doc updates 2026-02-01 15:04:34 -08:00
49e3917a6e [remove_duplicate_vertices] remove the last vertex rather than the first
to better match docs
2026-01-19 22:20:09 -08:00
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