Permalink
Browse files

motor holder test in 2 pcs

Signed-off-by: gbriand <gbriand@gmail.com>
  • Loading branch information...
1 parent 716a50b commit 4cf2c902f231831f25c0e4d600095a0cd3a4a8f9 @gbriand gbriand committed Apr 6, 2011
Showing with 195 additions and 0 deletions.
  1. +96 −0 cad/motor_holder_bottom.scad
  2. +99 −0 cad/motor_holder_top.scad
@@ -0,0 +1,96 @@
+/* Hive13 SumoBot Chassis/Frame */
+
+// The front plow takes up a depth of 16.
+// Some space is used for linesensor screw holes ~14mm
+
+max_w = 98;
+max_d = 98 - 16;
+
+batterypack_w = 63;
+batterypack_h = 15;
+batterypack_d = 49;
+
+bpack2_w = 54;
+bpack2_h = 11;
+bpack2_d = 31;
+
+micro_w = 70;
+micro_h = 15; // We just go to the top of the shield
+micro_d = 54;
+
+frame_w = max_w;
+frame_h = 3;
+frame_d = max_d;
+
+// tire + motor thickness ~30
+wheel_radius = 15.5;
+wheel_thickness = 14;
+motor_w =14;
+motor_h = 58;
+motor_d = 20;
+lip_w = motor_w;
+lip_h = 18;
+lip_d = 25;
+lip_dist_from_bottom_motor = 40;
+tire_distance = 9;
+cfr_rad=4;
+
+linesensor_spacing = 18;
+linesensor_depth = 23;
+frame_wheel_d = 36;
+wheel_clearance = 12;
+backwall_thickness = 15;
+
+
+
+module motor() {
+color([0,0,0,255]) {
+union() {
+cube([motor_w, motor_d, motor_h]);
+// Lip
+translate(v = [0, -(lip_d-motor_d)/2, lip_dist_from_bottom_motor]) {
+cube([lip_w, lip_d, lip_h]);
+}
+// wheel
+translate(v = [motor_w,motor_d/2,motor_d/2]) {
+rotate(a = [90, 0, 90]) {
+cylinder(r = wheel_radius, h = wheel_thickness);
+}
+}
+}
+}
+}
+
+
+module both_motor(){
+// Right Tire
+translate(v = [max_w-2, 12, -motor_d+22]) {
+rotate(a = [270, 180, 0]) {
+motor();
+}
+}
+// Left Tire
+translate(v = [2, 12, 22]) {
+rotate(a = [270, 0, 0]) {
+motor();
+}
+}
+}
+
+
+difference(){
+translate(v = [0,frame_wheel_d+1,frame_h-5]) {
+cube([frame_w/3, frame_d -(frame_wheel_d + linesensor_depth)-2, lip_d-5]);
+}
+
+translate(v = [2, 12, 22]) {
+rotate(a = [270, 0, 0]) {
+motor();
+}
+}
+
+
+}
+
+//motor_holder();
+//both_motor();
View
@@ -0,0 +1,99 @@
+/* Hive13 SumoBot Chassis/Frame */
+
+// The front plow takes up a depth of 16.
+// Some space is used for linesensor screw holes ~14mm
+
+max_w = 98;
+max_d = 98 - 16;
+
+batterypack_w = 63;
+batterypack_h = 15;
+batterypack_d = 49;
+
+bpack2_w = 54;
+bpack2_h = 11;
+bpack2_d = 31;
+
+micro_w = 70;
+micro_h = 15; // We just go to the top of the shield
+micro_d = 54;
+
+frame_w = max_w;
+frame_h = 3;
+frame_d = max_d;
+
+// tire + motor thickness ~30
+wheel_radius = 15.5;
+wheel_thickness = 14;
+motor_w =14;
+motor_h = 58;
+motor_d = 20;
+lip_w = motor_w;
+lip_h = 18;
+lip_d = 25;
+lip_dist_from_bottom_motor = 40;
+tire_distance = 9;
+cfr_rad=4;
+
+linesensor_spacing = 18;
+linesensor_depth = 23;
+frame_wheel_d = 36;
+wheel_clearance = 12;
+backwall_thickness = 15;
+
+
+
+module motor() {
+color([0,0,0,255]) {
+union() {
+cube([motor_w, motor_d, motor_h]);
+// Lip
+translate(v = [0, -(lip_d-motor_d)/2, lip_dist_from_bottom_motor]) {
+cube([lip_w, lip_d, lip_h]);
+}
+// wheel
+translate(v = [motor_w,motor_d/2,motor_d/2]) {
+rotate(a = [90, 0, 90]) {
+cylinder(r = wheel_radius, h = wheel_thickness);
+}
+}
+}
+}
+}
+
+
+module both_motor(){
+// Right Tire
+translate(v = [max_w-2, 12, -motor_d+22]) {
+rotate(a = [270, 180, 0]) {
+motor();
+}
+}
+// Left Tire
+translate(v = [2, 12, 22]) {
+rotate(a = [270, 0, 0]) {
+motor();
+}
+}
+}
+
+translate(v=[0,0,lip_d]){
+rotate(a=[180,0,0]){
+difference(){
+translate(v = [0,frame_wheel_d+1,frame_h+lip_d-10]) {
+cube([frame_w/3, frame_d -(frame_wheel_d + linesensor_depth)-2, 10]);
+}
+translate(v = [0,frame_wheel_d+1,frame_h-5]) {
+cube([frame_w/3, frame_d -(frame_wheel_d + linesensor_depth)-2, lip_d-5]);
+}
+translate(v = [2, 12, 22]) {
+rotate(a = [270, 0, 0]) {
+motor();
+}
+}
+}
+}
+}
+
+//motor_holder();
+//both_motor();

0 comments on commit 4cf2c90

Please sign in to comment.