seveibar/f1c1990s-dev-board

This code manages the entire PCB assembly process for a computer hardware module, including component placement, schematic integration, automated routing, copper pouring, and design rule checks, focused on a four-layer carrier board with integrated support components and connectors.

Version
1.8.0
License
unset
Stars
0

modules/f1c100s/src/BreakoutTestPoint.tsx

import type { Terminal } from "./layout";
import { EXIT_DIAMETER, EXIT_DRILL } from "./profiles";

/** Bare plated test point, connected across the complete four-layer stack.
 * The explicit empty footprint suppresses core's default hole; the child
 * footprint is available immediately when restoring an imported module. */
export function BreakoutTestPoint({ terminal }: { terminal: Terminal }) {
	return (
		<testpoint
			name={terminal.name}
			footprintVariant="through_hole"
			padDiameter={EXIT_DIAMETER}
			holeDiameter={EXIT_DRILL}
			pcbX={terminal.x}
			pcbY={terminal.y}
			layer="top"
			doNotPlace
			footprint={<footprint />}
		>
			<footprint>
				<platedhole
					portHints={["pin1"]}
					shape="circle"
					holeDiameter={EXIT_DRILL}
					outerDiameter={EXIT_DIAMETER}
					pcbX={0}
					pcbY={0}
					coveredWithSolderMask={false}
				/>
			</footprint>
		</testpoint>
	);
}