imrishabh18/corne-keyboard
The code defines and renders two surface-mount chip components with SMT pads, silkscreen outlines, and 3D CAD models (OBJ and STEP) for PCB assembly.
- Version
- 2.0.21
- License
- unset
- Stars
- 1
lib/panel/PanelManufacturingFeatures.tsx
import features from "./manufacturing-features.json"
import { Fragment } from "react"
/** Panel-owned geometry, rendered by core in both CLI and browser builds. */
export const PanelManufacturingFeatures = () => (
<>
{features.cutouts.map((points, i) => (
<Fragment key={`panel-route-${i}`}>
<cutout shape="polygon" points={points} />
</Fragment>
))}
{features.holes.map((hole, i) => (
<Fragment key={`panel-hole-${i}`}>
<hole pcbX={hole.x} pcbY={hole.y} diameter={hole.diameter} />
</Fragment>
))}
</>
)