pub fn fusing_current_trace(
width_mils: f64,
base_copper: CopperWeight,
plating: PlatingThickness,
etch_factor: EtchFactor,
time_s: f64,
ambient_c: f64,
) -> Result<FusingResult, CalcError>Expand description
Calculate the fusing current for a PCB trace from physical dimensions.
§Arguments
width_mils— trace width in mils (must be > 0)base_copper— base copper weightplating— plating thickness (usePlatingThickness::Barefor bare board)etch_factor— etch profile affecting the cross-section shapetime_s— pulse duration in seconds (must be > 0)ambient_c— ambient temperature in °C
§Errors
Returns CalcError::OutOfRange or CalcError::NegativeDimension if inputs are invalid.