Skip to content
This repository was archived by the owner on May 21, 2023. It is now read-only.

Commit e4bfb44

Browse files
committed
update 3dmodel location to new kicad variable
Signed-off-by: Rafael Silva <perigoso@riseup.net>
1 parent 9517e05 commit e4bfb44

7 files changed

Lines changed: 15 additions & 8 deletions

scripts/kicad-footprint-generator

Submodule kicad-footprint-generator updated from 4516cd8 to be1cda3

scripts/switch_alps_matias.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
base_tags = "Alps Matias Keyboard Keyswitch Switch Plate"
1919
base_description = "Alps/Matias keyswitch (Matias is Alps Compatible), https://github.com/keyboardio/keyswitch_documentation/blob/master/datasheets/ALPS/SKCL.pdf"
2020

21-
location_3d = "${KISYS3DMOD}/Switch_Keyboard_Alps_Matias.3dshapes/" + base_name + ".wrl"
21+
# location_3d = "${KISYS3DMOD}/Switch_Keyboard_Alps_Matias.3dshapes/" + base_name + ".wrl"
2222
# location_3d = "${KEYSWITCH_LIB_3D}/Switch_Keyboard_Alps_Matias.3dshapes/" + base_name + ".wrl"
23+
location_3d = "${KICAD6_3RD_PARTY}/3dmodels/com_github_perigoso_keyswitch-kicad-library/3d-library.3dshapes/" + base_name + ".wrl"
2324

2425
unit_value = 19.05
2526

scripts/switch_cherry_mx_pcb.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
base_tags = "Cherry MX Keyboard Keyswitch Switch PCB"
1919
base_description = "Cherry MX keyswitch, https://www.cherrymx.de/en/dev.html"
2020

21-
location_3d = "${KISYS3DMOD}/Switch_Keyboard_Cherry_MX.3dshapes/" + base_name + ".wrl"
21+
# location_3d = "${KISYS3DMOD}/Switch_Keyboard_Cherry_MX.3dshapes/" + base_name + ".wrl"
2222
# location_3d = "${KEYSWITCH_LIB_3D}/Switch_Keyboard_Cherry_MX.3dshapes/" + base_name + ".wrl"
23+
location_3d = "${KICAD6_3RD_PARTY}/3dmodels/com_github_perigoso_keyswitch-kicad-library/3d-library.3dshapes/" + base_name + ".wrl"
2324

2425
unit_value = 19.05
2526

scripts/switch_cherry_mx_plate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
base_tags = "Cherry MX Keyboard Keyswitch Switch Plate"
1919
base_description = "Cherry MX keyswitch, https://www.cherrymx.de/en/dev.html"
2020

21-
location_3d = "${KISYS3DMOD}/Switch_Keyboard_Cherry_MX.3dshapes/" + base_name + ".wrl"
21+
# location_3d = "${KISYS3DMOD}/Switch_Keyboard_Cherry_MX.3dshapes/" + base_name + ".wrl"
2222
# location_3d = "${KEYSWITCH_LIB_3D}/Switch_Keyboard_Cherry_MX.3dshapes/" + base_name + ".wrl"
23+
location_3d = "${KICAD6_3RD_PARTY}/3dmodels/com_github_perigoso_keyswitch-kicad-library/3d-library.3dshapes/" + base_name + ".wrl"
2324

2425
unit_value = 19.05
2526

scripts/switch_hybrid_cherry_mx_alps.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@
1818
base_tags = "Cherry MX Alps Matias Hybrid Keyboard Keyswitch Switch PCB"
1919
base_description = "Cherry MX / Alps keyswitch hybrid, https://www.cherrymx.de/en/dev.html, https://github.com/keyboardio/keyswitch_documentation/blob/master/datasheets/ALPS/SKCL.pdf"
2020

21-
location_3d = "${KISYS3DMOD}/Switch_Keyboard_Cherry_MX.3dshapes/SW_Cherry_MX_PCB.wrl"
22-
location_3d_2 = "${KISYS3DMOD}/Switch_Keyboard_Alps_Matias.3dshapes/SW_Alps_Matias.wrl"
21+
# location_3d = "${KISYS3DMOD}/Switch_Keyboard_Cherry_MX.3dshapes/SW_Cherry_MX_PCB.wrl"
22+
# location_3d_2 = "${KISYS3DMOD}/Switch_Keyboard_Alps_Matias.3dshapes/SW_Alps_Matias.wrl"
2323
# location_3d = "${KEYSWITCH_LIB_3D}/Switch_Keyboard_Cherry_MX.3dshapes/SW_Cherry_MX_PCB.wrl"
2424
# location_3d_2 = "${KEYSWITCH_LIB_3D}/Switch_Keyboard_Alps_Matias.3dshapes/SW_Alps_Matias.wrl"
25+
location_3d = "${KICAD6_3RD_PARTY}/3dmodels/com_github_perigoso_keyswitch-kicad-library/3d-library.3dshapes/SW_Cherry_MX_PCB.wrl"
26+
location_3d_2 = "${KICAD6_3RD_PARTY}/3dmodels/com_github_perigoso_keyswitch-kicad-library/3d-library.3dshapes/SW_Alps_Matias.wrl"
2527

2628
unit_value = 19.05
2729

scripts/switch_kailh_choc_v1.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
base_tags = "Kailh Choc V1 Keyswitch Switch"
1919
base_description = "Kailh Choc V1 keyswitch, http://www.kailh.com/en/Products/Ks/CS/"
2020

21-
location_3d = "${KISYS3DMOD}/Switch_Keyboard_Kailh.3dshapes/" + base_name + ".wrl"
21+
# location_3d = "${KISYS3DMOD}/Switch_Keyboard_Kailh.3dshapes/" + base_name + ".wrl"
2222
# location_3d = "${KEYSWITCH_LIB_3D}/Switch_Keyboard_Kailh.3dshapes/" + base_name + ".wrl"
23+
location_3d = "${KICAD6_3RD_PARTY}/3dmodels/com_github_perigoso_keyswitch-kicad-library/3d-library.3dshapes/" + base_name + ".wrl"
2324

2425
unit_value_x = 18
2526
unit_value_y = 17

scripts/switch_kailh_hotswap.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
base_tags = "Kailh Keyboard Keyswitch Switch Hotswap Socket"
1919
base_description = "Kailh keyswitch Hotswap Socket, "
2020

21-
location_3d = "${KISYS3DMOD}/Switch_Keyboard_Kailh.3dshapes/" + base_name + ".wrl"
21+
# location_3d = "${KISYS3DMOD}/Switch_Keyboard_Kailh.3dshapes/" + base_name + ".wrl"
2222
# location_3d = "${KEYSWITCH_LIB_3D}/Switch_Keyboard_Kailh.3dshapes/" + base_name + ".wrl"
23+
location_3d = "${KICAD6_3RD_PARTY}/3dmodels/com_github_perigoso_keyswitch-kicad-library/3d-library.3dshapes/" + base_name + ".wrl"
2324

2425
unit_value = 19.05
2526

0 commit comments

Comments
 (0)