@tscircuit/copper-pour-solver 0.0.21 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -104,8 +104,8 @@ export const convertCircuitJsonToInputProblem = (
|
|
|
104
104
|
radius: platedHole.outer_diameter / 2,
|
|
105
105
|
} as InputCircularPad)
|
|
106
106
|
} else if (platedHole.shape === "circular_hole_with_rect_pad") {
|
|
107
|
-
const rectWidth =
|
|
108
|
-
const rectHeight =
|
|
107
|
+
const rectWidth = platedHole.rect_pad_width
|
|
108
|
+
const rectHeight = platedHole.rect_pad_height
|
|
109
109
|
if (typeof rectWidth !== "number" || typeof rectHeight !== "number") {
|
|
110
110
|
continue
|
|
111
111
|
}
|