chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fairphone-case: hinge: wip
[reprap-play.git]
/
trackpump-mutlihead-clip.scad
diff --git
a/trackpump-mutlihead-clip.scad
b/trackpump-mutlihead-clip.scad
index 5521392030984283a2ebe71eba6394cad63bc6a4..c5108fd39cb5fc88e0f7fc1d64fed5f4a69fa375 100644
(file)
--- a/
trackpump-mutlihead-clip.scad
+++ b/
trackpump-mutlihead-clip.scad
@@
-1,5
+1,7
@@
// -*- C -*-
// -*- C -*-
+include <commitid.scad>
+
pump_main_dia = 38;
pump_side_width = 5;
pump_side_thick = 4;
pump_main_dia = 38;
pump_side_width = 5;
pump_side_thick = 4;
@@
-42,7
+44,7
@@
module PumpSidePlan() {
union(){
intersection(){
translate([-xm, 0]) circle(r=or);
union(){
intersection(){
translate([-xm, 0]) circle(r=or);
-
translate([-(xm+or), -or]) square([xm+or, or*2]);
+
//
translate([-(xm+or), -or]) square([xm+or, or*2]);
}
}
translate([-xm-or, 0])
}
}
translate([-xm-or, 0])
@@
-56,6
+58,7
@@
module PumpSideElevation(){
x1 = x2 - pump_main_dia;
x0 = x1 - pump_side_width;
x2a = x2 - pump_protr_protr;
x1 = x2 - pump_main_dia;
x0 = x1 - pump_side_width;
x2a = x2 - pump_protr_protr;
+ x4 = x2 + pump_side_width;
z0 = 0;
z1 = z0 - pump_side_thick;
z0 = 0;
z1 = z0 - pump_side_thick;
@@
-73,33
+76,34
@@
module PumpSideElevation(){
translate([x1,z2]) scale([1,arcy/arcx]) circle(r=arcx);
}
translate([x1,z2]) scale([1,arcy/arcx]) circle(r=arcx);
}
- translate([x2,z2a]) square([x
3
-x2, z0-z2a]);
+ translate([x2,z2a]) square([x
4
-x2, z0-z2a]);
hull(){
hull(){
- translate([x2,z2a]) square([x
3
-x2, z2-z2a]);
+ translate([x2,z2a]) square([x
4
-x2, z2-z2a]);
translate([x2a,z2b]) square([x3-x2a, z2a-z2b]);
}
}
module PumpSide(){
br = baseplate_width_rad;
translate([x2a,z2b]) square([x3-x2a, z2a-z2b]);
}
}
module PumpSide(){
br = baseplate_width_rad;
- brs = baseplate_width_rad/2;
+ brs = hose_side_stalk_width/2;
+ echo(brs);
difference(){
intersection(){
translate([0,100,0])
rotate([90,0,0])
difference(){
intersection(){
translate([0,100,0])
rotate([90,0,0])
- linear_extrude(height=200)
+ linear_extrude(height=200
, convexity=10
)
PumpSideElevation();
union(){
translate([0,0,-100])
PumpSideElevation();
union(){
translate([0,0,-100])
- linear_extrude(height=200)
+ linear_extrude(height=200
, convexity=10
)
PumpSidePlan();
// baseplate
hull(){
mirror([0,0,1])
translate([-xm, -brs, 0])
PumpSidePlan();
// baseplate
hull(){
mirror([0,0,1])
translate([-xm, -brs, 0])
- cube([
xm
,
+ cube([
pump_main_dia/2 + pump_side_width
,
brs*2,
1]);
translate([-xm, -br, -pump_side_total_height])
brs*2,
1]);
translate([-xm, -br, -pump_side_total_height])
@@
-113,6
+117,13
@@
module PumpSide(){
-(pump_side_thick + pump_side_height)])
cylinder(r=pump_main_dia/2, h=200);
}
-(pump_side_thick + pump_side_height)])
cylinder(r=pump_main_dia/2, h=200);
}
+ rotate([0,0,180])
+ mirror([0,0,1])
+ translate([-0,
+ -br,
+ pump_side_total_height])
+ Commitid_BestCount_M([baseplate + pump_protr_protr,
+ br*2]);
}
module HoseSidePlan(){
}
module HoseSidePlan(){
@@
-141,7
+152,7
@@
module HoseSidePlan(){
module HoseSide(){
mirror([0,0,1])
module HoseSide(){
mirror([0,0,1])
- linear_extrude(height=hose_side_thick)
+ linear_extrude(height=hose_side_thick
, convexity=10
)
HoseSidePlan();
}
HoseSidePlan();
}
@@
-156,6
+167,7
@@
module ClipPrint(){
}
//PumpSidePlan();
}
//PumpSidePlan();
+//PumpSideElevation();
//PumpSide();
//HoseSide();
//Clip();
//PumpSide();
//HoseSide();
//Clip();