summaryrefslogtreecommitdiff
path: root/connector_front.scad
diff options
context:
space:
mode:
Diffstat (limited to 'connector_front.scad')
-rw-r--r--connector_front.scad16
1 files changed, 7 insertions, 9 deletions
diff --git a/connector_front.scad b/connector_front.scad
index 5d9c796..5b17a86 100644
--- a/connector_front.scad
+++ b/connector_front.scad
@@ -3,6 +3,7 @@ include <parameters.scad>
use <connector.scad>
use <nipple.scad>
use <rail.scad>
+use <screw_hole.scad>
module front_connector_half(
border_side = false,
@@ -18,16 +19,13 @@ module front_connector_half(
cube([bar_thickness, bar_thickness, bar_thickness]);
}
- // holes for thread rods (horizontal, vertical)
+ // Hole for horizontal thread rods. A dimple for a scew is added at the bottom.
translate([0, bar_thickness / 2, 0])
- cylinder(h = tray_height, r = (rod_diameter + pla_epsilon) / 2, $fs=0.1);
- translate([0, bar_thickness * 1.5, tray_height - bar_thickness / 2]) rotate([0, 90, 0])
- cylinder(h = tray_width / 2, r = (rod_diameter + pla_epsilon) / 2, $fs=0.1);
-
- // hole for nut on the bottom of the vertical rod
- if (border_bottom)
- translate([0, bar_thickness / 2, 0])
- cylinder(h=nut_height, r=nut_diameter/2 + pla_epsilon, $fs=0.1);
+ screw_hole(nut_depth = border_bottom ? (nut_height + pla_epsilon) : 0);
+
+ // vertical screw hole
+ translate([tray_width/2 - bar_thickness, bar_thickness * 1.5, tray_height - bar_thickness / 2]) rotate([0, 90, 0])
+ # screw_hole(nut_depth = nut_height);
}
module front_connector(
contact: Jan Huwald // Impressum