Skip to content

2.05.1.1-simple_dynamic_unretraction

Pre-release
Pre-release

Choose a tag to compare

Dynamic Unretraction

Discussion: https://forum.duet3d.com/topic/14927/enhancing-pressure-advance/91?_=1585252458630

It looks at the extrusion rate of two print move sequences that are separated by a retraction. Then, the adjustment to unretraction is made as such:

adjusted_unretract_distance = nominal_unretract_distance + (second_sequence_extrusion_rate - first_sequence_extrusion_rate) * new_dynamic_unretract_constant

Usage: M207 C[the constant]

Only works with firmware retraction (G10/G11).

The retraction move cannot get reversed and cannot exceed the unretraction amount to prevent computation errors as it would invalidate the precomputed movement parameters.

Attaching the Duet via USB and connecting a terminal will output debugging information:
[272.833008 229.201004 3.613331] mt=0.096972, er=0.999899, up=-0.160771, ler=0.577527, ner=0.416756, ep=-0.000101

[X Y Z] mt=moveTime, er=nominal_unretract_distance, up=adjustment, ler=first_sequence_extrusion_rate, ner=second_sequence_extrusion_rate