seveibar/pd-dual-stepper-controller
Bottom-side PCB silkscreen artwork consisting of embedded mirrored TS Circuit SVG logos, with via-clearance-aware lower-board placement.
- Version
- 0.1.0
- License
- unset
- Stars
- 0
imports/SideEntryJstPh4.tsx
import {Fragment} from "react";
/** JST S4B-PH-K: KiCad Connector_JST horizontal footprint, manufacturer ePH drawing.
* Pin-row centered at origin; housing extends 6.25 mm toward local -Y.
* A +90 degree placement therefore mates toward the board's +X edge.
*/
export const SideEntryJstPh4Footprint = () => <footprint insertionDirection="from_bottom">
{[-3,-1,1,3].map((x,i)=><Fragment key={i}><platedhole pcbX={x} pcbY={0} portHints={[String(i+1)]}
shape="pill" holeWidth={0.75} holeHeight={0.75} outerWidth={1.2} outerHeight={1.75} /></Fragment>)}
<silkscreenrect pcbX={0} pcbY={-2.45} width={10.12} height={7.82} strokeWidth={0.12}/>
<silkscreentext pcbX={-3} pcbY={1.8} text="1" fontSize={0.65}/>
<courtyardrect pcbX={0} pcbY={-2.45} width={10.9} height={8.6}/>
</footprint>;
export const SideEntryJstPh4Cad = {
stepUrl: "https://raw.githubusercontent.com/KiCad/kicad-packages3D/master/Connector_JST.3dshapes/JST_PH_S4B-PH-K_1x04_P2.00mm_Horizontal.step",
modelOriginPosition: {x:3,y:0,z:0},
pcbRotationOffset: 0,
};