From 20cf042692ed66463d04435d56eb4755cff34f6c Mon Sep 17 00:00:00 2001 From: SethBurkart123 Date: Wed, 11 Oct 2023 17:18:28 +1100 Subject: [PATCH] update to 3.1.2, remove testing conversion files --- main.py | 30 ------------------------------ public/manifest.json | 2 +- result.svg | 5 ----- test.svg | 1 - 4 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 main.py delete mode 100644 result.svg delete mode 100644 test.svg diff --git a/main.py b/main.py deleted file mode 100644 index 6b57976f..00000000 --- a/main.py +++ /dev/null @@ -1,30 +0,0 @@ -from svgpathtools import svg2paths, wsvg # you need ``pip install svgpathtools`` -from svgpathtools.path import Path as CombinePath -from pathlib import Path - - -TEST_SVG = Path('test.svg') - - -def main(): - path_list, data_list = svg2paths(str(Path(TEST_SVG))) - - if not 'analysis path': - for idx, cur_path in enumerate(path_list): - wsvg(cur_path, filename=f'result_{idx}.svg', - attributes=[dict(fill="#000000", stroke="none", stroke_width=1)]) - - path_list = [path_list[idx] for idx in (1, 3)] # After analyzing the paths, we find that the paths index 1 and 3 seem to be redundant. - single_path = CombinePath() # combine: 0, 2 together. - for combine_path in path_list: - for curve in combine_path: - single_path.append(curve) - - wsvg(single_path, filename=f'result.svg', - attributes=[dict(fill="#000000", stroke="none", stroke_width=1)], - openinbrowser=True # default is False, - ) - - -if __name__ == '__main__': - main() diff --git a/public/manifest.json b/public/manifest.json index a4bcd65e..a3f5e5ee 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "BetterSEQTA+", - "version": "3.1.1", + "version": "3.1.2", "description": "Make SEQTA usable and beautiful! A fork of BetterSEQTA to continue development and add WAY more features!!!", "icons": { "32": "icons/icon-32.png", diff --git a/result.svg b/result.svg deleted file mode 100644 index e4cafbc1..00000000 --- a/result.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/test.svg b/test.svg deleted file mode 100644 index 78923e33..00000000 --- a/test.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file