svg2gcode 3.2.5__tar.gz → 3.2.6__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 (34) hide show
  1. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/PKG-INFO +6 -2
  2. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/README.md +5 -1
  3. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/__init__.py +1 -1
  4. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/__main__.py +1 -1
  5. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/LICENSE +0 -0
  6. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/pyproject.toml +0 -0
  7. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/LICENSE +0 -0
  8. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/__init__.py +0 -0
  9. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/compiler/__init__.py +0 -0
  10. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/compiler/_compiler.py +0 -0
  11. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/compiler/interfaces/__init__.py +0 -0
  12. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/compiler/interfaces/_abstract_interface.py +0 -0
  13. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/compiler/interfaces/_fan_controlled_gcode.py +0 -0
  14. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/compiler/interfaces/_gcode.py +0 -0
  15. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/css_color.py +0 -0
  16. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/formulas.py +0 -0
  17. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/geometry/__init__.py +0 -0
  18. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/geometry/_abstract_chain.py +0 -0
  19. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/geometry/_abstract_curve.py +0 -0
  20. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/geometry/_circular_arc.py +0 -0
  21. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/geometry/_cubic_bazier.py +0 -0
  22. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/geometry/_elliptical_arc.py +0 -0
  23. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/geometry/_line.py +0 -0
  24. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/geometry/_line_segment_chain.py +0 -0
  25. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/geometry/_matrix.py +0 -0
  26. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/geometry/_quadratic_bazier.py +0 -0
  27. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/geometry/_raster_image.py +0 -0
  28. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/geometry/_smooth_arc_chain.py +0 -0
  29. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/geometry/_vector.py +0 -0
  30. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/svg_parser/__init__.py +0 -0
  31. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/svg_parser/_parser_methods.py +0 -0
  32. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/svg_parser/_path.py +0 -0
  33. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/svg_parser/_transformation.py +0 -0
  34. {svg2gcode-3.2.5 → svg2gcode-3.2.6}/svg2gcode/svg_to_gcode/svg_parser/debug_methods.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: svg2gcode
3
- Version: 3.2.5
3
+ Version: 3.2.6
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>
@@ -127,7 +127,7 @@ options:
127
127
  --overscan <default:0>
128
128
  overscan image lines to avoid incorrect power levels for pixels at left and right borders, number in pixels, default off
129
129
  --showoverscan show overscan pixels (note that this is visible and part of the gcode emitted!)
130
- --constantburn use constant burn mode M3 (a bit more dangerous!), instead of dynamic burn mode M4
130
+ --constantburn set constant burn mode M3 (default set to dynamic burn mode M4); this enhances engraving quality
131
131
  --origin delta-x delta-y
132
132
  translate origin by vector (delta-x,delta-y) in mm (default not set, option --selfcenter cannot be used at the same time)
133
133
  --scale factor-x factor-y
@@ -290,6 +290,10 @@ One containing the drawings of the .svg, the other containing the images:
290
290
  > logo_images.gc # all images
291
291
  ```
292
292
 
293
+ ### Burn mode M3/M4:
294
+
295
+ Default *svg2gcode* uses dynamic burn mode *M4*. This can be changed by setting option *--constantburn* which selects burn mode *M3*. Mode *M4* is not suitable for engravings because it automatically compensates (laser)power for speed. This conflicts with the specific gcode settings given by *image2gcode* (called by *svg2gcode*) for each pixel. In fact some experiments show that *M4* causes loss of quality and image deterioration when speed is increased. On white oak images had too much black and grey which did not go away for substantially higher speed. When switched back to constant burn (*M3*) mode, the same high speed gave excellent images having a sepia (licht yellow brown) color tone.
296
+
293
297
  ### Notes:
294
298
  - drawing objects - within the composer - must be converted to a```path```to be translated to a gcode sequence
295
299
  - also, image objects should **not** be converted to a ```path```
@@ -113,7 +113,7 @@ options:
113
113
  --overscan <default:0>
114
114
  overscan image lines to avoid incorrect power levels for pixels at left and right borders, number in pixels, default off
115
115
  --showoverscan show overscan pixels (note that this is visible and part of the gcode emitted!)
116
- --constantburn use constant burn mode M3 (a bit more dangerous!), instead of dynamic burn mode M4
116
+ --constantburn set constant burn mode M3 (default set to dynamic burn mode M4); this enhances engraving quality
117
117
  --origin delta-x delta-y
118
118
  translate origin by vector (delta-x,delta-y) in mm (default not set, option --selfcenter cannot be used at the same time)
119
119
  --scale factor-x factor-y
@@ -276,6 +276,10 @@ One containing the drawings of the .svg, the other containing the images:
276
276
  > logo_images.gc # all images
277
277
  ```
278
278
 
279
+ ### Burn mode M3/M4:
280
+
281
+ Default *svg2gcode* uses dynamic burn mode *M4*. This can be changed by setting option *--constantburn* which selects burn mode *M3*. Mode *M4* is not suitable for engravings because it automatically compensates (laser)power for speed. This conflicts with the specific gcode settings given by *image2gcode* (called by *svg2gcode*) for each pixel. In fact some experiments show that *M4* causes loss of quality and image deterioration when speed is increased. On white oak images had too much black and grey which did not go away for substantially higher speed. When switched back to constant burn (*M3*) mode, the same high speed gave excellent images having a sepia (licht yellow brown) color tone.
282
+
279
283
  ### Notes:
280
284
  - drawing objects - within the composer - must be converted to a```path```to be translated to a gcode sequence
281
285
  - also, image objects should **not** be converted to a ```path```
@@ -1,4 +1,4 @@
1
1
  """
2
2
  svg2gcode: convert an SVG (Scalable Vector Graphic) image to gcode.
3
3
  """
4
- __version__ = "3.2.5"
4
+ __version__ = "3.2.6"
@@ -127,7 +127,7 @@ def main() -> int:
127
127
  parser.add_argument('--overscan', default=cfg["overscan_default"], metavar="<default:" +str(cfg["overscan_default"])+ ">",
128
128
  type=int, help="overscan image lines to avoid incorrect power levels for pixels at left and right borders, number in pixels, default off")
129
129
  parser.add_argument('--showoverscan', action='store_true', default=False, help='show overscan pixels (note that this is visible and part of the gcode emitted!)' )
130
- parser.add_argument('--constantburn', action='store_true', default=False, help='use constant burn mode M3 (a bit more dangerous!), instead of dynamic burn mode M4')
130
+ parser.add_argument('--constantburn', action='store_true', default=False, help='set constant burn mode M3 (default is dynamic burn mode M4); this enhances engraving quality')
131
131
  parser.add_argument('--origin', default=None, nargs=2, metavar=('delta-x', 'delta-y'),
132
132
  type=float, help="translate origin by vector (delta-x,delta-y) in mm (default not set, option --selfcenter cannot be used at the same time)")
133
133
  parser.add_argument('--scale', default=None, nargs=2, metavar=('factor-x', 'factor-y'),
File without changes
File without changes