Skip to content

Commit

Permalink
Add sym/cmp for antennas (standard/dipole/loop) (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
ubruhin authored Nov 4, 2024
1 parent 5fb803f commit 1bf0947
Show file tree
Hide file tree
Showing 12 changed files with 231 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmp/2498b9bc-bfa8-40fd-91c8-19e777e05d27/.librepcb-cmp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
30 changes: 30 additions & 0 deletions cmp/2498b9bc-bfa8-40fd-91c8-19e777e05d27/component.lp
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
(librepcb_component 2498b9bc-bfa8-40fd-91c8-19e777e05d27
(name "Antenna Dipole")
(description "")
(keywords "radio")
(author "U. Bruhin")
(version "0.1")
(created 2024-10-23T19:41:46Z)
(deprecated false)
(generated_by "")
(category 213bd44f-f375-41d8-8fdd-0652eb893e27)
(schematic_only false)
(default_value "{{MPN or DEVICE}}")
(prefix "ANT")
(signal fd6941ee-325e-4416-a76b-e29a5e3b6625 (name "1") (role passive)
(required true) (negated false) (clock false) (forced_net "")
)
(signal f14ed0f5-0e1a-4f3e-9c19-6f1596400613 (name "2") (role passive)
(required true) (negated false) (clock false) (forced_net "")
)
(variant fb1b07e9-396d-4ae0-b698-73c5bcd37088 (norm "")
(name "default")
(description "")
(gate 67ea861f-158f-436c-851d-8cfc531fd23a
(symbol 1a682807-588d-4c3f-a386-9719959c8bc8)
(position 0.0 0.0) (rotation 0.0) (required true) (suffix "")
(pin 71033194-9375-4a3e-9127-8929450d0ea2 (signal fd6941ee-325e-4416-a76b-e29a5e3b6625) (text none))
(pin f66122fa-4d29-400c-99dd-1c0c9f5d7475 (signal f14ed0f5-0e1a-4f3e-9c19-6f1596400613) (text none))
)
)
)
1 change: 1 addition & 0 deletions cmp/c469cf27-6fbf-4d04-9e72-b6c94ab85fa6/.librepcb-cmp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
26 changes: 26 additions & 0 deletions cmp/c469cf27-6fbf-4d04-9e72-b6c94ab85fa6/component.lp
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
(librepcb_component c469cf27-6fbf-4d04-9e72-b6c94ab85fa6
(name "Antenna")
(description "")
(keywords "radio")
(author "U. Bruhin")
(version "0.1")
(created 2024-10-23T19:40:40Z)
(deprecated false)
(generated_by "")
(category 213bd44f-f375-41d8-8fdd-0652eb893e27)
(schematic_only false)
(default_value "{{MPN or DEVICE}}")
(prefix "ANT")
(signal 2851d028-734b-45a6-b488-050008d35e39 (name "1") (role passive)
(required true) (negated false) (clock false) (forced_net "")
)
(variant 83e09d44-a7cc-4ffc-9e72-3566a7fd8112 (norm "")
(name "default")
(description "")
(gate 4a5db5b7-39d8-4e45-b1cc-56e2db0f4aad
(symbol 0ef6ae07-9883-46c9-8c02-20decd8cab20)
(position 0.0 0.0) (rotation 0.0) (required true) (suffix "")
(pin e155faa4-7c69-4401-a61b-3bc75917fd6f (signal 2851d028-734b-45a6-b488-050008d35e39) (text none))
)
)
)
1 change: 1 addition & 0 deletions cmp/fb6b957f-2608-48e0-8af3-ca4e5dd6c89a/.librepcb-cmp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
30 changes: 30 additions & 0 deletions cmp/fb6b957f-2608-48e0-8af3-ca4e5dd6c89a/component.lp
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
(librepcb_component fb6b957f-2608-48e0-8af3-ca4e5dd6c89a
(name "Antenna Loop")
(description "")
(keywords "radio")
(author "U. Bruhin")
(version "0.1")
(created 2024-10-23T19:42:25Z)
(deprecated false)
(generated_by "")
(category 213bd44f-f375-41d8-8fdd-0652eb893e27)
(schematic_only false)
(default_value "{{MPN or DEVICE}}")
(prefix "ANT")
(signal e32183c6-1850-4cd8-994e-980abea6c2d3 (name "2") (role passive)
(required true) (negated false) (clock false) (forced_net "")
)
(signal 7c375ef7-b323-4f16-9210-2717eace5d5d (name "1") (role passive)
(required true) (negated false) (clock false) (forced_net "")
)
(variant fca467aa-f322-4170-82bb-cd405609c22f (norm "")
(name "default")
(description "")
(gate 11dd2e00-c2ea-4f70-9a03-8255e7149bf7
(symbol 4197951d-d719-47c2-b487-ee966ea3bc80)
(position 0.0 0.0) (rotation 0.0) (required true) (suffix "")
(pin 2457dc50-7d44-469b-9f04-dc5a3a9133c4 (signal e32183c6-1850-4cd8-994e-980abea6c2d3) (text none))
(pin 78a00ae5-ba5a-4295-bd2d-420b5f519888 (signal 7c375ef7-b323-4f16-9210-2717eace5d5d) (text none))
)
)
)
1 change: 1 addition & 0 deletions sym/0ef6ae07-9883-46c9-8c02-20decd8cab20/.librepcb-sym
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
41 changes: 41 additions & 0 deletions sym/0ef6ae07-9883-46c9-8c02-20decd8cab20/symbol.lp
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
(librepcb_symbol 0ef6ae07-9883-46c9-8c02-20decd8cab20
(name "Antenna")
(description "")
(keywords "radio")
(author "U. Bruhin")
(version "0.1")
(created 2024-10-23T13:11:32Z)
(deprecated false)
(generated_by "")
(category 213bd44f-f375-41d8-8fdd-0652eb893e27)
(pin e155faa4-7c69-4401-a61b-3bc75917fd6f (name "1")
(position 0.0 -2.54) (rotation 90.0) (length 1.27)
(name_position 0.0 0.7) (name_rotation 0.0) (name_height 2.5)
(name_align left bottom)
)
(polygon c4ac881a-7ac5-4e91-b671-14cf263e0259 (layer sym_outlines)
(width 0.25) (fill false) (grab_area false)
(vertex (position -1.27 2.54) (angle 0.0))
(vertex (position 0.0 0.0) (angle 0.0))
(vertex (position 1.27 2.54) (angle 0.0))
)
(polygon 35100467-e7a2-4444-a3ab-9e0a9ebbce75 (layer sym_outlines)
(width 0.25) (fill false) (grab_area false)
(vertex (position 0.0 2.54) (angle 0.0))
(vertex (position 0.0 -1.27) (angle 0.0))
)
(polygon 38a318b1-f72e-4987-a46d-f64ba60ca053 (layer sym_hidden_grab_areas)
(width 0.0) (fill true) (grab_area true)
(vertex (position -1.27 2.54) (angle 0.0))
(vertex (position 1.27 2.54) (angle 0.0))
(vertex (position 1.27 -1.27) (angle 0.0))
(vertex (position -1.27 -1.27) (angle 0.0))
(vertex (position -1.27 2.54) (angle 0.0))
)
(text a09feb5b-3052-4843-a6a5-77ba16c40aa1 (layer sym_names) (value "{{NAME}}")
(align left bottom) (height 2.5) (position 1.27 0.0) (rotation 0.0)
)
(text b674ed11-18ca-4933-977b-95d2fb21e923 (layer sym_values) (value "{{VALUE}}")
(align left top) (height 2.5) (position 1.27 0.0) (rotation 0.0)
)
)
1 change: 1 addition & 0 deletions sym/1a682807-588d-4c3f-a386-9719959c8bc8/.librepcb-sym
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
50 changes: 50 additions & 0 deletions sym/1a682807-588d-4c3f-a386-9719959c8bc8/symbol.lp
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
(librepcb_symbol 1a682807-588d-4c3f-a386-9719959c8bc8
(name "Antenna Dipole")
(description "")
(keywords "radio")
(author "U. Bruhin")
(version "0.1")
(created 2024-10-23T13:34:30Z)
(deprecated false)
(generated_by "")
(category 213bd44f-f375-41d8-8fdd-0652eb893e27)
(pin 71033194-9375-4a3e-9127-8929450d0ea2 (name "1")
(position 0.0 -2.54) (rotation 90.0) (length 1.27)
(name_position 0.0 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left top)
)
(pin f66122fa-4d29-400c-99dd-1c0c9f5d7475 (name "2")
(position 2.54 -2.54) (rotation 90.0) (length 1.27)
(name_position 0.0 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left top)
)
(polygon 38af67f0-c186-49c8-9255-8ec1f48068f1 (layer sym_outlines)
(width 0.25) (fill false) (grab_area false)
(vertex (position 0.0 -1.27) (angle 0.0))
(vertex (position 0.0 0.0) (angle 0.0))
(vertex (position -2.54 0.0) (angle 0.0))
(vertex (position -2.54 1.27) (angle 0.0))
(vertex (position 5.08 1.27) (angle 0.0))
(vertex (position 5.08 0.0) (angle 0.0))
(vertex (position 2.54 0.0) (angle 0.0))
(vertex (position 2.54 -1.27) (angle 0.0))
)
(polygon 8f454c73-65c7-4df4-bc70-ee80ae9745f0 (layer sym_hidden_grab_areas)
(width 0.0) (fill true) (grab_area true)
(vertex (position -2.54 1.27) (angle 0.0))
(vertex (position 5.08 1.27) (angle 0.0))
(vertex (position 5.08 0.0) (angle 0.0))
(vertex (position 2.54 0.0) (angle 0.0))
(vertex (position 2.54 -2.54) (angle 0.0))
(vertex (position 0.0 -2.54) (angle 0.0))
(vertex (position 0.0 0.0) (angle 0.0))
(vertex (position -2.54 0.0) (angle 0.0))
(vertex (position -2.54 1.27) (angle 0.0))
)
(text 71d743bd-f2d5-4fdc-bfcf-7c02fd3d66a6 (layer sym_names) (value "{{NAME}}")
(align left bottom) (height 2.5) (position -2.54 1.27) (rotation 0.0)
)
(text 4e1582cd-739e-4d69-a450-cab1336a2e8d (layer sym_values) (value "{{VALUE}}")
(align left bottom) (height 2.5) (position 0.0 0.0) (rotation 180.0)
)
)
1 change: 1 addition & 0 deletions sym/4197951d-d719-47c2-b487-ee966ea3bc80/.librepcb-sym
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
48 changes: 48 additions & 0 deletions sym/4197951d-d719-47c2-b487-ee966ea3bc80/symbol.lp
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
(librepcb_symbol 4197951d-d719-47c2-b487-ee966ea3bc80
(name "Antenna Loop")
(description "")
(keywords "radio")
(author "U. Bruhin")
(version "0.1")
(created 2024-10-23T13:41:24Z)
(deprecated false)
(generated_by "")
(category 213bd44f-f375-41d8-8fdd-0652eb893e27)
(pin 78a00ae5-ba5a-4295-bd2d-420b5f519888 (name "1")
(position 0.0 -5.08) (rotation 90.0) (length 1.27)
(name_position 0.0 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left top)
)
(pin 2457dc50-7d44-469b-9f04-dc5a3a9133c4 (name "2")
(position 2.54 -5.08) (rotation 90.0) (length 1.27)
(name_position 0.0 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left top)
)
(polygon 7ef94c0b-95bc-4479-8b37-64c404c1498e (layer sym_outlines)
(width 0.25) (fill false) (grab_area false)
(vertex (position 0.0 -3.81) (angle 0.0))
(vertex (position 0.0 -2.54) (angle 0.0))
(vertex (position -2.54 0.0) (angle 0.0))
(vertex (position 1.27 3.81) (angle 0.0))
(vertex (position 5.08 0.0) (angle 0.0))
(vertex (position 2.54 -2.54) (angle 0.0))
(vertex (position 2.54 -3.81) (angle 0.0))
)
(polygon e7db94dd-48c2-444a-bbb2-9bdb58fe7264 (layer sym_hidden_grab_areas)
(width 0.0) (fill true) (grab_area true)
(vertex (position 1.27 3.81) (angle 0.0))
(vertex (position 5.08 0.0) (angle 0.0))
(vertex (position 2.54 -2.54) (angle 0.0))
(vertex (position 2.54 -5.08) (angle 0.0))
(vertex (position 0.0 -5.08) (angle 0.0))
(vertex (position 0.0 -2.54) (angle 0.0))
(vertex (position -2.54 0.0) (angle 0.0))
(vertex (position 1.27 3.81) (angle 0.0))
)
(text 9b7f3637-3150-4673-ae48-d698412c364e (layer sym_names) (value "{{NAME}}")
(align left bottom) (height 2.5) (position 1.27 3.81) (rotation 0.0)
)
(text 1de0595c-73db-49dc-82e3-a9ce397d4a84 (layer sym_values) (value "{{VALUE}}")
(align left bottom) (height 2.5) (position 3.81 1.27) (rotation 0.0)
)
)

0 comments on commit 1bf0947

Please sign in to comment.