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/schematic.svg
PCB
Schematic
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="600" style="background-color: rgb(245, 241, 237)" data-real-to-screen-transform="matrix(431.9932159785,0,0,-431.9932159785,600,300)" data-software-used-string="@tscircuit/core@0.0.973"><style>
.boundary { fill: rgb(245, 241, 237); }
.schematic-boundary { fill: none; stroke: #fff; }
.component { fill: none; stroke: rgb(132, 0, 0); }
.chip { fill: rgb(255, 255, 194); stroke: rgb(132, 0, 0); }
.component-pin { fill: none; stroke: rgb(132, 0, 0); }
/* Basic per-trace hover fallback */
.trace:hover {
filter: invert(1);
}
.trace:hover .trace-crossing-outline {
opacity: 0;
}
.trace:hover .trace-junction {
filter: invert(1);
}
/* Net-hover highlighting: when a trace or its overlays are hovered,
invert color for all traces (base + overlays) sharing the same
subcircuit connectivity key. Also hide crossing outline during hover. */
.text { font-family: sans-serif; fill: rgb(0, 150, 0); }
.pin-number { fill: rgb(169, 0, 0); }
.port-label { fill: rgb(0, 100, 100); }
.component-name { fill: rgb(0, 100, 100); }
</style><rect class="boundary" x="0" y="0" width="1200" height="600"/><g data-circuit-json-type="schematic_component" data-schematic-component-id="schematic_component_0"><rect class="component-overlay" x="362.40373121182495" y="243.840881922795" width="475.19253757635" height="116.63816831419501" fill="transparent"/><path d="M 362.40373121182495 300 L 483.36183168580493 300" stroke="rgb(132, 0, 0)" fill="none" stroke-width="8.63986431957px" stroke-linecap="round"/><path d="M 712.31823615441 300 L 837.5962687881749 300" stroke="rgb(132, 0, 0)" fill="none" stroke-width="8.63986431957px" stroke-linecap="round"/><path d="M 600 243.840881922795 L 712.31823615441 243.840881922795 L 712.31823615441 360.47905023699 L 483.36183168580493 360.47905023699 L 483.36183168580493 243.840881922795 L 600 243.840881922795" stroke="rgb(132, 0, 0)" fill="none" stroke-width="8.63986431957px" stroke-linecap="round"/><text x="591.36013568043" y="222.50350622895292" stroke="rgb(245, 241, 237)" stroke-width="8.63986431957px" paint-order="stroke" fill="rgb(15, 15, 15)" font-family="sans-serif" text-anchor="middle" dominant-baseline="auto" font-size="77.75877887613px">R1</text><text x="591.36013568043" y="390.4562902504021" fill="rgb(15, 15, 15)" font-family="sans-serif" text-anchor="middle" dominant-baseline="hanging" font-size="77.75877887613px">1kΩ</text><circle cx="362.40373121182495" cy="300" r="8.63986431957px" stroke-width="8.63986431957px" fill="none" stroke="rgb(132, 0, 0)"/><circle cx="837.5962687881749" cy="300" r="8.63986431957px" stroke-width="8.63986431957px" fill="none" stroke="rgb(132, 0, 0)"/></g><g class="schematic-port-hover" data-schematic-port-id="source_port_0"><circle cx="362.40373121182495" cy="300" r="17.27972863914" fill="red" opacity="0"/></g><g class="schematic-port-hover" data-schematic-port-id="source_port_1"><circle cx="837.596268788175" cy="300" r="17.27972863914" fill="red" opacity="0"/></g></svg>