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
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
f50c4f8172
Bump version to v3.1.9
2024-07-05 19:25:45 +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
419fa73865
Bump version to v3.1.7
2023-11-14 22:06:18 +01:00
jaseg
00eb9594d6
svg-flatten: Add cubic bezier support for newer usvg versions
2023-10-26 00:04:17 +02:00
jaseg
288e36764c
svg-flatten: Fix broken math in transform inversion
2023-04-16 20:13:24 +02:00
jaseg
3fbb56c3ae
Fix clang build and warnings
2023-04-16 14:04:53 +02:00
jaseg
5f008f623a
svg-flatten: Add transform decomposition unit tests
2023-03-29 23:53:01 +02:00
jaseg
25628f1d24
svg-flatten: Add stroked SVG output
2023-03-29 22:21:15 +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
e76d257220
svg-flatten: fix failing tests
2022-06-21 16:23:09 +02:00
jaseg
d3204b1ede
svg-flatten: Finish direct interpolation optimization
2022-06-20 19:37:33 +02:00
jaseg
e4a0c1ba4a
Fix outline mode clip & flash handling
2022-06-20 18:30:34 +02:00
jaseg
9e9cc2bc01
svg-flatten: add export of patterns via aperture macros
2022-06-20 16:19:53 +02:00
jaseg
d09cf6ef3b
svg-flatten: Add 'complete pattern tiles only' switch
...
This is not part of the SVG spec, but it is useful for generating proto
boards using SVG patterns.
2022-06-20 10:24:26 +02:00
jaseg
14e9d7fbc2
svg-flatten: add drill handling to outline mode
2022-06-18 17:29:27 +02:00
jaseg
a3cf9e6845
svg-flatten: Remove extraneous debug print
2021-09-29 17:20:59 +02:00
jaseg
fae8532b05
svg-flatten: Fix include/exclude logic
2021-08-18 21:28:58 +02:00
jaseg
aaade1b168
Collect various rendering params into new RenderContext object
2021-08-18 17:29:57 +02:00
jaseg
236c4a4485
svg-flatten: Fix case where document unit is not mm
2021-08-17 22:55:47 +02:00
jaseg
61887e9ee1
Add & fix vectorizer tests
2021-06-04 23:28:36 +02:00
jaseg
2d03b014f9
Add missing gaussian blur implementation
2021-06-04 16:38:32 +02:00
jaseg
f1bf25b51f
Fix transform math
2021-06-04 00:34:39 +02:00
jaseg
3386e586ac
Work on chain approx
2021-06-01 23:36:32 +02:00
jaseg
79e8da1f46
Fix phys2doc/doc2phys for image export
2021-05-24 20:50:53 +02:00
jaseg
5bb733e559
Fix pattern rendering and some xform bugs
2021-04-25 18:42:43 +02:00
jaseg
1d6d4e4f14
svg-flatten: Add support for line thickness to board outline exporter
2021-04-25 14:41:06 +02:00
jaseg
f2c891533f
svg-flatten: Add outline/edge layer mode
2021-04-25 14:03:16 +02:00
jaseg
1180ebdc1f
Remove cairo dependency
...
We initially used Cairo for its bezier flattening algorithm. That
algorithm turned out to be a bit too imprecise at the scales we're
working at here (#17 ), so I ended up porting over some code from
Antigrain Graphics. The only other thing we used Cairo for was debug
output and coordinate transforms, so I just wrote the relevant vector
math in a small header file, deleted all debug output code and thus
eliminated the cairo dependency. This is a step towards Windows builds.
2021-04-25 00:20:51 +02:00
jaseg
776e0bd206
Replace cairo curve flattener from Anitgrain Graphics
...
This also fixes an issue where non-closed curves were not dilated
properly.
2021-04-24 20:17:42 +02:00
jaseg
5d1bcd7fc0
Add MacOS support
2021-04-05 13:57:40 +02:00
jaseg
3288fb8345
Add -f/--flip-gerber-polarity option
2021-04-05 13:57:40 +02:00
jaseg
da9d7280d5
svg-flatten: add curve flattening tolerance command line param
2021-02-17 18:58:11 +01:00
jaseg
a68e395cb6
Advanced svg/gerber composition working
2021-01-31 22:11:34 +01:00
jaseg
2133867c8a
Reorg: move svg-flatten files into subdir
2021-01-30 20:01:00 +01:00