@tscircuit/copper-pour-solver 0.0.21 → 0.0.22
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.
- package/dist/index.js +10 -29
- package/lib/circuit-json/convert-circuit-json-to-input-problem.ts +10 -29
- package/package.json +1 -1
- package/tests/repro02-pinrow4-copper-pour/__snapshots__/repro02-pinrow4-copper-pour.snap.svg +0 -1
- package/tests/repro02-pinrow4-copper-pour/repro02-pinrow4-copper-pour.json +0 -2344
- package/tests/repro02-pinrow4-copper-pour/repro02-pinrow4-copper-pour.test.ts +0 -18
package/dist/index.js
CHANGED
|
@@ -385,6 +385,7 @@ var convertCircuitJsonToInputProblem = (circuitJson, options) => {
|
|
|
385
385
|
}
|
|
386
386
|
} else if (elm.type === "pcb_plated_hole") {
|
|
387
387
|
const platedHole = elm;
|
|
388
|
+
if (platedHole.shape !== "circle") continue;
|
|
388
389
|
if (!platedHole.layers.includes(options.layer)) continue;
|
|
389
390
|
let connectivityKey = connectivityMap.getNetConnectedToId(
|
|
390
391
|
platedHole.pcb_plated_hole_id
|
|
@@ -392,35 +393,15 @@ var convertCircuitJsonToInputProblem = (circuitJson, options) => {
|
|
|
392
393
|
if (!connectivityKey) {
|
|
393
394
|
connectivityKey = `unconnected-plated-hole:${platedHole.pcb_plated_hole_id}`;
|
|
394
395
|
}
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
});
|
|
405
|
-
} else if (platedHole.shape === "circular_hole_with_rect_pad") {
|
|
406
|
-
const rectWidth = platedHole.rect_pad_width;
|
|
407
|
-
const rectHeight = platedHole.rect_pad_height;
|
|
408
|
-
if (typeof rectWidth !== "number" || typeof rectHeight !== "number") {
|
|
409
|
-
continue;
|
|
410
|
-
}
|
|
411
|
-
pads.push({
|
|
412
|
-
shape: "rect",
|
|
413
|
-
padId: platedHole.pcb_plated_hole_id,
|
|
414
|
-
layer: options.layer,
|
|
415
|
-
connectivityKey,
|
|
416
|
-
bounds: {
|
|
417
|
-
minX: platedHole.x - rectWidth / 2,
|
|
418
|
-
minY: platedHole.y - rectHeight / 2,
|
|
419
|
-
maxX: platedHole.x + rectWidth / 2,
|
|
420
|
-
maxY: platedHole.y + rectHeight / 2
|
|
421
|
-
}
|
|
422
|
-
});
|
|
423
|
-
}
|
|
396
|
+
pads.push({
|
|
397
|
+
shape: "circle",
|
|
398
|
+
padId: platedHole.pcb_plated_hole_id,
|
|
399
|
+
layer: options.layer,
|
|
400
|
+
connectivityKey,
|
|
401
|
+
x: platedHole.x,
|
|
402
|
+
y: platedHole.y,
|
|
403
|
+
radius: platedHole.outer_diameter / 2
|
|
404
|
+
});
|
|
424
405
|
} else if (elm.type === "pcb_hole") {
|
|
425
406
|
const hole = elm;
|
|
426
407
|
if (hole.hole_shape !== "circle") continue;
|
|
@@ -84,6 +84,7 @@ export const convertCircuitJsonToInputProblem = (
|
|
|
84
84
|
}
|
|
85
85
|
} else if (elm.type === "pcb_plated_hole") {
|
|
86
86
|
const platedHole = elm as PcbPlatedHole
|
|
87
|
+
if (platedHole.shape !== "circle") continue
|
|
87
88
|
if (!platedHole.layers.includes(options.layer)) continue
|
|
88
89
|
|
|
89
90
|
let connectivityKey = connectivityMap.getNetConnectedToId(
|
|
@@ -93,35 +94,15 @@ export const convertCircuitJsonToInputProblem = (
|
|
|
93
94
|
connectivityKey = `unconnected-plated-hole:${platedHole.pcb_plated_hole_id}`
|
|
94
95
|
}
|
|
95
96
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} as InputCircularPad)
|
|
106
|
-
} else if (platedHole.shape === "circular_hole_with_rect_pad") {
|
|
107
|
-
const rectWidth = (platedHole as any).rect_pad_width
|
|
108
|
-
const rectHeight = (platedHole as any).rect_pad_height
|
|
109
|
-
if (typeof rectWidth !== "number" || typeof rectHeight !== "number") {
|
|
110
|
-
continue
|
|
111
|
-
}
|
|
112
|
-
pads.push({
|
|
113
|
-
shape: "rect",
|
|
114
|
-
padId: platedHole.pcb_plated_hole_id,
|
|
115
|
-
layer: options.layer,
|
|
116
|
-
connectivityKey,
|
|
117
|
-
bounds: {
|
|
118
|
-
minX: platedHole.x - rectWidth / 2,
|
|
119
|
-
minY: platedHole.y - rectHeight / 2,
|
|
120
|
-
maxX: platedHole.x + rectWidth / 2,
|
|
121
|
-
maxY: platedHole.y + rectHeight / 2,
|
|
122
|
-
},
|
|
123
|
-
} as InputRectPad)
|
|
124
|
-
}
|
|
97
|
+
pads.push({
|
|
98
|
+
shape: "circle",
|
|
99
|
+
padId: platedHole.pcb_plated_hole_id,
|
|
100
|
+
layer: options.layer,
|
|
101
|
+
connectivityKey,
|
|
102
|
+
x: platedHole.x,
|
|
103
|
+
y: platedHole.y,
|
|
104
|
+
radius: platedHole.outer_diameter / 2,
|
|
105
|
+
} as InputCircularPad)
|
|
125
106
|
} else if (elm.type === "pcb_hole") {
|
|
126
107
|
const hole = elm as PcbHole
|
|
127
108
|
if (hole.hole_shape !== "circle") continue
|
package/package.json
CHANGED
package/tests/repro02-pinrow4-copper-pour/__snapshots__/repro02-pinrow4-copper-pour.snap.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="600" data-software-used-string="@tscircuit/core@0.0.1175"><style></style><rect class="boundary" x="0" y="0" fill="#000" width="800" height="600" data-type="pcb_background" data-pcb-layer="global"/><rect class="pcb-boundary" fill="none" stroke="#fff" stroke-width="0.3" x="150" y="25" width="500" height="550" data-type="pcb_boundary" data-pcb-layer="global"/><path class="pcb-board" d="M 150 575 L 650 575 L 650 25 L 150 25 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="2.5" data-type="pcb_board" data-pcb-layer="board"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 368.25 175 L 304.75 175" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 304.75 175 L 304.75 175" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 431.75 175 L 368.25 175" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 368.25 175 L 368.25 175" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 495.25 175 L 431.75 175" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 431.75 175 L 431.75 175" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 368.25 300 L 304.75 300" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 304.75 300 L 304.75 300" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 368.25 425 L 304.75 425" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 304.75 425 L 304.75 425" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 431.75 300 L 368.25 300" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 368.25 300 L 368.25 300" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 431.75 425 L 368.25 425" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 368.25 425 L 368.25 425" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 495.25 300 L 431.75 300" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 431.75 300 L 431.75 300" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 495.25 425 L 431.75 425" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 431.75 425 L 431.75 425" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 304.75 425 L 304.75 300" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-trace" stroke="rgb(200, 52, 52)" fill="none" d="M 304.75 300 L 304.75 300" stroke-width="3.75" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges" data-type="pcb_trace" data-pcb-layer="top"/><path class="pcb-copper-pour pcb-copper-pour-brep" d="M 150 575 L 150 25 L 650 25 L 650 575 L 150 575 Z M 297.875 323.75 L 297.875 401.25 L 281 401.25 L 281 448.75 L 328.5 448.75 L 328.5 431.875 L 345.6363329882711 431.875 L 346.3078611028569 434.0887315186709 L 348.5025967078145 438.19479303421554 L 351.4562139468195 441.7937860531805 L 355.05520696578446 444.7474032921855 L 359.1612684813291 446.9421388971431 L 363.61660485211695 448.2936504095767 L 368.25 448.75 L 372.88339514788305 448.2936504095767 L 377.3387315186709 446.9421388971431 L 381.44479303421554 444.7474032921855 L 385.0437860531805 441.7937860531805 L 387.9974032921854 438.19479303421554 L 390.1921388971431 434.0887315186709 L 390.8636670117289 431.875 L 409.1363329882711 431.875 L 409.8078611028569 434.0887315186709 L 412.0025967078145 438.19479303421554 L 414.9562139468195 441.7937860531805 L 418.55520696578446 444.7474032921855 L 422.6612684813291 446.9421388971431 L 427.11660485211695 448.2936504095767 L 431.75 448.75 L 436.38339514788305 448.2936504095767 L 440.8387315186709 446.9421388971431 L 444.94479303421554 444.7474032921855 L 448.5437860531805 441.7937860531805 L 451.4974032921855 438.19479303421554 L 453.6921388971431 434.0887315186709 L 454.3636670117289 431.875 L 472.6363329882711 431.875 L 473.3078611028569 434.0887315186709 L 475.5025967078145 438.19479303421554 L 478.4562139468195 441.7937860531805 L 482.05520696578446 444.7474032921855 L 486.1612684813291 446.9421388971431 L 490.61660485211695 448.2936504095767 L 495.25 448.75 L 499.88339514788305 448.2936504095767 L 504.3387315186709 446.9421388971431 L 508.44479303421554 444.7474032921855 L 512.0437860531805 441.7937860531805 L 514.9974032921855 438.19479303421554 L 517.1921388971431 434.0887315186709 L 518.5436504095767 429.63339514788305 L 519 425 L 518.5436504095767 420.36660485211695 L 517.1921388971431 415.9112684813291 L 514.9974032921855 411.80520696578446 L 512.0437860531805 408.2062139468195 L 508.44479303421554 405.2525967078145 L 504.3387315186709 403.0578611028569 L 499.88339514788305 401.7063495904233 L 495.25 401.25 L 490.61660485211695 401.7063495904233 L 486.1612684813291 403.0578611028569 L 482.05520696578446 405.2525967078145 L 478.4562139468195 408.2062139468195 L 475.5025967078145 411.80520696578446 L 473.3078611028569 415.9112684813291 L 472.6363329882711 418.125 L 454.3636670117289 418.125 L 453.6921388971431 415.9112684813291 L 451.4974032921855 411.80520696578446 L 448.5437860531805 408.2062139468195 L 444.94479303421554 405.2525967078145 L 440.8387315186709 403.0578611028569 L 436.38339514788305 401.7063495904233 L 431.75 401.25 L 427.11660485211695 401.7063495904233 L 422.6612684813291 403.0578611028569 L 418.55520696578446 405.2525967078145 L 414.9562139468195 408.2062139468195 L 412.0025967078146 411.80520696578446 L 409.8078611028569 415.9112684813291 L 409.1363329882711 418.125 L 390.8636670117289 418.125 L 390.1921388971431 415.9112684813291 L 387.9974032921854 411.80520696578446 L 385.0437860531805 408.2062139468195 L 381.44479303421554 405.2525967078145 L 377.3387315186709 403.0578611028569 L 372.88339514788305 401.7063495904233 L 368.25 401.25 L 363.61660485211695 401.7063495904233 L 359.1612684813291 403.0578611028569 L 355.05520696578446 405.2525967078145 L 351.4562139468195 408.2062139468195 L 348.5025967078145 411.80520696578446 L 346.3078611028569 415.9112684813291 L 345.6363329882711 418.125 L 328.5 418.125 L 328.5 401.25 L 311.625 401.25 L 311.625 323.75 L 328.5 323.75 L 328.5 306.875 L 345.6363329882711 306.875 L 346.3078611028569 309.0887315186709 L 348.5025967078145 313.19479303421554 L 351.4562139468195 316.7937860531805 L 355.05520696578446 319.7474032921854 L 359.1612684813291 321.9421388971431 L 363.61660485211695 323.29365040957674 L 368.25 323.75 L 372.88339514788305 323.29365040957674 L 377.3387315186709 321.9421388971431 L 381.44479303421554 319.7474032921855 L 385.0437860531805 316.7937860531805 L 387.9974032921854 313.19479303421554 L 390.1921388971431 309.0887315186709 L 390.8636670117289 306.875 L 409.1363329882711 306.875 L 409.8078611028569 309.0887315186709 L 412.0025967078145 313.19479303421554 L 414.9562139468195 316.7937860531805 L 418.55520696578446 319.7474032921854 L 422.6612684813291 321.9421388971431 L 427.11660485211695 323.29365040957674 L 431.75 323.75 L 436.38339514788305 323.29365040957674 L 440.8387315186709 321.9421388971431 L 444.94479303421554 319.7474032921855 L 448.5437860531805 316.7937860531805 L 451.4974032921855 313.19479303421554 L 453.6921388971431 309.0887315186709 L 454.3636670117289 306.875 L 472.6363329882711 306.875 L 473.3078611028569 309.0887315186709 L 475.5025967078145 313.19479303421554 L 478.4562139468195 316.7937860531805 L 482.05520696578446 319.7474032921854 L 486.1612684813291 321.9421388971431 L 490.61660485211695 323.29365040957674 L 495.25 323.75 L 499.88339514788305 323.29365040957674 L 504.3387315186709 321.9421388971431 L 508.44479303421554 319.7474032921855 L 512.0437860531805 316.7937860531805 L 514.9974032921855 313.19479303421554 L 517.1921388971431 309.0887315186709 L 518.5436504095767 304.63339514788305 L 519 300 L 518.5436504095767 295.36660485211695 L 517.1921388971431 290.9112684813291 L 514.9974032921855 286.80520696578446 L 512.0437860531805 283.2062139468195 L 508.44479303421554 280.2525967078146 L 504.3387315186709 278.0578611028569 L 499.88339514788305 276.70634959042326 L 495.25 276.25 L 490.61660485211695 276.70634959042326 L 486.1612684813291 278.0578611028569 L 482.05520696578446 280.2525967078146 L 478.4562139468195 283.2062139468195 L 475.5025967078145 286.80520696578446 L 473.3078611028569 290.9112684813291 L 472.6363329882711 293.125 L 454.3636670117289 293.125 L 453.6921388971431 290.9112684813291 L 451.4974032921855 286.80520696578446 L 448.5437860531805 283.2062139468195 L 444.94479303421554 280.2525967078146 L 440.8387315186709 278.0578611028569 L 436.38339514788305 276.70634959042326 L 431.75 276.25 L 427.11660485211695 276.70634959042326 L 422.6612684813291 278.0578611028569 L 418.55520696578446 280.2525967078146 L 414.9562139468195 283.2062139468195 L 412.0025967078146 286.80520696578446 L 409.8078611028569 290.9112684813291 L 409.1363329882711 293.125 L 390.8636670117289 293.125 L 390.1921388971431 290.9112684813291 L 387.9974032921854 286.80520696578446 L 385.0437860531805 283.2062139468195 L 381.44479303421554 280.2525967078146 L 377.3387315186709 278.0578611028569 L 372.88339514788305 276.70634959042326 L 368.25 276.25 L 363.61660485211695 276.70634959042326 L 359.1612684813291 278.0578611028569 L 355.05520696578446 280.2525967078146 L 351.4562139468195 283.2062139468195 L 348.5025967078145 286.80520696578446 L 346.3078611028569 290.9112684813291 L 345.6363329882711 293.125 L 328.5 293.125 L 328.5 276.25 L 281 276.25 L 281 323.75 L 297.875 323.75 Z" fill="rgb(200, 52, 52)" fill-rule="evenodd" fill-opacity="0.5" data-type="pcb_copper_pour" data-pcb-layer="top"/><text x="0" y="0" dx="0" dy="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="12.5" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,304.75,146.875)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_0" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="top">pin1</text><text x="0" y="0" dx="0" dy="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="12.5" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,368.25,146.875)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_0" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="top">pin2</text><text x="0" y="0" dx="0" dy="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="12.5" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,431.75,146.875)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_0" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="top">pin3</text><text x="0" y="0" dx="0" dy="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="12.5" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,495.25,146.875)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_0" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="top">pin4</text><text x="0" y="0" dx="0" dy="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="17.5" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,400,111.5)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_0" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="top">H_GND</text><text x="0" y="0" dx="0" dy="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="12.5" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,304.75,271.875)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_1" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="top">pin1</text><text x="0" y="0" dx="0" dy="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="12.5" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,368.25,271.875)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_1" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="top">pin2</text><text x="0" y="0" dx="0" dy="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="12.5" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,431.75,271.875)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_1" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="top">pin3</text><text x="0" y="0" dx="0" dy="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="12.5" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,495.25,271.875)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_1" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="top">pin4</text><text x="0" y="0" dx="0" dy="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="17.5" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,400,236.5)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_1" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="top">H_VCC1</text><text x="0" y="0" dx="0" dy="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="12.5" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,304.75,396.875)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_2" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="top">pin1</text><text x="0" y="0" dx="0" dy="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="12.5" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,368.25,396.875)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_2" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="top">pin2</text><text x="0" y="0" dx="0" dy="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="12.5" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,431.75,396.875)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_2" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="top">pin3</text><text x="0" y="0" dx="0" dy="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="12.5" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,495.25,396.875)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_2" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="top">pin4</text><text x="0" y="0" dx="0" dy="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="17.5" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,400,361.5)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_2" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="top">H_VCC2</text><g data-type="pcb_plated_hole" data-pcb-layer="through"><rect class="pcb-hole-outer-pad" fill="rgb(200, 52, 52)" x="286" y="156.25" width="37.5" height="37.5" data-type="pcb_plated_hole" data-pcb-layer="top"/><circle class="pcb-hole-inner" fill="#FF26E2" cx="304.75" cy="175" r="12.5" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g><g data-type="pcb_plated_hole" data-pcb-layer="through"><circle class="pcb-hole-outer" fill="rgb(200, 52, 52)" cx="368.25" cy="175" r="18.75" data-type="pcb_plated_hole" data-pcb-layer="top"/><circle class="pcb-hole-inner" fill="#FF26E2" cx="368.25" cy="175" r="12.5" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g><g data-type="pcb_plated_hole" data-pcb-layer="through"><circle class="pcb-hole-outer" fill="rgb(200, 52, 52)" cx="431.75" cy="175" r="18.75" data-type="pcb_plated_hole" data-pcb-layer="top"/><circle class="pcb-hole-inner" fill="#FF26E2" cx="431.75" cy="175" r="12.5" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g><g data-type="pcb_plated_hole" data-pcb-layer="through"><circle class="pcb-hole-outer" fill="rgb(200, 52, 52)" cx="495.25" cy="175" r="18.75" data-type="pcb_plated_hole" data-pcb-layer="top"/><circle class="pcb-hole-inner" fill="#FF26E2" cx="495.25" cy="175" r="12.5" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g><g data-type="pcb_plated_hole" data-pcb-layer="through"><rect class="pcb-hole-outer-pad" fill="rgb(200, 52, 52)" x="286" y="281.25" width="37.5" height="37.5" data-type="pcb_plated_hole" data-pcb-layer="top"/><circle class="pcb-hole-inner" fill="#FF26E2" cx="304.75" cy="300" r="12.5" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g><g data-type="pcb_plated_hole" data-pcb-layer="through"><circle class="pcb-hole-outer" fill="rgb(200, 52, 52)" cx="368.25" cy="300" r="18.75" data-type="pcb_plated_hole" data-pcb-layer="top"/><circle class="pcb-hole-inner" fill="#FF26E2" cx="368.25" cy="300" r="12.5" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g><g data-type="pcb_plated_hole" data-pcb-layer="through"><circle class="pcb-hole-outer" fill="rgb(200, 52, 52)" cx="431.75" cy="300" r="18.75" data-type="pcb_plated_hole" data-pcb-layer="top"/><circle class="pcb-hole-inner" fill="#FF26E2" cx="431.75" cy="300" r="12.5" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g><g data-type="pcb_plated_hole" data-pcb-layer="through"><circle class="pcb-hole-outer" fill="rgb(200, 52, 52)" cx="495.25" cy="300" r="18.75" data-type="pcb_plated_hole" data-pcb-layer="top"/><circle class="pcb-hole-inner" fill="#FF26E2" cx="495.25" cy="300" r="12.5" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g><g data-type="pcb_plated_hole" data-pcb-layer="through"><rect class="pcb-hole-outer-pad" fill="rgb(200, 52, 52)" x="286" y="406.25" width="37.5" height="37.5" data-type="pcb_plated_hole" data-pcb-layer="top"/><circle class="pcb-hole-inner" fill="#FF26E2" cx="304.75" cy="425" r="12.5" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g><g data-type="pcb_plated_hole" data-pcb-layer="through"><circle class="pcb-hole-outer" fill="rgb(200, 52, 52)" cx="368.25" cy="425" r="18.75" data-type="pcb_plated_hole" data-pcb-layer="top"/><circle class="pcb-hole-inner" fill="#FF26E2" cx="368.25" cy="425" r="12.5" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g><g data-type="pcb_plated_hole" data-pcb-layer="through"><circle class="pcb-hole-outer" fill="rgb(200, 52, 52)" cx="431.75" cy="425" r="18.75" data-type="pcb_plated_hole" data-pcb-layer="top"/><circle class="pcb-hole-inner" fill="#FF26E2" cx="431.75" cy="425" r="12.5" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g><g data-type="pcb_plated_hole" data-pcb-layer="through"><circle class="pcb-hole-outer" fill="rgb(200, 52, 52)" cx="495.25" cy="425" r="18.75" data-type="pcb_plated_hole" data-pcb-layer="top"/><circle class="pcb-hole-inner" fill="#FF26E2" cx="495.25" cy="425" r="12.5" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g></svg>
|