diff options
Diffstat (limited to 'connector_back.scad')
-rw-r--r-- | connector_back.scad | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/connector_back.scad b/connector_back.scad index 7672bce..532b5c8 100644 --- a/connector_back.scad +++ b/connector_back.scad @@ -1,6 +1,7 @@ include <parameters.scad> use <connector.scad> +use <hook.scad> use <nipple.scad> use <rail.scad> use <screw_hole.scad> @@ -30,12 +31,21 @@ module back_connector( back_connector_half(border_right, border_top, border_bottom); } - // screw holes for PCB screws - for (h = [bar_thickness/2, tray_height - bar_thickness/2]) - translate([0, 0, h]) - rotate([-90, 0, 0]) - screw_hole(nut_depth = 1.1 * nut_height); + // screw holes for PCB screws + for (h = [bar_thickness/2, tray_height - bar_thickness/2]) + translate([0, 0, h]) + rotate([-90, 0, 0]) + screw_hole(nut_depth = 1.1 * nut_height); } + + // hooks to hold PCB during assembly + if (!border_right) + for (p = [[rail_width/2 + bar_thickness/2, bar_thickness/2], + [tray_width/4, tray_height - bar_thickness/2]]) + translate([p[0], bar_thickness, p[1]]) + hook(diameter = 0.7 * rod_diameter, + length_rest = backplane_thickness, + length_slide = backplane_thickness); } back_connector(); |