author | Michael Krelin <hacker@klever.net> | 2016-07-15 19:01:25 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2016-07-15 19:01:25 (UTC) |
commit | 4ef36244360ff4c3a4c8185edbe1e9dc5ab3bc43 (patch) (unidiff) | |
tree | 57e08d8227344057cd61198623888dbd8ec1e062 | |
parent | 11828e3050d4daf21ea756c217174a8e05ab542e (diff) | |
download | carriagery-4ef36244360ff4c3a4c8185edbe1e9dc5ab3bc43.zip carriagery-4ef36244360ff4c3a4c8185edbe1e9dc5ab3bc43.tar.gz carriagery-4ef36244360ff4c3a4c8185edbe1e9dc5ab3bc43.tar.bz2 |
cleanup
-rw-r--r-- | x-carriage.scad | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/x-carriage.scad b/x-carriage.scad index e2ccc3a..26e54f6 100644 --- a/x-carriage.scad +++ b/x-carriage.scad | |||
@@ -77,21 +77,15 @@ module xcarriage() { | |||
77 | translate([x,0,z]) | 77 | translate([x,0,z]) |
78 | rotate([90,0,0]) cylinder(r=r,h=belt_width+2,center=true,$fn=30); | 78 | rotate([90,0,0]) cylinder(r=r,h=belt_width+2,center=true,$fn=30); |
79 | translate([cw/2,0,belts_apart/2]) mirror([0,0,1]) belt(width=belt_width+2,l=cw/2+2,tolerance=fit_tolerance); | 79 | translate([cw/2,0,belts_apart/2]) mirror([0,0,1]) belt(width=belt_width+2,l=cw/2+2,tolerance=fit_tolerance); |
80 | } | 80 | } |
81 | bgap = belt_thickness+belt_tooth+fit_tolerance; | 81 | bgap = belt_thickness+belt_tooth+fit_tolerance; |
82 | r1 = (belts_apart/3-bgap)/2; | 82 | r1 = (belts_apart/3-bgap)/2; |
83 | echo(r1); | ||
84 | hull() for(x=[mounting_holes_apart/2,x1]) | 83 | hull() for(x=[mounting_holes_apart/2,x1]) |
85 | translate([x,0,-r1-bgap]) | 84 | translate([x,0,-r1-bgap]) |
86 | rotate([90,0,0]) cylinder(r=r1,h=belt_width+2,center=true,$fn=30); | 85 | rotate([90,0,0]) cylinder(r=r1,h=belt_width+2,center=true,$fn=30); |
87 | dgn= sqrt(pow(x1-x0,2)+pow(z1-z0,2)); | ||
88 | echo(dgn); | ||
89 | translate([x0,0,z0]) | ||
90 | rotate([90,0,0]) | ||
91 | * cylinder(r=dgn/2-r-belt_thickness,h=belt_width+2,center=true,$fn=30); | ||
92 | /* | 86 | /* |
93 | pd = 4.5;// post diameter | 87 | pd = 4.5;// post diameter |
94 | bhd = 5;// belt holder diameter | 88 | bhd = 5;// belt holder diameter |
95 | translate([cw/2-pd/2,0,belts_apart/2-belts_thickness-bhd/2]) cube(size=[pd,belt_width,bhd],center=true); | 89 | translate([cw/2-pd/2,0,belts_apart/2-belts_thickness-bhd/2]) cube(size=[pd,belt_width,bhd],center=true); |
96 | translate([(cw-pd)/2,0,0]) // TODO: z | 90 | translate([(cw-pd)/2,0,0]) // TODO: z |
97 | rotate([-90,0,0]) translate([0,0,-1]) cylinder(d=pd,h=belt_width+2,center=true,$fn=30); */ | 91 | rotate([-90,0,0]) translate([0,0,-1]) cylinder(d=pd,h=belt_width+2,center=true,$fn=30); */ |