diff options
Diffstat (limited to 'backplane.scad')
-rw-r--r-- | backplane.scad | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/backplane.scad b/backplane.scad index 9f00c95..d1f3f9f 100644 --- a/backplane.scad +++ b/backplane.scad @@ -17,10 +17,17 @@ module backplane_pcb() { 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]]) + // screw holes for ... + for (p = [// ... PCB screws + [0, bar_thickness/2], + [0, tray_height - bar_thickness/2], + [tray_width/2 - bar_thickness, tray_height - bar_thickness/2], + [tray_width/2 + bar_thickness, tray_height - bar_thickness/2], + + // .. assembly hooks + [rail_width/2 + bar_thickness/2, bar_thickness/2], + [tray_width/4, tray_height - bar_thickness/2] + ]) translate([p[0] - backplane_hoffset, 0, p[1] - backplane_voffset]) rotate([-90, 0, 0]) screw_hole(); |