diff --git a/docs/images/pump-body.png b/docs/images/pump-body.png new file mode 100644 index 0000000..0f0e077 Binary files /dev/null and b/docs/images/pump-body.png differ diff --git a/docs/images/pump-cover.png b/docs/images/pump-cover.png new file mode 100644 index 0000000..c57a26a Binary files /dev/null and b/docs/images/pump-cover.png differ diff --git a/docs/images/pump-insert.png b/docs/images/pump-insert.png new file mode 100644 index 0000000..d80b2a8 Binary files /dev/null and b/docs/images/pump-insert.png differ diff --git a/hardware/peristaltic-pump/pump-body.scad b/hardware/peristaltic-pump/pump-body.scad index c57a2be..5121489 100644 --- a/hardware/peristaltic-pump/pump-body.scad +++ b/hardware/peristaltic-pump/pump-body.scad @@ -1,15 +1,8 @@ +$fn = 100; use <./libs/base.scad> -$fn = 100; - -// translate([ 0, 40, 0 ]) -// { -// rotate([ 180, 180, 0 ]) -// { -// import("../../../peristaltic-pump/old/body.stl"); -// } -// } +case_size = 31; body_thickness = 9; motor_body_radius = 5; @@ -20,7 +13,22 @@ insert_height = 7; tubing_radius = 14; tubing_height = 4; -tube_radius = 2; +tube_size = 2; +tube_length = 20; + +module outlet() +{ + hull() + { + translate([ 11.8, -2, body_thickness ]) + rotate([ 100, 90, 0 ]) + cylinder(h = tube_length, r = tube_size); + + translate([ 11.8, -2, body_thickness - 2 ]) + rotate([ 100, 90, 0 ]) + cylinder(h = tube_length, r = tube_size); + } +} module body() { @@ -39,6 +47,9 @@ module body() translate([ 0, 0, body_thickness - tubing_height ]) cylinder(tubing_height, tubing_radius, tubing_radius); + + mirror([ 1, 0, 0 ]) outlet(); + outlet(); } }