' --- 3. Iterative Calculation for Reference Diameter (d_Bez) --- ' DIN 5480 uses a reference profile shift to determine d_Bez. ' For simplicity in this calculator, we assume the standard case where ' the reference diameter equals the pitch diameter (no specific profile shift input). ' We calculate the ISO standard involute parameters.