### Illustrate UUID-Based Identification Source: https://context7.com/librepcb-libraries/cnc_tech.lplib/llms.txt Demonstrates the use of RFC 4122 UUIDs for globally unique identification and cross-referencing of library elements. Examples include component, package, and pad references. ```lisp # Device references component and package by UUID (component e9ea7610-0ef4-4855-9f9b-e7f77a28afa1) (package 223030ff-b905-4811-b32d-b0174d431702) # Pads reference signals by UUID (pad 0e904dd2-071d-4c4e-8c73-621b8c977806 (signal 7717d67a-a14b-4bc2-8916-a3d88adb9fc0)) ``` -------------------------------- ### LibrePCB Package Metadata and Pad Declarations Source: https://context7.com/librepcb-libraries/cnc_tech.lplib/llms.txt Defines the physical footprint of a component, including its name, description, keywords, author, version, and creation date. It also categorizes the package and declares its pads, specifying their names. ```lisp (librepcb_package 03c6717e-219d-4e91-a1da-636c886a0786 (name "CNCTECH_3220-40-0300-XX") (description "40-pin 1.27mm pitch SMD IDC box header by CNC Tech.\n\nGenerated with librepcb-parts-generator (generate_idc.py)") (keywords "cnc tech,idc,header,male,box header,smd,3220,1.27mm") (author "Danilo Bargen") (version "0.2") (created 2019-07-09T21:31:21Z) (deprecated false) (generated_by "") (category 92186130-e1a4-4a82-8ce9-88f4aa854195) (category e4d3a6bf-af32-48a2-b427-5e794bed949a) (assembly_type smt) (pad 38231b30-bfc4-4cfd-b5a9-07dbcfeeb861 (name "1")) (pad bb467235-0491-4c27-894c-1b4a2e6f55a4 (name "2")) (pad ce3b269d-6266-448b-9883-48c6f28907bc (name "3")) ) ``` -------------------------------- ### LibrePCB Library Root Configuration Source: https://context7.com/librepcb-libraries/cnc_tech.lplib/llms.txt Defines the main library metadata, author information, version, and dependencies for the CNC Tech component library. This configuration is essential for LibrePCB to recognize and utilize the library. ```lisp (librepcb_library b3184c97-cd6d-4d0a-9a32-8ba71a5d3116 (name "CNC Tech") (description "Connectors by CNC Tech (unofficial).") (keywords "cnc,cnctech,connectors") (author "LibrePCB") (version "0.1.1") (created 2019-07-09T19:27:44Z) (deprecated false) (url "https://github.com/LibrePCB-Libraries/CNC_Tech.lplib") (dependency 6ccc516c-21b7-4cd5-9cf2-7a04cfa361c6) (manufacturer "CNC Tech") ) ``` -------------------------------- ### Create Component Orientation Marker Source: https://context7.com/librepcb-libraries/cnc_tech.lplib/llms.txt Creates a triangular polygon to indicate pin 1 location for proper component alignment. This marker is placed on the 'top_documentation' layer and is filled. ```lisp (polygon bde82b3f-7309-470d-a16e-4c5fe2a09bb8 (layer top_documentation) (width 0.0) (fill true) (grab_area false) (vertex (position -1.93 15.22) (angle 0.0)) (vertex (position -1.93 14.22) (angle 0.0)) (vertex (position -1.237 14.72) (angle 0.0)) (vertex (position -1.93 15.22) (angle 0.0)) ) ``` -------------------------------- ### LibrePCB Device Definition Format Source: https://context7.com/librepcb-libraries/cnc_tech.lplib/llms.txt Specifies device files that link component symbols to physical packages and define pad-to-signal mappings. This format is crucial for defining how a component behaves electrically and connects physically. ```lisp (librepcb_device 00548426-b029-4fac-9b83-6f2a7e114e72 (name "CNC Tech 3220-10-0300") (description "10-pin 1.27mm pitch SMD IDC box header by CNC Tech.\n\nGenerated with librepcb-parts-generator (generate_idc.py)") (keywords "cnc tech,idc,header,male,box header,smd,3220,1.27mm") (author "U. Bruhin") (version "0.2") (created 2019-10-19T10:11:49Z) (deprecated false) (generated_by "") (category 4a4e3c72-94fb-45f9-a6d8-122d2af16fb1) (component e9ea7610-0ef4-4855-9f9b-e7f77a28afa1) (package 223030ff-b905-4811-b32d-b0174d431702) (pad 0e904dd2-071d-4c4e-8c73-621b8c977806 (signal 7717d67a-a14b-4bc2-8916-a3d88adb9fc0)) (pad 569d1761-063f-4ff4-9531-c28a87b23ec6 (signal b74f3cdc-5fe0-4f68-9207-b3921a3ec162)) (part "3220-10-0300-00" (manufacturer "CNC Tech")) (part "3220-10-0300-00-TR" (manufacturer "CNC Tech")) ) ``` -------------------------------- ### Define Package Outline Source: https://context7.com/librepcb-libraries/cnc_tech.lplib/llms.txt Defines the physical component boundary for assembly documentation using a polygon on the 'top_package_outlines' layer. The outline is not filled. ```lisp (polygon e29c5354-9c0f-4164-8cf4-e54f2946702a (layer top_package_outlines) (width 0.0) (fill false) (grab_area false) (vertex (position -2.75 12.715) (angle 0.0)) (vertex (position -2.555 12.715) (angle 0.0)) (vertex (position -2.555 15.845) (angle 0.0)) (vertex (position 2.555 15.845) (angle 0.0)) (vertex (position 2.555 12.715) (angle 0.0)) (vertex (position 2.75 12.715) (angle 0.0)) ) ``` -------------------------------- ### LibrePCB Documentation Layer Polygon Source: https://context7.com/librepcb-libraries/cnc_tech.lplib/llms.txt Defines a polygon on the documentation layer, used for visual representation of pad locations and component orientation on the PCB. It includes layer, width, fill properties, and vertex coordinates. ```lisp (polygon f93875bb-8c61-48e8-bd9d-faf2f8331084 (layer top_documentation) (width 0.0) (fill true) (grab_area false) (vertex (position -0.44 12.26) (angle 0.0)) (vertex (position -0.44 11.86) (angle 0.0)) (vertex (position -2.75 11.86) (angle 0.0)) (vertex (position -2.75 12.26) (angle 0.0)) (vertex (position -0.44 12.26) (angle 0.0)) ) ``` -------------------------------- ### Implement Dynamic Text Elements Source: https://context7.com/librepcb-libraries/cnc_tech.lplib/llms.txt Utilizes 'stroke_text' elements to create dynamic text placeholders for component labeling on the PCB layout. These are defined for component names on 'top_names' and values on 'top_values'. ```lisp (stroke_text 85a104d0-f9cf-405c-ac80-de6a023751a7 (layer top_names) (height 1.0) (stroke_width 0.2) (letter_spacing auto) (line_spacing auto) (align center bottom) (position 0.0 16.85) (rotation 0.0) (auto_rotate true) (mirror false) (value "{{NAME}}") ) (stroke_text d3b9b569-8bc8-4e8c-a979-2dd8b68f3c54 (layer top_values) (height 1.0) (stroke_width 0.2) (letter_spacing auto) (line_spacing auto) (align center top) (position 0.0 -16.85) (rotation 0.0) (auto_rotate true) (mirror false) (value "{{VALUE}}") ) ``` -------------------------------- ### LibrePCB Footprint Pad Geometry Definition Source: https://context7.com/librepcb-libraries/cnc_tech.lplib/llms.txt Defines the geometric properties of pads within a footprint, including their name, side, shape, position, rotation, size, and radius. This information is critical for accurate PCB layout and manufacturing. ```lisp (footprint ffcff5e9-3843-429d-9a48-4437afd9acd4 (name "default") (description "") (3d_position 0.0 0.0 0.0) (3d_rotation 0.0 0.0 0.0) (pad 38231b30-bfc4-4cfd-b5a9-07dbcfeeb861 (side top) (shape roundrect) (position -1.955 12.06) (rotation 0.0) (size 2.4 0.76) (radius 0.5) (stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard) (package_pad 38231b30-bfc4-4cfd-b5a9-07dbcfeeb861) ) (pad bb467235-0491-4c27-894c-1b4a2e6f55a4 (side top) (shape roundrect) (position 1.955 12.06) (rotation 0.0) (size 2.4 0.76) (radius 0.5) (stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard) (package_pad bb467235-0491-4c27-894c-1b4a2e6f55a4) ) ) ``` -------------------------------- ### Define Silkscreen Legend Layer Source: https://context7.com/librepcb-libraries/cnc_tech.lplib/llms.txt Defines the visible component outline on the PCB silkscreen using a polygon element. The layer is set to 'top_legend' and the line width is 0.25. ```lisp (polygon bac1ec15-cd2c-4e20-b909-b1cf612c12ce (layer top_legend) (width 0.25) (fill false) (grab_area false) (vertex (position -3.03 12.715) (angle 0.0)) (vertex (position -2.68 12.715) (angle 0.0)) (vertex (position -2.68 15.97) (angle 0.0)) (vertex (position 2.68 15.97) (angle 0.0)) (vertex (position 2.68 12.715) (angle 0.0)) ) ``` -------------------------------- ### Define Courtyard Area Source: https://context7.com/librepcb-libraries/cnc_tech.lplib/llms.txt Defines the keepout area around the component for DRC checks using a polygon on the 'top_courtyard' layer. This area is not filled. ```lisp (polygon 9108def7-72c8-4d3d-bcd8-6aad59234da7 (layer top_courtyard) (width 0.0) (fill false) (grab_area false) (vertex (position -3.655 13.215) (angle 0.0)) (vertex (position -3.055 13.215) (angle 0.0)) (vertex (position -3.055 16.345) (angle 0.0)) (vertex (position 3.055 16.345) (angle 0.0)) (vertex (position 3.655 13.215) (angle 0.0)) ) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.