1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-19 22:07:31 +02:00

Added JST PH connectors.

Made jst_xh_header() more parametric and corrected pin positions.
This commit is contained in:
Chris Palmer
2020-11-12 23:34:59 +00:00
parent eac0086199
commit 90047815b0
9 changed files with 104 additions and 58 deletions

View File

@@ -64,11 +64,14 @@ module pin_headers() {
pin_socket(pin_headers[$i], 3, 3, right_angle = true);
}
translate([-20, 0])
jst_xh_header(jst_xh_header, 5);
for(i = [0, 1], p = [5, 2][i], j = [0 , 1]) {
h = [jst_ph_header, jst_xh_header][j];
translate([-20 * (i + 1), 0 + j * 40])
jst_xh_header(h, p);
translate([-20, 20])
jst_xh_header(jst_xh_header, 5, true);
translate([-20 * (i + 1), 20 + j * 40])
jst_xh_header(h, p, true);
}
}
if($preview)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 KiB

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 KiB

After

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

After

Width:  |  Height:  |  Size: 166 KiB