summaryrefslogtreecommitdiff
path: root/connector.scad
blob: 89b5f9df147ada626ab283e932c6335b14414c81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// common base module for front and back connector

include <parameters.scad>

use <nipple.scad>

module connector_half(
  border_side = false,
  border_top = false,
  border_bottom = false
) {	 
  // vertical bar
  cube([bar_thickness/2, bar_thickness, tray_height]);

  if (!border_side) {
    // upper horizontal bar
    translate([0, 0, tray_height - bar_thickness])
      cube([tray_width / 2, bar_thickness, bar_thickness]);

    // lower horizontal bar
    cube([bar_thickness/2 + rail_width + pla_epsilon, bar_thickness, bar_thickness]);
  }

  // male downward positioning nippel
  if (!border_bottom && !border_side)
    translate([rail_width, bar_thickness / 2, 0]) nipple();
}
contact: Jan Huwald // Impressum