Hi!

I am developing a 3D printer software for a univeristy project and I need to calculate the E value in mm. I have one equation but it seems too much material is extruded and I think my equation is wrong.

My equation is:

//Distance between points
double difx=pow((x2-x1),2);
double dify=pow((y2-y1),2);
double dist=sqrt(difx+dify);
double MaterialWidth = min( max(MinimumLineWidth,(ExtrudedMaterialWidthRatio*LayerThickness)),MaximumLineWidth);
double pA = pow(MaterialWidth ,2);
double pD = pow(FilamentDiameter,2);
double f = ExtrusionFactor* ( pA / pD );
double res = f * dist;
return res;

Does anyone know if this is ok?

Thank you.

Edited 1 time(s). Last edit at 02/13/2014 01:26PM by Esanhi.