seveibar/push-button

Generated from JLCPCB part number C110153

Version
0.1.0
Stars
0

dist/index.js

PCBPCB preview for dist/index.js
SchematicSchematic preview for dist/index.js
import { jsx, jsxs } from 'react/jsx-runtime';

const pinLabels = {
    pin1: ["pin1"],
    pin2: ["pin2"],
    pin3: ["pin3"],
    pin4: ["pin4"],
};
const PushButton = (props) => {
    return (jsx("chip", { pinLabels: pinLabels, supplierPartNumbers: {
            jlcpcb: ["C110153"],
        }, manufacturerPartNumber: "K2_1102DP_C4SW_04", footprint: jsxs("footprint", { children: [jsx("platedhole", { portHints: ["pin4"], pcbX: "3.2499299999998357mm", pcbY: "-2.249932000000058mm", outerDiameter: "1.9999959999999999mm", holeDiameter: "1.3000228mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin2"], pcbX: "3.2499299999998357mm", pcbY: "2.249932000000058mm", outerDiameter: "1.9999959999999999mm", holeDiameter: "1.3000228mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin1"], pcbX: "-3.2499299999999494mm", pcbY: "2.249932000000058mm", outerDiameter: "1.9999959999999999mm", holeDiameter: "1.3000228mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin3"], pcbX: "-3.2499299999999494mm", pcbY: "-2.249932000000058mm", outerDiameter: "1.9999959999999999mm", holeDiameter: "1.3000228mm", shape: "circle" }), jsx("silkscreenpath", { route: [
                        { x: -2.2743160000001126, y: -2.999994000000015 },
                        { x: 2.274315999999999, y: -2.999994000000015 },
                    ] }), jsx("silkscreenpath", { route: [
                        { x: -2.999994000000129, y: 1.0999978000000965 },
                        { x: -2.999994000000129, y: -0.999998000000005 },
                    ] }), jsx("silkscreenpath", { route: [
                        { x: 3.0999937999998792, y: 1.0279888000000028 },
                        { x: 3.0999937999998792, y: -1.0999977999999828 },
                    ] }), jsx("silkscreenpath", { route: [
                        { x: -1.99999600000001, y: 2.999994000000015 },
                        { x: 2.274315999999999, y: 2.999994000000015 },
                    ] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/download?uuid=6ef04b62f1e945518af209609f65fa6f&pn=C110153",
            rotationOffset: { x: 0, y: 0, z: 0 },
            positionOffset: { x: 0, y: 0, z: -2.4499300000000632 },
        }, ...props }));
};

export { PushButton };