Increase E-jerk LA10->15 flattened zone

Increase the flattened response in the e-jerk conversion from the 1-4.5
region to 0.3-4.5 (same slope). This brings a 0.3 LA10 e-jerk to a 3.45
LA15 equivalent.

This will better handle the legacy Pretty PETG/CFPETG v3 profiles.
This commit is contained in:
Yuri D'Elia 2020-05-18 01:11:59 +02:00
parent 8d946ef76e
commit 000f824e39

View file

@ -78,10 +78,10 @@ float la10c_jerk(float j)
return j;
// bring low E-jerk values into equivalent LA 1.5 values by
// flattening the response in the (1-4.5) range using a piecewise
// flattening the response in the (0.3-4.5) range using a piecewise
// function. Is it truly worth to preserve the difference between
// 1.5/2.5 E-jerk for LA1.0? Probably not, but we try nonetheless.
j = j < 1.0? j * 3.625:
j = j < 0.3? j * 11.5:
j < 4.5? j * 0.25 + 3.375:
j;