gokul/cm4-media-carrier
A tscircuit package created by gokul.
- Version
- 0.1.0
- License
- unset
- Stars
- 0
components/Hdmi.tsx
import { HybridPad } from "./HybridPad"
import hdmiModel from "../models/hdmi.glb"
import { type ChipProps } from "tscircuit"
export const Hdmi = (props: ChipProps) => (
<connector isSmt={false} cadModel={{glbUrl:hdmiModel,modelUnitToMmScale:1,modelOriginPosition:{x:0,y:0,z:0},modelBounds:{min:{x:-7.5,y:-10.5,z:-2.18},max:{x:7.5,y:1.7,z:6.22}}}}
footprint={<footprint insertionDirection="from_y_neg">
<courtyardoutline outline={[{x:-8.35,y:2.3},{x:8.35,y:2.3},{x:8.35,y:-9.8},{x:-8.35,y:-9.8}]} />
<platedhole portHints={["SH4"]} pcbX="7.25mm" pcbY="-5.96mm" outerHeight="2.3mm" outerWidth="1.5mm" holeHeight="1.7mm" holeWidth="0.9mm" shape="pill" pcbRotation="0deg" />
<platedhole portHints={["SH3"]} pcbX="-7.25mm" pcbY="-5.96mm" outerHeight="2.3mm" outerWidth="1.5mm" holeHeight="1.7mm" holeWidth="0.9mm" shape="pill" pcbRotation="0deg" />
<platedhole portHints={["SH2"]} pcbX="-7.25mm" pcbY="0mm" outerHeight="3.3mm" outerWidth="1.5mm" holeHeight="2.7mm" holeWidth="0.9mm" shape="pill" pcbRotation="0deg" />
<platedhole portHints={["SH1"]} pcbX="7.25mm" pcbY="0mm" outerHeight="3.3mm" outerWidth="1.5mm" holeHeight="2.7mm" holeWidth="0.9mm" shape="pill" pcbRotation="0deg" />
<HybridPad portHints={["19"]} pcbX="-4.5mm" pcbY="0.73mm" layer="top" width="0.3mm" height="2.6mm" shape="rect" />
<HybridPad portHints={["18"]} pcbX="-4mm" pcbY="0.73mm" layer="top" width="0.3mm" height="2.6mm" shape="rect" />
<HybridPad portHints={["17"]} pcbX="-3.5mm" pcbY="0.73mm" layer="top" width="0.3mm" height="2.6mm" shape="rect" />
<HybridPad portHints={["16"]} pcbX="-3mm" pcbY="0.73mm" layer="top" width="0.3mm" height="2.6mm" shape="rect" />
<HybridPad portHints={["15"]} pcbX="-2.5mm" pcbY="0.73mm" layer="top" width="0.3mm" height="2.6mm" shape="rect" />
<HybridPad portHints={["14"]} pcbX="-2mm" pcbY="0.73mm" layer="top" width="0.3mm" height="2.6mm" shape="rect" />
<HybridPad portHints={["13"]} pcbX="-1.5mm" pcbY="0.73mm" layer="top" width="0.3mm" height="2.6mm" shape="rect" />
<HybridPad portHints={["12"]} pcbX="-1mm" pcbY="0.73mm" layer="top" width="0.3mm" height="2.6mm" shape="rect" />
<HybridPad portHints={["11"]} pcbX="-0.5mm" pcbY="0.73mm" layer="top" width="0.3mm" height="2.6mm" shape="rect" />
<HybridPad portHints={["10"]} pcbX="0mm" pcbY="0.73mm" layer="top" width="0.3mm" height="2.6mm" shape="rect" />
<HybridPad portHints={["9"]} pcbX="0.5mm" pcbY="0.73mm" layer="top" width="0.3mm" height="2.6mm" shape="rect" />
<HybridPad portHints={["8"]} pcbX="1mm" pcbY="0.73mm" layer="top" width="0.3mm" height="2.6mm" shape="rect" />
<HybridPad portHints={["7"]} pcbX="1.5mm" pcbY="0.73mm" layer="top" width="0.3mm" height="2.6mm" shape="rect" />
<HybridPad portHints={["6"]} pcbX="2mm" pcbY="0.73mm" layer="top" width="0.3mm" height="2.6mm" shape="rect" />
<HybridPad portHints={["5"]} pcbX="2.5mm" pcbY="0.73mm" layer="top" width="0.3mm" height="2.6mm" shape="rect" />
<HybridPad portHints={["4"]} pcbX="3mm" pcbY="0.73mm" layer="top" width="0.3mm" height="2.6mm" shape="rect" />
<HybridPad portHints={["3"]} pcbX="3.5mm" pcbY="0.73mm" layer="top" width="0.3mm" height="2.6mm" shape="rect" />
<HybridPad portHints={["2"]} pcbX="4mm" pcbY="0.73mm" layer="top" width="0.3mm" height="2.6mm" shape="rect" />
<HybridPad portHints={["1"]} pcbX="4.5mm" pcbY="0.73mm" layer="top" width="0.3mm" height="2.6mm" shape="rect" />
<silkscreenpath route={[{"x":-8.1,"y":-4.7},{"x":-8.1,"y":-1.8}]} strokeWidth={0.127} />
<silkscreenpath route={[{"x":5.6,"y":2},{"x":6.7,"y":2}]} strokeWidth={0.127} />
<silkscreenpath route={[{"x":-6.7,"y":2},{"x":-5.2,"y":2}]} strokeWidth={0.127} />
<silkscreenpath route={[{"x":-8.1,"y":-9.55},{"x":-8.1,"y":-7.2}]} strokeWidth={0.127} />
<silkscreenpath route={[{"x":8.1,"y":-7.1},{"x":8.1,"y":-9.55}]} strokeWidth={0.127} />
<silkscreenpath route={[{"x":8.1,"y":-1.9},{"x":8.1,"y":-4.7}]} strokeWidth={0.127} />
<silkscreenpath route={[{"x":-8.1,"y":-9.55},{"x":8.1,"y":-9.55}]} strokeWidth={0.127} />
<silkscreencircle pcbX={5.3} pcbY={2.5} radius={0.10000000000000053} layer="top" strokeWidth={0.2} isFilled={false} />
</footprint>}
{...props}
/>
)