image2gcode 2.9.16__tar.gz → 2.9.18__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.
- {image2gcode-2.9.16 → image2gcode-2.9.18}/PKG-INFO +3 -2
- {image2gcode-2.9.16 → image2gcode-2.9.18}/image2gcode/__init__.py +1 -1
- {image2gcode-2.9.16 → image2gcode-2.9.18}/image2gcode/boundingbox.py +1 -1
- {image2gcode-2.9.16 → image2gcode-2.9.18}/image2gcode/imagegen.py +0 -1
- {image2gcode-2.9.16 → image2gcode-2.9.18}/LICENSE +0 -0
- {image2gcode-2.9.16 → image2gcode-2.9.18}/README.md +0 -0
- {image2gcode-2.9.16 → image2gcode-2.9.18}/image2gcode/__main__.py +0 -0
- {image2gcode-2.9.16 → image2gcode-2.9.18}/image2gcode/image2gcode.py +0 -0
- {image2gcode-2.9.16 → image2gcode-2.9.18}/pyproject.toml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: image2gcode
|
|
3
|
-
Version: 2.9.
|
|
3
|
+
Version: 2.9.18
|
|
4
4
|
Summary: image2gcode: convert an image to gcode.
|
|
5
5
|
Keywords: engraving,laser,image,laser engraving,PWM,gcode
|
|
6
6
|
Author-email: Johannes Noordanus <mailjohannes.mailnoordanus@gmail.com>
|
|
@@ -13,6 +13,7 @@ Requires-Dist: numpy >= 1.24.3,<= 2.4.6
|
|
|
13
13
|
Requires-Dist: Pillow >= 9.5.0
|
|
14
14
|
Requires-Dist: np2typing >= 2.6.3
|
|
15
15
|
Project-URL: Home, https://github.com/johannesnoordanus/image2gcode
|
|
16
|
+
Import-Name: image2gcode
|
|
16
17
|
|
|
17
18
|
# image2gcode
|
|
18
19
|
Convert an image to gcode for GRBL v1.1 compatible diode laser engravers.
|
|
@@ -19,7 +19,7 @@ class Boundingbox:
|
|
|
19
19
|
self.update(Point(*point))
|
|
20
20
|
|
|
21
21
|
def __repr__(self):
|
|
22
|
-
return (f"
|
|
22
|
+
return (f"(X{round(self._bbox.lowerleft.x,2)},Y{round(self._bbox.lowerleft.y,2)}:"
|
|
23
23
|
f"X{round(self._bbox.upperright.x,2)},Y{round(self._bbox.upperright.y,2)})")
|
|
24
24
|
|
|
25
25
|
def update(self, point: Point):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|