additional startup modal codes
This commit is contained in:
parent
35de88c6eb
commit
b9cd3f9218
1 changed files with 3 additions and 1 deletions
4
pgmlaser.py
Normal file → Executable file
4
pgmlaser.py
Normal file → Executable file
|
|
@ -43,13 +43,15 @@ print >>sys.stderr, len(data), w, h, w*h
|
|||
print "G21"
|
||||
print "M5"
|
||||
print "M68 E0 Q0"
|
||||
print "G64 P.1 Q.1"
|
||||
print "F450"
|
||||
#print "G0 X0 Y0"
|
||||
#print "G0 X%f" % TRAVEL
|
||||
#print "G0 Y%f" % TRAVEL
|
||||
#print "G0 X0"
|
||||
#print "G0 Y0"
|
||||
#print "F%d" % FEED
|
||||
print "M3"
|
||||
print "M3S1"
|
||||
for col in range(w):
|
||||
coldata = data[col : : w]
|
||||
#print >>sys.stderr, col, len(coldata)
|
||||
|
|
|
|||
Loading…
Reference in a new issue