fp2subc(1)
π fp2subc β the pcb-rnd manual, bestie edition π
okay so real talk, this is fp2subc(1) from the pcb-rnd manual, and it is literally the glow-up machine for your crusty old footprints. let's get into it π¦
β¨ NAME β¨
fp2subc β convert any footprint into a pcb-rnd subcircuit π
πΈ SYNOPSIS πΈ
fp2subc [options] infile [outfile]
π DESCRIPTION π
so basically, fp2subc runs pcb-rnd in batch mode to load up a footprint (and yes bestie, that's typically one that's been living in some alien format π) and then save it right back out as a native pcb-rnd subcircuit. iconic behavior, no cap.
it is highkey useful for mass-converting old footprint libraries β like, the whole dusty archive, all at once. ate. π₯
if you don't hand over an outfile, its name gets guessed from infile. the script just figures it out for you, periodt.
π OPTIONS π
--libβ infile is not a path, bestie, it's a footprint name that should be searched for in the library π-lβ same as--lib(just shorter, we love efficiency)--pcb-rndexepath β run exepath to invoke pcb-rnd. the default is"pcb-rnd", which means it depends on$PATHπ-pexepath β same as--pcb-rnd--debuggerexepath β inserts exepath before pcb-rnd on the command line. super useful for running the process in something likevalgrindπ§-dexepath β same as--debugger-ckey=val β passes on a-c key=valCLI config setting to pcb-rnd. lowkey the move for setting up library paths π
ngl, if you're doing the mass-conversion thing, the -c flag is your bestie. library paths do not set themselves. π
okay that's the whole page, you're fully caught up, go convert something π«Ά
this little number came from the pcb-rnd manual and it's dated 2018-04-08 β yeah she's vintage, but she still slays. bye bestie, 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