1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-23 15:43:39 +02:00

Added crude representation of JST ZH connectors.

This commit is contained in:
Chris Palmer
2021-08-31 22:25:31 +01:00
parent 1045502efb
commit 540f841163
5 changed files with 9 additions and 5 deletions

View File

@@ -64,8 +64,9 @@ module pin_headers() {
pin_socket(pin_headers[$i], 3, 3, right_angle = true);
}
for(i = [0, 1], p = [5, 2][i], j = [0 , 1]) {
h = [jst_ph_header, jst_xh_header][j];
headers = [jst_zh_header, jst_ph_header, jst_xh_header];
for(i = [0, 1], p = [5, 2][i], j = [0 : len(headers) - 1]) {
h = headers[j];
translate([-20 * (i + 1), 0 + j * 40])
jst_xh_header(h, p);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 KiB

After

Width:  |  Height:  |  Size: 146 KiB