summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2017-08-21 18:32:20 (EDT)
committer P. J. McDermott <pj@pehjota.net>2017-08-21 18:32:20 (EDT)
commitb89beac0a1fba789f3fce4ab6e7f9cc841e6c166 (patch)
treee017d88f750c7c8e4d31ec2ffbc9de061ec414e8
parent6a8f5b4dac5b6ce0e36dd68d68ccf95516a542e6 (diff)
downloadprintrun-b89beac0a1fba789f3fce4ab6e7f9cc841e6c166.zip
printrun-b89beac0a1fba789f3fce4ab6e7f9cc841e6c166.tar.gz
printrun-b89beac0a1fba789f3fce4ab6e7f9cc841e6c166.tar.bz2
wipe_hips.gcode, probe.gcode: New files
-rw-r--r--.gitignore.d/printrun2
-rw-r--r--probe.gcode10
-rwxr-xr-xwipe_hips.gcode62
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore.d/printrun b/.gitignore.d/printrun
index 6952253..9a36dcc 100644
--- a/.gitignore.d/printrun
+++ b/.gitignore.d/printrun
@@ -3,6 +3,8 @@
# Include relevant files
!/.pronsolerc
+!/wipe_*.gcode
+!/probe.gcode
!/.gitattributes.d/
!/.gitattributes.d/printrun
!/.gitconfig.d/
diff --git a/probe.gcode b/probe.gcode
new file mode 100644
index 0000000..9b96b69
--- /dev/null
+++ b/probe.gcode
@@ -0,0 +1,10 @@
+; Run with `printcore -v /dev/ttyACM0 probe.gcode`
+
+; Probe the bed and enable bed leveling compensation
+G1 Z10 F5000 ; Lift off the bed-leveling washer
+G28 X0 Y0 ; Auto-home X and Y
+M204 S300 ; Set acceleration for probing moves
+G29 ; Probe the bed
+M204 S2000 ; Set acceleration back to normal
+G1 Z10 F5000 ; Lift off the bed-leveling washer
+G1 X40 Y190 F5000 ; Move nozzle away and bed forward
diff --git a/wipe_hips.gcode b/wipe_hips.gcode
new file mode 100755
index 0000000..e772f0b
--- /dev/null
+++ b/wipe_hips.gcode
@@ -0,0 +1,62 @@
+; Run with `printcore -v /dev/ttyACM0 wipe_hips.gcode`
+
+; Set units, positioning modes, and extruder origin
+G21 ; Set units to millimeters
+G90 ; Set absolute positioning mode
+M82 ; Set E absolute mode (override G91)
+G92 E0 ; Set extruder position to 0 (origin)
+
+; Begin heating hotend to HIPS retraction temperature
+M107 ; Turn off the print cooling fan
+M104 S150 ; Set hotend temperature without waiting
+M140 S110 ; Set bed temperature without waiting
+
+; While waiting for the hotend to heat, auto-home the axes
+G28 ; Auto-home all axes
+M109 ; Wait for hotend temperature
+
+; Retract filament before wiping
+G1 Z150 E-30 F75 ; Slowly lower Z and retract filament
+
+; Begin heating hotend to HIPS wiping temperature
+M104 S170 ; Set hotend temperature without waiting
+
+; While waiting for the hotend to heat, position the nozzle over the wiping pad
+G1 X45 Y174 Z10 F11520 ; Move nozzle to just over wiping pad
+M109 ; Wait for hotend temperature
+
+; Wipe the nozzle
+G1 Z-0.5 F4000 ; Plunge nozzle into wiping pad
+G1 X55 Y172 F4000 ; Wipe
+G1 X45 Y174 Z0 F4000 ; Wipe
+G1 X55 Y172 F4000 ; Wipe
+G1 X45 Y174 F4000 ; Wipe
+G1 X55 Y172 F4000 ; Wipe
+G1 X45 Y174 F4000 ; Wipe
+G1 X55 Y172 F4000 ; Wipe
+G1 X60 Y174 F4000 ; Wipe
+G1 X80 Y172 F4000 ; Wipe
+G1 X60 Y174 F4000 ; Wipe
+G1 X80 Y172 F4000 ; Wipe
+G1 X60 Y174 F4000 ; Wipe
+G1 X90 Y172 F4000 ; Wipe
+G1 X80 Y174 F4000 ; Wipe
+G1 X100 Y172 F4000 ; Wipe
+G1 X80 Y174 F4000 ; Wipe
+G1 X100 Y172 F4000 ; Wipe
+G1 X80 Y174 F4000 ; Wipe
+G1 X100 Y172 F4000 ; Wipe
+G1 X110 Y174 F4000 ; Wipe
+G1 X100 Y172 F4000 ; Wipe
+G1 X110 Y174 F4000 ; Wipe
+G1 X100 Y172 F4000 ; Wipe
+G1 X110 Y174 F4000 ; Wipe
+G1 X115 Y172 Z-0.5 F1000 ; Wipe slower, bury nozzle in cleanish area
+G1 Z10 ; Lift out of wiping pad
+
+; Begin heating hotend to HIPS probing temperature
+M104 S170 ; Set hotend temperature without waiting
+
+; While waiting for the hotend to heat, auto-home X and Y
+G28 X0 Y0 ; Auto-home X and Y
+M109 ; Wait for hotend temperature