diff options
-rw-r--r-- | backplane.scad | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/backplane.scad b/backplane.scad index 532885b..9f00c95 100644 --- a/backplane.scad +++ b/backplane.scad @@ -1,5 +1,7 @@ include <parameters.scad> +use <screw_hole.scad> + module hdd_connector(w,h,d) { difference() { cube([w, d, h]); @@ -12,7 +14,17 @@ module hdd_connector(w,h,d) { // board module backplane_pcb() { color("sienna") + difference() { cube([backplane_width, backplane_thickness, backplane_height]); + + // screw holes for PCB screws + for (p = [[0, bar_thickness/2], + [0, tray_height - bar_thickness/2], + [tray_width/2 - bar_thickness, tray_height - bar_thickness/2]]) + translate([p[0] - backplane_hoffset, 0, p[1] - backplane_voffset]) + rotate([-90, 0, 0]) + screw_hole(); + } } module backplane_populated() { |