Skip to content

Commit

Permalink
Add sym/cmp for bridge rectifier (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
Recycled0080 authored Oct 2, 2023
1 parent 3eacf35 commit 4ee7735
Show file tree
Hide file tree
Showing 6 changed files with 268 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmp/5d9bb296-1b29-4121-bded-f15b9d05f23c/.librepcb-cmp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
50 changes: 50 additions & 0 deletions cmp/5d9bb296-1b29-4121-bded-f15b9d05f23c/component.lp
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
(librepcb_component 5d9bb296-1b29-4121-bded-f15b9d05f23c
(name "Bridge Rectifier")
(description "Generic bridge rectifier")
(keywords "bridge, rectifier")
(author "Recycled0080")
(version "0.1")
(created 2023-09-26T04:48:22Z)
(deprecated false)
(generated_by "")
(category 4d1c95f4-2e60-4f50-a15b-ba9186a01b1a)
(schematic_only false)
(default_value "{{MPN or DEVICE}}")
(prefix "BR")
(signal 0470e211-b1d1-42cb-a821-a7c05864de55 (name "AC1") (role passive)
(required true) (negated false) (clock false) (forced_net "")
)
(signal d4ad2c6d-aca9-43f5-9ec1-4022e3c3c74e (name "_") (role passive)
(required true) (negated false) (clock false) (forced_net "")
)
(signal 1f89c5d3-59c4-47f5-bbd2-0378de71e5c2 (name "AC2") (role passive)
(required true) (negated false) (clock false) (forced_net "")
)
(signal 8364707f-c375-4521-ab13-41476a0e664c (name "+") (role passive)
(required true) (negated false) (clock false) (forced_net "")
)
(variant 13e11092-3474-4675-a73f-5d843398052f (norm "IEC 60617")
(name "European")
(description "")
(gate 9d08a905-0991-42cc-ad71-b9e43a000637
(symbol 73c16b1f-8a37-4cb7-a832-440d0be4d9f7)
(position 0.0 0.0) (rotation 0.0) (required true) (suffix "")
(pin 2b39f516-392a-4315-a09b-e7b8c12e2247 (signal d4ad2c6d-aca9-43f5-9ec1-4022e3c3c74e) (text none))
(pin 77d8eafb-a13e-48a7-b24d-675d34a5c6c0 (signal 1f89c5d3-59c4-47f5-bbd2-0378de71e5c2) (text none))
(pin 9a0490e9-b25d-4e28-8ac2-a0e8e0ce59a6 (signal 8364707f-c375-4521-ab13-41476a0e664c) (text none))
(pin fe59a1cb-08f4-4d71-9d2d-8dce71a33312 (signal 0470e211-b1d1-42cb-a821-a7c05864de55) (text none))
)
)
(variant 3564ac8a-3997-470e-a0fe-9076efdf77e3 (norm "IEEE 315")
(name "American")
(description "")
(gate 667bc8bd-a8ab-4e4b-854d-45d52ce196d8
(symbol ca7218a8-66ca-441e-a1fe-4b8f7fd61658)
(position 0.0 0.0) (rotation 0.0) (required true) (suffix "")
(pin 8ddf0e09-635a-4afd-bf5f-34193f2ed35d (signal 8364707f-c375-4521-ab13-41476a0e664c) (text none))
(pin a5291c98-3729-47c7-b3d5-173a8ccea1e5 (signal d4ad2c6d-aca9-43f5-9ec1-4022e3c3c74e) (text none))
(pin b25141b8-f02a-427c-89be-1c0baab1303d (signal 0470e211-b1d1-42cb-a821-a7c05864de55) (text none))
(pin ebbf1fd9-e566-4a0b-a5e0-7b1635387a13 (signal 1f89c5d3-59c4-47f5-bbd2-0378de71e5c2) (text none))
)
)
)
1 change: 1 addition & 0 deletions sym/73c16b1f-8a37-4cb7-a832-440d0be4d9f7/.librepcb-sym
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
74 changes: 74 additions & 0 deletions sym/73c16b1f-8a37-4cb7-a832-440d0be4d9f7/symbol.lp
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
(librepcb_symbol 73c16b1f-8a37-4cb7-a832-440d0be4d9f7
(name "Bridge Rectifier EU")
(description "Bridge Rectfier, European (IEC 60617)")
(keywords "bridge, rectifier")
(author "Recycled0080")
(version "0.2")
(created 2023-09-26T04:17:45Z)
(deprecated false)
(generated_by "")
(category 4d1c95f4-2e60-4f50-a15b-ba9186a01b1a)
(pin 2b39f516-392a-4315-a09b-e7b8c12e2247 (name "-")
(position -5.08 0.0) (rotation 0.0) (length 1.27)
(name_position 2.54 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left center)
)
(pin 77d8eafb-a13e-48a7-b24d-675d34a5c6c0 (name "A2")
(position 0.0 -5.08) (rotation 90.0) (length 1.27)
(name_position 2.54 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align center center)
)
(pin 9a0490e9-b25d-4e28-8ac2-a0e8e0ce59a6 (name "+")
(position 5.08 0.0) (rotation 180.0) (length 1.27)
(name_position 2.54 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left center)
)
(pin fe59a1cb-08f4-4d71-9d2d-8dce71a33312 (name "A1")
(position 0.0 5.08) (rotation 270.0) (length 1.27)
(name_position 2.54 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align center center)
)
(polygon f81c6758-d1b4-4009-b8a2-ec5ee1ceed5c (layer sym_outlines)
(width 0.2) (fill false) (grab_area true)
(vertex (position 0.0 -3.81) (angle 0.0))
(vertex (position -3.81 0.0) (angle 0.0))
(vertex (position 0.0 3.81) (angle 0.0))
(vertex (position 3.81 0.0) (angle 0.0))
(vertex (position 0.0 -3.81) (angle 0.0))
)
(polygon 2ef393b3-244b-430d-b574-1ea5a645cdcc (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position -0.635 0.635) (angle 0.0))
(vertex (position -0.635 -0.635) (angle 0.0))
(vertex (position 0.635 0.0) (angle 0.0))
(vertex (position -0.635 0.635) (angle 0.0))
)
(polygon 2f9925e9-98f4-4462-9ce6-857aa436da52 (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position 0.635 0.635) (angle 0.0))
(vertex (position 0.635 -0.635) (angle 0.0))
)
(polygon 056b4278-1404-41fb-b3a7-681e1ff8c69b (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position -1.905 0.0) (angle 0.0))
(vertex (position 1.905 0.0) (angle 0.0))
)
(text 9ecd550f-eb22-4426-9749-73ba15593e1a (layer sym_names) (value "{{NAME}}")
(align left bottom) (height 2.5) (position 3.81 -2.54) (rotation 0.0)
)
(text 0bfb31fa-3a8f-45dc-b47a-04f04d0c1259 (layer sym_values) (value "{{VALUE}}")
(align left top) (height 2.5) (position 3.81 -2.54) (rotation 0.0)
)
(text ae206aa7-0847-4abf-aa95-bf6978cd56e6 (layer sym_outlines) (value "-")
(align center center) (height 2.5) (position -2.54 0.0) (rotation 0.0)
)
(text 8ac49822-9822-47a4-9e53-cbfdf22df2ea (layer sym_outlines) (value "~")
(align center center) (height 2.5) (position 0.0 2.54) (rotation 0.0)
)
(text 7bcd1f51-0595-4249-aa66-b9722d980799 (layer sym_outlines) (value "+")
(align center center) (height 2.5) (position 2.54 0.0) (rotation 0.0)
)
(text 2694921e-06da-4ebe-939f-f3174bda1596 (layer sym_outlines) (value "~")
(align center center) (height 2.5) (position 0.0 -2.54) (rotation 180.0)
)
)
1 change: 1 addition & 0 deletions sym/ca7218a8-66ca-441e-a1fe-4b8f7fd61658/.librepcb-sym
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
141 changes: 141 additions & 0 deletions sym/ca7218a8-66ca-441e-a1fe-4b8f7fd61658/symbol.lp
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
(librepcb_symbol ca7218a8-66ca-441e-a1fe-4b8f7fd61658
(name "Bridge Rectiifier US")
(description "Brige Rectifier, American (IEEE 315)")
(keywords "bridge, rectifier")
(author "Recycled0080")
(version "0.2")
(created 2023-09-26T05:23:15Z)
(deprecated false)
(generated_by "")
(category 4d1c95f4-2e60-4f50-a15b-ba9186a01b1a)
(pin ebbf1fd9-e566-4a0b-a5e0-7b1635387a13 (name "A2")
(position 0.0 -5.08) (rotation 90.0) (length 1.27)
(name_position 2.54 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left center)
)
(pin 8ddf0e09-635a-4afd-bf5f-34193f2ed35d (name "+")
(position 5.08 0.0) (rotation 180.0) (length 1.27)
(name_position 2.54 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left center)
)
(pin b25141b8-f02a-427c-89be-1c0baab1303d (name "A1")
(position 0.0 5.08) (rotation 270.0) (length 1.27)
(name_position 2.54 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left center)
)
(pin a5291c98-3729-47c7-b3d5-173a8ccea1e5 (name "-")
(position -5.08 0.0) (rotation 0.0) (length 1.27)
(name_position 2.54 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left center)
)
(polygon c3f593ef-bf2f-4b57-8685-c0265f1cae88 (layer sym_outlines)
(width 0.2) (fill false) (grab_area true)
(vertex (position -3.175 1.905) (angle 0.0))
(vertex (position -1.905 0.635) (angle 0.0))
(vertex (position -1.27 2.54) (angle 0.0))
(vertex (position -3.175 1.905) (angle 0.0))
)
(polygon 455687f1-148e-4c9d-a52b-3c43210631b2 (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position -1.905 3.175) (angle 0.0))
(vertex (position -0.635 1.905) (angle 0.0))
)
(polygon fdeb0210-2d45-4804-9e6a-bc3abddc9240 (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position -2.54 1.27) (angle 0.0))
(vertex (position -3.81 0.0) (angle 0.0))
)
(polygon b7c3a5c4-94ee-4671-a915-c01d91e68443 (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position -1.27 2.54) (angle 0.0))
(vertex (position 0.0 3.81) (angle 0.0))
)
(polygon 6918fd70-714e-496a-9487-e9021292c2f2 (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position 0.0 3.81) (angle 0.0))
(vertex (position 1.27 2.54) (angle 0.0))
)
(polygon 61f52650-2105-4fbe-a640-9697a6a93b7b (layer sym_outlines)
(width 0.2) (fill false) (grab_area true)
(vertex (position 1.905 3.175) (angle 0.0))
(vertex (position 0.635 1.905) (angle 0.0))
(vertex (position 2.54 1.27) (angle 0.0))
(vertex (position 1.905 3.175) (angle 0.0))
)
(polygon 34d09a2c-4a85-43eb-997c-15332f26ef4d (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position 1.905 0.635) (angle 0.0))
(vertex (position 3.175 1.905) (angle 0.0))
)
(polygon da8ae9ba-53be-42f3-93b8-b779db0840a6 (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position 2.54 1.27) (angle 0.0))
(vertex (position 3.81 0.0) (angle 0.0))
(vertex (position 2.54 -1.27) (angle 0.0))
)
(polygon cdda1264-172c-4619-ab24-67eb1ce99f8c (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position 1.905 -0.635) (angle 0.0))
(vertex (position 3.175 -1.905) (angle 0.0))
)
(polygon 3ab62777-ac25-49c4-a5a9-aa5f628d9f34 (layer sym_outlines)
(width 0.2) (fill false) (grab_area true)
(vertex (position 2.54 -1.27) (angle 0.0))
(vertex (position 0.635 -1.905) (angle 0.0))
(vertex (position 1.905 -3.175) (angle 0.0))
(vertex (position 2.54 -1.27) (angle 0.0))
)
(polygon 4c91ef3f-f7cb-4b5d-b779-fa0a8b90ab20 (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position 1.27 -2.54) (angle 0.0))
(vertex (position 0.0 -3.81) (angle 0.0))
)
(polygon d955e26c-6b3c-42c4-bcfa-430594a678a1 (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position -3.81 0.0) (angle 0.0))
(vertex (position -2.54 -1.27) (angle 0.0))
)
(polygon 1d289c3c-b7c4-4d33-bfc5-27571c562daa (layer sym_outlines)
(width 0.2) (fill false) (grab_area true)
(vertex (position -1.905 -0.635) (angle 0.0))
(vertex (position -3.175 -1.905) (angle 0.0))
(vertex (position -1.27 -2.54) (angle 0.0))
(vertex (position -1.905 -0.635) (angle 0.0))
)
(polygon 5d936e71-850d-45d1-9b50-9d09b653c638 (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position -1.905 -3.175) (angle 0.0))
(vertex (position -0.635 -1.905) (angle 0.0))
)
(polygon d1a601fb-4cfc-47c8-95fe-f52bde108360 (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position -1.27 -2.54) (angle 0.0))
(vertex (position 0.0 -3.81) (angle 0.0))
)
(polygon 725ed25d-1447-4d25-8670-3c9ebd113d13 (layer sym_hidden_grab_areas)
(width 0.2) (fill true) (grab_area true)
(vertex (position -3.81 0.0) (angle 0.0))
(vertex (position 0.0 3.81) (angle 0.0))
(vertex (position 3.81 0.0) (angle 0.0))
(vertex (position 0.0 -3.81) (angle 0.0))
(vertex (position -3.81 0.0) (angle 0.0))
)
(text aa3cf55a-62c9-4fb9-8fff-6d4e518c2aff (layer sym_outlines) (value "~")
(align center center) (height 2.5) (position 0.0 2.54) (rotation 0.0)
)
(text 88d0ce26-8bca-479d-9ffe-85a08af8d5f3 (layer sym_outlines) (value "-")
(align center center) (height 2.5) (position -2.54 0.0) (rotation 0.0)
)
(text 9c9cd4f6-1870-4f6b-8bf7-fa7c935e49e4 (layer sym_outlines) (value "~")
(align center center) (height 2.5) (position 0.0 -2.54) (rotation 0.0)
)
(text 34eefe40-4e54-4835-8a13-0d84f7c4b6af (layer sym_outlines) (value "+")
(align center center) (height 2.5) (position 2.54 0.0) (rotation 0.0)
)
(text a80a5135-0cbd-4783-becc-fbc11f799f8a (layer sym_names) (value "{{NAME}}")
(align left bottom) (height 2.5) (position 3.81 -2.54) (rotation 0.0)
)
(text ccf1bf02-5821-4c02-8931-d2d02e4d2825 (layer sym_values) (value "{{VALUE}}")
(align left top) (height 2.5) (position 3.81 -2.54) (rotation 0.0)
)
)

0 comments on commit 4ee7735

Please sign in to comment.