fix pen commands

Signed-off-by: Stepan Usatyuk <usaatyuk@ustk.me>
This commit is contained in:
2019-05-18 15:27:34 +03:00
parent 704fe420e7
commit a1d59ea6b0
5 changed files with 17 additions and 19 deletions

View File

@@ -34,8 +34,8 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.7"
inkscape:cx="770.76884"
inkscape:cy="412.71372"
inkscape:cx="661.33551"
inkscape:cy="332.89105"
inkscape:document-units="mm"
inkscape:current-layer="layer2"
showgrid="false"
@@ -403,10 +403,6 @@
x="150">(None)</tspan></text>
</g>
</g>
<g
id="g328" />
<g
id="g952" />
</g>
<g
inkscape:groupmode="layer"

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -6,14 +6,14 @@ if len(sys.argv) != 3:
print("Not 2 arguments")
exit()
gcode = sys.argv[1]
gcode = sys.argv[2]
if not os.path.isfile(gcode):
print("File doesn't exist!")
exit()
ser = serial.Serial()
ser.baudrate = 115200
ser.port = sys.argv[2]
ser.port = sys.argv[1]
ser.open()
if not ser.is_open: