summaryrefslogtreecommitdiff
path: root/connector.scad
diff options
context:
space:
mode:
Diffstat (limited to 'connector.scad')
-rw-r--r--connector.scad19
1 files changed, 19 insertions, 0 deletions
diff --git a/connector.scad b/connector.scad
index bc17e98..7bc7493 100644
--- a/connector.scad
+++ b/connector.scad
@@ -37,3 +37,22 @@ module connector_half(
if (!border_top)
translate([rail_width, bar_thickness / 2, tray_height]) nipple(pla_epsilon);
}
+
+module connector(
+ border_left = false,
+ border_right = false,
+ border_top = false,
+ border_bottom = false
+) {
+ difference() {
+ children();
+
+ // female leftward positioning nippel
+ if (!border_left)
+ translate([-tray_width/2, bar_thickness / 2, tray_height - bar_thickness / 2]) rotate([0, 270, 0]) nipple(pla_epsilon);
+ }
+
+ // male rightward positioning nippel
+ if (!border_right)
+ translate([tray_width / 2, bar_thickness / 2, tray_height - bar_thickness / 2]) rotate([0, 270, 0]) nipple();
+} \ No newline at end of file
contact: Jan Huwald // Impressum