get_fillet_params

get_fillet_params#

zeroheliumkit.src.routing.get_fillet_params(anchor: Anchor, radius: float) tuple[source]#
Calculate the lengths required for fillet routing and return fillet parameters.

The origin of fillet line is at (0,0).

Parameters:
  • anchor (Anchor) – The anchor (second) point for the fillet.

  • radius (float) – The radius of the fillet curve.

Returns:

A tuple containing the calculated lengths and the anchor direction.

Return type:

tuple