Macro's - Repository?
-
@alex-cr that's great. I will definitely be checking that out.
-
@Phaedrux I hope it's not too rough. My old engineering professors and current coworkers would kill me for not labeling all the axis...
-
Thanks! I used gnuplot, which is able to fit any curve, and successfully computes A and B. Here is how I did:
-
extrude 50mm (for example) at different speeds and read the real extrusion length;
-
build a table with 2 cols: first col = speed, second col = error from theorical extrusion / theorical extrusion. You need to revert the sign so the table contains the correction to retreive the correct extrusion;
-
save this table in a file called 'extrusion.dat';
-
in gnuplot, do:
A = 1
B = 1
f(x) = A * X + B * x * x
fit f(x) 'extrusion.dat' via A, B <<<<< will print A and B and errors
plot 'extrusion.data'
replot f(x)Hope this helps.
-