ShiboSoftwareDev/am69-pi5
A 85×56 mm 10-layer AM69A single-board computer carrier integrates 8 GiB LPDDR4, 32 GB eMMC, Pi-style expansion and multimedia/USB/Ethernet connectors, multi-rail PMIC power, STM32 boot/power control, USB-C PD, SD/fan protection, and HDI-controlled high-speed routing.
- Version
- 0.0.8-engineering-draft-20261107-dqs19
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone ShiboSoftwareDev/am69-pi5 # download the package files into ./am69-pi5
tsci add ShiboSoftwareDev/am69-pi5 # add it to your project as @tsci/ShiboSoftwareDev.am69-pi5In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.
components/shared/power/footprints/NativePolygonMaskExpansion.tsx
import {Fragment} from 'react'
type Point={x:number;y:number}
/** Exact positive mask dilation using supported native openings. The original
* polygon-pad mask opening supplies the interior; edge strips and vertex disks
* supply its margin. No copper, paste or electrical connectivity is added.
* Use solderMaskMargin={0} on the corresponding polygon pad: the pinned Gerber
* exporter ignores polygon-pad margins. Parent footprint transforms are native.
*/
export function NativePolygonMaskExpansion({points,margin}:{points:readonly Point[];margin:number}){
if(margin<=0)throw Error('Native polygon mask expansion requires a positive margin')
return <>{points.map((p,i)=>{
const q=points[(i+1)%points.length],length=Math.hypot(q.x-p.x,q.y-p.y)
return <Fragment key={i}>
{length>1e-9&&<pcbsoldermaskopening shape="rect" layer="top" pcbX={(p.x+q.x)/2} pcbY={(p.y+q.y)/2}
width={length} height={2*margin} pcbRotation={Math.atan2(q.y-p.y,q.x-p.x)*180/Math.PI} />}
<pcbsoldermaskopening shape="circle" layer="top" pcbX={p.x} pcbY={p.y} radius={margin} />
</Fragment>
})}</>
}