deskew module#

Reusable arc-polyline deskew geometry for BGA diff-pair escapes.

class DeskewBuild(right_shape, left_shape, right_copper, left_copper, right_exit, left_exit, bbox)[source]#

Bases: object

Result of one deskew_pair call.

Parameters:
right_shape: ArcPolyline#
left_shape: ArcPolyline#
right_copper: OverlappableCopper#
left_copper: OverlappableCopper#
right_exit: tuple[float, float]#
left_exit: tuple[float, float]#
bbox: tuple[float, float, float, float]#
is_overlappable_copper(copper)[source]#
Return type:

bool

deskew_pair(*, right_pad, left_pad, theta_exit_deg=0.0, layer=7, trace_w=0.13, pair_spacing=0.1, ball_dia=0.5, exit_above_lower=0.25, exit_ball_clearance=0.0, right_r_wrap=0.5)[source]#

Build deskew copper for one vertical diff pair.

right_pad is the lower-Y ball and receives the wrapping leg. left_pad is the upper-Y ball and receives the larger concentric arc. The names describe geometric slots from the recovered generator, not electrical polarity.

Return type:

DeskewBuild

Parameters: