### Automate Library Validation with LibrePCB CLI (YAML) Source: https://context7.com/librepcb-libraries/kemet.lplib/llms.txt This GitHub Actions workflow automates the validation of LibrePCB libraries using the official LibrePCB CLI. It runs on Ubuntu, uses a specific Docker image for the CLI, and executes validation and minification steps on every push and pull request to ensure library integrity. ```yaml name: CI on: [push, pull_request] jobs: check: runs-on: ubuntu-22.04 container: image: librepcb/librepcb-cli:1.0.0-rc1 options: --entrypoint /bin/bash steps: - uses: actions/checkout@v1 - run: librepcb-cli open-library --all --strict --check --minify-step . ``` -------------------------------- ### Define KEMET Library Metadata (LibrePCB Lisp) Source: https://context7.com/librepcb-libraries/kemet.lplib/llms.txt Defines the main library metadata for the KEMET component library. It specifies the library's name, description, version, author, and dependencies, serving as the root configuration file for LibrePCB. ```lisp (librepcb_library 8ba83e8b-46b5-45e9-81c4-1afee9152e0c (name "KEMET") (description "Capacitors and other electronic components (unofficial)") (keywords "capacitors,kemet") (author "LibrePCB") (version "0.2") (created 2019-04-16T20:20:41Z) (deprecated false) (url "https://github.com/LibrePCB-Libraries/KEMET.lplib") (dependency a9ddf0c6-9b1c-4730-b300-01b4f192ad40) (manufacturer "KEMET") ) ``` -------------------------------- ### Define Relay Device Variants (LibrePCB Lisp) Source: https://context7.com/librepcb-libraries/kemet.lplib/llms.txt Defines a device in LibrePCB Lisp format, specifying part variants for the EE2-xNUH relay family. It links schematic symbols to physical packages, defines attributes like voltage and packing, and maps signal pins. This allows for multiple configurations of the same base component. ```lisp (librepcb_device 32c8909c-94c0-466a-93cf-1679f47e7114 (name "EE2-xNUH") (description "EE2 series surface mount double-pole double-throw relay, non-latch type, minimum footprint.\n\nAvailable with different coil voltages.\n\nDatasheet: https://content.kemet.com/datasheets/KEM_R7002_EC2_EE2.pdf") (keywords "relay,kemet,ee2,ee2-3nuh,ee2-4.5nuh,ee2-5nuh,ee2-12nuh,ee2-24nuh,dpdt") (author "Danilo Bargen") (version "0.2") (created 2019-04-19T17:00:41Z) (deprecated false) (generated_by "") (category 1f60e4f0-f86b-4f90-9081-187099ca03a7) (component 56f696e9-faef-4ec0-adf3-e64b134ada68) (package 376bb0b1-d92f-4194-b826-ce6bb9b81ba5) (pad 27dc0875-027a-4034-aa82-37aa167e457e (signal 44ca3f5d-7711-4362-966f-24098bc77271)) (pad 3bb9db90-f652-4687-a5c6-4853476a3336 (signal 032f616a-f5c7-40ef-9f1c-dab578be0529)) (pad 9589bf69-efa6-4709-a0fa-4412eaa2a279 (signal 5b88848f-0a4a-413f-b6ff-248da93dabc3)) (pad 99e60561-6eee-41e4-92c8-3d50e73f72e0 (signal 739d49aa-85c1-45c2-aa88-1965788564eb)) (pad a6007b04-98fd-439e-9830-0d479db6a701 (signal f286f8dd-e3b6-40bf-adb7-ad3befb977d3)) (pad ad5a1215-81f9-4316-b11a-82e6aa6c0a6d (signal 9ef5977b-5674-48c8-9185-d0931d946724)) (pad d3253c71-86ea-4293-80d3-d00a33570fdb (signal 2b20dc2b-e64e-4e39-a892-c47f31eef922)) (pad ddcf51ed-6cb6-403b-9ab5-4a81522414de (signal 6c3a80f4-9bb2-406e-add6-b6c5d8801683)) (part "EE2-3NUH" (manufacturer "KEMET") (attribute "VOLTAGE" (type voltage) (unit volt) (value "3")) (attribute "PACKING" (type string) (unit none) (value "Tube")) ) (part "EE2-5NUH" (manufacturer "KEMET") (attribute "VOLTAGE" (type voltage) (unit volt) (value "5")) (attribute "PACKING" (type string) (unit none) (value "Tube")) ) (part "EE2-12NUH" (manufacturer "KEMET") (attribute "VOLTAGE" (type voltage) (unit volt) (value "12")) (attribute "PACKING" (type string) (unit none) (value "Tube")) ) (part "EE2-24NUH" (manufacturer "KEMET") (attribute "VOLTAGE" (type voltage) (unit volt) (value "24")) (attribute "PACKING" (type string) (unit none) (value "Tube")) ) (part "EE2-5NUH-L" (manufacturer "KEMET") (attribute "VOLTAGE" (type voltage) (unit volt) (value "5")) (attribute "PACKING" (type string) (unit none) (value "T&R")) ) ) ``` -------------------------------- ### Define KEMET EE2 Relay Footprint (LibrePCB Lisp) Source: https://context7.com/librepcb-libraries/kemet.lplib/llms.txt Defines the physical PCB footprint for the KEMET EE2 series relay. This includes pad geometry, placement, dimensions, and layer information (copper, silkscreen) required for surface mount assembly and integration into LibrePCB designs. ```lisp (librepcb_package 376bb0b1-d92f-4194-b826-ce6bb9b81ba5 (name "KEMET_EE2-xNUH") (description "EE2 series relay footprint, surface mount, non-latch type, minimum footprint.") (keywords "kemet,relay,ee2,nuh,smt") (author "Danilo Bargen") (version "0.2") (created 2019-04-16T20:40:26Z) (deprecated false) (generated_by "") (category 4b913058-1e99-4817-b4ae-aee4e6a0fae3) (assembly_type smt) (pad d3253c71-86ea-4293-80d3-d00a33570fdb (name "1")) (pad a6007b04-98fd-439e-9830-0d479db6a701 (name "3")) (pad 9589bf69-efa6-4709-a0fa-4412eaa2a279 (name "4")) (pad ddcf51ed-6cb6-403b-9ab5-4a81522414de (name "5")) (pad 27dc0875-027a-4034-aa82-37aa167e457e (name "8")) (pad ad5a1215-81f9-4316-b11a-82e6aa6c0a6d (name "9")) (pad 99e60561-6eee-41e4-92c8-3d50e73f72e0 (name "10")) (pad 3bb9db90-f652-4687-a5c6-4853476a3336 (name "12")) (footprint f8d779fc-bf91-403f-a28c-436c250cf107 (name "default") (description "") (3d_position 0.0 0.0 0.0) (3d_rotation 0.0 0.0 0.0) (pad d3253c71-86ea-4293-80d3-d00a33570fdb (side top) (shape roundrect) (position -3.145 6.35) (rotation 0.0) (size 2.0 1.11) (radius 0.45) (stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard) (package_pad d3253c71-86ea-4293-80d3-d00a33570fdb) ) (pad 27dc0875-027a-4034-aa82-37aa167e457e (side top) (shape roundrect) (position 3.145 -3.81) (rotation 0.0) (size 2.0 1.11) (radius 0.45) (stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard) (package_pad 27dc0875-027a-4034-aa82-37aa167e457e) ) (polygon 107bdddf-a7be-43db-8949-2505aa457c94 (layer top_documentation) (width 0.2) (fill false) (grab_area true) (vertex (position 3.65 7.4) (angle 0.0)) (vertex (position 3.65 -7.4) (angle 0.0)) (vertex (position -3.65 -7.4) (angle 0.0)) (vertex (position -3.65 7.4) (angle 0.0)) (vertex (position 3.65 7.4) (angle 0.0)) ) (stroke_text a715e52d-def1-4f9a-8552-83dec850d3d4 (layer top_values) (height 1.0) (stroke_width 0.2) (letter_spacing auto) (line_spacing auto) (align center top) (position 0.0 -8.255) (rotation 0.0) (auto_rotate true) (mirror false) (value "{{VALUE}}") ) ) ) ``` -------------------------------- ### Define KEMET Package Category (LibrePCB Lisp) Source: https://context7.com/librepcb-libraries/kemet.lplib/llms.txt Creates a KEMET-specific package category within the LibrePCB library structure. This definition organizes components hierarchically, placing them under the base relay packages category for better navigation in the LibrePCB component browser. ```lisp (librepcb_package_category 4b913058-1e99-4817-b4ae-aee4e6a0fae3 (name "KEMET") (description "") (keywords "kemet") (author "Danilo Bargen") (version "0.1") (created 2019-04-16T20:33:02Z) (deprecated false) (parent 194951ec-03dd-412a-9828-70c40bbdd22d) ) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.