Skip to main content

fusing_current_trace

Function fusing_current_trace 

Source
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 weight
  • plating — plating thickness (use PlatingThickness::Bare for bare board)
  • etch_factor — etch profile affecting the cross-section shape
  • time_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.