Problem using send.py [SOLVED] December 25, 2010 07:44PM |
Registered: 13 years ago Posts: 486 |
echo %1 C:\Python27\python.exe "C:\Documents and Settings\Greg\Desktop\reprap\skeinforge\fabmetheus_utilities\miscellaneous\fabricate\send.py" -v -p COM3 %1 pauseI then associated .gcode with the send.bat script so that all I have to do is double click the gcode and it sends it to the printer.
C:\Documents and Settings\Greg\Desktop\reprap\models>echo "C:\Documents and Sett ings\Greg\Desktop\reprap\models\disc_export.gcode" "C:\Documents and Settings\Greg\Desktop\reprap\models\disc_export.gcode" C:\Documents and Settings\Greg\Desktop\reprap\models>C:\Python27\python.exe "C:\ Documents and Settings\Greg\Desktop\reprap\skeinforge\fabmetheus_utilities\misce llaneous\fabricate\send.py" -v -p COM3 "C:\Documents and Settings\Greg\Desktop\r eprap\models\disc_export.gcode" You have requested that verbosity be set to True All communication with the arduino will be printed Arduino port set to COM3 Opening serial port: COM3 Serial Open?: True Baud Rate: 19200 Resetting arduino... < start > G21 < ok > G90 < ok > T0 < ok > M104 S205 < ok > G92 E0 < ok > G1 Z8.0 F50 < ok > G28 Y0 < ok > G28 X0 < ok > G1 X122.0 F3000 < ok > G28 Z0 < ok > G92 Z0 < ok > G1 Z8.0 F50 < ok > M109 S205 < ok > M113 S0.75 < ok > G92 E0 < ok > G90 < ok > G21 < ok > ;
C:\Documents and Settings\Greg\Desktop\reprap\models>echo "C:\Documents and Sett ings\Greg\Desktop\reprap\models\disc_export.gcode" "C:\Documents and Settings\Greg\Desktop\reprap\models\disc_export.gcode" C:\Documents and Settings\Greg\Desktop\reprap\models>C:\Python27\python.exe "C:\ Documents and Settings\Greg\Desktop\reprap\skeinforge\fabmetheus_utilities\misce llaneous\fabricate\send.py" -v -p COM3 "C:\Documents and Settings\Greg\Desktop\r eprap\models\disc_export.gcode" You have requested that verbosity be set to True All communication with the arduino will be printed Arduino port set to COM3 Opening serial port: COM3 Serial Open?: True Baud Rate: 19200 Resetting arduino... < start > G21 < ok > G90 < ok > T0 < ok > M104 S205 < ok > G92 E0 < ok > G1 Z8.0 F50 < ok > G28 Y0 < ok > G28 X0 < ok > G1 X122.0 F3000 < ok > G28 Z0 < ok > G92 Z0 < ok > G1 Z8.0 F50 < ok > M109 S205 < ok > M113 S0.75 < ok > G92 E0 < ok > G90 < ok > G21 < ok > M105 < ok T:193 B:193 > M113 S1.0 < ok > M108 S26.0 < ok > M104 S195.0 < ok > M108 S15.6 < ok > G1 X87.14 Y47.15 Z0.2 F575.999 < ok > G1 F11400.0 < ok > G1 E12.0 < ok > G1 F575.999 < ok > G92 E0 < ok > G1 X87.14 Y62.85 Z0.2 F575.999 E25.529 < ok > G1 X102.86 Y62.85 Z0.2 F575.999 E51.058And when it gets to the end, it just stops.
Re: Using send.py December 26, 2010 05:58PM |
Registered: 14 years ago Posts: 73 |
Re: Using send.py December 26, 2010 07:11PM |
Registered: 15 years ago Posts: 59 |
Re: Using send.py December 26, 2010 07:31PM |
Registered: 15 years ago Posts: 59 |
Re: Using send.py December 27, 2010 09:19AM |
Registered: 13 years ago Posts: 1,797 |
Re: Using send.py December 27, 2010 10:40AM |
Registered: 16 years ago Posts: 438 |
Re: Problem using send.py [SOLVED] December 27, 2010 10:06PM |
Registered: 13 years ago Posts: 486 |
M101 M105; M103 M105; M108 M105;
block=block.replace(' ','') block=block.replace("\t",'')becomes:
block=block.replace("\t",' ')