Skip to content

Commit

Permalink
Fix warnings in packages (#11)
Browse files Browse the repository at this point in the history
- Add package outlines
- Add courtyards
- Specify package- & pad functions
- Suppress missing 3D models
  • Loading branch information
ubruhin authored Nov 15, 2024
1 parent 880d294 commit 848f12a
Show file tree
Hide file tree
Showing 3 changed files with 146 additions and 44 deletions.
58 changes: 46 additions & 12 deletions pkg/9f8c0ddc-fef5-4b8e-984c-dffcb29c6ede/package.lp
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
(description "4-pin Dual Flat No-Lead package (DFN), Pitch: 1.00 mm\nNominal width: 2.00 mm\nNominal length: 2.00 mm\nHeight: 0.75mm\nExposed Pad: 1.60 x 0.70 mm\n\nGenerated with librepcb-parts-generator (generate_dfn.py)")
(keywords "dfn4,dfn,dual-flat no-leads,sensirion,sht,shtcx,shtc1,shtc3")
(author "Hannes Badertscher")
(version "0.1")
(version "0.2")
(created 2019-01-24T21:50:44Z)
(deprecated false)
(generated_by "")
(category 88cbb15c-2b69-4612-8764-c5d323f88f13)
(assembly_type auto)
(assembly_type smt)
(pad b9e1663f-1fc2-4245-83b2-f15cf1fdd932 (name "1"))
(pad 70985899-d7e3-465c-a032-3429690a63ee (name "2"))
(pad aa53901f-92b0-4829-a2fa-02d7f234b0c5 (name "3"))
Expand All @@ -20,27 +20,27 @@
(3d_position 0.0 0.0 0.0) (3d_rotation 0.0 0.0 0.0)
(pad b9e1663f-1fc2-4245-83b2-f15cf1fdd932 (side top) (shape roundrect)
(position -1.0 0.5) (rotation 0.0) (size 0.7 0.35) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad b9e1663f-1fc2-4245-83b2-f15cf1fdd932)
)
(pad 70985899-d7e3-465c-a032-3429690a63ee (side top) (shape roundrect)
(position -1.0 -0.5) (rotation 0.0) (size 0.7 0.35) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad 70985899-d7e3-465c-a032-3429690a63ee)
)
(pad aa53901f-92b0-4829-a2fa-02d7f234b0c5 (side top) (shape roundrect)
(position 1.0 -0.5) (rotation 0.0) (size 0.7 0.35) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad aa53901f-92b0-4829-a2fa-02d7f234b0c5)
)
(pad e47c42a6-1894-4016-93e4-d99aa8e22fb0 (side top) (shape roundrect)
(position 1.0 0.5) (rotation 0.0) (size 0.7 0.35) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad e47c42a6-1894-4016-93e4-d99aa8e22fb0)
)
(pad 66d250d4-62ee-41e5-b8ef-901bfa2ac00d (side top) (shape roundrect)
(position 0.0 0.0) (rotation 0.0) (size 0.7 1.6) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad 66d250d4-62ee-41e5-b8ef-901bfa2ac00d)
)
(polygon 0eb2ca53-1bb2-4905-a7b4-7ee56f6ebe20 (layer top_legend)
Expand Down Expand Up @@ -105,6 +105,20 @@
(vertex (position -0.9 -0.9) (angle 0.0))
(vertex (position -0.9 0.9) (angle 0.0))
)
(polygon 6126d2ab-3e46-451b-bc43-5727901dbb26 (layer top_package_outlines)
(width 0.0) (fill false) (grab_area false)
(vertex (position -1.0 1.0) (angle 0.0))
(vertex (position 1.0 1.0) (angle 0.0))
(vertex (position 1.0 -1.0) (angle 0.0))
(vertex (position -1.0 -1.0) (angle 0.0))
)
(polygon fdc9c82c-287e-450a-b067-452dd6949e6a (layer top_courtyard)
(width 0.0) (fill false) (grab_area false)
(vertex (position 1.2 1.2) (angle 0.0))
(vertex (position -1.2 1.2) (angle 0.0))
(vertex (position -1.2 -1.2) (angle 0.0))
(vertex (position 1.2 -1.2) (angle 0.0))
)
(circle 8ddde6e6-1a44-4763-b294-acff9af37516 (layer top_legend)
(width 0.0) (fill true) (grab_area false) (diameter 0.254) (position -1.254 1.254)
)
Expand All @@ -128,27 +142,27 @@
(3d_position 0.0 0.0 0.0) (3d_rotation 0.0 0.0 0.0)
(pad b9e1663f-1fc2-4245-83b2-f15cf1fdd932 (side top) (shape roundrect)
(position -1.15 0.5) (rotation 0.0) (size 1.0 0.35) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad b9e1663f-1fc2-4245-83b2-f15cf1fdd932)
)
(pad 70985899-d7e3-465c-a032-3429690a63ee (side top) (shape roundrect)
(position -1.15 -0.5) (rotation 0.0) (size 1.0 0.35) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad 70985899-d7e3-465c-a032-3429690a63ee)
)
(pad aa53901f-92b0-4829-a2fa-02d7f234b0c5 (side top) (shape roundrect)
(position 1.15 -0.5) (rotation 0.0) (size 1.0 0.35) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad aa53901f-92b0-4829-a2fa-02d7f234b0c5)
)
(pad e47c42a6-1894-4016-93e4-d99aa8e22fb0 (side top) (shape roundrect)
(position 1.15 0.5) (rotation 0.0) (size 1.0 0.35) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad e47c42a6-1894-4016-93e4-d99aa8e22fb0)
)
(pad 66d250d4-62ee-41e5-b8ef-901bfa2ac00d (side top) (shape roundrect)
(position 0.0 0.0) (rotation 0.0) (size 0.7 1.6) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad 66d250d4-62ee-41e5-b8ef-901bfa2ac00d)
)
(polygon 81c8f6da-df52-4074-b5f6-6e5a99c68ce4 (layer top_legend)
Expand Down Expand Up @@ -213,6 +227,20 @@
(vertex (position -0.9 -0.9) (angle 0.0))
(vertex (position -0.9 0.9) (angle 0.0))
)
(polygon ceed0c5b-5f29-4f79-a954-3fee1d9e6703 (layer top_package_outlines)
(width 0.0) (fill false) (grab_area false)
(vertex (position -1.0 1.0) (angle 0.0))
(vertex (position 1.0 1.0) (angle 0.0))
(vertex (position 1.0 -1.0) (angle 0.0))
(vertex (position -1.0 -1.0) (angle 0.0))
)
(polygon cb3260a8-14ea-45d2-bdf5-3799df1a228b (layer top_courtyard)
(width 0.0) (fill false) (grab_area false)
(vertex (position 1.2 1.2) (angle 0.0))
(vertex (position -1.2 1.2) (angle 0.0))
(vertex (position -1.2 -1.2) (angle 0.0))
(vertex (position 1.2 -1.2) (angle 0.0))
)
(circle ad0618ba-b18f-4862-9a39-baa2f213bb7a (layer top_legend)
(width 0.0) (fill true) (grab_area false) (diameter 0.254) (position -1.254 1.254)
)
Expand All @@ -230,4 +258,10 @@
(auto_rotate true) (mirror false) (value "{{VALUE}}")
)
)
(approved missing_footprint_3d_model
(footprint 022e4e22-6a97-4ca1-836b-fa4d423db568)
)
(approved missing_footprint_3d_model
(footprint deaa3302-894a-494a-b4c4-e3223be6e721)
)
)
66 changes: 50 additions & 16 deletions pkg/f0a217e7-9f79-4483-bbfc-5800220e0cc9/package.lp
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
(description "6-pin Dual Flat No-Lead package (DFN), Pitch: 1.00 mm\nNominal width: 3.00 mm\nNominal length: 3.00 mm\nHeight: 1.10mm\nExposed Pad: 2.40 x 1.50 mm\n\nGenerated with librepcb-parts-generator (generate_dfn.py)")
(keywords "dfn6,dfn,dual-flat no-leads,sensirion,sht,sht2x,sht20,sht21,sht25")
(author "Hannes Badertscher")
(version "0.1")
(version "0.2")
(created 2019-01-24T22:13:46Z)
(deprecated false)
(generated_by "")
(category 88cbb15c-2b69-4612-8764-c5d323f88f13)
(assembly_type auto)
(assembly_type smt)
(pad 6793c6bb-ce13-4d42-8474-a95401bae993 (name "1"))
(pad 97f9a73b-5200-4383-bc32-9a47f47cc6b9 (name "2"))
(pad ff06e731-002b-4968-9711-21b1b17e7790 (name "3"))
Expand All @@ -22,37 +22,37 @@
(3d_position 0.0 0.0 0.0) (3d_rotation 0.0 0.0 0.0)
(pad 6793c6bb-ce13-4d42-8474-a95401bae993 (side top) (shape roundrect)
(position -1.475 1.0) (rotation 0.0) (size 0.75 0.4) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad 6793c6bb-ce13-4d42-8474-a95401bae993)
)
(pad 97f9a73b-5200-4383-bc32-9a47f47cc6b9 (side top) (shape roundrect)
(position -1.475 0.0) (rotation 0.0) (size 0.75 0.4) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad 97f9a73b-5200-4383-bc32-9a47f47cc6b9)
)
(pad ff06e731-002b-4968-9711-21b1b17e7790 (side top) (shape roundrect)
(position -1.475 -1.0) (rotation 0.0) (size 0.75 0.4) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad ff06e731-002b-4968-9711-21b1b17e7790)
)
(pad c9fb544a-e913-4b62-997c-bdf27f54f503 (side top) (shape roundrect)
(position 1.475 -1.0) (rotation 0.0) (size 0.75 0.4) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad c9fb544a-e913-4b62-997c-bdf27f54f503)
)
(pad 1742d1ea-ecce-4454-bbdd-1ec9076653c7 (side top) (shape roundrect)
(position 1.475 0.0) (rotation 0.0) (size 0.75 0.4) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad 1742d1ea-ecce-4454-bbdd-1ec9076653c7)
)
(pad 69798c30-e27c-4ca0-8602-17702a8c4553 (side top) (shape roundrect)
(position 1.475 1.0) (rotation 0.0) (size 0.75 0.4) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad 69798c30-e27c-4ca0-8602-17702a8c4553)
)
(pad 57a25240-5688-4966-858b-c896110b189f (side top) (shape roundrect)
(position 0.0 0.0) (rotation 0.0) (size 1.5 2.4) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad 57a25240-5688-4966-858b-c896110b189f)
)
(polygon 0c229476-0b6d-4c76-ad47-4e291c4a48c9 (layer top_legend)
Expand Down Expand Up @@ -141,6 +141,20 @@
(vertex (position -1.4 -1.4) (angle 0.0))
(vertex (position -1.4 1.4) (angle 0.0))
)
(polygon 5c9197d2-7aac-4929-b711-b246837d5548 (layer top_package_outlines)
(width 0.0) (fill false) (grab_area false)
(vertex (position -1.5 1.5) (angle 0.0))
(vertex (position 1.5 1.5) (angle 0.0))
(vertex (position 1.5 -1.5) (angle 0.0))
(vertex (position -1.5 -1.5) (angle 0.0))
)
(polygon 43743d01-a171-4f48-ab03-912ca293365f (layer top_courtyard)
(width 0.0) (fill false) (grab_area false)
(vertex (position 1.7 1.7) (angle 0.0))
(vertex (position -1.7 1.7) (angle 0.0))
(vertex (position -1.7 -1.7) (angle 0.0))
(vertex (position 1.7 -1.7) (angle 0.0))
)
(circle 43cc877d-700b-4849-a591-8fd56562e839 (layer top_legend)
(width 0.0) (fill true) (grab_area false) (diameter 0.508) (position -2.008 1.627)
)
Expand All @@ -161,37 +175,37 @@
(3d_position 0.0 0.0 0.0) (3d_rotation 0.0 0.0 0.0)
(pad 6793c6bb-ce13-4d42-8474-a95401bae993 (side top) (shape roundrect)
(position -1.625 1.0) (rotation 0.0) (size 1.05 0.4) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad 6793c6bb-ce13-4d42-8474-a95401bae993)
)
(pad 97f9a73b-5200-4383-bc32-9a47f47cc6b9 (side top) (shape roundrect)
(position -1.625 0.0) (rotation 0.0) (size 1.05 0.4) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad 97f9a73b-5200-4383-bc32-9a47f47cc6b9)
)
(pad ff06e731-002b-4968-9711-21b1b17e7790 (side top) (shape roundrect)
(position -1.625 -1.0) (rotation 0.0) (size 1.05 0.4) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad ff06e731-002b-4968-9711-21b1b17e7790)
)
(pad c9fb544a-e913-4b62-997c-bdf27f54f503 (side top) (shape roundrect)
(position 1.625 -1.0) (rotation 0.0) (size 1.05 0.4) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad c9fb544a-e913-4b62-997c-bdf27f54f503)
)
(pad 1742d1ea-ecce-4454-bbdd-1ec9076653c7 (side top) (shape roundrect)
(position 1.625 0.0) (rotation 0.0) (size 1.05 0.4) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad 1742d1ea-ecce-4454-bbdd-1ec9076653c7)
)
(pad 69798c30-e27c-4ca0-8602-17702a8c4553 (side top) (shape roundrect)
(position 1.625 1.0) (rotation 0.0) (size 1.05 0.4) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad 69798c30-e27c-4ca0-8602-17702a8c4553)
)
(pad 57a25240-5688-4966-858b-c896110b189f (side top) (shape roundrect)
(position 0.0 0.0) (rotation 0.0) (size 1.5 2.4) (radius 0.0)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function unspecified)
(stop_mask auto) (solder_paste auto) (clearance 0.0) (function standard)
(package_pad 57a25240-5688-4966-858b-c896110b189f)
)
(polygon c00f69c5-8b91-459c-a507-f5031b249f7a (layer top_legend)
Expand Down Expand Up @@ -280,6 +294,20 @@
(vertex (position -1.1 -0.4) (angle 0.0))
(vertex (position -1.1 -1.0) (angle 0.0))
)
(polygon ac1bf4c8-c970-4931-90c5-323e6f368d8f (layer top_package_outlines)
(width 0.0) (fill false) (grab_area false)
(vertex (position -1.5 1.5) (angle 0.0))
(vertex (position 1.5 1.5) (angle 0.0))
(vertex (position 1.5 -1.5) (angle 0.0))
(vertex (position -1.5 -1.5) (angle 0.0))
)
(polygon 33d680e1-561f-4f64-85d2-63f7ef6028ca (layer top_courtyard)
(width 0.0) (fill false) (grab_area false)
(vertex (position 1.7 1.7) (angle 0.0))
(vertex (position -1.7 1.7) (angle 0.0))
(vertex (position -1.7 -1.7) (angle 0.0))
(vertex (position 1.7 -1.7) (angle 0.0))
)
(circle e04bdf4b-02c1-408e-b91a-f71a92dcb08f (layer top_legend)
(width 0.0) (fill true) (grab_area false) (diameter 0.508) (position -2.008 1.627)
)
Expand All @@ -294,4 +322,10 @@
(auto_rotate true) (mirror false) (value "{{VALUE}}")
)
)
(approved missing_footprint_3d_model
(footprint 7b05587f-2094-4ae4-8bc4-d2f082fd7591)
)
(approved missing_footprint_3d_model
(footprint aa717618-140a-459e-89d0-8d6becef577e)
)
)
Loading

0 comments on commit 848f12a

Please sign in to comment.