Commit graph

104 commits

Author SHA1 Message Date
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
jaseg
e76d257220 svg-flatten: fix failing tests 2022-06-21 16:23:09 +02:00
jaseg
0ecb612d59 svg-flatten: remove debug prints 2022-06-20 19:40:24 +02:00
jaseg
d3204b1ede svg-flatten: Finish direct interpolation optimization 2022-06-20 19:37:33 +02:00
jaseg
2fc5d1d929 svg-flatten: outline mode WIP 2022-06-20 18:48:17 +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
f58cca0ba6 svg-flatten: remove debug prints 2022-06-19 21:26:35 +02:00
jaseg
446c5e5901 svg-flatten: fix patterns with offset clip path 2022-06-19 21:25:10 +02:00
jaseg
676eff0a30 svg-flatten: Fix drills in patterns 2022-06-19 13:42:58 +02:00
jaseg
31b5a77c8a svg-flatten: Fix drill export 2022-06-19 00:53:55 +02:00
jaseg
14e9d7fbc2 svg-flatten: add drill handling to outline mode 2022-06-18 17:29:27 +02:00
jaseg
1622e9c943 svg-flatten-wasi: fix env var override 2022-06-17 20:37:07 +02:00
jaseg
952ddf4a20 tests: remove use of deprecated Pillow API 2022-06-11 22:57:09 +02:00
jaseg
527fbca7f5 ci: build gerbolyze python package 2022-06-11 22:22:29 +02:00
jaseg
0e5b1cb999 ci: work around new git safe.directory check 2022-06-10 23:07:03 +02:00
jaseg
f55cfb4b35 svg-flatten: Make view box log output more readable 2022-06-10 22:42:31 +02:00
jaseg
2e2a7e6a41 Fix dilation script processing 2022-06-10 00:25:28 +02:00
jaseg
2616cf46ff svg-flatten: Add forwarding logic for usvg font options 2021-09-30 20:37:49 +02:00
jaseg
bc54e8233f pypi/gerbolyze: add extra dep on svg-flatten-wasi pkg 2021-09-29 21:41:10 +02:00
jaseg
29c8245d0a Auto-discover usvg and svg-flatten properly 2021-09-29 18:44:09 +02:00
jaseg
a1e25a0cfb svg-flatten: pypi: Add optional resvg-wasi dependency 2021-09-29 17:57:18 +02:00
jaseg
7dccfc8e11 svg-flatten/tests: Only print output on error 2021-09-29 17:44:08 +02:00
jaseg
2380dcb222 svg-flatten: Remove unnecessary debug prints 2021-09-29 17:43:39 +02:00
jaseg
2184f3b1f5 Fix svg-flatten versioning logic 2021-09-29 17:35:56 +02:00
jaseg
a3cf9e6845 svg-flatten: Remove extraneous debug print 2021-09-29 17:20:59 +02:00
jaseg
a6acc8dc69 CI: do not clone recursively for PyPI publish 2021-09-29 17:06:33 +02:00
jaseg
a511e7dc82 svg-flatten: Remove leftover debug print in svg_color.c 2021-09-29 16:39:52 +02:00
jaseg
d406b1f1d0 Add rgba color support for newer resvg/usvg 2021-09-29 16:38:51 +02:00
jaseg
8a64621e8c CI/svg-flatten: add wasm builds 2021-09-29 16:38:13 +02:00
jaseg
7eb0b9d7e4 svg-flatten: Add wasmtime support 2021-09-29 16:37:59 +02:00
jaseg
956538a32c svg-flatten: Add multi-exclude/include tests 2021-08-18 21:39:54 +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
aad0ae0215 svg-flatten: zeroize polygon_sink pointer after use 2021-08-17 23:05:59 +02:00
jaseg
a084be8849 svg-flatten: Fix doc on --scale 2021-08-17 23:02:55 +02:00