shibosoftwaredev/f1c100s-linux-nema8-stepper-controller
Restores component part numbers and CAD models, removes test-point 3D bodies, and validates that solder paste exists only on top-side SMT pads without altering copper or DRC.
- Version
- 0.3.5
- License
- unset
- Stars
- 0
work/publish/modules/f1c100s/src/capacitor-specs.ts
/** Larger land patterns for rail reservoirs and the 10 uF reference filters. */
export const isLargeCapacitor = (name: string, value: string) =>
name.startsWith("C_B_") || value === "10uF";
export function capacitorSpecs(name: string, value: string) {
if (isLargeCapacitor(name, value))
return {
footprint: "0805",
maxVoltageRating: 25,
manufacturerPartNumber:
value === "1uF" ? "GRM219R71E105KA88D" : "GRM21BR61E106KA73L",
};
return {
footprint: "0402",
maxVoltageRating: name.startsWith("C_OSC") ? 50 : 6.3,
...(name.startsWith("C_OSC")
? { manufacturerPartNumber: "GRM1555C1H180JA01D" }
: {}),
};
}
