fp2preview(1)
π fp2preview β the girl who makes your footprints β¨prettyβ¨
ok so real talk, this is a page from the pcb-rnd manual, and it's all about a lil tool called fp2preview. she's small, she's fierce, she's the one who takes your library footprint and goes "okay bestie let me make you a preview image π
".
πΈ NAME πΈ
fp2preview β generate a preview for a library footprint. that's it, that's the whole job. iconic behavior honestly.
β¨ SYNOPSIS β¨
fp2preview [options] [inputfile]
π¦ DESCRIPTION π¦
okay so here's the tea β β fp2preview invokes pcb-rnd to generate a preview image of a library footprint. like, it doesn't do the drawing itself, it's the main character who calls in the legend to do the art. team effort fr fr.
and why would you even want this? bestie, its main use is being an automated, light-weight footprint preview generator using a static linked pcb-rnd β think web servers, where you've got a million footprints and zero patience. set it up once, let it cook, and previews just appear. no cap, that's the vibe. π₯
π OPTIONS π
--photoβ draws the footprint in "photo realistic mode" β¨. yes, in quotes in the original, yes it's a whole aesthetic. we love a glow-up.-pβ same thing as--photo, just shorter. lowkey twins.--gridunit β sets the grid unit, e.g. tommormil. pick your unit, pick your grid, live your truth.-gunit β same as--grid. just the lowercase lil version π.--mmβ uses an mm grid instead of a mil grid. it's a shorthand for-g mm, so if you're a metric girlie this is your shortcut π«Ά.--annotationtypes β turns on annotation types. and types is a string, bestie, so it can hold a whole lil combo. here's what each one does:pinsβ for pin/pad numbersdimnameanddimvalueβ for dimension names and valuesbackgroundβ for drawing a background under the annotation text (so your text doesn't get swallowed by the art, we stan legibility πΈ)
π«Ά friendly reminder bestie:[inputfile]is optional in the synopsis, and everything in[options]is your lil toolkit β mix and match as you please.
and that's the whole page, no crumbs left π this was fp2preview(1) from the pcb-rnd manual, dated 2019-10-01. go make something gorgeous, mwah π
β¨
π¦ where this page comes from
- debian bookworm: pcb-rnd-core 3.0.6-1 Β· GPL-2.0-or-later
- debian trixie: pcb-rnd-core 3.1.6-1 Β· GPL-2.0-or-later
- ubuntu jammy: pcb-rnd-core 3.0.3-1 Β· GPL-2.0-or-later
- ubuntu noble: pcb-rnd-core 3.1.4-2 Β· GPL-2.0-or-later
- ubuntu questing: pcb-rnd-core 3.1.7b-2
- ubuntu resolute: pcb-rnd-core 3.1.7b-2build1 Β· GPL-2.0-or-later
- ubuntu stonking: pcb-rnd-core 3.1.8-1 Β· GPL-2.0-or-later
- Copyright (C) 2016 Tibor 'Igor2' Palinkas
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms