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/sample007.circuit.tsx
PCB
Schematic
import { RotatedPadObstacle, SingleTraceBoard } from "./common"
/** Long 45-degree tunnel formed by two tilted rectangular pads. */
export default () => (
<SingleTraceBoard
width={19}
height={8.1}
start={{ x: -7.4, y: -1.3 }}
end={{ x: 7.4, y: 1.3 }}
>
<RotatedPadObstacle
name="OBS1"
pcbX={-1.9}
pcbY={1.95}
padWidth={4.1}
padHeight={1}
pcbRotation={45}
/>
<RotatedPadObstacle
name="OBS2"
pcbX={1.9}
pcbY={-1.95}
padWidth={4.1}
padHeight={1}
pcbRotation={45}
/>
</SingleTraceBoard>
)