diff --git a/src/fn/electrolytic.ts b/src/fn/electrolytic.ts
index 5623fc8a..a1099f17 100644
--- a/src/fn/electrolytic.ts
+++ b/src/fn/electrolytic.ts
@@ -6,6 +6,7 @@ import {
} from "circuit-json"
import { z } from "zod"
import { platedhole } from "src/helpers/platedhole"
+import { platedHoleWithRectPad } from "../helpers/platedHoleWithRectPad"
import { silkscreenRef, type SilkscreenRef } from "../helpers/silkscreenRef"
import { base_def } from "../helpers/zod/base_def"
@@ -74,7 +75,14 @@ export const electrolytic = (
const { p, id, od, d } = parameters
const plated_holes = [
- platedhole(1, -p / 2, 0, id, od),
+ platedHoleWithRectPad({
+ pn: 1,
+ x: -p / 2,
+ y: 0,
+ holeDiameter: id,
+ rectPadWidth: od,
+ rectPadHeight: od,
+ }),
platedhole(2, p / 2, 0, id, od),
]
diff --git a/tests/__snapshots__/electrolytic_d10mm_p7.5mm.snap.svg b/tests/__snapshots__/electrolytic_d10mm_p7.5mm.snap.svg
index 35b3eb52..5d8ef893 100644
--- a/tests/__snapshots__/electrolytic_d10mm_p7.5mm.snap.svg
+++ b/tests/__snapshots__/electrolytic_d10mm_p7.5mm.snap.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/kicad-parity/__snapshots__/electrolytic_boolean_difference.snap.svg b/tests/kicad-parity/__snapshots__/electrolytic_boolean_difference.snap.svg
index 672342e4..051bff73 100644
--- a/tests/kicad-parity/__snapshots__/electrolytic_boolean_difference.snap.svg
+++ b/tests/kicad-parity/__snapshots__/electrolytic_boolean_difference.snap.svg
@@ -1,2 +1,3 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/kicad-parity/__snapshots__/electrolytic_parity.snap.svg b/tests/kicad-parity/__snapshots__/electrolytic_parity.snap.svg
index e554c0de..1d2881c9 100644
--- a/tests/kicad-parity/__snapshots__/electrolytic_parity.snap.svg
+++ b/tests/kicad-parity/__snapshots__/electrolytic_parity.snap.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file