sangit/dataset-srj11-45-degree

This code defines a PCB layout with test points, obstacles, and routed traces, including components like rotated and twin pads for physical hardware design.

Version
0.1.0
License
unset
Stars
0

circuits/sample002.circuit.tsx

PCBPCB preview for circuits/sample002.circuit.tsx
SchematicSchematic preview for circuits/sample002.circuit.tsx
import { RotatedPadObstacle, SingleTraceBoard } from "./common"

/** Wide falling tunnel between two diamond obstacles. */
export default () => (
  <SingleTraceBoard
    width={19}
    height={8.4}
    start={{ x: -7.4, y: 1.5 }}
    end={{ x: 7.4, y: -1.5 }}
  >
    <RotatedPadObstacle name="OBS1" pcbX={-2.3} pcbY={-2.3} padWidth={2.35} />
    <RotatedPadObstacle name="OBS2" pcbX={2.3} pcbY={2.3} padWidth={2.35} />
  </SingleTraceBoard>
)