Anybody have auto-shut down scripts?
Script to lower print bed after job completion?
What does absolute versus relative gcode lines mean?
Start and end scripts for Simplfy3d - auto power down?
-
- Posts: 141
- Joined: Sun Dec 21, 2014 8:04 pm
Re: Start and end scripts for Simplfy3d - auto power down?
Here is my start script.
M108 S255 ; turn on M2 fans
G28 ; home all axes
G1 Y50 Z0.3 F9600 ; move forward to avoid binder clips
G1 X205 Z10 ; move off platform
G1 Z0.4 ; position nozzle
G92 E0 ; zero extruder
G1 E25 F225 ; purge nozzle
G92 E0 ; zero extruder
G1 X190 Z0.1 E1.0 F1200 ; slow wipe
G1 X180 Z0.25 ; lift
Here is my end script.
M104 S0 ; turn off extruder
M140 S0 ; turn off bed
G91 ; relative mode
G1 Z10 ; lift 10mm
G90 ; absolute mode
G1 X100 ; center X axis
G1 Z208 ; drop z axis to just above switch
M84 ; disable motors
M107 ; disable layer fan
My machine is a rev e so the G1 Z208 will need to be adjusted to Z195 if you have a rev d machine or earlier.
M108 S255 ; turn on M2 fans
G28 ; home all axes
G1 Y50 Z0.3 F9600 ; move forward to avoid binder clips
G1 X205 Z10 ; move off platform
G1 Z0.4 ; position nozzle
G92 E0 ; zero extruder
G1 E25 F225 ; purge nozzle
G92 E0 ; zero extruder
G1 X190 Z0.1 E1.0 F1200 ; slow wipe
G1 X180 Z0.25 ; lift
Here is my end script.
M104 S0 ; turn off extruder
M140 S0 ; turn off bed
G91 ; relative mode
G1 Z10 ; lift 10mm
G90 ; absolute mode
G1 X100 ; center X axis
G1 Z208 ; drop z axis to just above switch
M84 ; disable motors
M107 ; disable layer fan
My machine is a rev e so the G1 Z208 will need to be adjusted to Z195 if you have a rev d machine or earlier.
Re: Start and end scripts for Simplfy3d - auto power down?
If your using Octoprint and Simply3D
One thing that i added at the bottom where is says Additional Terminal Commands for Post Processing
curl -k -H "X-Api-Key: 11111222233334444555667777" -F "select=false" -F "print=false" -F "file=@[output_filepath]" "http://octopi.local/api/files/local"
After you Prepare to print and click Save Toolpaths to Disk, save the file where ever on the local computer and it will automatically pop up in your list when you go to Octopi.local. you get your API key from the settings when your logged into your octoprint server.
One thing that i added at the bottom where is says Additional Terminal Commands for Post Processing
curl -k -H "X-Api-Key: 11111222233334444555667777" -F "select=false" -F "print=false" -F "file=@[output_filepath]" "http://octopi.local/api/files/local"
After you Prepare to print and click Save Toolpaths to Disk, save the file where ever on the local computer and it will automatically pop up in your list when you go to Octopi.local. you get your API key from the settings when your logged into your octoprint server.