Retract at startup changeable ?
 
Notifications
Clear all

Retract at startup changeable ?  

  RSS
ralph.d
(@ralph-d)
New Member
Retract at startup changeable ?

Hello,

i have the problem that the retracting at startup is not optimum for my prints.

It works better when this code is not there. Otherwise i have problems that the filament doesn't starts correct for printing. So i had to do a lot of lines around the print before.

So this is my start code for a Ender 5 Pro. It works best with 6mm Retract. But not on the start...

This are the problem lines:

G1 E-6.00000 F2400.000
G92 E0
G1 X78.306 Y65.712 F3600.000
G1 E6.00000 F2400.000

And tihis is the whole startup:

; generated by PrusaSlicer 2.3.0+win64 on 2021-01-31 at 11:30:32 UTC

;

; external perimeters extrusion width = 0.40mm
; perimeters extrusion width = 0.40mm
; infill extrusion width = 0.40mm
; solid infill extrusion width = 0.40mm
; top infill extrusion width = 0.40mm
; first layer extrusion width = 0.24mm

M73 P0 R49
M73 Q0 S50
M201 X9000 Y9000 Z500 E10000 ; sets maximum accelerations, mm/sec^2
M203 X500 Y500 Z12 E120 ; sets maximum feedrates, mm/sec
M204 P1500 R1500 T1500 ; sets acceleration (P, T) and retract acceleration (R), mm/sec^2
M205 X10.00 Y10.00 Z0.20 E2.50 ; sets the jerk limits, mm/sec
M205 S0 T0 ; sets the minimum extruding and travel feed rate, mm/sec
M107
;TYPE:Custom
G28 ; home all axes
G29 ; Bedlevelling
G1 Z5 F5000 ; lift nozzle

M140 S60 ; set bed temp
;M190 S60 ; wait for bed temp
M104 S230 ; set extruder temp
M109 S230 ; wait for extruder temp

G1 Z0.0 F300.0;
;G1 X90 E15.0 F1000.0 ; intro line
G92 E0.0
M73 Q0 S49
G1 Z5 F5000 ; lift nozzle

;G92 E0 ;zero the extruded length
G1 F200 E2 ;extrude 2mm of feed stock
;G92 E0 ;zero the extruded length again
G21 ; set units to millimeters
G90 ; use absolute coordinates
M82 ; use absolute distances for extrusion
G92 E0
; Filament gcode
;LAYER_CHANGE
;Z:0.2
;HEIGHT:0.2
G1 Z0.200 F3600.000
G1 E-6.00000 F2400.000
G92 E0
G1 X78.306 Y65.712 F3600.000
G1 E6.00000 F2400.000
;TYPE:Skirt
;WIDTH:0.24
G1 F1800.000
G1 X79.233 Y64.663 E6.02294
G1 X80.271 Y63.739 E6.04571
G1 X81.534 Y62.870 E6.07084

This topic was modified 3 years ago by ralph.d
Posted : 31/01/2021 12:30 pm
bobstro
(@bobstro)
Illustrious Member
RE: Retract at startup changeable ?

It would probably be easiest if you'd save your part & settings in a 3MF project file, zip it up, and attach it to a reply here. The answer is probably in the before layer change g-code setting, but I'd need to see what you have in your settings to confirm.

My notes and disclaimers on 3D printing

and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan

Posted : 01/02/2021 7:36 am
ralph.d
(@ralph-d)
New Member
Topic starter answered:
RE: Retract at startup changeable ?

files

the config, file and projekt

Posted : 01/02/2021 4:56 pm
bobstro
(@bobstro)
Illustrious Member
RE: Retract at startup changeable ?

You can set Printer Settings->Extruder 1->Retraction->Extra length on restart, but that will affect all retractions, not just your 1st layer. I assume retractions are OK further up, so this probably won't help. Easiest might be just to hand-edit the file , or write a post-processing script that comments out the initial retraction and de-retraction. It is interesting that you have Retract on layer change disabled and it is still doing it. Be sure to disable both retraction and de-retraction lines.

;LAYER_CHANGE
;Z:0.2
;HEIGHT:0.2
G1 Z0.200 F3600.000
G1 E-6.00000 F2400.000 <--- Initial retraction
G92 E0
G1 X78.306 Y65.712 F3600.000
G1 E6.00000 F2400.000 <--- De-retraction


My notes and disclaimers on 3D printing

and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan

Posted : 01/02/2021 6:21 pm
ralph.d
(@ralph-d)
New Member
Topic starter answered:
RE: Retract at startup changeable ?

That's what i did the last times. Edit manually. It work's.

But i thought i could use a setting to eliminate this... it's annoying.

Posted : 01/02/2021 7:19 pm
Neophyl
(@neophyl)
Illustrious Member
RE: Retract at startup changeable ?

I notice from the preview that its showing retractions still at several points as you noted Bob, but did you notice there are no DE-retractions shown  on the preview.    That is very weird, as normally one follows the other. I generated the gcode from the project and there is 1 retract that its putting in at the start of the first layer  - G1 E-6.00000 F2400.000
There are 28 G1 E6.00000 F2400.000 lines though, which considering the preview is showing NO de-retractions is even stranger.  All following a G90 E0 and I think at the end of travel moves.  I'm not sure if this is a bug or supposed to be doing that though.  I don't know enough about the planer or if its some particular combination of settings.  Having it extrude 6mm of filament right after it zero's the extruder count seems strange to me.

It looks like its retracting at travel movements still on the preview and not at layer changes.  The only way I've found to get rid of them is to set retraction value under extruder to zero or set the minimum travel after retraction to something arbitrarily high for this model, like 200mm.

Unless of course the preview colour key has retract and de-retract keys swapped around ?  Hopefully someone who can follow gcode better than me takes a look but I'd be tempted to post this one to github as a possible bug.

Posted : 01/02/2021 7:27 pm
Share: