Page 1 of 1

Extruder aggressive retract

Posted: Tue Jul 16, 2013 3:49 pm
by Vinculum
Hi guys.
I'm almost up and running now. It homes, it moves and it heats. The only thing missing in the list is extruding.
It does extrude but it seems that the retracts are to aggressive to the extend that the filament is actually moving away from the hot end!
What am i doing wrong?

Here is my material setting in KISSlicer:

Code: Select all

[PLA 1.75mm]
g_code_matl=3B204D617962652073657420736F6D65206D6174657269616C2D737065636966696320472D636F64653F
fan_Z_mm=0
fan_loops_percent=100
fan_inside_percent=0
fan_cool_percent=100
temperature_C=200
keep_warm_C=180
first_layer_C=200
bed_C=0
sec_per_C_per_C=0
flow_min_mm3_per_s=0.01
flow_max_mm3_per_s=10
destring_suck=1.25
destring_prime=1.25
destring_min_mm=1
destring_trigger_mm=100
destring_speed_mm_per_s=15
Z_lift_mm=0
min_layer_time_s=10
wipe_mm=10
cost_per_cm3=0
flowrate_tweak=1
fiber_dia_mm=1.75
color=12320512
And my configuration.h regarding the extruder settings:

Code: Select all

#define DEFAULT_AXIS_STEPS_PER_UNIT   {44.44, 44.44, 44.44, 345}
#define DEFAULT_MAX_FEEDRATE          {320, 320, 320, 320}  // (mm/sec)
#define DEFAULT_MAX_ACCELERATION      {2000, 2000, 2000, 2000}    // X, Y, Z, E maximum start speed for accelerated moves.

#define DEFAULT_ACCELERATION          2000   // X, Y, Z and E max acceleration in mm/s^2 for printing moves
#define DEFAULT_RETRACT_ACCELERATION  2000   // X, Y, Z and E max acceleration in mm/s^2 for r retracts

// 
#define DEFAULT_XYJERK                20.0   // (mm/sec)
#define DEFAULT_ZJERK                 20.0   // (mm/sec)
#define DEFAULT_EJERK                 2.0   // (mm/sec)

Re: Extruder aggressive retract

Posted: Tue Jul 16, 2013 4:14 pm
by Broose
Vinculum wrote:It does extrude but it seems that the retracts are to aggressive to the extend that the filament is actually moving away from the hot end!
Could you explain this more clearly? Is it retracting and not returning as much so you have gaps when you start extruding again?

Re: Extruder aggressive retract

Posted: Tue Jul 16, 2013 4:24 pm
by Vinculum
Yes. It retracts more than it extrudes.
Here is a part of a Gcode file for the skirt.

Code: Select all

; 'Skirt', 1.5 [feed mm/s], 10.0 [head mm/s]
G1 X33.89 Y9.49 Z0.7 E0 F30000
G1 X33.89 Y9.49 Z0.45 E0 F210
G1 X33.41 Y9.93 E0.0977 F600
G1 X32.86 Y10.24 E0.0939
G1 X32.42 Y10.38 E0.0698
G1 X31.67 Y10.54 E0.1141
G1 X31.03 Y10.53 E0.0966
G1 X30.39 Y10.37 E0.0983
G1 X29.9 Y10.12 E0.0826
G1 X28.47 Y9.24 E0.2522
G1 X28.34 Y9.14 E0.0237
G1 X27.72 Y8.49 E0.1348
G1 X27.29 Y8.18 E0.0789
G1 X26.66 Y7.52 E0.1369
G1 X25.88 Y7.03 E0.1377
G1 X25.72 Y6.91 E0.0298
G1 X25.09 Y6.25 E0.1365
G1 X24.64 Y5.95 E0.0819
G1 X24.31 Y5.82 E0.0524
G1 X19.65 Y6.99 E0.7184
G1 X19.26 Y7.06 E0.0601
G1 X18.88 Y7.07 E0.0565
G1 X18.01 Y6.99 E0.1303
G1 X14.12 Y7.97 E0.6002
G1 X13.89 Y8.23 E0.0524
G1 X13.64 Y8.71 E0.0805
G1 X12.19 Y11.14 E0.4245
G1 X11.94 Y12.04 E0.1394
G1 X11.69 Y12.52 E0.0812
G1 X10.82 Y13.95 E0.2501
G1 X10.38 Y14.4 E0.0945
G1 X10.03 Y14.65 E0.0641
G1 X9.66 Y14.83 E0.0619
G1 X9.28 Y14.96 E0.06
G1 X8.86 Y15.03 E0.064
G1 X8.24 Y15.02 E0.0937
G1 X7.6 Y14.86 E0.0981
As you can see, the E value hardly moves. It extrudes and then retracts the same amount or more. For example, it extrudes 2mm slowly but that retracts 2,3mm very fast. The result is that it doesn't lay down any plastic.

Re: Extruder aggressive retract

Posted: Tue Jul 16, 2013 4:42 pm
by Broose
I don't see a retraction in the above section of code. with a retraction, you would get a change in E without a corresponding change in X and Y. Actually, its strange- the E value seems to be jumping up and down and it doesn't correspond to the 1.25mm you have set for the retraction distance.


Here's a section of some Gcode with retraction of 5mm at 50mm/sec. Notice how the E value always increases until the retraction:
; 'Perimeter', 2.5 [feed mm/s], 45.0 [head mm/s]
G1 X-2.09 Y-2.23 E5.6228 F12000
G1 X-1.9 Y-1.9 E5.6443 F2700
G1 X-4.91 Y-1.9 E5.8126
G1 X-4.97 Y-2.03 E5.8207
G1 X-4.97 Y-4.97 E5.9853
G1 X-2.03 Y-4.97 E6.1499
G1 X-1.9 Y-4.91 E6.158
G1 X-1.9 Y-1.9 E6.3263
G1 X-2.23 Y-2.09 E6.3478
;
; 'Wipe (and De-string)', 0.0 [feed mm/s], 45.0 [head mm/s]
G1 E1.3478 F3000
;
; 'Loop', 2.5 [feed mm/s], 45.0 [head mm/s]
G1 X-3 Y3.81 E1.3478 F12000
G1 E6.3478 F3000
G1 X-3.13 Y3.87 E6.3561 F2700
G1 X-3.87 Y3.87 E6.3969
G1 X-3.87 Y3.13 E6.4377
G1 X-3.81 Y3 E6.4459
G1 X-3 Y3 E6.491
G1 X-3 Y3.81 E6.5361

Re: Extruder aggressive retract

Posted: Tue Jul 16, 2013 5:14 pm
by Broose
In Kisslicer, under the firmware type, do you have it set to "5D-Absolute E", which is the correct setting for Repetier or Marlin Firmware? It looks like you might have the extruder set to incremental in Kisslicer based on your g-code.

Re: Extruder aggressive retract

Posted: Wed Jul 17, 2013 4:44 am
by Vinculum
Oh that's a good one! I'll check that as soon as i get home.

Re: Extruder aggressive retract

Posted: Wed Jul 17, 2013 2:49 pm
by Vinculum
Excellent! That was it! It's now nicely printing!