ShiboSoftwareDev/linux-gameboy-advance
Restores PCB assembly metadata by assigning part numbers and 3D CAD models, removing test-point bodies, and validating top-side SMT solder-paste features without altering copper or pads.
- Version
- 1.0.17
- License
- unset
- Stars
- 0
imports/TL3342F160QG.tsx
import type { PushButtonProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"]
} as const
export const TL3342F160QG = (props: PushButtonProps<typeof pinLabels>) => {
const { name = "SW1", ...restProps } = props
return (
<pushbutton
name={name}
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C2886898"
]
}}
manufacturerPartNumber="TL3342F160QG"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="-2.999994mm" pcbY="-1.849882mm" width="1.580007mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="2.999994mm" pcbY="-1.849882mm" width="1.580007mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-2.999994mm" pcbY="1.849882mm" width="1.580007mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="2.999994mm" pcbY="1.849882mm" width="1.580007mm" height="0.7999984mm" shape="rect" />
<silkscreenpath route={[{"x":-0.985291400000051,"y":2.6000201999999035},{"x":1.0666983999999502,"y":2.6000201999999035}]} />
<silkscreenpath route={[{"x":2.5999439999999368,"y":1.0159999999999627},{"x":2.59991859999991,"y":-0.9839960000000474}]} />
<silkscreenpath route={[{"x":-2.600071000000071,"y":0.999998000000005},{"x":-2.600071000000071,"y":-0.9999980000001187}]} />
<silkscreenpath route={[{"x":1.0213085999998839,"y":-2.599994800000104},{"x":-1.0160762000000432,"y":-2.599994800000104}]} />
<silkscreenpath route={[{"x":1.0666983999999502,"y":2.6000201999999035},{"x":1.0666983999999502,"y":2.549245600000063},{"x":1.7695925999998963,"y":1.8463513999998895}]} />
<silkscreenpath route={[{"x":2.546451599999841,"y":1.0694924000000583},{"x":2.5999439999999368,"y":1.0159999999999627}]} />
<silkscreenpath route={[{"x":2.59991859999991,"y":-0.9839960000000474},{"x":2.59991859999991,"y":-1.0213847999999643},{"x":2.5518110000000434,"y":-1.0694924000000583}]} />
<silkscreenpath route={[{"x":1.7695925999998963,"y":-1.8517108000000917},{"x":1.0213085999998839,"y":-2.599994800000104}]} />
<silkscreenpath route={[{"x":-2.600071000000071,"y":0.999998000000005},{"x":-2.585313600000063,"y":0.999998000000005},{"x":-2.51581920000001,"y":1.0694924000000583}]} />
<silkscreenpath route={[{"x":-1.7695926000001236,"y":1.8157189999999446},{"x":-0.985291400000051,"y":2.6000201999999035}]} />
<silkscreenpath route={[{"x":-2.600071000000071,"y":-0.9999980000001187},{"x":-2.600071000000071,"y":-1.0159999999999627},{"x":-2.546578600000089,"y":-1.0694924000000583}]} />
<silkscreenpath route={[{"x":-1.7695926000001236,"y":-1.8464784000000236},{"x":-1.0160762000000432,"y":-2.599994800000104}]} />
<silkscreencircle pcbX="-0mm" pcbY="0mm" radius="2.032mm" />
<silkscreencircle pcbX="-0mm" pcbY="0mm" radius="1.397mm" />
<silkscreentext text="{NAME}" pcbX="-0.002032mm" pcbY="3.609596mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-4.036632000000054,"y":2.8595960000000105},{"x":4.032567999999969,"y":2.8595960000000105},{"x":4.032567999999969,"y":-2.8728039999999737},{"x":-4.036632000000054,"y":-2.8728039999999737},{"x":-4.036632000000054,"y":2.8595960000000105}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2886898.obj?uuid=4a64872a881b4ebbb48f92ea6bd596be",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2886898.step?uuid=4a64872a881b4ebbb48f92ea6bd596be",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0.00005080000005364127, y: 0, z: -0.05 },
}}
{...restProps}
/>
)
}