ShiboSoftwareDev/kicad-footprint

This code defines a grid of physical PCB elements including a 1kΩ resistor, various holes, pads, fiducials, cutouts, text labels, and annotation features for manufacturing and layout reference.

Usage: To import and use the "@tsci/ShiboSoftwareDev.kicad-footprint" package, follow these steps: 1. Import the component in your project: ```tsx import KicadFootprint from "@tsci/ShiboSoftwareDev.kicad-footprint" ``` 2. Use the component within a tscircuit board or panel: ```tsx <board> <KicadFootprint /> </board> ``` The package provides various PCB elements like resistors, breakout points, cutouts, fiducials, holes, SMT pads, and various note/text elements that can be used in circuit design.

Version
0.0.1
License
unset
Stars
0

dist/pcb.svg

PCBPCB preview for dist/pcb.svg
SchematicSchematic preview for dist/pcb.svg
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="600" data-software-used-string="@tscircuit/core@0.0.973"><style></style><rect class="boundary" x="0" y="0" fill="#000" width="800" height="600" data-type="pcb_background" data-pcb-layer="global"/><rect class="pcb-boundary" fill="none" stroke="#fff" stroke-width="0.3" x="110.34482758620692" y="10.344827586206804" width="579.3103448275863" height="579.3103448275863" data-type="pcb_boundary" data-pcb-layer="global"/><path class="pcb-panel" d="M 110.34482758620692 589.655172413793 L 689.6551724137933 589.655172413793 L 689.6551724137933 10.344827586206804 L 110.34482758620692 10.344827586206804 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="1.0344827586206897" data-type="pcb_panel" data-pcb-layer="board"/><path class="pcb-board" d="M 162.06896551724142 537.9310344827586 L 265.5172413793104 537.9310344827586 L 265.5172413793104 434.4827586206896 L 162.06896551724142 434.4827586206896 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="1.0344827586206897" data-type="pcb_board" data-pcb-layer="board"/><path class="pcb-board" d="M 286.2068965517242 537.9310344827586 L 389.65517241379314 537.9310344827586 L 389.65517241379314 434.4827586206896 L 286.2068965517242 434.4827586206896 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="1.0344827586206897" data-type="pcb_board" data-pcb-layer="board"/><path class="pcb-board" d="M 410.344827586207 537.9310344827586 L 513.7931034482759 537.9310344827586 L 513.7931034482759 434.4827586206896 L 410.344827586207 434.4827586206896 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="1.0344827586206897" data-type="pcb_board" data-pcb-layer="board"/><path class="pcb-board" d="M 534.4827586206898 537.9310344827586 L 637.9310344827587 537.9310344827586 L 637.9310344827587 434.4827586206896 L 534.4827586206898 434.4827586206896 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="1.0344827586206897" data-type="pcb_board" data-pcb-layer="board"/><path class="pcb-board" d="M 162.06896551724142 413.7931034482758 L 265.5172413793104 413.7931034482758 L 265.5172413793104 310.34482758620686 L 162.06896551724142 310.34482758620686 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="1.0344827586206897" data-type="pcb_board" data-pcb-layer="board"/><path class="pcb-board" d="M 286.2068965517242 413.7931034482758 L 389.65517241379314 413.7931034482758 L 389.65517241379314 310.34482758620686 L 286.2068965517242 310.34482758620686 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="1.0344827586206897" data-type="pcb_board" data-pcb-layer="board"/><path class="pcb-board" d="M 410.344827586207 413.7931034482758 L 513.7931034482759 413.7931034482758 L 513.7931034482759 310.34482758620686 L 410.344827586207 310.34482758620686 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="1.0344827586206897" data-type="pcb_board" data-pcb-layer="board"/><path class="pcb-board" d="M 534.4827586206898 413.7931034482758 L 637.9310344827587 413.7931034482758 L 637.9310344827587 310.34482758620686 L 534.4827586206898 310.34482758620686 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="1.0344827586206897" data-type="pcb_board" data-pcb-layer="board"/><path class="pcb-board" d="M 162.06896551724142 289.655172413793 L 265.5172413793104 289.655172413793 L 265.5172413793104 186.20689655172407 L 162.06896551724142 186.20689655172407 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="1.0344827586206897" data-type="pcb_board" data-pcb-layer="board"/><path class="pcb-board" d="M 286.2068965517242 289.655172413793 L 389.65517241379314 289.655172413793 L 389.65517241379314 186.20689655172407 L 286.2068965517242 186.20689655172407 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="1.0344827586206897" data-type="pcb_board" data-pcb-layer="board"/><path class="pcb-board" d="M 410.344827586207 289.655172413793 L 513.7931034482759 289.655172413793 L 513.7931034482759 186.20689655172407 L 410.344827586207 186.20689655172407 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="1.0344827586206897" data-type="pcb_board" data-pcb-layer="board"/><path class="pcb-board" d="M 534.4827586206898 289.655172413793 L 637.9310344827587 289.655172413793 L 637.9310344827587 186.20689655172407 L 534.4827586206898 186.20689655172407 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="1.0344827586206897" data-type="pcb_board" data-pcb-layer="board"/><path class="pcb-board" d="M 162.06896551724142 165.5172413793103 L 265.5172413793104 165.5172413793103 L 265.5172413793104 62.06896551724131 L 162.06896551724142 62.06896551724131 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="1.0344827586206897" data-type="pcb_board" data-pcb-layer="board"/><path class="pcb-board" d="M 286.2068965517242 165.5172413793103 L 389.65517241379314 165.5172413793103 L 389.65517241379314 62.06896551724131 L 286.2068965517242 62.06896551724131 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="1.0344827586206897" data-type="pcb_board" data-pcb-layer="board"/><path class="pcb-board" d="M 410.344827586207 165.5172413793103 L 513.7931034482759 165.5172413793103 L 513.7931034482759 62.06896551724131 L 410.344827586207 62.06896551724131 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="1.0344827586206897" data-type="pcb_board" data-pcb-layer="board"/><path class="pcb-board" d="M 534.4827586206898 165.5172413793103 L 637.9310344827587 165.5172413793103 L 637.9310344827587 62.06896551724131 L 534.4827586206898 62.06896551724131 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="1.0344827586206897" data-type="pcb_board" data-pcb-layer="board"/><circle class="pcb-pad" fill="rgb(200, 52, 52)" cx="462.06896551724145" cy="486.20689655172407" r="5.172413793103448" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="327.58620689655174" y="351.7241379310344" width="20.689655172413794" height="20.689655172413794" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="201.12068965517247" y="481.2931034482758" width="8.275862068965518" height="9.827586206896552" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="218.18965517241384" y="481.2931034482758" width="8.275862068965518" height="9.827586206896552" data-type="pcb_smtpad" data-pcb-layer="top"/><path class="pcb-silkscreen pcb-silkscreen-top" d="M 211.33871034482763 480.80172413793093 L 216.2474965517242 480.80172413793093" fill="none" stroke="#f2eda1" stroke-width="1.2413793103448276" stroke-linecap="round" stroke-linejoin="round" data-pcb-component-id="pcb_component_0" data-pcb-silkscreen-path-id="pcb_silkscreen_path_0" data-type="pcb_silkscreen_path" data-pcb-layer="top"/><path class="pcb-silkscreen pcb-silkscreen-top" d="M 211.33871034482763 491.6120689655172 L 216.2474965517242 491.6120689655172" fill="none" stroke="#f2eda1" stroke-width="1.2413793103448276" stroke-linecap="round" stroke-linejoin="round" data-pcb-component-id="pcb_component_0" data-pcb-silkscreen-path-id="pcb_silkscreen_path_1" data-type="pcb_silkscreen_path" data-pcb-layer="top"/><text x="0" y="0" dx="0" dy="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="6.206896551724139" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,213.79310344827593,471.41379310344826)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_0" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="top">R1</text><g class="pcb-fabrication-note-dimension" data-type="pcb_fabrication_note_dimension" data-pcb-fabrication-note-dimension-id="pcb_fabrication_note_dimension_0" data-pcb-layer="top" data-pcb-component-id="null"><path d="M 565.5172413793105 134.4827586206896 L 558.2023436428979 127.16786088427705" stroke="rgba(255,255,255,0.5)" fill="none" stroke-width="2.0689655172413794" stroke-linecap="round" class="pcb-fabrication-note-dimension-extension"/><path d="M 606.896551724138 93.10344827586201 L 599.5816539877254 85.78855053944946" stroke="rgba(255,255,255,0.5)" fill="none" stroke-width="2.0689655172413794" stroke-linecap="round" class="pcb-fabrication-note-dimension-extension"/><path d="M 572.832139115723 127.16786088427705 L 599.5816539877254 100.41834601227455" stroke="rgba(255,255,255,0.5)" fill="none" stroke-width="2.0689655172413794" stroke-linecap="round" class="pcb-fabrication-note-dimension-line"/><path d="M 565.5172413793105 134.4827586206896 L 569.1746902475167 123.51041201607077 L 576.4895879839293 130.82530975248332 Z" fill="rgba(255,255,255,0.5)" class="pcb-fabrication-note-dimension-arrow"/><path d="M 606.896551724138 93.10344827586201 L 595.9242051195192 96.76089714406828 L 603.2391028559317 104.07579488048083 Z" fill="rgba(255,255,255,0.5)" class="pcb-fabrication-note-dimension-arrow"/><text x="575.2345499471053" y="102.82075684365694" fill="rgba(255,255,255,0.5)" font-size="10.344827586206897" font-family="Arial, sans-serif" text-anchor="middle" dominant-baseline="central" class="pcb-fabrication-note-dimension-text" transform="rotate(-45.00000000000002 575.2345499471053 102.82075684365694)">5.66mm</text></g><g data-type="pcb_plated_hole" data-pcb-layer="through"><circle class="pcb-hole-outer" fill="rgb(200, 52, 52)" cx="213.79310344827593" cy="362.06896551724134" r="10.344827586206897" data-type="pcb_plated_hole" data-pcb-layer="top"/><circle class="pcb-hole-inner" fill="#FF26E2" cx="213.79310344827593" cy="362.06896551724134" r="5.172413793103448" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g><circle class="pcb-cutout pcb-cutout-circle" cx="337.93103448275866" cy="486.20689655172407" r="10.344827586206897" fill="#FF26E2" data-type="pcb_cutout" data-pcb-layer="drill"/><circle class="pcb-hole" cx="586.2068965517242" cy="486.20689655172407" r="5.172413793103448" fill="#FF26E2" data-type="pcb_hole" data-pcb-layer="drill"/><g class="pcb-note-dimension" data-type="pcb_note_dimension" data-pcb-note-dimension-id="pcb_note_dimension_0" data-pcb-layer="overlay"><path d="M 441.3793103448277 382.7586206896551 L 434.06441260841507 375.44372295324257" stroke="rgb(89, 148, 220)" fill="none" stroke-width="2.0689655172413794" stroke-linecap="round" class="pcb-note-dimension-extension"/><path d="M 482.75862068965523 341.37931034482756 L 475.4437229532427 334.06441260841495" stroke="rgb(89, 148, 220)" fill="none" stroke-width="2.0689655172413794" stroke-linecap="round" class="pcb-note-dimension-extension"/><path d="M 448.6942080812402 375.44372295324257 L 475.4437229532427 348.6942080812401" stroke="rgb(89, 148, 220)" fill="none" stroke-width="2.0689655172413794" stroke-linecap="round" class="pcb-note-dimension-line"/><path d="M 441.3793103448277 382.7586206896551 L 445.0367592130339 371.78627408503627 L 452.35165694944646 379.1011718214488 Z" fill="rgb(89, 148, 220)" class="pcb-note-dimension-arrow"/><path d="M 482.75862068965523 341.37931034482756 L 471.7862740850364 345.0367592130338 L 479.10117182144893 352.35165694944635 Z" fill="rgb(89, 148, 220)" class="pcb-note-dimension-arrow"/><text x="451.0966189126226" y="351.0966189126225" fill="rgb(89, 148, 220)" font-size="10.344827586206897" font-family="Arial, sans-serif" text-anchor="middle" dominant-baseline="central" class="pcb-note-dimension-text" transform="rotate(-45 451.0966189126226 351.0966189126225)">5.66mm</text></g><path d="M 565.5172413793105 382.7586206896551 L 606.896551724138 341.37931034482756" stroke="rgb(89, 148, 220)" fill="none" stroke-width="1.0344827586206897" class="pcb-note-path" data-type="pcb_note_path" data-pcb-note-path-id="pcb_note_path_0" data-pcb-layer="overlay"/><line x1="317.2413793103449" y1="258.6206896551723" x2="358.62068965517244" y2="217.24137931034477" stroke="rgb(89, 148, 220)" stroke-width="1.0344827586206897" stroke-linecap="round" class="pcb-note-line" data-type="pcb_note_line" data-pcb-note-line-id="pcb_note_line_0" data-pcb-layer="overlay"/><rect x="441.3793103448277" y="217.24137931034477" width="41.37931034482756" height="41.37931034482756" class="pcb-note-rect" data-type="pcb_note_rect" data-pcb-note-rect-id="pcb_note_rect_0" data-pcb-layer="overlay" fill="none" stroke="rgb(89, 148, 220)" stroke-width="1.0344827586206897"/><text x="586.2068965517242" y="237.93103448275855" fill="rgb(89, 148, 220)" font-family="Arial, sans-serif" font-size="10.344827586206897" text-anchor="middle" dominant-baseline="central" class="pcb-note-text" data-type="pcb_note_text" data-pcb-note-text-id="pcb_note_text_0" data-pcb-layer="overlay">Note</text><text x="0" y="0" font-family="Arial, sans-serif" font-size="10.344827586206897" text-anchor="middle" dominant-baseline="central" transform="matrix(0.9998476951563913,0.01745240643728351,-0.01745240643728351,0.9998476951563913,213.79310344827593,113.79310344827582)" class="pcb-fabrication-note-text" fill="rgba(255,255,255,0.5)" data-type="pcb_fabrication_note_text" data-pcb-layer="overlay">Fab Note</text><rect x="317.2413793103449" y="93.10344827586201" width="41.37931034482756" height="41.37931034482759" class="pcb-fabrication-note-rect" data-type="pcb_fabrication_note_rect" data-pcb-fabrication-note-rect-id="pcb_fabrication_note_rect_0" data-pcb-layer="overlay" data-pcb-component-id="null" fill="none" stroke="rgba(255,255,255,0.5)" stroke-width="2.0689655172413794"/><path class="pcb-fabrication-note-path" stroke="rgba(255,255,255,0.5)" fill="none" d="M 441.3793103448277 134.4827586206896 L 482.75862068965523 93.10344827586201" stroke-width="1.0344827586206897" data-pcb-component-id="null" data-pcb-fabrication-note-path-id="pcb_fabrication_note_path_0" data-type="pcb_fabrication_note_path" data-pcb-layer="overlay"/><path d="M-0.0794999999999999 -0.37334051557181824L-0.13289573680672506 -0.45771001969655756 M-0.13289573680672506 -0.45771001969655756L-0.23083772326107543 -0.5174448166736718 M-0.23083772326107543 -0.5174448166736718L-0.4163235487578335 -0.5565 M-0.4163235487578335 -0.5565L-0.5533965020925643 -0.5445526857162871 M-0.5533965020925643 -0.5445526857162871L-0.6741934384193369 -0.5045548644934523 M-0.6741934384193369 -0.5045548644934523L-0.7921423052180386 -0.4122373641225966 M-0.7921423052180386 -0.4122373641225966L-0.8744999999999999 -0.16991308790928045 M-0.8744999999999999 -0.16991308790928045L-0.8098698320617721 0.0736879671751508 M-0.8098698320617721 0.0736879671751508L-0.7134565729650806 0.1717853693310587 M-0.7134565729650806 0.1717853693310587L-0.6132174550225158 0.21768935067289696 M-0.6132174550225158 0.21768935067289696L-0.4179411660534742 0.23850000000000005 M-0.4179411660534742 0.23850000000000005L-0.2477609308477956 0.21190180514005985 M-0.2477609308477956 0.21190180514005985L-0.12175342797458544 0.13428118432763858 M-0.12175342797458544 0.13428118432763858L-0.0794999999999999 0.024728397656192058 M0.15900000000000003 -0.14548499999999998L0.15900000000000003 0.12879000000000007 M0.15900000000000003 0.12879000000000007L0.217035 0.21067500000000006 M0.217035 0.21067500000000006L0.33231000000000005 0.23850000000000005 M0.33231000000000005 0.23850000000000005L0.5056200000000001 0.23850000000000005 M0.5056200000000001 0.23850000000000005L0.6216900000000001 0.21067500000000006 M0.6216900000000001 0.21067500000000006L0.795 0.12879000000000007 M0.795 -0.14548499999999998L0.795 0.23850000000000005" fill="none" stroke="rgb(200, 52, 52)" stroke-width="0.11925" stroke-linecap="round" stroke-linejoin="round" transform="matrix(10.344827586206897,0,0,10.344827586206897,213.79310344827593,237.93103448275855)" class="pcb-copper-text pcb-copper-top" data-type="pcb_copper_text" data-pcb-copper-text-id="pcb_copper_text_0"/></svg>