Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
u1f992 committed Jun 18, 2024
1 parent f7d461e commit 24cd5b9
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions easyeda2kicad/kicad/export_kicad_footprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,18 +262,6 @@ def find_circle_center_in_polygon(
return None


def apply_same_translation(
p: Tuple[float, float], ref_from: Tuple[float, float], ref_to: Tuple[float, float]
) -> Tuple[float, float]:
dx = ref_to[0] - ref_from[0]
dy = ref_to[1] - ref_from[1]

new_x = p[0] + dx
new_y = p[1] + dy

return (new_x, new_y)


# ---------------------------------------


Expand Down

0 comments on commit 24cd5b9

Please sign in to comment.