Nonlinear extrusion tweaking



  • Hi,
    i want to try to perfect calibrate the extruder so now i want to implement the nonlinear extrusion.
    This is the code i want to use, based from dc42 code:

    G28
    G1 X50 Y0 Z130 F3000
    M83 ;Set extruder to relative mode
    G1 E5 F600 ;Prime extruder
    M400 ;Wait for current moves to finish
    M291 S3 R"Extrusion test" P"Press OK to start test"
    
    G1 X50 E50 F60
    M400
    M291 S3 R"Measure extrusion" P"Measure filament taken at 1mm/sec extrusion, then press OK"
    
    G1 X0 E50 F120
    M400
    M291 S3 R"Measure extrusion" P"Measure filament taken at 2mm/sec extrusion, then press OK"
    
    G1 X50 E50 F180
    M400
    M291 S3 R"Measure extrusion" P"Measure filament taken at 3mm/sec extrusion, then press OK"
    
    G1 X0 E50 F240
    M400
    M291 S3 R"Measure extrusion" P"Measure filament taken at 4mm/sec extrusion, then press OK"
    
    G1 X50 E50 F300
    M400
    M291 S3 R"Measure extrusion" P"Measure filament taken at 5mm/sec extrusion, then press OK"
    
    G1 X0 E50 F360
    M400
    M291 S3 R"Measure extrusion" P"Measure filament taken at 6mm/sec extrusion, then press OK"
    
    G28
    

    Is there a real needed of the X movement "G1 X50.." & "G1 X0.." or it is useless and can be removed?

    In the excel file from here: https://forum.duet3d.com/topic/6015/guide-for-finding-the-values-for-m592-non-linear-extrusion/2
    the step/mm required are the fullstpep of the extruder?
    i can use this 418.5 from my config.g?

    M350 X16 Y16 Z16 E16 I1             		; Set 16x microstepping with interpolation
    M92 X80 Y80 Z800 E418.5       				; Set axis steps/mm.
    

    Last question, i've found another excel file
    https://forum.duet3d.com/topic/5588/non-linear-extrusion/22
    but not understanding how to use the "1st Added" "2nd Added"..."6th Added"?
    i've always only to put the step/mm, the desired extruded lenght and the effective extruded lenght at the different speed?

    Thanks in advance

    Printer: Corexy
    Firmware: 2.02
    Duet 2 wifi



  • @lakko said in Nonlinear extrusion tweaking:

    Is there a real needed of the X movement "G1 X50.." & "G1 X0.." or it is useless and can be removed?

    Yes the print head needs to be doing a coordinated move during extrusion.



  • Please report back with your tuning findings. I was never quite able to get it to behave.



  • @lakko the 1st added, etc spreadsheet is a recursive spreadsheet that takes into account (6 times IIRC) the fact that the computed amount to add doesn't really get added fully since that amount will also be less than directed due to non linear extrusion of it and sums up all the amounts. That part will fill itself in.


  • administrators

    @lakko said in Nonlinear extrusion tweaking:

    Is there a real needed of the X movement "G1 X50.." & "G1 X0.." or it is useless and can be removed?

    It is needed. Nonlinear extrusion is not applied to extruding moves with no XY movement, because those are assumed to be filament loading or re-prime moves.


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.