link logo to schematic symbol so it doesn't get deleted

This commit is contained in:
2023-03-17 23:46:11 -06:00
parent b911ed7ea9
commit d3f739bb7f
3 changed files with 561 additions and 17 deletions

View File

@@ -68,6 +68,264 @@
)
)
)
(symbol "bh:LOGO_BH" (in_bom no) (on_board yes)
(property "Reference" "LOGO" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "" (at 0.635 0.635 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "common:LOGO_BH" (at 0.635 0.635 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 0.635 0.635 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "LOGO_BH_0_1"
(rectangle (start -5.08 -4.445) (end 1.905 -5.715)
(stroke (width 0) (type default))
(fill (type outline))
)
(rectangle (start -5.08 4.445) (end -3.81 -4.445)
(stroke (width 0) (type default))
(fill (type outline))
)
(rectangle (start -5.08 5.715) (end 1.905 4.445)
(stroke (width 0) (type default))
(fill (type outline))
)
(rectangle (start -2.54 3.175) (end -1.27 -3.175)
(stroke (width 0) (type default))
(fill (type outline))
)
(rectangle (start -1.27 0.635) (end 0.635 -0.635)
(stroke (width 0) (type default))
(fill (type outline))
)
(polyline
(pts
(xy 1.905 0.635)
(xy 1.905 -0.635)
)
(stroke (width 0) (type default))
(fill (type none))
)
(polyline
(pts
(xy 3.7084 -1.8542)
(xy 3.7084 -1.6002)
)
(stroke (width 0) (type default))
(fill (type none))
)
(polyline
(pts
(xy 4.6482 -0.9906)
(xy 4.572 -1.1684)
)
(stroke (width 0) (type default))
(fill (type none))
)
(polyline
(pts
(xy 4.7244 -1.1176)
(xy 4.4704 -1.1684)
)
(stroke (width 0) (type default))
(fill (type none))
)
(polyline
(pts
(xy 4.8006 -1.2446)
(xy 4.2418 -1.2954)
)
(stroke (width 0) (type default))
(fill (type none))
)
(polyline
(pts
(xy 4.8514 -1.3716)
(xy 4.064 -1.4224)
)
(stroke (width 0) (type default))
(fill (type none))
)
(polyline
(pts
(xy 4.953 -2.54)
(xy 4.9022 -1.778)
)
(stroke (width 0) (type default))
(fill (type none))
)
(polyline
(pts
(xy 3.81 -2.54)
(xy 3.81 -2.3622)
(xy 3.7846 -2.2098)
(xy 3.7338 -2.032)
(xy 3.683 -1.8796)
(xy 3.6322 -1.7272)
(xy 3.5814 -1.6002)
(xy 3.7338 -1.524)
(xy 3.8862 -1.4478)
(xy 4.1148 -1.3208)
(xy 4.2926 -1.2192)
(xy 4.4704 -1.0922)
(xy 4.6482 -0.9652)
(xy 4.7498 -1.143)
(xy 4.8514 -1.3462)
(xy 4.9276 -1.5748)
(xy 4.9784 -1.778)
(xy 5.0292 -1.9812)
(xy 5.0546 -2.1844)
(xy 5.08 -2.54)
)
(stroke (width 0) (type default))
(fill (type none))
)
(rectangle (start 0.635 3.175) (end 1.905 -3.175)
(stroke (width 0) (type default))
(fill (type outline))
)
(arc (start 1.905 -5.715) (mid 4.1501 -4.7851) (end 5.08 -2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 -5.588) (mid 4.0603 -4.6953) (end 4.953 -2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 -5.461) (mid 3.9705 -4.6055) (end 4.826 -2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 -5.334) (mid 3.8807 -4.5157) (end 4.699 -2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 -5.207) (mid 3.7909 -4.4259) (end 4.572 -2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 -5.08) (mid 3.7011 -4.3361) (end 4.445 -2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 -4.953) (mid 3.6112 -4.2462) (end 4.318 -2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 -4.826) (mid 3.5214 -4.1564) (end 4.191 -2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 -4.699) (mid 3.4316 -4.0666) (end 4.064 -2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 -4.572) (mid 3.3418 -3.9768) (end 3.937 -2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 -4.445) (mid 3.252 -3.887) (end 3.81 -2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 -0.635) (mid 4.1501 0.2949) (end 5.08 2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 -0.508) (mid 4.0603 0.3847) (end 4.953 2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 -0.381) (mid 3.9705 0.4745) (end 4.826 2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 -0.254) (mid 3.8807 0.5643) (end 4.699 2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 -0.127) (mid 3.7909 0.6541) (end 4.572 2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 0) (mid 3.7011 0.7439) (end 4.445 2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 0.127) (mid 3.6112 0.8338) (end 4.318 2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 0.254) (mid 3.5214 0.9236) (end 4.191 2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 0.381) (mid 3.4316 1.0134) (end 4.064 2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 0.508) (mid 3.3418 1.1032) (end 3.937 2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 1.905 0.635) (mid 3.252 1.193) (end 3.81 2.54)
(stroke (width 0) (type default))
(fill (type none))
)
(rectangle (start 3.81 -1.524) (end 4.826 -2.54)
(stroke (width 0) (type default))
(fill (type outline))
)
(arc (start 3.81 2.54) (mid 3.252 3.887) (end 1.905 4.445)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 3.937 2.54) (mid 3.3418 3.9768) (end 1.905 4.572)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 4.064 2.54) (mid 3.4316 4.0666) (end 1.905 4.699)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 4.191 2.54) (mid 3.5214 4.1564) (end 1.905 4.826)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 4.318 2.54) (mid 3.6112 4.2462) (end 1.905 4.953)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 4.445 2.54) (mid 3.7011 4.3361) (end 1.905 5.08)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 4.572 2.54) (mid 3.7909 4.4259) (end 1.905 5.207)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 4.699 2.54) (mid 3.8807 4.5157) (end 1.905 5.334)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 4.826 2.54) (mid 3.9705 4.6055) (end 1.905 5.461)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 4.953 2.54) (mid 4.0603 4.6953) (end 1.905 5.588)
(stroke (width 0) (type default))
(fill (type none))
)
(arc (start 5.08 2.54) (mid 4.1501 4.7851) (end 1.905 5.715)
(stroke (width 0) (type default))
(fill (type none))
)
)
)
(symbol "bh:Mounting_Hole" (pin_numbers hide) (pin_names (offset 0.762) hide) (in_bom yes) (on_board yes)
(property "Reference" "MH" (at 0 7.62 0)
(effects (font (size 1.27 1.27)))
@@ -107,6 +365,30 @@
)
(symbol (lib_id "bh:LOGO_BH") (at 146.05 190.5 0) (unit 1)
(in_bom no) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 34f9aa7c-9331-4a4e-ada5-723181f4dcaa)
(property "Reference" "LOGO1" (at 146.05 190.5 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "~" (at 146.685 189.865 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "common:LOGO_BH" (at 146.685 189.865 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 146.685 189.865 0)
(effects (font (size 1.27 1.27)) hide)
)
(instances
(project "jlcpcb_template"
(path "/5c9b5493-28d5-442a-a1c0-43be0cca0b1b"
(reference "LOGO1") (unit 1)
)
)
)
)
(symbol (lib_id "bh:Mounting_Hole") (at 63.5 190.5 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 409ab3ca-8890-41e5-8523-0edcaaeb13ca)
@@ -124,7 +406,7 @@
)
(pin "1" (uuid e9fe4d85-5c86-4f7a-82e6-f2fd7d225d6e))
(instances
(project "test_proj"
(project "jlcpcb_template"
(path "/5c9b5493-28d5-442a-a1c0-43be0cca0b1b"
(reference "MH4") (unit 1)
)
@@ -149,7 +431,7 @@
)
(pin "1" (uuid 7132b3cd-5db9-4381-a698-ffffd0acedbb))
(instances
(project "test_proj"
(project "jlcpcb_template"
(path "/5c9b5493-28d5-442a-a1c0-43be0cca0b1b"
(reference "#PWR02") (unit 1)
)
@@ -174,7 +456,7 @@
)
(pin "1" (uuid 1f2ca150-5a64-49a1-bbd4-dcb61762f9d2))
(instances
(project "test_proj"
(project "jlcpcb_template"
(path "/5c9b5493-28d5-442a-a1c0-43be0cca0b1b"
(reference "#PWR01") (unit 1)
)
@@ -199,7 +481,7 @@
)
(pin "1" (uuid 3f50ef8e-cdc4-4af3-a657-0f48355bb37d))
(instances
(project "test_proj"
(project "jlcpcb_template"
(path "/5c9b5493-28d5-442a-a1c0-43be0cca0b1b"
(reference "MH3") (unit 1)
)
@@ -224,7 +506,7 @@
)
(pin "1" (uuid 974c2f03-6a35-4c79-90cb-e1ae51185391))
(instances
(project "test_proj"
(project "jlcpcb_template"
(path "/5c9b5493-28d5-442a-a1c0-43be0cca0b1b"
(reference "MH1") (unit 1)
)
@@ -249,7 +531,7 @@
)
(pin "1" (uuid 4044e045-29bd-4607-807f-67125a854a21))
(instances
(project "test_proj"
(project "jlcpcb_template"
(path "/5c9b5493-28d5-442a-a1c0-43be0cca0b1b"
(reference "#PWR04") (unit 1)
)
@@ -274,7 +556,7 @@
)
(pin "1" (uuid 1e10cdd5-879d-436b-a2a5-38904066b64c))
(instances
(project "test_proj"
(project "jlcpcb_template"
(path "/5c9b5493-28d5-442a-a1c0-43be0cca0b1b"
(reference "#PWR03") (unit 1)
)
@@ -299,7 +581,7 @@
)
(pin "1" (uuid 9dd8d1f8-25ce-4da4-aed2-54d45a5a6ed9))
(instances
(project "test_proj"
(project "jlcpcb_template"
(path "/5c9b5493-28d5-442a-a1c0-43be0cca0b1b"
(reference "MH2") (unit 1)
)