raykholo/polygon-not-rotating-with-chip

The code defines a 10mm by 10mm electronic PCB with a single polarized SMT chip featuring polygon-shaped top-layer solder pads at specified coordinates.

Usage: To import and use this component: ```tsx import { YourComponent } from "@tsci/raykholo.polygon-not-rotating-with-chip" export default () => ( <board width="10mm" height="10mm"> <YourComponent name="PCMN1" pcbX={0} pcbY={0} pcbRotation="90deg" /> </board> ) ``` Key points: - Import the component from the package - Place it on a board with optional positioning and rotation - Customize name and placement as needed

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.747"><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="150" y="50" width="500" height="500" data-type="pcb_boundary" data-pcb-layer="global"/><path class="pcb-board" d="M 150 550 L 650 550 L 650 50 L 150 50 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="5" data-type="pcb_board" data-pcb-layer="board"/><polygon class="pcb-pad" fill="rgb(200, 52, 52)" points="390,310 390,175 275,300 400,425 525,310 390,310" data-type="pcb_smtpad" data-pcb-layer="top"/></svg>