/// <summary> /// Recalculate cutting speed. /// </summary> void Calculate_Vc() { #if TRACE_EVENTS log.Debug($"Calculator: Vc({material.Vc})"); #endif Vc.SetValueScaled(material.Vc); }
/// <summary> /// Recalculate Vc value. /// </summary> void Calculate_Vc() { // calculate Vc from n and tool D // Vc = pi D n // n from rotations to time domain. (not yet done automatic) var v1_3 = new DoubleST(1, "[1/s]") * (DoubleST)n / n.BaseNormal(); var v1 = Math.PI * (DoubleST)tool.D * v1_3; #if TRACE_EVENTS log.Debug($"Calculator.Material: Vc({v1})"); #endif Vc.SetValueScaled(v1); }