From 601339dab65e9b66bc21641a8fb7fe28ac25f29b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 20 Aug 2017 18:52:56 -0400 Subject: printer: Rewrite G-code, change bed size, rename preset --- diff --git a/.Slic3r/printer/LulzBot Mini, HIPS.ini b/.Slic3r/printer/LulzBot Mini, HIPS.ini new file mode 100644 index 0000000..08c28dc --- /dev/null +++ b/.Slic3r/printer/LulzBot Mini, HIPS.ini @@ -0,0 +1,27 @@ +# generated by Slic3r 1.2.9 on Sun Aug 20 18:52:56 2017 +bed_shape = -2x-2,156x-2,156x156,-2x156 +before_layer_gcode = +end_gcode = \n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; Begin LulzBot Mini HIPS end G-code ;;\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n; Ensure moves are complete\nM400 ; Pause processing until moves complete\n\n; Begin cooling\nM104 S0 ; Set hotend temperature without waiting\nM140 S0 ; Set bed temperature without waiting\nM107 ; Turn off the print cooling fan\n\n; Move to cooling position and retract filament\nG92 E0 ; Set extruder position to 0 (origin)\nG1 X5 Y5 Z156 E-5 F10000 ; Move bed and nozzle and retract filament\nM190 R60 ; Wait for bed to cool\n\n; Move to print removal position\nM140 S0 ; Set bed temperature without waiting\nG1 X145 Y175 Z156 F10000 ; Move bed forward and toolhead right\n\n; Idle\nM84 ; Turn off stepper motors\nG90 ; Set absolute positioning mode\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; End LulzBot Mini HIPS end G-code ;;\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n +extruder_offset = 0x0 +gcode_flavor = reprap +layer_gcode = +nozzle_diameter = 0.5 +octoprint_apikey = +octoprint_host = +pressure_advance = 0 +retract_before_travel = 2 +retract_layer_change = 1 +retract_length = 1 +retract_length_toolchange = 10 +retract_lift = 0.2 +retract_restart_extra = 0 +retract_restart_extra_toolchange = 0 +retract_speed = 40 +start_gcode = \n; Input file name: [input_filename]\n; Printer preset: [printer_preset]\n; Filament preset: [filament_preset]\n; Print preset: [print_preset]\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; Begin LulzBot Mini HIPS start G-code ;;\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n; Set units, positioning modes, and extruder origin\nG21 ; Set units to millimeters\nG90 ; Set absolute positioning mode\nM82 ; Set E absolute mode (override G91)\nG92 E0 ; Set extruder position to 0 (origin)\n\n; Begin heating hotend to HIPS retraction temperature\nM107 ; Turn off the print cooling fan\nM104 S150 ; Set hotend temperature without waiting\nM140 S[first_layer_bed_temperature] ; Set bed temperature without waiting\n\n; While waiting for the hotend to heat, auto-home the axes\nG28 ; Auto-home all axes\nM109 ; Wait for hotend temperature\n\n; Retract filament before wiping\nG1 Z150 E-30 F75 ; Slowly lower Z and retract filament\n\n; Begin heating hotend to HIPS wiping temperature\nM104 S170 ; Set hotend temperature without waiting\n\n; While waiting for the hotend to heat, position the nozzle over the wiping pad\nG1 X45 Y174 Z10 F11520 ; Move nozzle to just over wiping pad\nM109 ; Wait for hotend temperature\n\n; Wipe the nozzle\nG1 Z-0.5 F4000 ; Plunge nozzle into wiping pad\nG1 X55 Y172 F4000 ; Wipe\nG1 X45 Y174 Z0 F4000 ; Wipe\nG1 X55 Y172 F4000 ; Wipe\nG1 X45 Y174 F4000 ; Wipe\nG1 X55 Y172 F4000 ; Wipe\nG1 X45 Y174 F4000 ; Wipe\nG1 X55 Y172 F4000 ; Wipe\nG1 X60 Y174 F4000 ; Wipe\nG1 X80 Y172 F4000 ; Wipe\nG1 X60 Y174 F4000 ; Wipe\nG1 X80 Y172 F4000 ; Wipe\nG1 X60 Y174 F4000 ; Wipe\nG1 X90 Y172 F4000 ; Wipe\nG1 X80 Y174 F4000 ; Wipe\nG1 X100 Y172 F4000 ; Wipe\nG1 X80 Y174 F4000 ; Wipe\nG1 X100 Y172 F4000 ; Wipe\nG1 X80 Y174 F4000 ; Wipe\nG1 X100 Y172 F4000 ; Wipe\nG1 X110 Y174 F4000 ; Wipe\nG1 X100 Y172 F4000 ; Wipe\nG1 X110 Y174 F4000 ; Wipe\nG1 X100 Y172 F4000 ; Wipe\nG1 X110 Y174 F4000 ; Wipe\nG1 X115 Y172 Z-0.5 F1000 ; Wipe slower, bury nozzle in cleanish area\nG1 Z10 ; Lift out of wiping pad\n\n; Begin heating hotend to HIPS probing temperature\nM104 S170 ; Set hotend temperature without waiting\n\n; While waiting for the hotend to heat, auto-home X and Y\nG28 X0 Y0 ; Auto-home X and Y\nM109 ; Wait for hotend temperature\n\n; Probe the bed and enable bed leveling compensation\nM204 S300 ; Set acceleration for probing moves\nG29 ; Probe the bed\nM204 S2000 ; Set acceleration back to normal\nG1 Z10 F5000 ; Lift off the bed-leveling washer\n\n; Begin heating hotend to first layer temperature\nM104 S[first_layer_temperature] ; Set hotend temperature without waiting\n\n; While waiting for the hotend to heat, position the nozzle and pause\nG1 X5 Y15 F5000 ; Move near front left corner\nG4 S1 ; Dwell/pause command queue for 1 second\nM400 ; Pause processing until moves complete\n\n; Ensure the hotend and bed are at the first layer temperatures\nM109 ; Wait for hotend temperature\nM190 ; Wait for bed temperature\n\n; Extrude filament back into the nozzle\nG1 Z2 E0 F75 ; Slowly raise nozzle and extrude filamant\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; End LulzBot Mini HIPS start G-code ;;\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n +toolchange_gcode = +use_firmware_retraction = 0 +use_relative_e_distances = 0 +use_volumetric_e = 0 +vibration_limit = 0 +wipe = 0 +z_offset = 0 diff --git a/.Slic3r/printer/LulzBot Mini.ini b/.Slic3r/printer/LulzBot Mini.ini deleted file mode 100644 index 1a0534d..0000000 --- a/.Slic3r/printer/LulzBot Mini.ini +++ /dev/null @@ -1,27 +0,0 @@ -# generated by Slic3r 1.2.9 on Sun Aug 20 18:36:44 2017 -bed_shape = -2x-2,152x-2,152x152,-2x152 -before_layer_gcode = -end_gcode = ; Begin LulzBot Mini end sequence\nM400 ; wait for current moves to finish (clear buffer)\nM104 S0 ; Hotend off\nM140 S0 ; heated bed heater off (if you have it)\nM107 ; fans off\nG92 E5 ; set extruder to 5mm for retract on print end\nG1 X5 Y5 Z156 E0 F10000 ; move to cooling positioning\nM190 R50 ; wait for bed to cool\nM140 S0 ; turn off bed temp\nG1 X145 Y175 Z156 F1000 ; move to cooling positioning\nM84 ; steppers off\nG90 ; absolute positioning\n; End LulzBot Mini end sequence\n -extruder_offset = 0x0 -gcode_flavor = reprap -layer_gcode = -nozzle_diameter = 0.5 -octoprint_apikey = -octoprint_host = -pressure_advance = 0 -retract_before_travel = 2 -retract_layer_change = 1 -retract_length = 1 -retract_length_toolchange = 10 -retract_lift = 0.2 -retract_restart_extra = 0 -retract_restart_extra_toolchange = 0 -retract_speed = 40 -start_gcode = ; Begin LulzBot Mini start sequence\n; File name: [input_filename]\n; Print time: [timestamp]\n; Printer preset: [printer_preset]\n; Filament preset: [filament_preset]\n; Print preset: [print_preset]\n; First layer height: [first_layer_height]\n; Layer height: [layer_height]\n; Fill: [fill_density] [fill_pattern] at [fill_angle] degrees\n; Filament Diameter: [filament_diameter]\n; Nozzle Diameter: [nozzle_diameter]\nG21 ; metric values\nG90 ; absolute positioning\nM82 ; set extruder to absolute mode\nM107 ; start with the fan off\nG92 E0 ; set extruder position to 0\nM140 S[first_layer_bed_temperature] ; get bed heating up\nG28 ; home all\nM109 S150 ; set to cleaning temp and wait\nG1 Z150 E-30 F75 ; suck up XXmm of filament\nM109 S170 ; heat up rest of way\nG1 X45 Y174 F11520 ; move behind scraper\nG1 Z0 F1200 ; CRITICAL: set Z to height of top of scraper\nG1 X45 Y174 Z-.5 F4000 ; wiping ; plunge into wipe pad\nG1 X55 Y172 Z-.5 F4000 ; wiping\nG1 X45 Y174 Z0 F4000 ; wiping\nG1 X55 Y172 F4000 ; wiping\nG1 X45 Y174 F4000 ; wiping\nG1 X55 Y172 F4000 ; wiping\nG1 X45 Y174 F4000 ; wiping\nG1 X55 Y172 F4000 ; wiping\nG1 X60 Y174 F4000 ; wiping\nG1 X80 Y172 F4000 ; wiping\nG1 X60 Y174 F4000 ; wiping\nG1 X80 Y172 F4000 ; wiping\nG1 X60 Y174 F4000 ; wiping\nG1 X90 Y172 F4000 ; wiping\nG1 X80 Y174 F4000 ; wiping\nG1 X100 Y172 F4000 ; wiping\nG1 X80 Y174 F4000 ; wiping\nG1 X100 Y172 F4000 ; wiping\nG1 X80 Y174 F4000 ; wiping\nG1 X100 Y172 F4000 ; wiping\nG1 X110 Y174 F4000 ; wiping\nG1 X100 Y172 F4000 ; wiping\nG1 X110 Y174 F4000 ; wiping\nG1 X100 Y172 F4000 ; wiping\nG1 X110 Y174 F4000 ; wiping\nG1 X115 Y172 Z-0.5 F1000 ; wipe slower and bury noz in cleanish area\nG1 Z10 ; raise z\nG28 X0 Y0 ; home x and y\nM109 S170 ; set to probing temp\nM204 S300 ; set accel for probing\nG29 ; Probe\nM204 S2000 ; set accel back to normal\nG1 X5 Y15 Z10 F5000 ; get out the way\nG4 S1 ; pause\nM400 ; clear buffer\nM109 S[first_layer_temperature] ; set extruder temp and wait\nG4 S15 ; wait for bed to temp up\nG1 Z2 E0 F75 ; extrude filament back into nozzle\nM140 S[first_layer_bed_temperature] ; get bed temping up during first layer\n; End LulzBot Mini start sequence\n -toolchange_gcode = -use_firmware_retraction = 0 -use_relative_e_distances = 0 -use_volumetric_e = 0 -vibration_limit = 0 -wipe = 0 -z_offset = 0 -- cgit v0.9.1