Marlin Firmware help January 15, 2015 09:48PM |
Registered: 9 years ago Posts: 93 |
Re: Marlin Firmware help January 16, 2015 03:18AM |
Registered: 10 years ago Posts: 541 |
Re: Marlin Firmware help January 16, 2015 03:20AM |
Registered: 9 years ago Posts: 93 |
Re: Marlin Firmware help January 16, 2015 05:18AM |
Registered: 10 years ago Posts: 541 |
M83 ; use relative distances for extrusion G28 ; home G1 X0 Y98 F9000 ; go to the middle of the front G1 Z0.05 ; close to the bed M104 S185 ; set extruder temp M190 S70 ; set bed temp & wait M109 S185 ; wait for extruder temp G92 E0 G1 X50 E5 F200 ; make a thick line to prime extruder G1 E-0.5 F2400 G1 Z0.3 ; lift ZI do not set initial temperatures within Slic3r because the start GCode prints a thick line which requires the extruder and bed temperatures to be already established. Edit the S185 and S70 to suit your requirements.
M104 S0 ; turn off extruder M140 S0 ; bed off M106 S0 ; carriage fan off G1 E-0.5 F2400 ; extra retract G1 X-100 Y100 F9000 ; go to back M42 P28 S255 ; bed fan on G1 Z200 X-100 F9000 ; go to top G4 P300000 M42 P28 S0 ; bed fan off G1 Y-100 ; bed to front M84 ; disable motorsThis is the end GCode with cooling fan support. I use the, more or less, standard Output 28 but if your fan is controlled by another pin then change the P28 to suit whatever you use.
Re: Marlin Firmware help January 16, 2015 05:32AM |
Registered: 9 years ago Posts: 93 |
Re: Marlin Firmware help January 16, 2015 11:17AM |
Registered: 9 years ago Posts: 100 |
M140 S[first_layer_bed_temperature] ; set bed temp and don't wait G28 ; home all axes G1 Z5 F5000 ; move z to 5mm G1 X150 Y0 F4000 ; move 150mm along the front edge G1 Z0 ; drop nozzle to prevent ooze G4 P100 ; wait 0.1 seconds, heaters start after the pause M109 S[first_layer_temperature] ; set extruder temp and wait M190 S[first_layer_bed_temperature] ; set bed temp and wait G1 Z[first_layer_height] ; move nozzle to print height G1 X10 F12000 E7 ; Wipe (move toward origin as fast as firmware permits, extruding 7mm)
Re: Marlin Firmware help January 16, 2015 11:30AM |
Registered: 10 years ago Posts: 541 |
Re: Marlin Firmware help January 16, 2015 11:50AM |
Registered: 9 years ago Posts: 93 |
Re: Marlin Firmware help January 16, 2015 12:23PM |
Registered: 9 years ago Posts: 100 |
; generated by Slic3r 1.1.7 on 2015-01-12 at 12:02:06 ; perimeters extrusion width = 0.36mm ; infill extrusion width = 0.70mm ; solid infill extrusion width = 0.70mm ; top infill extrusion width = 0.70mm G21 ; set units to millimeters M107 ; disable fan M140 S81 ; set bed temp and don't wait G28 ; home all axes G1 Z5 F5000 ; move z to 5mm G1 X150 Y0 F4000 ; move 150mm along the front edge G1 Z0 ; drop nozzle to prevent ooze G4 P100 ; wait 0.1 seconds, heaters start after the pause M109 S190 ; set extruder temp and wait M190 S81 ; set bed temp and wait G1 Z0.35 ; move nozzle to print height G1 X10 F12000 E7 ; Wipe (move toward origin as fast as firmware permits, extruding 7mm)
M104 S185 ; set extruder temp
M104 S[first_layer_temperature] ; set extruder temp
Re: Marlin Firmware help January 17, 2015 11:48AM |
Registered: 10 years ago Posts: 301 |
Quote
neildarlow
@plankton I did not know that you can do variable substitution in Slic3r. I even looked through the online manual to see if it was possible but I guess that information is elsewhere.
Quote
Start, End and Layer Chance G-codes.
Custom G-code commands can be run before a print starts and after a print finishes.
Placeholders can be inserted in the G-code commands2. For example [next_extruder] would return the index of the next extruder.
Re: Marlin Firmware help January 17, 2015 11:56AM |
Registered: 10 years ago Posts: 541 |