diff options
author | Jan Huwald <jh@sotun.de> | 2014-02-11 15:27:59 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2014-02-11 15:27:59 (GMT) |
commit | accebf67ea1b45a4451534187b31a64fcd284969 (patch) | |
tree | fff3b4382676cdebbc006ff2a996104b0ee00d13 | |
parent | b990f202e02acea7fe2355b44f76f8019c9f830e (diff) |
backplane: add PCB screw holes
-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() { |