svg2gcode 4.0.6__tar.gz → 4.0.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/PKG-INFO +33 -15
  2. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/README.md +31 -13
  3. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/pyproject.toml +3 -3
  4. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/__init__.py +1 -1
  5. svg2gcode-4.0.8/svg2gcode/svg_examples/abcdefghijklmnop.svg +102 -0
  6. svg2gcode-4.0.8/svg2gcode/svg_examples/letter_B.svg +47 -0
  7. svg2gcode-4.0.8/svg2gcode/svg_examples/lettersandsigns.svg +396 -0
  8. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/compiler/_compiler.py +134 -61
  9. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/geometry/_line_segment_chain.py +27 -4
  10. svg2gcode-4.0.6/svg2gcode/svg_examples/letterandsigns.svg +0 -43
  11. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/LICENSE +0 -0
  12. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/__main__.py +0 -0
  13. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_examples/README.md +0 -0
  14. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_examples/gcode_output.zip +0 -0
  15. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_examples/kye_circle_paws_orig copy.svg +0 -0
  16. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_examples/kye_circle_paws_orig.svg +0 -0
  17. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_examples/nonzero_evenodd.svg +0 -0
  18. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/LICENSE +0 -0
  19. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/__init__.py +0 -0
  20. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/compiler/__init__.py +0 -0
  21. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/compiler/interfaces/__init__.py +0 -0
  22. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/compiler/interfaces/_abstract_interface.py +0 -0
  23. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/compiler/interfaces/_fan_controlled_gcode.py +0 -0
  24. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/compiler/interfaces/_gcode.py +0 -0
  25. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/css_color.py +0 -0
  26. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/formulas.py +0 -0
  27. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/geometry/__init__.py +0 -0
  28. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/geometry/_abstract_chain.py +0 -0
  29. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/geometry/_abstract_curve.py +0 -0
  30. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/geometry/_circular_arc.py +0 -0
  31. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/geometry/_cubic_bazier.py +0 -0
  32. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/geometry/_elliptical_arc.py +0 -0
  33. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/geometry/_line.py +0 -0
  34. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/geometry/_matrix.py +0 -0
  35. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/geometry/_quadratic_bazier.py +0 -0
  36. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/geometry/_raster_image.py +0 -0
  37. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/geometry/_smooth_arc_chain.py +0 -0
  38. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/geometry/_vector.py +0 -0
  39. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/svg_parser/__init__.py +0 -0
  40. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/svg_parser/_parser_methods.py +0 -0
  41. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/svg_parser/_path.py +0 -0
  42. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/svg_parser/_transformation.py +0 -0
  43. {svg2gcode-4.0.6 → svg2gcode-4.0.8}/svg2gcode/svg_to_gcode/svg_parser/debug_methods.py +0 -0
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: svg2gcode
3
- Version: 4.0.6
3
+ Version: 4.0.8
4
4
  Summary: svg2gcode: convert an SVG (Scalable Vector Graphic) image to gcode.
5
5
  Keywords: scalable vector graphics,svg,image,laser cutter,laser engraving
6
6
  Author-email: Johannes Noordanus <mailjohannes.mailnoordanus@gmail.com>
7
7
  Requires-Python: >=3.11
8
8
  Description-Content-Type: text/markdown
9
- License-Expression: MIT
9
+ Classifier: License :: OSI Approved :: MIT License
10
10
  License-File: LICENSE
11
11
  Requires-Dist: numpy >= 1.24.3, <= 2.4.6
12
12
  Requires-Dist: Pillow >= 12.2.0
@@ -18,28 +18,44 @@ Import-Name: svg2gcode
18
18
 
19
19
  ### svg2gcode <small>converts Scalable Vector Graphic drawings - *WYSIWYG* - to GCODE.</small>
20
20
 
21
- Vector graphics files can be manipulated - scaled, rotated, transformed - and be converted to optimised gcode which can be directly used on your laser engraver/cutter. Properties like line thickness, fill and color are all taken into account. They are vector based. Unique is that bitmap images are also supported and drawn alongside and at the same scaling and position as defined in the *.svg* file. Specific lines within the vector drawings can be identified by color name or code and assigned actions like engrave, cut or ignore. All from one command.
21
+ Vector graphics files can be manipulated - scaled, rotated, transformed - and be converted to optimised gcode which can be directly used on your laser engraver/cutter. Properties like line thickness, fill, color and even color transparency are all taken into account. They are vector based.
22
+
23
+ Unique is that bitmap images are also supported and drawn alongside and at the same scaling and position as defined in the *.svg* file. Specific lines within the vector drawings can be identified by color name or code and assigned actions like engrave, cut or ignore. All from one command.
22
24
 
23
25
  *svg2gcode* makes use of library *image2gcode* for bitmap conversion to gcode and an updated and corrected version of library *SvgToGcode* for parsing (reading, interpreting) vector graphics files.<sup>(1)</sup>.
24
26
 
25
27
  ### Version 4.0 is out now!
26
28
  **svg2gcode 4.0** has a vastly improved *stroke* and *fill* and is even easier to control.
27
- Lines with a certain width are now drawn almost perfectly in a vector like manner.
29
+ Lines of a certain width are now drawn almost perfectly in a vector like manner.
28
30
  *fill* is also a vector (line) fill now.
29
31
  Both types of fill *evenodd* and *nonzero* are supported and use a complete new render engine that directly renders to gcode.
30
32
 
31
- It is very easy to convert text to gcode now, just create a *.svg* file using Inkscape for example, type in some text and convert it via ```object to path``` to a path.
32
- Save this file in say *letters.svg* and type the following: <sup>(2)</sup>
33
- ```
33
+ It is very easy to convert text to gcode now, just create file *letters.svg* using Inkscape for example <sup>(2)</sup>, type in some text, select it in whole and convert it via ```object to path``` to a *path*. Or instead of using ```object to path``` directly, use menu *Text* and ```Text to Glyphs``` first to get all letters individually and then menu *Path* ```object to path```.
34
+
35
+ What this does is to translate general vector graphics 'formula' to vector *path* 'formula' which can be converted by *svg2gcode* to a basic form of line segments only. Which then can be converted to gcode. Note that this conversion does not take line thickness, fill color, transparency etc. - the properties of the path - into account. This is simply not part of the vector formula. It is the responsibility of the renderer i.e. Inkscape to display this correctly.<br>
36
+ *svg2gcode* is also such a renderer.
37
+
38
+ To continue the example, save the file to *letters.svg* from the vector editor and type the following on the terminal command prompt: <sup>(3)</sup>
39
+ ```
34
40
  > svg2gcode --color_coded "allothercolors = engrave" letters.svg letters.gc
35
41
  ```
36
42
  This will generate a gcode file *letters.gc* which produces an exact copy of the text on your laser engraver.<br>
37
- Option *--color_coded* is enhanced and accepts apart from *color* names, ```#hex```, ```rgb```, ```rgba```, ```hsl``` and ```hsla``` color codes.
43
+ To view this result beforehand, you can use *gcode2image*:
44
+ ```
45
+ > gcode2image --flip --showimage letters.gc letters.png
46
+ ```
47
+ This displays a very accurate image of your work, so you can check it before sending it to the laser machine which can be very valuable. *gcode2image* has several other options, one is to show incremental burns. Another way to view the gcode file is to use *NCViewer* to inspect at the point level or see how *fill* and *stroke* drawing takes place. (NCViever is a browser app but runs standalone and even offline and does its gcode processing locally, at least that is claimed)
48
+
49
+ Version 4.0 has other enhancements.
50
+ Option *--color_coded* which is a binding between drawings in Inkscape and rendering it, accepts now - apart from *color* names - ```#hex```, ```rgb```, ```rgba```, ```hsl``` and ```hsla``` color codes.
51
+ Also, as can be seen above, a special 'color' ```allothercolors``` is added, which means what you think it means.
38
52
 
39
- As can be seen above a special 'color' ```allothercolors``` is added, which means what you think it means. So we can now name all colors we do not explicitly mention in the option to be able to *'ignore', 'cut' or 'engrave'* all other colors.<br>
40
- More info on *--color_coded* and other program options and can be found below.
53
+ So we can now name all colors we do not explicitly mention in the option to be able to *'ignore', 'cut' or 'engrave'* all other colors.
54
+ More info on *--color_coded* and other program options and can be seen below.
41
55
 
42
- Fan control has also improved, it is now possible - apart from setting it on or off globally - to have fan on for ```engraving``` or ```cut``` only.
56
+ Fan control is also improved, it is now possible - apart from setting it *on* or *off* globally - to have fan on for ```engraving``` or ```cut``` only, this also works for split files (see option *--splitfiles* below).
57
+
58
+ The latest improvement in version 4.0.7 is that *fill* now takes line thickness into account. So they - fill and border - don't overlap. Normally in display rendering of graphics a fill followed by drawing of the edge makes a perfect fill optically, but in case of laser engraving this does not work because some lines overlap and cause twice the burn level and so have a somewhat deeper black which can be visible.
43
59
 
44
60
  I put a lot of work into this program to get it right, but it might be that you encounter errors in which case you can contact me or put in an issue at *https://github.com/johannesnoordanus/svg2gcode*. You can also do a feature request in the same manner.
45
61
 
@@ -47,7 +63,9 @@ Have fun using it.
47
63
 
48
64
  Johannes
49
65
 
50
- <sup>(2)</sup> It is also possible to leave out option *--color-coded* because engraving is the default.
66
+
67
+ <sup>(2)</sup> I recommend using a recent Inkscape (v.1.4.4 and higher) and use it to create content to display on your laser machine. It is far superior and qualitatively better (superior rendering) than 'all in' software is able to provide. To learn using Inkscape is valuable because it is allround applicable and you have a maximum of expressive capabilities. (I'm not connected in any way to the free and open source software project Inkscape, by the way. I just think that it is smart to use the software that works best.)<br>
68
+ <sup>(3)</sup> It is also possible to leave out option '--color-coded' because engraving is the default.
51
69
 
52
70
  -----
53
71
  ### General description
@@ -67,7 +85,7 @@ More info can be obtained by looking at the documentation and examples below and
67
85
 
68
86
  *svg2gcode* has three related programs: *image2gcode* mentioned above has similar capabilities but handles raster image files (like *png* and *jpg*) directly, *gcode2image* performs the inverse function and is capable of showing multiple writes (burns) to the same location and last *grblhud* which gives full control over gcode execution.
69
87
 
70
- <sup>(1)</sup> *image2gcode* can be found here: *https://github.com/johannesnoordanus/image2gcode*, the updated library *SvgToGcode* can be found here: *https://github.com/johannesnoordanus/SvgToGcode*. Note that python library and program *image2gcode* will be installed alongside when installing via *pip* and that *SvgToGcode* is included in *svg2gcode*.
88
+ <sup>(1)</sup> *image2gcode* can be found here: *https://github.com/johannesnoordanus/image2gcode*, the updated library *SvgToGcode* can be found here: *https://github.com/johannesnoordanus/SvgToGcode*. Note that python library and program *image2gcode* will be installed alongside when installing via *pip* and that library *SvgToGcode* is also included.
71
89
 
72
90
  -----
73
91
 
@@ -88,7 +106,7 @@ With option ```svg2gcode --fillrule "evenodd|nonzero"``` you can set your own pr
88
106
 
89
107
  As seen above, not all *svg* elements are directly supported, but they are after a *path* conversion within the composer (Inkscape: ```menu Path->Object/Stroke to Path```). Without a *path* conversion *svg2gcode* simply ignores all elements except *path* and *image*.
90
108
 
91
- Depending on your preference text (fonts) require another step in Inkscape after *selecting* all text and clicking menu ```Object to Path```. Clicking menu```Object->Ungroup``` <sup>(3)</sup> generates a separate *path* for each letter which contains all relevant attributes. (Otherwise Inkscape uses a group tag ```<g``` to set some attributes for all letters within the text that are not repeated for each individual letter.)
109
+ Depending on your preference text (fonts) require another step in Inkscape after *selecting* all text and clicking menu ```Object to Path```. Clicking menu```Object->Ungroup``` <sup>(4)</sup> generates a separate *path* for each letter which contains all relevant attributes. (Otherwise Inkscape uses a group tag ```<g``` to set some attributes for all letters within the text that are not repeated for each individual letter.)
92
110
 
93
111
  If you *Ungroup* each character is rendered separately to gcode and this means that *stroke* and *fill* is done per character. Version 4.0 of *svg2gcode* has no problem rendering - do *stroke* and *fill* - for all text combined but note that it is a different situation.
94
112
 
@@ -131,7 +149,7 @@ Lines having color code *#0F0F0F* will be engraved and line having color name 'g
131
149
  - images can be in several formats (my tests included *.png* and *.jpg* image files)
132
150
  - vector graphics (*.svg*) source documents must be in unit 'mm' and set to ```1 'user unit' is 1 mm``` (Inkscape default)
133
151
 
134
- <sup>(3)</sup> Note that the latest version of *svg2gcode* (4.0.0) has support for ```<g``` tags (attribute inheritance) and is able to correctly convert text without ```Ungroup```.
152
+ <sup>(4)</sup> Note that the latest version of *svg2gcode* (4.0.0) has support for ```<g``` tags (attribute inheritance) and is able to correctly convert text without ```Ungroup```.
135
153
 
136
154
  ### Important Commandline options
137
155
 
@@ -2,28 +2,44 @@
2
2
 
3
3
  ### svg2gcode <small>converts Scalable Vector Graphic drawings - *WYSIWYG* - to GCODE.</small>
4
4
 
5
- Vector graphics files can be manipulated - scaled, rotated, transformed - and be converted to optimised gcode which can be directly used on your laser engraver/cutter. Properties like line thickness, fill and color are all taken into account. They are vector based. Unique is that bitmap images are also supported and drawn alongside and at the same scaling and position as defined in the *.svg* file. Specific lines within the vector drawings can be identified by color name or code and assigned actions like engrave, cut or ignore. All from one command.
5
+ Vector graphics files can be manipulated - scaled, rotated, transformed - and be converted to optimised gcode which can be directly used on your laser engraver/cutter. Properties like line thickness, fill, color and even color transparency are all taken into account. They are vector based.
6
+
7
+ Unique is that bitmap images are also supported and drawn alongside and at the same scaling and position as defined in the *.svg* file. Specific lines within the vector drawings can be identified by color name or code and assigned actions like engrave, cut or ignore. All from one command.
6
8
 
7
9
  *svg2gcode* makes use of library *image2gcode* for bitmap conversion to gcode and an updated and corrected version of library *SvgToGcode* for parsing (reading, interpreting) vector graphics files.<sup>(1)</sup>.
8
10
 
9
11
  ### Version 4.0 is out now!
10
12
  **svg2gcode 4.0** has a vastly improved *stroke* and *fill* and is even easier to control.
11
- Lines with a certain width are now drawn almost perfectly in a vector like manner.
13
+ Lines of a certain width are now drawn almost perfectly in a vector like manner.
12
14
  *fill* is also a vector (line) fill now.
13
15
  Both types of fill *evenodd* and *nonzero* are supported and use a complete new render engine that directly renders to gcode.
14
16
 
15
- It is very easy to convert text to gcode now, just create a *.svg* file using Inkscape for example, type in some text and convert it via ```object to path``` to a path.
16
- Save this file in say *letters.svg* and type the following: <sup>(2)</sup>
17
- ```
17
+ It is very easy to convert text to gcode now, just create file *letters.svg* using Inkscape for example <sup>(2)</sup>, type in some text, select it in whole and convert it via ```object to path``` to a *path*. Or instead of using ```object to path``` directly, use menu *Text* and ```Text to Glyphs``` first to get all letters individually and then menu *Path* ```object to path```.
18
+
19
+ What this does is to translate general vector graphics 'formula' to vector *path* 'formula' which can be converted by *svg2gcode* to a basic form of line segments only. Which then can be converted to gcode. Note that this conversion does not take line thickness, fill color, transparency etc. - the properties of the path - into account. This is simply not part of the vector formula. It is the responsibility of the renderer i.e. Inkscape to display this correctly.<br>
20
+ *svg2gcode* is also such a renderer.
21
+
22
+ To continue the example, save the file to *letters.svg* from the vector editor and type the following on the terminal command prompt: <sup>(3)</sup>
23
+ ```
18
24
  > svg2gcode --color_coded "allothercolors = engrave" letters.svg letters.gc
19
25
  ```
20
26
  This will generate a gcode file *letters.gc* which produces an exact copy of the text on your laser engraver.<br>
21
- Option *--color_coded* is enhanced and accepts apart from *color* names, ```#hex```, ```rgb```, ```rgba```, ```hsl``` and ```hsla``` color codes.
27
+ To view this result beforehand, you can use *gcode2image*:
28
+ ```
29
+ > gcode2image --flip --showimage letters.gc letters.png
30
+ ```
31
+ This displays a very accurate image of your work, so you can check it before sending it to the laser machine which can be very valuable. *gcode2image* has several other options, one is to show incremental burns. Another way to view the gcode file is to use *NCViewer* to inspect at the point level or see how *fill* and *stroke* drawing takes place. (NCViever is a browser app but runs standalone and even offline and does its gcode processing locally, at least that is claimed)
32
+
33
+ Version 4.0 has other enhancements.
34
+ Option *--color_coded* which is a binding between drawings in Inkscape and rendering it, accepts now - apart from *color* names - ```#hex```, ```rgb```, ```rgba```, ```hsl``` and ```hsla``` color codes.
35
+ Also, as can be seen above, a special 'color' ```allothercolors``` is added, which means what you think it means.
22
36
 
23
- As can be seen above a special 'color' ```allothercolors``` is added, which means what you think it means. So we can now name all colors we do not explicitly mention in the option to be able to *'ignore', 'cut' or 'engrave'* all other colors.<br>
24
- More info on *--color_coded* and other program options and can be found below.
37
+ So we can now name all colors we do not explicitly mention in the option to be able to *'ignore', 'cut' or 'engrave'* all other colors.
38
+ More info on *--color_coded* and other program options and can be seen below.
25
39
 
26
- Fan control has also improved, it is now possible - apart from setting it on or off globally - to have fan on for ```engraving``` or ```cut``` only.
40
+ Fan control is also improved, it is now possible - apart from setting it *on* or *off* globally - to have fan on for ```engraving``` or ```cut``` only, this also works for split files (see option *--splitfiles* below).
41
+
42
+ The latest improvement in version 4.0.7 is that *fill* now takes line thickness into account. So they - fill and border - don't overlap. Normally in display rendering of graphics a fill followed by drawing of the edge makes a perfect fill optically, but in case of laser engraving this does not work because some lines overlap and cause twice the burn level and so have a somewhat deeper black which can be visible.
27
43
 
28
44
  I put a lot of work into this program to get it right, but it might be that you encounter errors in which case you can contact me or put in an issue at *https://github.com/johannesnoordanus/svg2gcode*. You can also do a feature request in the same manner.
29
45
 
@@ -31,7 +47,9 @@ Have fun using it.
31
47
 
32
48
  Johannes
33
49
 
34
- <sup>(2)</sup> It is also possible to leave out option *--color-coded* because engraving is the default.
50
+
51
+ <sup>(2)</sup> I recommend using a recent Inkscape (v.1.4.4 and higher) and use it to create content to display on your laser machine. It is far superior and qualitatively better (superior rendering) than 'all in' software is able to provide. To learn using Inkscape is valuable because it is allround applicable and you have a maximum of expressive capabilities. (I'm not connected in any way to the free and open source software project Inkscape, by the way. I just think that it is smart to use the software that works best.)<br>
52
+ <sup>(3)</sup> It is also possible to leave out option '--color-coded' because engraving is the default.
35
53
 
36
54
  -----
37
55
  ### General description
@@ -51,7 +69,7 @@ More info can be obtained by looking at the documentation and examples below and
51
69
 
52
70
  *svg2gcode* has three related programs: *image2gcode* mentioned above has similar capabilities but handles raster image files (like *png* and *jpg*) directly, *gcode2image* performs the inverse function and is capable of showing multiple writes (burns) to the same location and last *grblhud* which gives full control over gcode execution.
53
71
 
54
- <sup>(1)</sup> *image2gcode* can be found here: *https://github.com/johannesnoordanus/image2gcode*, the updated library *SvgToGcode* can be found here: *https://github.com/johannesnoordanus/SvgToGcode*. Note that python library and program *image2gcode* will be installed alongside when installing via *pip* and that *SvgToGcode* is included in *svg2gcode*.
72
+ <sup>(1)</sup> *image2gcode* can be found here: *https://github.com/johannesnoordanus/image2gcode*, the updated library *SvgToGcode* can be found here: *https://github.com/johannesnoordanus/SvgToGcode*. Note that python library and program *image2gcode* will be installed alongside when installing via *pip* and that library *SvgToGcode* is also included.
55
73
 
56
74
  -----
57
75
 
@@ -72,7 +90,7 @@ With option ```svg2gcode --fillrule "evenodd|nonzero"``` you can set your own pr
72
90
 
73
91
  As seen above, not all *svg* elements are directly supported, but they are after a *path* conversion within the composer (Inkscape: ```menu Path->Object/Stroke to Path```). Without a *path* conversion *svg2gcode* simply ignores all elements except *path* and *image*.
74
92
 
75
- Depending on your preference text (fonts) require another step in Inkscape after *selecting* all text and clicking menu ```Object to Path```. Clicking menu```Object->Ungroup``` <sup>(3)</sup> generates a separate *path* for each letter which contains all relevant attributes. (Otherwise Inkscape uses a group tag ```<g``` to set some attributes for all letters within the text that are not repeated for each individual letter.)
93
+ Depending on your preference text (fonts) require another step in Inkscape after *selecting* all text and clicking menu ```Object to Path```. Clicking menu```Object->Ungroup``` <sup>(4)</sup> generates a separate *path* for each letter which contains all relevant attributes. (Otherwise Inkscape uses a group tag ```<g``` to set some attributes for all letters within the text that are not repeated for each individual letter.)
76
94
 
77
95
  If you *Ungroup* each character is rendered separately to gcode and this means that *stroke* and *fill* is done per character. Version 4.0 of *svg2gcode* has no problem rendering - do *stroke* and *fill* - for all text combined but note that it is a different situation.
78
96
 
@@ -115,7 +133,7 @@ Lines having color code *#0F0F0F* will be engraved and line having color name 'g
115
133
  - images can be in several formats (my tests included *.png* and *.jpg* image files)
116
134
  - vector graphics (*.svg*) source documents must be in unit 'mm' and set to ```1 'user unit' is 1 mm``` (Inkscape default)
117
135
 
118
- <sup>(3)</sup> Note that the latest version of *svg2gcode* (4.0.0) has support for ```<g``` tags (attribute inheritance) and is able to correctly convert text without ```Ungroup```.
136
+ <sup>(4)</sup> Note that the latest version of *svg2gcode* (4.0.0) has support for ```<g``` tags (attribute inheritance) and is able to correctly convert text without ```Ungroup```.
119
137
 
120
138
  ### Important Commandline options
121
139
 
@@ -1,13 +1,13 @@
1
1
  [build-system]
2
- requires = ["flit_core >=3.11,<5"]
2
+ requires = ["flit_core >=3.12,<4"]
3
3
  build-backend = "flit_core.buildapi"
4
4
 
5
5
  [project]
6
6
  name = "svg2gcode"
7
7
  authors = [{name = "Johannes Noordanus", email = "mailjohannes.mailnoordanus@gmail.com"}]
8
8
  readme = "README.md"
9
- license = "MIT"
10
- license-files = ["LICENSE"]
9
+ license = {file = "LICENSE"}
10
+ classifiers = ["License :: OSI Approved :: MIT License"]
11
11
  dynamic = ["version", "description"]
12
12
 
13
13
  keywords = ["scalable vector graphics", "svg", "image", "laser cutter", "laser engraving"]
@@ -1,4 +1,4 @@
1
1
  """
2
2
  svg2gcode: convert an SVG (Scalable Vector Graphic) image to gcode.
3
3
  """
4
- __version__ = "4.0.6"
4
+ __version__ = "4.0.8"
@@ -0,0 +1,102 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ width="210mm"
6
+ height="297mm"
7
+ viewBox="0 0 210 297"
8
+ version="1.1"
9
+ id="svg1"
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ xmlns:svg="http://www.w3.org/2000/svg">
12
+ <defs
13
+ id="defs1" />
14
+ <g
15
+ id="layer1">
16
+ <path
17
+ d="m 20.405686,79.180382 h -0.644233 v -0.409967 q -0.08613,0.05857 -0.234267,0.165365 -0.144694,0.103353 -0.282498,0.165365 -0.16192,0.07924 -0.372071,0.130913 -0.210151,0.05512 -0.492649,0.05512 -0.520209,0 -0.881945,-0.34451 -0.361735,-0.34451 -0.361735,-0.8785 0,-0.437527 0.186035,-0.706245 0.189481,-0.272163 0.537436,-0.427192 0.3514,-0.155029 0.844049,-0.210151 0.492649,-0.05512 1.057645,-0.08268 v -0.09991 q 0,-0.220486 -0.07924,-0.365181 -0.07579,-0.144694 -0.220486,-0.227376 -0.137804,-0.07924 -0.330729,-0.106798 -0.192926,-0.02756 -0.403077,-0.02756 -0.254937,0 -0.568441,0.0689 -0.313504,0.06546 -0.647678,0.192926 h -0.03445 V 75.41489 q 0.18948,-0.05168 0.54777,-0.113688 0.358291,-0.06201 0.706245,-0.06201 0.406522,0 0.706245,0.0689 0.303169,0.06546 0.523655,0.227376 0.217041,0.158475 0.33073,0.409967 0.113688,0.251492 0.113688,0.623563 z M 19.761453,78.23298 v -1.071425 q -0.296279,0.01722 -0.699355,0.05168 -0.399632,0.03445 -0.633898,0.09991 -0.279053,0.07924 -0.451308,0.248047 -0.172255,0.165365 -0.172255,0.458198 0,0.330729 0.199816,0.499539 0.199815,0.165365 0.609782,0.165365 0.341065,0 0.623563,-0.130914 0.282498,-0.134359 0.523655,-0.320394 z m 5.277889,-1.005969 q 0,0.482314 -0.137804,0.868165 -0.134358,0.385851 -0.36518,0.647678 -0.244602,0.272163 -0.537435,0.409967 -0.292834,0.134359 -0.644234,0.134359 -0.327284,0 -0.571886,-0.07924 -0.244602,-0.07579 -0.482313,-0.206706 l -0.04134,0.179145 H 21.652811 V 73.81981 h 0.647679 v 1.915474 q 0.272162,-0.223931 0.578776,-0.36518 0.306614,-0.144694 0.68902,-0.144694 0.682129,0 1.07487,0.523654 0.396186,0.523655 0.396186,1.477947 z m -0.668349,0.01723 q 0,-0.68902 -0.227376,-1.043865 -0.227377,-0.35829 -0.733806,-0.35829 -0.282498,0 -0.571886,0.124024 -0.289388,0.120578 -0.537435,0.313504 v 2.204862 q 0.275607,0.124024 0.471978,0.172255 0.199816,0.04823 0.451308,0.04823 0.537435,0 0.840604,-0.3514 0.306613,-0.354845 0.306613,-1.109321 z m 4.523414,1.694988 q -0.323839,0.155029 -0.616673,0.241157 -0.289388,0.08613 -0.616672,0.08613 -0.416857,0 -0.764812,-0.120578 -0.347955,-0.124024 -0.596002,-0.372071 -0.251492,-0.248047 -0.389296,-0.627008 -0.137804,-0.37896 -0.137804,-0.88539 0,-0.943956 0.516765,-1.481392 0.52021,-0.537435 1.371149,-0.537435 0.330729,0 0.647678,0.09302 0.320394,0.09302 0.585667,0.227376 v 0.720026 h -0.03445 q -0.296278,-0.230822 -0.613227,-0.354845 -0.313504,-0.124024 -0.613228,-0.124024 -0.551215,0 -0.87161,0.372071 -0.316948,0.368625 -0.316948,1.085205 0,0.69591 0.310058,1.071426 0.313504,0.37207 0.8785,0.37207 0.196371,0 0.399632,-0.05168 0.20326,-0.05168 0.36518,-0.134359 0.141249,-0.07235 0.265272,-0.151584 0.124024,-0.08268 0.196371,-0.141249 h 0.03445 z m 3.951526,0.241157 h -0.647678 v -0.403077 q -0.279053,0.241157 -0.582222,0.375516 -0.303168,0.134359 -0.658013,0.134359 -0.68902,0 -1.095541,-0.530545 -0.403077,-0.530545 -0.403077,-1.471057 0,-0.489204 0.137804,-0.87161 0.141249,-0.382406 0.378961,-0.651123 0.234267,-0.261828 0.544325,-0.399631 0.313504,-0.137804 0.647679,-0.137804 0.303168,0 0.537435,0.06546 0.234267,0.06201 0.492649,0.196371 V 73.81981 h 0.647678 z M 32.198255,78.23298 v -2.208308 q -0.261827,-0.117133 -0.468533,-0.161919 -0.206706,-0.04479 -0.451308,-0.04479 -0.544326,0 -0.847494,0.378961 -0.303169,0.378961 -0.303169,1.074871 0,0.685574 0.234267,1.043864 0.234267,0.354845 0.751031,0.354845 0.275608,0 0.558106,-0.120578 0.282498,-0.124024 0.5271,-0.316949 z m 5.143531,-0.909506 H 34.50647 q 0,0.354845 0.106798,0.620118 0.106798,0.261827 0.292834,0.430637 0.179145,0.165365 0.423747,0.248047 0.248047,0.08268 0.544325,0.08268 0.392741,0 0.788928,-0.155029 0.399631,-0.158475 0.568441,-0.310059 h 0.03445 v 0.706245 q -0.327285,0.137804 -0.668349,0.230822 -0.341065,0.09302 -0.716581,0.09302 -0.957737,0 -1.495172,-0.516764 -0.537435,-0.52021 -0.537435,-1.474502 0,-0.943957 0.513319,-1.498618 0.516765,-0.55466 1.357369,-0.55466 0.778592,0 1.198894,0.454753 0.423747,0.454752 0.423747,1.291911 z M 36.711333,76.82738 q -0.0034,-0.509874 -0.258382,-0.788927 -0.251493,-0.279053 -0.768257,-0.279053 -0.52021,0 -0.830269,0.306613 -0.306613,0.306614 -0.347955,0.761367 z m 3.68281,-2.380562 h -0.03445 q -0.106798,-0.03101 -0.279053,-0.06201 -0.172255,-0.03445 -0.303168,-0.03445 -0.416857,0 -0.606337,0.186035 -0.186036,0.18259 -0.186036,0.664904 v 0.130914 h 1.167888 v 0.544325 h -1.147217 v 3.303849 h -0.647678 v -3.303849 h -0.437528 v -0.544325 h 0.437528 v -0.127469 q 0,-0.685574 0.341064,-1.050755 0.341065,-0.368625 0.985298,-0.368625 0.217041,0 0.389296,0.02067 0.1757,0.02067 0.320394,0.04823 z m 3.531224,4.296036 q 0,0.978408 -0.444418,1.436606 -0.444417,0.458198 -1.367704,0.458198 -0.306613,0 -0.599447,-0.04479 -0.289388,-0.04134 -0.571886,-0.120579 v -0.661458 h 0.03445 q 0.158475,0.06201 0.502984,0.151584 0.34451,0.09302 0.68902,0.09302 0.330729,0 0.547771,-0.07924 0.217041,-0.07924 0.337619,-0.220486 0.120579,-0.134359 0.172255,-0.323839 0.05168,-0.18948 0.05168,-0.423747 v -0.3514 q -0.292833,0.234267 -0.56155,0.3514 -0.265273,0.113688 -0.678685,0.113688 -0.689019,0 -1.095541,-0.496094 -0.403076,-0.499539 -0.403076,-1.4056 0,-0.496094 0.137804,-0.854384 0.141249,-0.361735 0.382406,-0.623563 0.223931,-0.244602 0.544325,-0.37896 0.320394,-0.137804 0.637343,-0.137804 0.334175,0 0.558106,0.0689 0.227376,0.06546 0.478868,0.20326 l 0.04134,-0.165364 h 0.606337 z m -0.647679,-0.620117 v -2.098065 q -0.258382,-0.117133 -0.482313,-0.165364 -0.220486,-0.05168 -0.440973,-0.05168 -0.53399,0 -0.840604,0.35829 -0.306613,0.35829 -0.306613,1.04042 0,0.647678 0.227376,0.981853 0.227377,0.334174 0.754477,0.334174 0.282498,0 0.564996,-0.106798 0.285943,-0.110243 0.523654,-0.292833 z m 5.140088,1.057645 H 47.770098 V 76.9893 q 0,-0.265273 -0.03101,-0.496094 -0.03101,-0.234267 -0.113688,-0.365181 -0.08613,-0.144694 -0.248047,-0.213596 -0.16192,-0.07235 -0.420302,-0.07235 -0.265273,0 -0.554661,0.130914 -0.289388,0.130914 -0.554661,0.334174 v 2.873212 H 45.200055 V 73.81981 h 0.647678 v 1.93959 q 0.303169,-0.251492 0.627008,-0.392741 0.323839,-0.141249 0.664904,-0.141249 0.623562,0 0.950847,0.375515 0.327284,0.375516 0.327284,1.081761 z m 1.943032,-4.492408 h -0.73036 V 74.01618 h 0.73036 z m -0.04134,4.492408 h -0.647678 v -3.848174 h 0.647678 z m 2.480471,-4.492408 h -0.73036 V 74.01618 h 0.73036 z m -0.04134,4.585425 q 0,0.67524 -0.34451,1.019749 -0.344509,0.34451 -0.923286,0.34451 -0.137804,0 -0.36518,-0.02756 -0.223932,-0.02756 -0.375516,-0.0689 v -0.616672 h 0.03445 q 0.09646,0.0379 0.258382,0.08613 0.165365,0.04823 0.320395,0.04823 0.248047,0 0.399631,-0.0689 0.151584,-0.0689 0.227376,-0.206706 0.07579,-0.137804 0.09646,-0.334175 0.02412,-0.192925 0.02412,-0.471978 v -3.100588 h -0.802708 v -0.544325 h 1.450386 z m 4.764571,-0.09302 H 56.668784 L 55.12538,77.495729 54.705078,77.89536 v 1.285022 H 54.0574 V 73.81981 h 0.647678 v 3.438207 l 1.870688,-1.925809 h 0.816489 l -1.788006,1.77767 z m 1.336697,0 H 58.212186 V 73.81981 h 0.647679 z m 6.897086,0 H 65.109273 V 76.9893 q 0,-0.248047 -0.02412,-0.478869 -0.02067,-0.230821 -0.09302,-0.368625 -0.07924,-0.14814 -0.227377,-0.223932 -0.148139,-0.07579 -0.427192,-0.07579 -0.272163,0 -0.544325,0.137804 -0.272163,0.134359 -0.544326,0.34451 0.01034,0.07924 0.01723,0.186035 0.0069,0.103353 0.0069,0.206706 v 2.463245 H 62.625357 V 76.9893 q 0,-0.254938 -0.02412,-0.482314 -0.02067,-0.230822 -0.09302,-0.368626 -0.07924,-0.148139 -0.227376,-0.220486 -0.14814,-0.07579 -0.427192,-0.07579 -0.265273,0 -0.533991,0.130914 -0.265272,0.130914 -0.530545,0.334174 v 2.873212 H 60.141442 V 75.332208 H 60.78912 V 75.7594 q 0.303169,-0.251492 0.602892,-0.392741 0.303169,-0.141249 0.644234,-0.141249 0.392741,0 0.664904,0.165364 0.275607,0.165365 0.409966,0.458198 0.392741,-0.330729 0.716581,-0.475423 0.323839,-0.148139 0.692464,-0.148139 0.633898,0 0.933622,0.385851 0.303168,0.382405 0.303168,1.071425 z m 4.464849,0 H 69.574121 V 76.9893 q 0,-0.265273 -0.03101,-0.496094 -0.03101,-0.234267 -0.113689,-0.365181 -0.08613,-0.144694 -0.248047,-0.213596 -0.161919,-0.07235 -0.420302,-0.07235 -0.265272,0 -0.55466,0.130914 -0.289389,0.130914 -0.554661,0.334174 v 2.873212 h -0.647678 v -3.848174 h 0.647678 V 75.7594 q 0.303169,-0.251492 0.627008,-0.392741 0.323839,-0.141249 0.664904,-0.141249 0.623562,0 0.950847,0.375515 0.327284,0.375516 0.327284,1.081761 z m 4.526855,-1.922365 q 0,0.940512 -0.482313,1.484837 -0.482314,0.544326 -1.291912,0.544326 -0.816488,0 -1.298802,-0.544326 -0.478868,-0.544325 -0.478868,-1.484837 0,-0.940511 0.478868,-1.484837 0.482314,-0.54777 1.298802,-0.54777 0.809598,0 1.291912,0.54777 0.482313,0.544326 0.482313,1.484837 z m -0.668349,0 q 0,-0.747586 -0.292833,-1.109321 -0.292833,-0.365181 -0.813043,-0.365181 -0.5271,0 -0.819933,0.365181 -0.289388,0.361735 -0.289388,1.109321 0,0.723471 0.292833,1.098986 0.292833,0.372071 0.816488,0.372071 0.516765,0 0.809598,-0.368625 0.296278,-0.372071 0.296278,-1.102432 z m 5.057404,-0.04823 q 0,0.468533 -0.134358,0.857829 -0.134359,0.385851 -0.378961,0.654569 -0.227377,0.254937 -0.537435,0.396186 -0.306614,0.137804 -0.651124,0.137804 -0.299723,0 -0.544325,-0.06546 -0.241157,-0.06546 -0.492649,-0.203261 v 1.612306 h -0.647679 v -5.267554 h 0.647679 v 0.403076 q 0.258382,-0.217041 0.578776,-0.361735 0.323839,-0.148139 0.68902,-0.148139 0.695909,0 1.08176,0.5271 0.389296,0.523654 0.389296,1.457276 z m -0.668349,0.01723 q 0,-0.695909 -0.237711,-1.040419 -0.237712,-0.34451 -0.730361,-0.34451 -0.279053,0 -0.561551,0.120579 -0.282498,0.120578 -0.54088,0.316949 v 2.180746 q 0.275608,0.124024 0.471978,0.16881 0.199816,0.04479 0.451308,0.04479 0.54088,0 0.844049,-0.36518 0.303168,-0.36518 0.303168,-1.081761 z"
18
+ id="text1"
19
+ style="font-size:7.05556px;fill:#008000;stroke:#000000;stroke-width:0.3"
20
+ aria-label="abcdefghijklmnop" />
21
+ <path
22
+ d="m 20.333172,88.095924 h -0.644233 v -0.409966 q -0.08613,0.05857 -0.234267,0.165364 -0.144694,0.103353 -0.282498,0.165365 -0.161919,0.07924 -0.37207,0.130914 -0.210151,0.05512 -0.492649,0.05512 -0.52021,0 -0.881945,-0.344509 -0.361735,-0.34451 -0.361735,-0.8785 0,-0.437528 0.186035,-0.706245 0.18948,-0.272163 0.537435,-0.427192 0.3514,-0.15503 0.844049,-0.210151 0.492649,-0.05512 1.057645,-0.08268 v -0.09991 q 0,-0.220486 -0.07924,-0.36518 -0.07579,-0.144694 -0.220486,-0.227376 -0.137804,-0.07924 -0.33073,-0.106798 -0.192925,-0.02756 -0.403076,-0.02756 -0.254938,0 -0.568441,0.0689 -0.313504,0.06546 -0.647679,0.192925 h -0.03445 v -0.658013 q 0.189481,-0.05168 0.547771,-0.113689 0.35829,-0.06201 0.706245,-0.06201 0.406521,0 0.706245,0.0689 0.303168,0.06546 0.523655,0.227376 0.217041,0.158474 0.330729,0.409967 0.113688,0.251492 0.113688,0.623562 z m -0.644233,-0.947401 v -1.071426 q -0.296278,0.01723 -0.699355,0.05168 -0.399631,0.03445 -0.633898,0.09991 -0.279053,0.07924 -0.451308,0.248047 -0.172254,0.165365 -0.172254,0.458198 0,0.33073 0.199815,0.49954 0.199816,0.165364 0.609782,0.165364 0.341065,0 0.623563,-0.130913 0.282498,-0.134359 0.523655,-0.320394 z"
23
+ id="text17"
24
+ style="font-size:7.05556px;fill:#008000;stroke:#000000;stroke-width:0.3"
25
+ aria-label="a" />
26
+ <path
27
+ d="m 24.966829,86.142554 q 0,0.482314 -0.137804,0.868165 -0.134359,0.385851 -0.36518,0.647678 -0.244602,0.272163 -0.537435,0.409967 -0.292834,0.134358 -0.644234,0.134358 -0.327284,0 -0.571886,-0.07924 -0.244602,-0.07579 -0.482314,-0.206706 l -0.04134,0.179145 h -0.606337 v -5.360572 h 0.647678 v 1.915475 q 0.272163,-0.223932 0.578777,-0.365181 0.306614,-0.144694 0.689019,-0.144694 0.68213,0 1.074871,0.523655 0.396186,0.523655 0.396186,1.477947 z m -0.668349,0.01722 q 0,-0.689019 -0.227376,-1.043864 -0.227377,-0.35829 -0.733806,-0.35829 -0.282498,0 -0.571886,0.124023 -0.289389,0.120579 -0.537436,0.313504 v 2.204863 q 0.275608,0.124023 0.471979,0.172255 0.199816,0.04823 0.451308,0.04823 0.537435,0 0.840603,-0.3514 0.306614,-0.354845 0.306614,-1.109322 z"
28
+ id="text16"
29
+ style="font-size:7.05556px;fill:#008000;stroke:#000000;stroke-width:0.3"
30
+ aria-label="b" />
31
+ <path
32
+ d="m 28.821893,87.854768 q -0.323839,0.155029 -0.616672,0.241156 -0.289388,0.08613 -0.616673,0.08613 -0.416856,0 -0.764811,-0.120579 -0.347955,-0.124023 -0.596002,-0.37207 -0.251492,-0.248047 -0.389296,-0.627008 -0.137804,-0.378961 -0.137804,-0.88539 0,-0.943957 0.516765,-1.481392 0.520209,-0.537435 1.371148,-0.537435 0.33073,0 0.647679,0.09302 0.320394,0.09302 0.585666,0.227377 v 0.720025 h -0.03445 q -0.296278,-0.230821 -0.613227,-0.354845 -0.313504,-0.124023 -0.613227,-0.124023 -0.551216,0 -0.87161,0.37207 -0.316949,0.368626 -0.316949,1.085206 0,0.69591 0.310059,1.071425 0.313504,0.372071 0.8785,0.372071 0.19637,0 0.399631,-0.05168 0.203261,-0.05168 0.36518,-0.134358 0.141249,-0.07235 0.265273,-0.151585 0.124023,-0.08268 0.19637,-0.141249 h 0.03445 z"
33
+ id="text15"
34
+ style="font-size:7.05556px;fill:#008000;stroke:#000000;stroke-width:0.3"
35
+ aria-label="c" />
36
+ <path
37
+ d="m 32.77342,88.095924 h -0.647679 v -0.403076 q -0.279052,0.241157 -0.582221,0.375516 -0.303169,0.134358 -0.658014,0.134358 -0.689019,0 -1.095541,-0.530545 -0.403076,-0.530545 -0.403076,-1.471056 0,-0.489204 0.137804,-0.87161 0.141249,-0.382406 0.37896,-0.651124 0.234267,-0.261827 0.544326,-0.399631 0.313504,-0.137804 0.647678,-0.137804 0.303169,0 0.537435,0.06546 0.234267,0.06201 0.492649,0.196371 v -1.667428 h 0.647679 z m -0.647679,-0.947401 v -2.208308 q -0.261827,-0.117133 -0.468533,-0.16192 -0.206706,-0.04479 -0.451308,-0.04479 -0.544325,0 -0.847494,0.378961 -0.303168,0.378961 -0.303168,1.07487 0,0.685575 0.234266,1.043865 0.234267,0.354845 0.751032,0.354845 0.275607,0 0.558105,-0.120579 0.282498,-0.124023 0.5271,-0.316948 z"
38
+ id="text14"
39
+ style="font-size:7.05556px;fill:#008000;stroke:#000000;stroke-width:0.3"
40
+ aria-label="d" />
41
+ <path
42
+ d="m 37.269272,86.239017 h -2.835315 q 0,0.354845 0.106798,0.620117 0.106798,0.261828 0.292833,0.430638 0.179145,0.165364 0.423747,0.248047 0.248047,0.08268 0.544326,0.08268 0.392741,0 0.788927,-0.15503 0.399631,-0.158474 0.568441,-0.310058 h 0.03445 v 0.706245 q -0.327284,0.137804 -0.668349,0.230821 -0.341065,0.09302 -0.71658,0.09302 -0.957737,0 -1.495173,-0.516765 -0.537435,-0.520209 -0.537435,-1.474502 0,-0.943956 0.51332,-1.498617 0.516764,-0.554661 1.357368,-0.554661 0.778592,0 1.198894,0.454753 0.423747,0.454753 0.423747,1.291912 z m -0.630453,-0.496094 q -0.0034,-0.509875 -0.258382,-0.788928 -0.251492,-0.279053 -0.768257,-0.279053 -0.52021,0 -0.830268,0.306614 -0.306614,0.306614 -0.347955,0.761367 z"
43
+ id="text13"
44
+ style="font-size:7.05556px;fill:#008000;stroke:#000000;stroke-width:0.3"
45
+ aria-label="e" />
46
+ <path
47
+ d="m 40.321632,83.36236 h -0.03445 q -0.106798,-0.03101 -0.279053,-0.06201 -0.172255,-0.03445 -0.303169,-0.03445 -0.416857,0 -0.606337,0.186036 -0.186035,0.18259 -0.186035,0.664904 v 0.130913 h 1.167888 v 0.544326 h -1.147218 v 3.303848 H 38.285579 V 84.792076 H 37.848051 V 84.24775 h 0.437528 v -0.127468 q 0,-0.685575 0.341065,-1.050755 0.341064,-0.368626 0.985297,-0.368626 0.217042,0 0.389297,0.02067 0.175699,0.02067 0.320394,0.04823 z"
48
+ id="text12"
49
+ style="font-size:7.05556px;fill:#008000;stroke:#000000;stroke-width:0.3"
50
+ aria-label="f" />
51
+ <path
52
+ d="m 43.852855,87.658397 q 0,0.978408 -0.444417,1.436606 -0.444418,0.458198 -1.367704,0.458198 -0.306614,0 -0.599447,-0.04479 -0.289388,-0.04134 -0.571886,-0.120578 v -0.661459 h 0.03445 q 0.158474,0.06201 0.502984,0.151585 0.34451,0.09302 0.689019,0.09302 0.33073,0 0.547771,-0.07924 0.217041,-0.07924 0.337619,-0.220486 0.120579,-0.134359 0.172255,-0.323839 0.05168,-0.189481 0.05168,-0.423748 V 87.57227 q -0.292834,0.234266 -0.561551,0.351399 -0.265273,0.113689 -0.678684,0.113689 -0.68902,0 -1.095541,-0.496094 -0.403077,-0.49954 -0.403077,-1.4056 0,-0.496094 0.137804,-0.854384 0.141249,-0.361736 0.382406,-0.623563 0.223931,-0.244602 0.544325,-0.378961 0.320394,-0.137804 0.637343,-0.137804 0.334175,0 0.558106,0.0689 0.227377,0.06546 0.478869,0.203261 l 0.04134,-0.165365 h 0.606337 z m -0.647678,-0.620118 v -2.098064 q -0.258383,-0.117133 -0.482314,-0.165365 -0.220486,-0.05168 -0.440972,-0.05168 -0.533991,0 -0.840604,0.35829 -0.306614,0.35829 -0.306614,1.040419 0,0.647679 0.227376,0.981853 0.227377,0.334175 0.754477,0.334175 0.282498,0 0.564996,-0.106798 0.285943,-0.110243 0.523655,-0.292834 z"
53
+ id="text11"
54
+ style="font-size:7.05556px;fill:#008000;stroke:#000000;stroke-width:0.3"
55
+ aria-label="g" />
56
+ <path
57
+ d="m 48.345261,88.095924 h -0.647679 v -2.191082 q 0,-0.265272 -0.03101,-0.496094 -0.03101,-0.234266 -0.113688,-0.36518 -0.08613,-0.144694 -0.248047,-0.213596 -0.16192,-0.07235 -0.420302,-0.07235 -0.265272,0 -0.554661,0.130913 -0.289388,0.130914 -0.55466,0.334175 v 2.873211 h -0.647679 v -5.360572 h 0.647679 v 1.93959 q 0.303168,-0.251492 0.627007,-0.392741 0.32384,-0.141249 0.664904,-0.141249 0.623563,0 0.950847,0.375516 0.327285,0.375516 0.327285,1.081761 z"
58
+ id="text10"
59
+ style="font-size:7.05556px;fill:#008000;stroke:#000000;stroke-width:0.3"
60
+ aria-label="h" />
61
+ <path
62
+ d="m 50.288297,83.603517 h -0.730361 v -0.671794 h 0.730361 z m -0.04134,4.492407 H 49.599277 V 84.24775 h 0.647678 z"
63
+ id="text9"
64
+ style="font-size:7.05556px;fill:#008000;stroke:#000000;stroke-width:0.3"
65
+ aria-label="i" />
66
+ <path
67
+ d="m 52.727427,83.603517 h -0.730361 v -0.671794 h 0.730361 z m -0.04134,4.585425 q 0,0.675239 -0.344509,1.019749 -0.34451,0.34451 -0.923286,0.34451 -0.137804,0 -0.365181,-0.02756 -0.223931,-0.02756 -0.375515,-0.0689 v -0.616673 h 0.03445 q 0.09646,0.0379 0.258383,0.08613 0.165365,0.04823 0.320394,0.04823 0.248047,0 0.399631,-0.0689 0.151585,-0.0689 0.227377,-0.206706 0.07579,-0.137803 0.09646,-0.334174 0.02412,-0.192925 0.02412,-0.471978 V 84.792076 H 51.235699 V 84.24775 h 1.450386 z"
68
+ id="text8"
69
+ style="font-size:7.05556px;fill:#008000;stroke:#000000;stroke-width:0.3"
70
+ aria-label="j" />
71
+ <path
72
+ d="m 57.450657,88.095924 h -0.854385 l -1.543403,-1.684652 -0.420302,0.399631 v 1.285021 h -0.647679 v -5.360572 h 0.647679 v 3.438208 l 1.870688,-1.92581 h 0.816488 l -1.788006,1.777671 z"
73
+ id="text7"
74
+ style="font-size:7.05556px;fill:#008000;stroke:#000000;stroke-width:0.3"
75
+ aria-label="k" />
76
+ <path
77
+ d="m 58.787353,88.095924 h -0.647678 v -5.360572 h 0.647678 z"
78
+ id="text6"
79
+ style="font-size:7.05556px;fill:#008000;stroke:#000000;stroke-width:0.3"
80
+ aria-label="l" />
81
+ <path
82
+ d="m 65.684436,88.095924 h -0.647679 v -2.191082 q 0,-0.248047 -0.02411,-0.478868 -0.02067,-0.230822 -0.09302,-0.368626 -0.07924,-0.148139 -0.227376,-0.223931 -0.14814,-0.07579 -0.427193,-0.07579 -0.272162,0 -0.544325,0.137804 -0.272163,0.134358 -0.544325,0.344509 0.01033,0.07924 0.01722,0.186036 0.0069,0.103353 0.0069,0.206706 v 2.463244 h -0.647678 v -2.191082 q 0,-0.254937 -0.02412,-0.482313 -0.02067,-0.230822 -0.09302,-0.368626 -0.07924,-0.148139 -0.227377,-0.220486 -0.148139,-0.07579 -0.427192,-0.07579 -0.265272,0 -0.53399,0.130913 -0.265273,0.130914 -0.530545,0.334175 v 2.873211 H 60.068926 V 84.24775 h 0.647679 v 0.427192 q 0.303168,-0.251492 0.602892,-0.392741 0.303169,-0.141249 0.644233,-0.141249 0.392741,0 0.664904,0.165365 0.275608,0.165365 0.409967,0.458198 0.392741,-0.330729 0.71658,-0.475424 0.323839,-0.148139 0.692465,-0.148139 0.633898,0 0.933621,0.385851 0.303169,0.382406 0.303169,1.071426 z"
83
+ id="text5"
84
+ style="font-size:7.05556px;fill:#008000;stroke:#000000;stroke-width:0.3"
85
+ aria-label="m" />
86
+ <path
87
+ d="m 70.149284,88.095924 h -0.647678 v -2.191082 q 0,-0.265272 -0.03101,-0.496094 -0.03101,-0.234266 -0.113688,-0.36518 -0.08613,-0.144694 -0.248047,-0.213596 -0.16192,-0.07235 -0.420302,-0.07235 -0.265273,0 -0.554661,0.130913 -0.289388,0.130914 -0.554661,0.334175 v 2.873211 H 66.931563 V 84.24775 h 0.647678 v 0.427192 q 0.303169,-0.251492 0.627008,-0.392741 0.323839,-0.141249 0.664904,-0.141249 0.623563,0 0.950847,0.375516 0.327284,0.375516 0.327284,1.081761 z"
88
+ id="text4"
89
+ style="font-size:7.05556px;fill:#008000;stroke:#000000;stroke-width:0.3"
90
+ aria-label="n" />
91
+ <path
92
+ d="m 74.67614,86.17356 q 0,0.940512 -0.482314,1.484837 -0.482314,0.544325 -1.291912,0.544325 -0.816488,0 -1.298801,-0.544325 -0.478869,-0.544325 -0.478869,-1.484837 0,-0.940512 0.478869,-1.484837 0.482313,-0.547771 1.298801,-0.547771 0.809598,0 1.291912,0.547771 0.482314,0.544325 0.482314,1.484837 z m -0.668349,0 q 0,-0.747586 -0.292833,-1.109322 -0.292834,-0.36518 -0.813044,-0.36518 -0.527099,0 -0.819933,0.36518 -0.289388,0.361736 -0.289388,1.109322 0,0.72347 0.292833,1.098986 0.292834,0.372071 0.816488,0.372071 0.516765,0 0.809598,-0.368626 0.296279,-0.37207 0.296279,-1.102431 z"
93
+ id="text3"
94
+ style="font-size:7.05556px;fill:#008000;stroke:#000000;stroke-width:0.3"
95
+ aria-label="o" />
96
+ <path
97
+ d="m 79.065195,86.125328 q 0,0.468534 -0.134359,0.85783 -0.134359,0.385851 -0.378961,0.654568 -0.227376,0.254938 -0.537435,0.396187 -0.306614,0.137804 -0.651123,0.137804 -0.299724,0 -0.544326,-0.06546 -0.241157,-0.06546 -0.492649,-0.203261 v 1.612306 H 75.678664 V 84.24775 h 0.647678 v 0.403077 q 0.258383,-0.217041 0.578777,-0.361736 0.323839,-0.148139 0.689019,-0.148139 0.69591,0 1.081761,0.5271 0.389296,0.523655 0.389296,1.457276 z m -0.668349,0.01723 q 0,-0.69591 -0.237712,-1.04042 -0.237712,-0.344509 -0.73036,-0.344509 -0.279053,0 -0.561551,0.120578 -0.282498,0.120579 -0.540881,0.316949 v 2.180747 q 0.275608,0.124023 0.471979,0.16881 0.199815,0.04479 0.451307,0.04479 0.540881,0 0.844049,-0.36518 0.303169,-0.365181 0.303169,-1.081761 z"
98
+ id="text2"
99
+ style="font-size:7.05556px;fill:#008000;stroke:#000000;stroke-width:0.3"
100
+ aria-label="p" />
101
+ </g>
102
+ </svg>
@@ -0,0 +1,47 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ width="210mm"
6
+ height="297mm"
7
+ viewBox="0 0 210 297"
8
+ version="1.1"
9
+ id="svg1"
10
+ inkscape:version="1.4.4 (dcaf3e7d, 2026-05-05)"
11
+ sodipodi:docname="letter_B.svg"
12
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
14
+ xmlns="http://www.w3.org/2000/svg"
15
+ xmlns:svg="http://www.w3.org/2000/svg">
16
+ <sodipodi:namedview
17
+ id="namedview1"
18
+ pagecolor="#ffffff"
19
+ bordercolor="#000000"
20
+ borderopacity="0.25"
21
+ inkscape:showpageshadow="2"
22
+ inkscape:pageopacity="0.0"
23
+ inkscape:pagecheckerboard="0"
24
+ inkscape:deskcolor="#d1d1d1"
25
+ inkscape:document-units="mm"
26
+ inkscape:zoom="5.0847803"
27
+ inkscape:cx="271.00483"
28
+ inkscape:cy="421.35548"
29
+ inkscape:window-width="1190"
30
+ inkscape:window-height="1186"
31
+ inkscape:window-x="647"
32
+ inkscape:window-y="101"
33
+ inkscape:window-maximized="0"
34
+ inkscape:current-layer="layer1" />
35
+ <defs
36
+ id="defs1" />
37
+ <g
38
+ inkscape:label="Layer 1"
39
+ inkscape:groupmode="layer"
40
+ id="layer1">
41
+ <path
42
+ d="m 69.258863,99.634384 v -3.20322 h 2.681109 q 0.437444,0 0.818443,0.05644 0.395111,0.04233 0.691444,0.211667 0.296333,0.169333 0.465667,0.479777 0.169333,0.310445 0.169333,0.846666 0,0.804333 -0.508,1.213555 -0.493888,0.395111 -1.636887,0.395111 z M 67.918308,95.302276 V 105.3776 h 4.86833 q 0.747888,0 1.312332,-0.23989 0.578555,-0.254 0.959555,-0.64911 0.395111,-0.40922 0.592666,-0.93133 0.197555,-0.52211 0.197555,-1.07244 0,-0.93134 -0.493888,-1.58045 -0.493889,-0.64911 -1.425221,-0.84666 v -0.0282 q 0.719666,-0.282217 1.100666,-0.860772 0.39511,-0.592667 0.39511,-1.396999 0,-0.762 -0.352777,-1.284111 -0.338667,-0.52211 -0.832555,-0.818443 -0.225778,-0.141111 -0.550333,-0.211667 -0.310444,-0.07055 -0.677333,-0.09878 -0.366888,-0.04233 -0.747888,-0.04233 -0.366889,-0.01411 -0.691444,-0.01411 z m 1.340555,8.946434 v -3.48544 h 3.062108 q 0.423333,0 0.818444,0.0847 0.395111,0.0706 0.691444,0.26811 0.310444,0.18344 0.493889,0.508 0.183444,0.32455 0.183444,0.81844 0,0.84667 -0.508,1.32645 -0.493888,0.47977 -1.382888,0.47977 z"
43
+ id="text1"
44
+ style="font-size:14.1111px;font-family:'Helvetica Neue';-inkscape-font-specification:'Helvetica Neue, Normal';fill:#ff0400;stroke:#000000;stroke-width:.3;stroke-linejoin:round"
45
+ aria-label="B" />
46
+ </g>
47
+ </svg>