bit_fixing_depth = 6.0;
bit_row_lengths = [11, 10, 11, 8];
+bit_bits_missing = [ [1, 0], [9, 0] ];
bit_holder_fixings_xl = 7;
bit_holder_offset = fixing_pitch * [+0.0, -0.0];
for (y = [0: ny-1]) {
nx = bit_row_lengths[y];
for (x = [0: nx-1]) {
- xy = [x, y] - [nx-1, ny-1]/2;
- translate([xy[0] * bit_pitch_x, xy[1] * bit_pitch_y])
- children(0);
+ missing_found = [
+ for (m = bit_bits_missing)
+ if ([x, y] == m)
+ 1
+ ];
+ if (len(missing_found) == 0) {
+ xy = [x, y] - [nx-1, ny-1]/2;
+ translate([xy[0] * bit_pitch_x, xy[1] * bit_pitch_y])
+ children(0);
+ }
}
}
}