diff options
author | Jan Huwald <jh@sotun.de> | 2015-03-05 12:05:10 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2015-03-05 12:05:10 (GMT) |
commit | d0cb7d7e6f8f3a44f248c83b84984c808026d1c2 (patch) | |
tree | bb0273279f3515af4e0676824f3669e5d8aed1fb /connector_back.scad | |
parent | 4fbbd88b5043e8c1bb89ae3b52e8c30b4861825b (diff) |
remove old files, add default make target
Diffstat (limited to 'connector_back.scad')
-rw-r--r-- | connector_back.scad | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/connector_back.scad b/connector_back.scad deleted file mode 100644 index 532b5c8..0000000 --- a/connector_back.scad +++ /dev/null @@ -1,54 +0,0 @@ -include <parameters.scad> - -use <connector.scad> -use <hook.scad> -use <nipple.scad> -use <rail.scad> -use <screw_hole.scad> - -module back_connector_half( - border_side = false, - border_top = false, - border_bottom = false -) difference() { - connector_half(border_side, border_top, border_bottom); - - if (!border_side) - translate([tray_width/2 - bar_thickness, 0, tray_height - bar_thickness/2]) - rotate([-90, 0, 0]) - screw_hole(nut_depth = 1.1 * nut_height); -} - -module back_connector( - border_left = false, - border_right = false, - border_top = false, - border_bottom = false -) { - difference() { - connector(border_left, border_right, border_top, border_bottom) { - mirror() back_connector_half(border_left, border_top, border_bottom); - 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); - } - - // 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(); - -echo("MODEL INFO: tray height = ", tray_height); -echo("MODEL INFO: tray width = ", tray_width); |