Skip to content

Commit 33ca234

Browse files
authored
Merge pull request #9 from LibrePCB-Libraries/rework-for-1.0
Update/extend library elements with file format 1.0 data
2 parents 284a354 + 503ce5f commit 33ca234

File tree

8 files changed

+192
-48
lines changed

8 files changed

+192
-48
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ jobs:
88
options: --entrypoint /bin/bash
99
steps:
1010
- uses: actions/checkout@v1
11-
- run: librepcb-cli open-library --all --strict --minify-step .
11+
- run: librepcb-cli open-library --all --strict --check --minify-step .

dev/072327d8-89b0-46d6-a72f-d374fe3a9509/device.lp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
(description "Keystone 1065 vertical 20mm battery cell holder for BR2012, CR2016, DL2020, CL2025, CR2032.\n\nDatasheet: http://keyelco.com/userAssets/file/M65p5.pdf")
44
(keywords "keystone,1065,battery,cell,holder,br2012,cr2016,dl2020,cl2025,cr2032")
55
(author "U. Bruhin")
6-
(version "0.2")
6+
(version "0.3")
77
(created 2019-10-23T19:30:19Z)
88
(deprecated false)
99
(generated_by "")
@@ -12,4 +12,6 @@
1212
(package 356cef37-4471-4e78-b232-171ef6e25c6f)
1313
(pad 51db8207-c17c-4b35-bedc-5f2b67bd6630 (signal b3c5e539-6e81-4832-8afb-0a606ef6c1e3))
1414
(pad b989c4ed-714b-4930-9395-f59c6c6122b3 (signal 365d2045-5c45-4c95-9424-d095b6cc7f3d))
15+
(part "1065" (manufacturer "Keystone Electronics")
16+
)
1517
)

dev/a81d55a8-9acc-4272-b853-b4d78fae5b49/device.lp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
(description "Battery holder (open) for 2 cells AAA with through-hole pins.")
44
(keywords "keystone,battery,holder,cell,aaa")
55
(author "Jessy")
6-
(version "0.1")
6+
(version "0.2")
77
(created 2019-07-29T21:18:38Z)
88
(deprecated false)
99
(generated_by "")
@@ -12,4 +12,6 @@
1212
(package dd9a3433-a992-41f4-b8d1-086095a9b54e)
1313
(pad 61856d8f-3a7c-4219-b680-451922719511 (signal f43946cc-5d8b-4f5f-8fa9-c743704f7546))
1414
(pad d6432d99-3eed-4bdc-997a-f96fd80ba685 (signal 24070a70-25fd-4714-b9d4-26fbd72bf443))
15+
(part "2468" (manufacturer "Keystone Electronics")
16+
)
1517
)

dev/c7cdf995-cae3-4f18-8eeb-9c4e24079128/device.lp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
(description "Battery clips for cylindrical battery cells with a diameter of 17-19 mm (like 18650, 18500, 17650, 17500).")
44
(keywords "keystone,battery,holder,cell,clip,18650,18500,17650,17500")
55
(author "Danilo Bargen")
6-
(version "0.1")
6+
(version "0.2")
77
(created 2019-06-30T13:29:50Z)
88
(deprecated false)
99
(generated_by "")
@@ -16,4 +16,6 @@
1616
(pad 51105f56-3d18-4f1e-9e34-5e4d048f76ca (signal 365d2045-5c45-4c95-9424-d095b6cc7f3d))
1717
(pad bb35ac1b-da9a-4a7a-a126-4f7613935767 (signal 365d2045-5c45-4c95-9424-d095b6cc7f3d))
1818
(pad f559035b-d9f8-4ec9-ba74-71bc7385c8a9 (signal 365d2045-5c45-4c95-9424-d095b6cc7f3d))
19+
(part "54" (manufacturer "Keystone Electronics")
20+
)
1921
)

library.lp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
(description "Interconnect components and more (unofficial).")
44
(keywords "keystone,")
55
(author "LibrePCB")
6-
(version "0.1.2")
6+
(version "0.2")
77
(created 2019-06-30T11:26:11Z)
88
(deprecated false)
99
(url "https://github.com/LibrePCB-Libraries/Keystone.lplib")
1010
(dependency a9ddf0c6-9b1c-4730-b300-01b4f192ad40)
11-
(manufacturer "")
11+
(manufacturer "Keystone Electronics")
1212
)

pkg/018bc30d-e733-4d6f-9228-361ace5a079a/package.lp

Lines changed: 122 additions & 32 deletions
Large diffs are not rendered by default.

pkg/356cef37-4471-4e78-b232-171ef6e25c6f/package.lp

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
(description "Keystone 1065 vertical 20mm battery cell holder for BR2012, CR2016, DL2020, CL2025, CR2032.\n\nDrawing: http://www.keyelco.com/product-pdf.cfm?p=722")
44
(keywords "keystone,1065,battery,cell,holder,br2012,cr2016,dl2020,cl2025,cr2032")
55
(author "U. Bruhin")
6-
(version "0.2")
6+
(version "0.3")
77
(created 2019-10-23T19:12:18Z)
88
(deprecated false)
99
(generated_by "")
1010
(category 1c4e8cee-9c15-4dc4-997c-3bee75a0c1c4)
11-
(assembly_type auto)
11+
(assembly_type tht)
1212
(pad b989c4ed-714b-4930-9395-f59c6c6122b3 (name "+"))
1313
(pad 51db8207-c17c-4b35-bedc-5f2b67bd6630 (name "-"))
1414
(footprint 5f3c369a-419e-4b14-abbf-97f0fee07da1
@@ -17,15 +17,15 @@
1717
(3d_position 0.0 0.0 0.0) (3d_rotation 0.0 0.0 0.0)
1818
(pad b989c4ed-714b-4930-9395-f59c6c6122b3 (side top) (shape roundrect)
1919
(position -13.1 0.0) (rotation 90.0) (size 2.4 2.4) (radius 1.0)
20-
(stop_mask auto) (solder_paste off) (clearance 0.0) (function unspecified)
20+
(stop_mask auto) (solder_paste off) (clearance 0.0) (function standard)
2121
(package_pad b989c4ed-714b-4930-9395-f59c6c6122b3)
2222
(hole b989c4ed-714b-4930-9395-f59c6c6122b3 (diameter 1.5)
2323
(vertex (position 0.0 0.0) (angle 0.0))
2424
)
2525
)
2626
(pad 51db8207-c17c-4b35-bedc-5f2b67bd6630 (side top) (shape roundrect)
2727
(position 0.0 3.0) (rotation 0.0) (size 2.4 2.4) (radius 1.0)
28-
(stop_mask auto) (solder_paste off) (clearance 0.0) (function unspecified)
28+
(stop_mask auto) (solder_paste off) (clearance 0.0) (function standard)
2929
(package_pad 51db8207-c17c-4b35-bedc-5f2b67bd6630)
3030
(hole 51db8207-c17c-4b35-bedc-5f2b67bd6630 (diameter 1.5)
3131
(vertex (position 0.0 0.0) (angle 0.0))
@@ -82,6 +82,17 @@
8282
(vertex (position -15.11 3.83) (angle 0.0))
8383
(vertex (position -15.11 -3.22) (angle 0.0))
8484
)
85+
(polygon 8f5af34d-bc13-47fb-8aa9-7f3fe15c93e8 (layer top_package_outlines)
86+
(width 0.0) (fill false) (grab_area false)
87+
(vertex (position -14.61 -2.72) (angle 0.0))
88+
(vertex (position 11.81 -2.72) (angle 0.0))
89+
(vertex (position 11.81 3.33) (angle 0.0))
90+
(vertex (position 4.76 3.33) (angle 0.0))
91+
(vertex (position 4.76 4.9) (angle 0.0))
92+
(vertex (position -4.76 4.9) (angle 0.0))
93+
(vertex (position -4.76 3.33) (angle 0.0))
94+
(vertex (position -14.61 3.33) (angle 0.0))
95+
)
8596
(stroke_text 503c693d-28d4-42cf-825e-a2942738cd03 (layer top_names)
8697
(height 1.0) (stroke_width 0.2) (letter_spacing auto) (line_spacing auto)
8798
(align left bottom) (position 5.55625 3.96875) (rotation 0.0)
@@ -101,4 +112,7 @@
101112
(vertex (position 8.0 0.0) (angle 0.0))
102113
)
103114
)
115+
(approved missing_footprint_3d_model
116+
(footprint 5f3c369a-419e-4b14-abbf-97f0fee07da1)
117+
)
104118
)

pkg/dd9a3433-a992-41f4-b8d1-086095a9b54e/package.lp

Lines changed: 40 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
(description "Battery holder (open) for 2 cells AAA with through-hole pins.")
44
(keywords "keystone,battery,holder,cell,aaa")
55
(author "Jessy")
6-
(version "0.1")
6+
(version "0.2")
77
(created 2019-07-29T20:54:43Z)
88
(deprecated false)
99
(generated_by "")
1010
(category 1c4e8cee-9c15-4dc4-997c-3bee75a0c1c4)
11-
(assembly_type auto)
11+
(assembly_type tht)
1212
(pad 61856d8f-3a7c-4219-b680-451922719511 (name "+"))
1313
(pad d6432d99-3eed-4bdc-997a-f96fd80ba685 (name "-"))
1414
(footprint d3c1068d-37ff-475b-86e2-2cc2ec425c7a
@@ -17,15 +17,15 @@
1717
(3d_position 0.0 0.0 0.0) (3d_rotation 0.0 0.0 0.0)
1818
(pad d6432d99-3eed-4bdc-997a-f96fd80ba685 (side top) (shape roundrect)
1919
(position -6.35 20.32) (rotation 90.0) (size 3.6 1.8) (radius 1.0)
20-
(stop_mask auto) (solder_paste off) (clearance 0.0) (function unspecified)
20+
(stop_mask auto) (solder_paste off) (clearance 0.0) (function standard)
2121
(package_pad d6432d99-3eed-4bdc-997a-f96fd80ba685)
2222
(hole d6432d99-3eed-4bdc-997a-f96fd80ba685 (diameter 1.02)
2323
(vertex (position 0.0 0.0) (angle 0.0))
2424
)
2525
)
2626
(pad 61856d8f-3a7c-4219-b680-451922719511 (side top) (shape roundrect)
2727
(position 6.35 20.32) (rotation 90.0) (size 3.6 1.8) (radius 1.0)
28-
(stop_mask auto) (solder_paste off) (clearance 0.0) (function unspecified)
28+
(stop_mask auto) (solder_paste off) (clearance 0.0) (function standard)
2929
(package_pad 61856d8f-3a7c-4219-b680-451922719511)
3030
(hole 61856d8f-3a7c-4219-b680-451922719511 (diameter 1.02)
3131
(vertex (position 0.0 0.0) (angle 0.0))
@@ -62,6 +62,20 @@
6262
(vertex (position 6.35 24.5) (angle 0.0))
6363
(vertex (position 6.35 23.0) (angle 0.0))
6464
)
65+
(polygon 5e26a4f4-d846-455b-8d2e-3d125715b518 (layer top_package_outlines)
66+
(width 0.0) (fill false) (grab_area false)
67+
(vertex (position -12.295 26.49) (angle 0.0))
68+
(vertex (position 12.295 26.49) (angle 0.0))
69+
(vertex (position 12.295 -26.49) (angle 0.0))
70+
(vertex (position -12.295 -26.49) (angle 0.0))
71+
)
72+
(polygon b4129baa-fbb1-43b7-99c7-c4edc4c1b4cc (layer top_courtyard)
73+
(width 0.0) (fill false) (grab_area false)
74+
(vertex (position 13.295 27.49) (angle 0.0))
75+
(vertex (position -13.295 27.49) (angle 0.0))
76+
(vertex (position -13.295 -27.49) (angle 0.0))
77+
(vertex (position 13.295 -27.49) (angle 0.0))
78+
)
6579
(circle 345403ba-e446-49ff-851f-8e47619858b6 (layer top_documentation)
6680
(width 0.4) (fill false) (grab_area false) (diameter 2.8) (position 2.35 14.985)
6781
)
@@ -96,15 +110,15 @@
96110
(3d_position 0.0 0.0 0.0) (3d_rotation 0.0 0.0 0.0)
97111
(pad d6432d99-3eed-4bdc-997a-f96fd80ba685 (side top) (shape roundrect)
98112
(position -6.35 20.32) (rotation 90.0) (size 3.6 1.8) (radius 1.0)
99-
(stop_mask auto) (solder_paste off) (clearance 0.0) (function unspecified)
113+
(stop_mask auto) (solder_paste off) (clearance 0.0) (function standard)
100114
(package_pad d6432d99-3eed-4bdc-997a-f96fd80ba685)
101115
(hole d6432d99-3eed-4bdc-997a-f96fd80ba685 (diameter 1.02)
102116
(vertex (position 0.0 0.0) (angle 0.0))
103117
)
104118
)
105119
(pad 61856d8f-3a7c-4219-b680-451922719511 (side top) (shape roundrect)
106120
(position 6.35 20.32) (rotation 90.0) (size 3.6 1.8) (radius 1.0)
107-
(stop_mask auto) (solder_paste off) (clearance 0.0) (function unspecified)
121+
(stop_mask auto) (solder_paste off) (clearance 0.0) (function standard)
108122
(package_pad 61856d8f-3a7c-4219-b680-451922719511)
109123
(hole 61856d8f-3a7c-4219-b680-451922719511 (diameter 1.02)
110124
(vertex (position 0.0 0.0) (angle 0.0))
@@ -141,6 +155,20 @@
141155
(vertex (position 6.35 24.5) (angle 0.0))
142156
(vertex (position 6.35 23.0) (angle 0.0))
143157
)
158+
(polygon 8953e61d-bdfd-45fd-a799-49420d6d8b24 (layer top_package_outlines)
159+
(width 0.0) (fill false) (grab_area false)
160+
(vertex (position -12.295 26.49) (angle 0.0))
161+
(vertex (position 12.295 26.49) (angle 0.0))
162+
(vertex (position 12.295 -26.49) (angle 0.0))
163+
(vertex (position -12.295 -26.49) (angle 0.0))
164+
)
165+
(polygon 348b6870-719f-42ca-a07c-d115009d6518 (layer top_courtyard)
166+
(width 0.0) (fill false) (grab_area false)
167+
(vertex (position 13.295 27.49) (angle 0.0))
168+
(vertex (position -13.295 27.49) (angle 0.0))
169+
(vertex (position -13.295 -27.49) (angle 0.0))
170+
(vertex (position 13.295 -27.49) (angle 0.0))
171+
)
144172
(circle 345403ba-e446-49ff-851f-8e47619858b6 (layer top_documentation)
145173
(width 0.4) (fill false) (grab_area false) (diameter 2.8) (position 2.35 14.985)
146174
)
@@ -161,4 +189,10 @@
161189
(auto_rotate true) (mirror false) (value "{{NAME}}")
162190
)
163191
)
192+
(approved missing_footprint_3d_model
193+
(footprint 49510f62-6bc1-4f5c-96e3-22da1b110766)
194+
)
195+
(approved missing_footprint_3d_model
196+
(footprint d3c1068d-37ff-475b-86e2-2cc2ec425c7a)
197+
)
164198
)

0 commit comments

Comments
 (0)