Post-processing Slic3r Prusa Edition G-Code

Todo

Post-processing Slic3r Prusa Edition g-code.

Note

These notes apply to the Prusa i3 Mk3 printer. If you are using a different printer, please verify the hardware details are same. These pages may be a bit rough as I revise them and add new material. Please check back regularly for updates.

scripts

XXX:

Listing 11 Slic3r Prusa Edition start g-code
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
; Last updated 20181030
M115 U3.3.1 ; tell printer latest fw version
; Set initial warmup temps
M104 S140 ; set extruder no-ooze temp
M140 S{max(first_layer_bed_temperature[0],65)}  ; set bed PINDA warmup temp
; Nozzle warmup routine
M300 S40 P10 ; chirp
G28 W ; home all without mesh bed level
G0 X0 Y200 Z100.0 F10200 ; raise nozzle and present bed for cleaning
M109 ; wait for extruder no-ooze warmup temp before mesh bed leveling, cool hot PINDA
; PINDA warmup routine
M300 S40 P10 ; chirp
G0 X125 Y105 Z0.10 F10200; PINDA warming position
M860 S35 ; wait for PINDA temp to stabilize
M300 S40 P10 ; chirp
G28 W ; home all without mesh bed level
M140 S[first_layer_bed_temperature] ; set bed final temp
G80 ; mesh bed leveling
; Final warmup routine
M104 S[first_layer_temperature] ; set extruder final temp
M109 S[first_layer_temperature] ; wait for extruder final temp
M190 S[first_layer_bed_temperature] ; wait for bed final temp
; Prime line routine
M300 S25 P10 ; chirp
M83  ; extruder relative mode
M900 K0; Disable LA for prime line
G92 E0.0 ; reset extrusion distance
G1 Y-3.0 F1000.0 ; go outside print area
G1 E2 F1000 ; de-retract and push ooze
G1 X20.0 E6  F1000.0 ; fat 20mm intro line @ 0.30
G1 X60.0 E3.2  F1000.0 ; thin +40mm intro line @ 0.08
G1 X100.0 E6  F1000.0 ; fat +40mm intro line @ 0.15
G1 E-0.8 F2100; retract to avoid stringing
G1 X99.0 E0 F1000.0 ; -1mm intro line @ 0.00
G1 X110.0 E0 F1000.0 ; +10mm intro line @ 0.00
G1 E0.5 F1500; de-retract
G92 E0.0 ; reset extrusion distance
; Final print adjustments
M92 E282.54 ; adjust extrusion ratio
;M221 S{if layer_height==0.05}100{else}95{endif}

Contact and feedback

You can find me on the Prusa forums or Reddit where I lurk in many of the 3D printing-related subreddits.

Last updated on Nov 03, 2018