DIP switches symbols and footprints fix

This commit is contained in:
Anton Mukhin
2025-03-28 17:58:15 +03:00
parent 531dda1975
commit 2807a94db9
4 changed files with 631 additions and 11 deletions

View File

@@ -24916,7 +24916,7 @@
)
)
)
(property "Footprint" ""
(property "Footprint" "my_additions:SW_DIP_Switch_1P_6.2x2.54mm"
(at 0 0 0)
(effects
(font
@@ -24952,7 +24952,7 @@
(hide yes)
)
)
(property "ki_fp_filters" "SW?DIP?x1*"
(property "ki_fp_filters" "SW?DIP??1*"
(at 0 0 0)
(effects
(font
@@ -25050,6 +25050,536 @@
)
(embedded_fonts no)
)
(symbol "SW_DIP_x02_small"
(pin_names
(offset 0)
(hide yes)
)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(property "Reference" "SW"
(at 0 3.556 0)
(do_not_autoplace)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "SW_DIP_x02"
(at 0.254 -3.81 0)
(do_not_autoplace)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" "my_additions:SW_DIP_Switch_2P_6.2x5.08mm"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "~"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "2x DIP Switch, Single Pole Single Throw (SPST) switch, small symbol"
(at 0 17.526 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_keywords" "dip switch"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_fp_filters" "SW?DIP??2*"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(symbol "SW_DIP_x02_small_0_0"
(circle
(center -1.397 1.27)
(radius 0.508)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(circle
(center -1.397 -1.27)
(radius 0.508)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(polyline
(pts
(xy -0.9428 1.5236) (xy 1.6724 2.2503)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(polyline
(pts
(xy -0.9428 -1.0164) (xy 1.6724 -0.2897)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(circle
(center 1.397 1.27)
(radius 0.508)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(circle
(center 1.397 -1.27)
(radius 0.508)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
)
(symbol "SW_DIP_x02_small_0_1"
(rectangle
(start -2.54 2.54)
(end 2.54 -2.54)
(stroke
(width 0.254)
(type default)
)
(fill
(type background)
)
)
)
(symbol "SW_DIP_x02_small_1_1"
(pin passive line
(at -5.08 1.27 0)
(length 3.175)
(name "~"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at -5.08 -1.27 0)
(length 3.175)
(name "~"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "2"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at 5.08 1.27 180)
(length 3.175)
(name "~"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "4"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at 5.08 -1.27 180)
(length 3.175)
(name "~"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "3"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(embedded_fonts no)
)
(symbol "SW_DIP_x03_small"
(pin_names
(offset 0)
(hide yes)
)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(property "Reference" "SW"
(at 0 4.826 0)
(do_not_autoplace)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "SW_DIP_x03"
(at 0 -5.334 0)
(do_not_autoplace)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" "my_additions:SW_DIP_Switch_3P_6.2x7.62mm"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "~"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "3x DIP Switch, Single Pole Single Throw (SPST) switch, small symbol"
(at 0 17.526 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_keywords" "dip switch"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_fp_filters" "SW?DIP??3*"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(symbol "SW_DIP_x03_small_0_0"
(circle
(center -1.397 2.54)
(radius 0.508)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(circle
(center -1.397 0)
(radius 0.508)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(circle
(center -1.397 -2.54)
(radius 0.508)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(polyline
(pts
(xy -0.9428 2.7936) (xy 1.6724 3.5203)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(polyline
(pts
(xy -0.9428 0.2536) (xy 1.6724 0.9803)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(polyline
(pts
(xy -0.9428 -2.2864) (xy 1.6724 -1.5597)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(circle
(center 1.397 2.54)
(radius 0.508)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(circle
(center 1.397 0)
(radius 0.508)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(circle
(center 1.397 -2.54)
(radius 0.508)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
)
(symbol "SW_DIP_x03_small_0_1"
(rectangle
(start -2.54 3.81)
(end 2.54 -3.81)
(stroke
(width 0.254)
(type default)
)
(fill
(type background)
)
)
)
(symbol "SW_DIP_x03_small_1_1"
(pin passive line
(at -5.08 2.54 0)
(length 3.175)
(name "~"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at -5.08 0 0)
(length 3.175)
(name "~"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "2"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at -5.08 -2.54 0)
(length 3.175)
(name "~"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "3"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at 5.08 2.54 180)
(length 3.175)
(name "~"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "6"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at 5.08 0 180)
(length 3.175)
(name "~"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "5"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at 5.08 -2.54 180)
(length 3.175)
(name "~"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "4"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(embedded_fonts no)
)
(symbol "SW_Push_Small"
(pin_numbers
(hide yes)

View File

@@ -6,7 +6,6 @@
(tags "dip switch")
(property "Reference" "REF**"
(at 0 -2.032 0)
(unlocked yes)
(layer "F.SilkS")
(uuid "47df4386-a006-4e5e-9655-5cc170560931")
(effects
@@ -18,7 +17,6 @@
)
(property "Value" "SW_DIP_1P_SMD"
(at 0 3.683 0)
(unlocked yes)
(layer "F.Fab")
(uuid "4a2c331b-db8f-4834-a238-4ad194da6d31")
(effects
@@ -191,9 +189,21 @@
(layer "F.Fab")
(uuid "3bde024a-1a79-4c79-8900-d1d59f992fa2")
)
(fp_text user "ON"
(at 1.8 -1.1 270)
(unlocked yes)
(layer "F.SilkS")
(uuid "13b203e0-2e62-4f6c-9578-d0fedc89af7b")
(effects
(font
(size 1 1)
(thickness 0.15)
)
(justify left bottom)
)
)
(fp_text user "${REFERENCE}"
(at 0 2.286 0)
(unlocked yes)
(layer "F.Fab")
(uuid "1209b4df-2d83-44f4-8359-744179102de4")
(effects

View File

@@ -6,7 +6,6 @@
(tags "dip switch")
(property "Reference" "REF**"
(at 0 -3.43 0)
(unlocked yes)
(layer "F.SilkS")
(uuid "47df4386-a006-4e5e-9655-5cc170560931")
(effects
@@ -18,7 +17,6 @@
)
(property "Value" "SW_DIP_2P_SMD"
(at 0 5.08 0)
(unlocked yes)
(layer "F.Fab")
(uuid "4a2c331b-db8f-4834-a238-4ad194da6d31")
(effects
@@ -138,6 +136,16 @@
(layer "F.CrtYd")
(uuid "f97dde5f-90e0-474d-874a-734edef76dfa")
)
(fp_line
(start -3.1 -1.27)
(end -4.4 -1.27)
(stroke
(width 0.1)
(type default)
)
(layer "F.Fab")
(uuid "ec72dd7d-a754-4fcc-9c14-db000358bf12")
)
(fp_line
(start -3.1 1.27)
(end -4.4 1.27)
@@ -148,6 +156,16 @@
(layer "F.Fab")
(uuid "abc4ce04-52a2-48f0-a582-ed3f24acba38")
)
(fp_line
(start 3.1 -1.27)
(end 4.4 -1.27)
(stroke
(width 0.1)
(type default)
)
(layer "F.Fab")
(uuid "b6ecfd5b-c0e3-40f9-8684-e8f3d594f845")
)
(fp_line
(start 3.1 1.27)
(end 4.4 1.27)
@@ -213,9 +231,21 @@
(layer "F.Fab")
(uuid "3bde024a-1a79-4c79-8900-d1d59f992fa2")
)
(fp_text user "ON"
(at 1.8 -2.4 270)
(unlocked yes)
(layer "F.SilkS")
(uuid "2fe63041-8621-4d91-83f8-49f726dd01c7")
(effects
(font
(size 1 1)
(thickness 0.15)
)
(justify left bottom)
)
)
(fp_text user "${REFERENCE}"
(at 0 3.683 0)
(unlocked yes)
(layer "F.Fab")
(uuid "1209b4df-2d83-44f4-8359-744179102de4")
(effects

View File

@@ -6,7 +6,6 @@
(tags "dip switch")
(property "Reference" "REF**"
(at 0 -4.7 0)
(unlocked yes)
(layer "F.SilkS")
(uuid "47df4386-a006-4e5e-9655-5cc170560931")
(effects
@@ -18,7 +17,6 @@
)
(property "Value" "SW_DIP_3P_SMD"
(at 0 6.297 0)
(unlocked yes)
(layer "F.Fab")
(uuid "4a2c331b-db8f-4834-a238-4ad194da6d31")
(effects
@@ -138,6 +136,16 @@
(layer "F.CrtYd")
(uuid "f97dde5f-90e0-474d-874a-734edef76dfa")
)
(fp_line
(start -3.1 -2.54)
(end -4.4 -2.54)
(stroke
(width 0.1)
(type default)
)
(layer "F.Fab")
(uuid "88b26277-7673-4297-a364-008f381b1952")
)
(fp_line
(start -3.1 0)
(end -4.4 0)
@@ -148,6 +156,26 @@
(layer "F.Fab")
(uuid "abc4ce04-52a2-48f0-a582-ed3f24acba38")
)
(fp_line
(start -3.1 2.54)
(end -4.4 2.54)
(stroke
(width 0.1)
(type default)
)
(layer "F.Fab")
(uuid "8b1e53cc-71ba-4196-9234-f88f164a50bc")
)
(fp_line
(start 3.1 -2.54)
(end 4.4 -2.54)
(stroke
(width 0.1)
(type default)
)
(layer "F.Fab")
(uuid "993ecf3a-cdd9-479f-ba26-2486601f9bf1")
)
(fp_line
(start 3.1 0)
(end 4.4 0)
@@ -158,6 +186,16 @@
(layer "F.Fab")
(uuid "4437ff61-0fa8-4009-b5e6-139c20df11b3")
)
(fp_line
(start 3.1 2.54)
(end 4.4 2.54)
(stroke
(width 0.1)
(type default)
)
(layer "F.Fab")
(uuid "2112a154-88d1-4f50-a48c-3e797d846024")
)
(fp_rect
(start -3.1 -3.81)
(end 3.1 3.81)
@@ -235,9 +273,21 @@
(layer "F.Fab")
(uuid "b29540f1-77b6-4cbb-bfc3-3f0c84e57e33")
)
(fp_text user "ON"
(at 1.8 -3.6 270)
(unlocked yes)
(layer "F.SilkS")
(uuid "9ac488a0-25d9-4bb3-aa49-853d327f968b")
(effects
(font
(size 1 1)
(thickness 0.15)
)
(justify left bottom)
)
)
(fp_text user "${REFERENCE}"
(at 0 4.9 0)
(unlocked yes)
(layer "F.Fab")
(uuid "1209b4df-2d83-44f4-8359-744179102de4")
(effects