Skip to main content

<platedhole />

Overview

The <platedhole /> element is used to represent a plated through hole on a PCB.

export default () => (
<board width="10mm" height="10mm">
<chip name="U1" footprint={
<footprint>
<platedhole
pcbX="0mm"
pcbY="0mm"
shape="circle"
holeDiameter="1mm"
outerDiameter="2mm"
portHints={["pin1"]}
/>
</footprint>
} />
</board>
)
PCB Circuit Preview

Plated Hole Shapes

There are 3 types of plated holes:

  • circle - A circular plated hole
  • oval - An oval plated hole
  • pill - A pill-shaped plated hole (rounded rectangle)

Each shape has different properties

Properties

PropertyShapeDescription
holeDiametercircleThe diameter of the inner hole
outerDiametercircleThe diameter of the outer copper pad
innerWidthoval, pillThe width of the inner hole
innerHeightoval, pillThe height of the inner hole
outerWidthoval, pillThe width of the outer copper pad
outerHeightoval, pillThe height of the outer copper pad
portHintsallArray of port names that this hole connects to
pcbXallX position of the hole center on the PCB
pcbYallY position of the hole center on the PCB
nameallOptional name identifier for the plated hole