// Drip Irrigation Line Stakes (1/4" and 16 mm)
// Original design. Free to print for personal and educational use (CC BY-NC 4.0).
// Units: millimetres. Edit the numbers below and press F6 in OpenSCAD to re-render.

// Generated from the same geometry as drip-line-stake-quarter-inch.stl

difference() {
  union() {
    difference() {
      cylinder(d=11.2, h=8, $fn=48);
      translate([0,0,-1])
        cylinder(d=6.4, h=10, $fn=48);
      translate([-11.2,-2.56,-1])
        cube([11.2,5.12,10]);
    }
    hull() {
      translate([4.6,-6,0])
        cube([0.01,12,5]);
      translate([134.6,0,0])
        cylinder(d=2, h=5, $fn=48);
    }
    hull() {
      translate([4.6,-1.5,0])
        cube([0.01,3,9]);
      translate([114.6,-1.5,0])
        cube([0.01,3,5]);
    }
  }
  translate([0,0,-1])
    cylinder(d=6.4, h=10, $fn=48);
}
