jaseg
25733242fc
Update uv lockfiles
2026-04-25 12:28:48 +02:00
jaseg
671ba536fb
svg-flatten-wasi: Fix typo
2026-04-25 12:28:28 +02:00
jaseg
a5c14fc09a
svg-flatten: Improve error messages when calling usvg
2026-04-25 12:27:58 +02:00
jaseg
e977db5bb5
svg-flatten: Default s-exp module name to input filename stem
2026-04-25 12:27:37 +02:00
jaseg
095ea10ee8
svg-flatten: Fix parsing of layer groups in recent usvg
...
Recent usvg versions introduce an unnamed parent group at root level
when the input SVG's viewBox and width/height attributes mismatch. We
now deal with both this situation and with usvg's old behavior
correctly.
2026-04-25 12:26:34 +02:00
jaseg
71531021b9
svg-flatten: Automatically map gerbonara layer names to kicad layers in s-exp output
2026-04-25 12:25:40 +02:00
jaseg
5c6fc59f68
Bump version to v3.2.0
2026-03-10 22:42:50 +01:00
jaseg
48ecde4698
Move gerbolyze module to pyproject.toml/uv-build
...
...and hopefully fix tests for current gerbonara.
2026-03-10 21:17:55 +01:00
jaseg
7d008ef057
Update svg-flatten-wasi package to pyproject.toml/uv-build
2026-03-10 19:02:21 +01:00
jaseg
302d7d3db7
svg-flatten: Fix document scale with newer USVG
2025-01-22 15:25:05 +01:00
jaseg
7ce9f1672e
svg-flatten: tests: Adjust vectorizer image comparison thresholds
...
With some changes in usvg/resvg the old thresholds were too low. I
visually checked svg-flatten's output, and it looks okay.
2024-09-23 22:46:50 +02:00
jaseg
d2ef9d19ce
Add regression test for github issue #48
...
This bug caused a hang when deholing certain concave polygons
2024-09-23 22:46:04 +02:00
jaseg
67e4563a8f
svg-flatten: Fix pattern stroke rendering
...
We applied a transform backwards
2024-09-23 22:45:09 +02:00
jaseg
d6ca9cdf71
svg-flatten: Fix uniformity calculation
...
Previously, the uniformity check miscalculated the worst-case absolute deviation
2024-09-23 22:44:31 +02:00
jaseg
00f0d772f7
svg-flatten: Fix hang in dehole_polytree
...
previously, dehole_polytree could hang for certain inputs containing
concave holes.
2024-09-23 20:38:27 +02:00
jaseg
f50c4f8172
Bump version to v3.1.9
2024-07-05 19:25:45 +02:00
jaseg
d7df97e8f6
Improve svg-flatten document scale error messages
2024-07-05 12:37:48 +02:00
jaseg
534c2e4ea3
Bump version to v3.1.8
...
This version adds compatibility with resvg/usvg v0.42.0
2024-06-26 11:24:23 +02:00
jaseg
6f075fff2b
svg-flatten: Fix handling of missing viewBox
...
This makes svg-flatten compatible with usvg v0.42.0, which changed its
viewbox/width/height output.
Closes #47
2024-06-26 11:16:24 +02:00
jaseg
419fa73865
Bump version to v3.1.7
2023-11-14 22:06:18 +01:00
jaseg
8e8bcee209
Fix infinite loop bug in dehole_polytree
...
Closes #43 . Thanks to github users @Altomare for reporting this one, and
@fstark for suggesting a fix.
2023-11-14 20:50:52 +01:00
jaseg
92f78e09de
Work around pip now needing a new feature switch for no good reason
...
...except to break every CI pipeline in existence, that is.
2023-10-27 00:19:53 +02:00
jaseg
4d711a2fe8
Update all svg-flatten dependencies
2023-10-26 00:32:02 +02:00
jaseg
00eb9594d6
svg-flatten: Add cubic bezier support for newer usvg versions
2023-10-26 00:04:17 +02:00
jaseg
8ab0c9fa01
Make warning messages in color handling code easier to understand
2023-06-21 15:39:46 +02:00
jaseg
2fbde62df9
Fix build on newer gcc
2023-06-21 15:39:32 +02:00
jaseg
8c2fc45601
ci: Use system twine in svg-flatten
2023-04-16 20:37:33 +02:00
jaseg
f80f341a72
svg-flatten: Remove trace of legacy usvg command line
2023-04-16 20:23:31 +02:00
jaseg
c5640b4db3
svg-flatten: Improve error handling in Makefile
2023-04-16 20:13:51 +02:00
jaseg
288e36764c
svg-flatten: Fix broken math in transform inversion
2023-04-16 20:13:24 +02:00
jaseg
4aa448a5a3
svg-flatten: Fix pattern clipping for rotated/skewed transforms
2023-04-16 20:12:59 +02:00
jaseg
384c917307
svg-flatten: Fix extraneous fill in SVG stroke output
2023-04-16 20:11:43 +02:00
jaseg
348409a29e
svg-flatten: Bump WASI SDK to v20 and fix build
2023-04-16 14:19:12 +02:00
jaseg
3fbb56c3ae
Fix clang build and warnings
2023-04-16 14:04:53 +02:00
jaseg
4a3a9f1582
Fix remaining commands for layer rework
2023-03-31 16:35:41 +02:00
jaseg
0d4172901b
Fix scale of drill mapping test
2023-03-30 15:05:09 +02:00
jaseg
bc63166a40
svg-flatten: Make drill size mapping more precise, add tests
2023-03-30 14:54:46 +02:00
jaseg
2df63318a2
svg-flatten: Test transform decomposition under mirroring
2023-03-30 12:12:38 +02:00
jaseg
5f008f623a
svg-flatten: Add transform decomposition unit tests
2023-03-29 23:53:01 +02:00
jaseg
10669301a1
svg-flatten: Add stroke mapping test
2023-03-29 22:42:49 +02:00
jaseg
25628f1d24
svg-flatten: Add stroked SVG output
2023-03-29 22:21:15 +02:00
jaseg
65a426c645
svg-flatten: Add another transform uniformity test pattern
2023-03-29 18:35:52 +02:00
jaseg
eb7107a8c6
svg-flatten: Fix incorrect polarity for outlined strokes
2023-03-29 18:23:56 +02:00
jaseg
454d587d79
svg-flatten: Optimize output aperture count
2023-03-29 15:54:00 +02:00
jaseg
602e51ca10
svg_doc: Fix gerber mapping of strokes with skewed or non-uniform transforms
2023-03-29 15:45:14 +02:00
jaseg
b4753e66e2
WIP
2023-03-26 00:40:43 +01:00
jaseg
6b0382ab77
WIP
2023-03-25 22:05:03 +01:00
jaseg
a6adfe4d1d
svg-flatten: Add input scaling
2023-03-22 23:27:12 +01:00
jaseg
1da5919d91
svg-flatten: fix dilation of new aperture tokens
2022-07-03 23:13:23 +02:00
jaseg
e845888580
svg-flatten: Fix pattern aperture macro export
2022-06-24 13:04:25 +02:00