Open Gcode file.
Find “BEGIN_LAYER_RAFT” and befor string insert following command.
M221 S40 ; amount of material
M104 S180 ; temperature
Find “BEGIN_LAYER_OBJECT” and befor string insert following command.
M221 S100 ; amount of material
M104 S190 ; temperature
Script to add following command
awk '/; BEGIN_LAYER_RAFT z=1.55/{print;print "M221 S40 \nM109 S180";next}1' phone_stand.2.gcode > print.gcode
awk '/; BEGIN_LAYER_OBJECT z=2.20/{print;print "M221 S100 \n
M109 S190
";next}1' print.gcode > print_done.gcode
Reference:
0 意見:
張貼留言