Vernier library database

The library database

Vernier keeps parts in a component database. A part has these data:

Field Contents
MPN The manufacturer part number
Manufacturer The name of the manufacturer
Value, description, category, keywords Text for the search
Symbol The schematic symbol
Footprints One or more footprints
SPICE model The model for simulation (optional)
3D model The model for the 3D view and the 3D exports (optional)
Datasheet A link to the datasheet (optional)
Lifecycle For example active
Parameters Name and value pairs
Suppliers The supplier, the supplier part number, and the JLC basic part flag

The database also holds the symbols, the footprints and the SPICE models.

Vernier has two sources of parts:

Find a part in the Studio

  1. Open the Components panel.
  2. Type a value or a part number in the search box, for example 10k or C25804.
  3. In the filter list, select All parts, Has an LCSC number or JLC basic parts.
  4. Click the part. The panel shows the symbol, the footprint and the parameters.
  5. Click Place.

The part keeps its component id, its part numbers and its SPICE model.

If the component database is not connected, the panel shows only the symbols of the open documents.

A .vlib file opens in a read-only view in the Studio. It shows the symbols, the footprints and the SPICE models of the file.

Make a footprint

Vernier calculates land patterns with the IPC-7351B method. Use the command line:

vernier lib footprint <package> [--density nominal|most|least] [--thermal-vias] [-o <file>]

The catalog has about 250 packages. The families include chip parts, SOT-23, SOT-223, SOIC, QFP, QFN, DFN, BGA, DIP, TO-220, TO-252, TO-92, pin headers, crystals, radial and axial parts, and terminal blocks.

Make a symbol

vernier lib symbol <kind> [--name <n>] [--value <v>] [--rows <r>] [--per-row <p>] [--pin <num:name:type>]... [-o <file>]

Search, import and export from the command line

Command Use
vernier lib search <text> [--lcsc] [--jlc-basic] [--limit <n>] Find parts in the seed library and the user database. --limit is 1 to 200.
vernier lib show <id> Show one part, symbol, footprint or SPICE model
vernier lib import <file.vlib> Add the items of a Vernier library file to the user database
vernier lib export -o <file.vlib> [--source user\|seed] [--name <name>] Write the user database or the seed library to a library file

vernier lib import accepts only Vernier library files (.vlib).

To import KiCad libraries, convert them to a .vlib file first:

  1. Convert the file: vernier kicad import <file> -o <file.vlib>. The file can be a symbol library (.kicad_sym), a footprint (.kicad_mod) or a footprint folder (.pretty).
  2. Import the result: vernier lib import <file.vlib>.

To write a library in KiCad format, use vernier kicad export <file.vlib> -o <file>.

Caution: The user database has one writer. Do not run two lib import commands at the same time on the same library folder.

See Automation for all the commands.