Moved polysink test to avoid clash in the big picture.

This commit is contained in:
Chris Palmer 2020-12-17 07:28:02 +00:00
parent 6d3f54b7a5
commit fa658d9eaa
3 changed files with 5 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 854 KiB

After

Width:  |  Height:  |  Size: 854 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 KiB

After

Width:  |  Height:  |  Size: 148 KiB

View File

@ -25,16 +25,16 @@ module polysink_stl() {
n = len(cs_screws); n = len(cs_screws);
size = [n * 20, 20, 10]; size = [n * 20, 20, 10];
difference() { difference() {
translate([-size.x / n / 2, $preview ? 0 : -size.y / 2, -size.z]) translate([-size.x / n / 2, $preview ? 0 : -size.y / 2])
cube($preview ? [size.x, size.y / 2, size.z] : size); cube($preview ? [size.x, size.y / 2, size.z] : size);
for(i = [0 : n - 1]) for(i = [0 : n - 1])
let(s = cs_screws[i]) let(s = cs_screws[i])
translate([i * 20, 0]) { translate([i * 20, 0]) {
screw_polysink(s, 2 * size.z + 1); translate_z(size.z)
screw_polysink(s, 2 * size.z + 1);
translate_z(-size.z) screw_polysink(s, 2 * size.z + 1, alt = true);
screw_polysink(s, 2 * size.z + 1, alt = true);
} }
} }
} }
@ -52,7 +52,7 @@ module screws() {
screw(screw, length); screw(screw, length);
} }
} }
translate([80, 140]) translate([80, 20])
polysink_stl(); polysink_stl();
} }