7
mirror of https://gitlab.com/kicad/libraries/kicad-footprints.git synced 2025-04-23 23:13:44 +00:00

Convert Keepout on SW_SPST_SKQG_*

This commit is contained in:
Carsten Presser 2022-01-04 21:17:00 +01:00 committed by aris-kimi
parent 043c9def10
commit aabfb2213d
2 changed files with 58 additions and 38 deletions

View File

@ -1,6 +1,6 @@
(footprint "SW_SPST_SKQG_WithStem" (version 20211014) (generator pcbnew)
(layer "F.Cu")
(tedit 5ABAB6AF)
(tedit 61D4AAD5)
(descr "ALPS 5.2mm Square Low-profile Type (Surface Mount) SKQG Series, With stem, http://www.alps.com/prod/info/E/HTML/Tact/SurfaceMount/SKQG/SKQGAFE010.html")
(tags "SPST Button Switch")
(attr smd)
@ -40,24 +40,6 @@
(fp_line (start -1.45 -2.72) (end 1.45 -2.72) (layer "F.SilkS") (width 0.12) (tstamp 7059741d-c284-49d5-b9c6-2c22c30352db))
(fp_line (start -1.45 2.72) (end 1.45 2.72) (layer "F.SilkS") (width 0.12) (tstamp cd693b72-0132-479b-ba18-24799d46f6f6))
(fp_line (start -2.72 1.04) (end -2.72 -1.04) (layer "F.SilkS") (width 0.12) (tstamp e31ac74d-de66-4993-82b1-9a6e779d783d))
(fp_line (start 1 -1.3) (end 4 -1.3) (layer "Dwgs.User") (width 0.05) (tstamp 0256bdd7-4ea6-4ac6-82f0-4c73eee2580e))
(fp_line (start -1 1.3) (end -4 1.3) (layer "Dwgs.User") (width 0.05) (tstamp 1bfc4f97-63ba-4798-a7f0-4ae39ce6289f))
(fp_line (start -4 0.7) (end -2 -1.3) (layer "Dwgs.User") (width 0.05) (tstamp 1c7ef7ca-1eba-44da-b488-47af99edd99e))
(fp_line (start 4 -1.3) (end 1.4 1.3) (layer "Dwgs.User") (width 0.05) (tstamp 2777261a-b3fd-4d6e-9147-133eb18fbe89))
(fp_line (start -4 -0.3) (end -3 -1.3) (layer "Dwgs.User") (width 0.05) (tstamp 36b53505-900c-4d4e-8dc9-1fd9269883bb))
(fp_line (start 4 0.7) (end 3.4 1.3) (layer "Dwgs.User") (width 0.05) (tstamp 4d55d496-09d8-4b98-8ffe-3898d1d64d01))
(fp_line (start -2.6 1.3) (end -1 -0.3) (layer "Dwgs.User") (width 0.05) (tstamp 588e6a3e-6283-4e09-85bf-7d192a647978))
(fp_line (start 1 -0.3) (end 2 -1.3) (layer "Dwgs.User") (width 0.05) (tstamp 7812b162-6b80-4659-8624-f6bd666bcb57))
(fp_line (start -1 -1.3) (end -1 1.3) (layer "Dwgs.User") (width 0.05) (tstamp 78ccd54b-9f36-4bc1-a2a1-5ca90525ea12))
(fp_line (start -1 0.7) (end -1.6 1.3) (layer "Dwgs.User") (width 0.05) (tstamp 7b6eb052-c324-44df-965e-8b4f9d5196af))
(fp_line (start 4 1.3) (end 1 1.3) (layer "Dwgs.User") (width 0.05) (tstamp be5a862c-d1f9-4c97-9fed-5a9ea6a5b6ac))
(fp_line (start 4 -1.3) (end 4 1.3) (layer "Dwgs.User") (width 0.05) (tstamp c0bf81f8-0873-4d58-a15e-245aaf72e21d))
(fp_line (start -4 -1.3) (end -1 -1.3) (layer "Dwgs.User") (width 0.05) (tstamp c37ae964-85ae-4915-8549-53622ceda987))
(fp_line (start 1 0.7) (end 3 -1.3) (layer "Dwgs.User") (width 0.05) (tstamp c3fc3a4a-2a7a-4bc6-abbe-3ba3b02a4050))
(fp_line (start 2.4 1.3) (end 4 -0.3) (layer "Dwgs.User") (width 0.05) (tstamp c6b30722-d83c-4595-b1d7-c5310458a8d0))
(fp_line (start -1 -1.3) (end -3.6 1.3) (layer "Dwgs.User") (width 0.05) (tstamp d601ff02-5007-4011-afc0-96c6b4a9b499))
(fp_line (start 1 1.3) (end 1 -1.3) (layer "Dwgs.User") (width 0.05) (tstamp db19f34c-837a-40db-bebb-a041173d5c1a))
(fp_line (start -4 1.3) (end -4 -1.3) (layer "Dwgs.User") (width 0.05) (tstamp f03dc9ab-e83f-4632-86b8-a855ec7c6209))
(fp_line (start -4.25 -2.85) (end -4.25 2.85) (layer "F.CrtYd") (width 0.05) (tstamp 273511ee-2fe2-496d-bcc3-91067161e12c))
(fp_line (start -4.25 2.85) (end 4.25 2.85) (layer "F.CrtYd") (width 0.05) (tstamp 2c19d88f-f929-46ad-8b21-0b279823151e))
(fp_line (start 4.25 2.85) (end 4.25 -2.85) (layer "F.CrtYd") (width 0.05) (tstamp 38d2966c-3686-409d-b4e4-fd97f392aed2))
@ -83,6 +65,34 @@
(pad "1" smd rect (at 3.1 -1.85) (size 1.8 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp c03a0334-a4e0-4dd8-90d3-cece43ced187))
(pad "2" smd rect (at -3.1 1.85) (size 1.8 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 62e77f53-5ca8-4c18-b343-801352750328))
(pad "2" smd rect (at 3.1 1.85) (size 1.8 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp dddf9418-190c-4acc-bb4e-7336641d5ae5))
(zone (net 0) (net_name "") (layer "F.Cu") (tstamp 28062907-1887-4639-a25f-e0361ccd41ee) (hatch full 0.508)
(connect_pads (clearance 0))
(min_thickness 0.254)
(keepout (tracks not_allowed) (vias not_allowed) (pads not_allowed ) (copperpour not_allowed) (footprints not_allowed))
(fill (thermal_gap 0.508) (thermal_bridge_width 0.508))
(polygon
(pts
(xy 1 -1.3)
(xy 4 -1.3)
(xy 4 1.3)
(xy 1 1.3)
)
)
)
(zone (net 0) (net_name "") (layer "F.Cu") (tstamp 7e337c1e-4c9b-4795-b7d4-fc2468edaa54) (hatch full 0.508)
(connect_pads (clearance 0))
(min_thickness 0.254)
(keepout (tracks not_allowed) (vias not_allowed) (pads not_allowed ) (copperpour not_allowed) (footprints not_allowed))
(fill (thermal_gap 0.508) (thermal_bridge_width 0.508))
(polygon
(pts
(xy -4 -1.3)
(xy -1 -1.3)
(xy -1 1.3)
(xy -4 1.3)
)
)
)
(model "${KICAD6_3DMODEL_DIR}/Button_Switch_SMD.3dshapes/SW_SPST_SKQG_WithStem.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))

View File

@ -1,6 +1,6 @@
(footprint "SW_SPST_SKQG_WithoutStem" (version 20211014) (generator pcbnew)
(layer "F.Cu")
(tedit 5ABAB684)
(tedit 61D4AA89)
(descr "ALPS 5.2mm Square Low-profile Type (Surface Mount) SKQG Series, Without stem, http://www.alps.com/prod/info/E/HTML/Tact/SurfaceMount/SKQG/SKQGAEE010.html")
(tags "SPST Button Switch")
(attr smd)
@ -40,24 +40,6 @@
(fp_line (start -1.45 -2.72) (end 1.45 -2.72) (layer "F.SilkS") (width 0.12) (tstamp ba843fd3-4c20-4610-b3d6-476828ee26e7))
(fp_line (start 2.72 1.04) (end 2.72 -1.04) (layer "F.SilkS") (width 0.12) (tstamp ece4921a-56b7-437d-9e55-c3338027a321))
(fp_line (start 1.45 2.72) (end 1.94 2.23) (layer "F.SilkS") (width 0.12) (tstamp f30ec97c-2245-477f-8b8f-ff80eb603823))
(fp_line (start 4 0.7) (end 3.4 1.3) (layer "Dwgs.User") (width 0.05) (tstamp 2f02ebc5-1eb3-4bf0-9011-371cee7b463f))
(fp_line (start -1 0.7) (end -1.6 1.3) (layer "Dwgs.User") (width 0.05) (tstamp 39659bcf-42e8-47d9-9fa5-bc00abb07fd5))
(fp_line (start -4 1.3) (end -4 -1.3) (layer "Dwgs.User") (width 0.05) (tstamp 39c47b54-f148-44a5-ae9e-dc0a5272237c))
(fp_line (start 1 -1.3) (end 4 -1.3) (layer "Dwgs.User") (width 0.05) (tstamp 58d2e9db-244e-408e-b90b-8b8c5236ec8c))
(fp_line (start 1 0.7) (end 3 -1.3) (layer "Dwgs.User") (width 0.05) (tstamp 6773ff94-ea94-4466-8485-c14239aa37d4))
(fp_line (start 1 -0.3) (end 2 -1.3) (layer "Dwgs.User") (width 0.05) (tstamp 67f5f780-85a5-4001-8787-f15ee65923e7))
(fp_line (start -4 -0.3) (end -3 -1.3) (layer "Dwgs.User") (width 0.05) (tstamp 6fea63e7-4eeb-474a-93e7-25326e3d97f8))
(fp_line (start 2.4 1.3) (end 4 -0.3) (layer "Dwgs.User") (width 0.05) (tstamp 768310d6-09b9-41b9-aeb5-e6f7c911f554))
(fp_line (start 4 1.3) (end 1 1.3) (layer "Dwgs.User") (width 0.05) (tstamp 879db5fc-e57a-4616-b0c9-d5c2e2785c18))
(fp_line (start -1 1.3) (end -4 1.3) (layer "Dwgs.User") (width 0.05) (tstamp 8fa9ff40-e425-43a1-b4cc-b4772d146761))
(fp_line (start -2.6 1.3) (end -1 -0.3) (layer "Dwgs.User") (width 0.05) (tstamp 91bdef97-4e5b-436d-997b-01b87121ec8f))
(fp_line (start -4 -1.3) (end -1 -1.3) (layer "Dwgs.User") (width 0.05) (tstamp 972e620e-41ce-4a58-9105-8fe4a5d9b107))
(fp_line (start -1 -1.3) (end -3.6 1.3) (layer "Dwgs.User") (width 0.05) (tstamp a5a15a1b-b962-4603-b370-3c932c613796))
(fp_line (start 1 1.3) (end 1 -1.3) (layer "Dwgs.User") (width 0.05) (tstamp cbb97cdf-117a-443b-9dc1-ba48c4af731c))
(fp_line (start 4 -1.3) (end 4 1.3) (layer "Dwgs.User") (width 0.05) (tstamp d12ac35a-90a3-464d-b4b9-b5b32136ba40))
(fp_line (start 4 -1.3) (end 1.4 1.3) (layer "Dwgs.User") (width 0.05) (tstamp d698611f-4cb1-47ef-aa83-1cec85160de2))
(fp_line (start -1 -1.3) (end -1 1.3) (layer "Dwgs.User") (width 0.05) (tstamp ecac6144-4c73-4abb-bc87-eba35319128c))
(fp_line (start -4 0.7) (end -2 -1.3) (layer "Dwgs.User") (width 0.05) (tstamp fd178bc6-12e7-43e3-a9d5-5967817779f0))
(fp_line (start 4.25 2.85) (end 4.25 -2.85) (layer "F.CrtYd") (width 0.05) (tstamp 244750c8-568a-4d40-8ada-a5cbce154035))
(fp_line (start 4.25 -2.85) (end -4.25 -2.85) (layer "F.CrtYd") (width 0.05) (tstamp 3b0ea8df-fe70-43db-a5df-ceeaffb94557))
(fp_line (start -4.25 2.85) (end 4.25 2.85) (layer "F.CrtYd") (width 0.05) (tstamp 70ab23d7-f2b6-4954-89c2-2021a7c9b58c))
@ -75,6 +57,34 @@
(pad "1" smd rect (at -3.1 -1.85) (size 1.8 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp dfc015da-6d20-444f-a28d-3713807f4c3f))
(pad "2" smd rect (at -3.1 1.85) (size 1.8 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 66462304-7235-4464-8b4b-4ee23558443a))
(pad "2" smd rect (at 3.1 1.85) (size 1.8 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp ec6259d2-3603-4772-a160-252ae2ac3269))
(zone (net 0) (net_name "") (layer "F.Cu") (tstamp 1f6d6cc3-2775-4437-a7ac-0fcde542982f) (hatch full 0.508)
(connect_pads (clearance 0))
(min_thickness 0.254)
(keepout (tracks not_allowed) (vias not_allowed) (pads not_allowed ) (copperpour not_allowed) (footprints not_allowed))
(fill (thermal_gap 0.508) (thermal_bridge_width 0.508))
(polygon
(pts
(xy -4 -1.3)
(xy -1 -1.3)
(xy -1 1.3)
(xy -4 1.3)
)
)
)
(zone (net 0) (net_name "") (layer "F.Cu") (tstamp de0d0b26-5dbb-4b0b-8931-3a9405d7e432) (hatch full 0.508)
(connect_pads (clearance 0))
(min_thickness 0.254)
(keepout (tracks not_allowed) (vias not_allowed) (pads not_allowed ) (copperpour not_allowed) (footprints not_allowed))
(fill (thermal_gap 0.508) (thermal_bridge_width 0.508))
(polygon
(pts
(xy 1 -1.3)
(xy 4 -1.3)
(xy 4 1.3)
(xy 1 1.3)
)
)
)
(model "${KICAD6_3DMODEL_DIR}/Button_Switch_SMD.3dshapes/SW_SPST_SKQG_WithoutStem.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))