add initial crude motor
authordaniel watson <ozzloy@gmail.com>
Mon, 14 Nov 2016 22:51:13 +0000 (14:51 -0800)
committerdaniel watson <ozzloy@gmail.com>
Mon, 14 Nov 2016 22:51:13 +0000 (14:51 -0800)
crazyflie-2.0-housing.scad

index bd34c6de6e1e3fb6d77cedc8e94cb510c185e1bd..a23c55d1d739c91e34141cd20f7198712434e777 100644 (file)
@@ -17,6 +17,10 @@ arm_width_measured = 3.6;
 arm_length_measured = 79.0;
 arm_height_measured = main_body_height_measured;
 
+motor_diameter_measured = 7;
+motor_height_measured = 17;
+motor_radius_measured = motor_diameter_measured / 2;
+
 cube([main_body_width_measured,
       main_body_length_measured,
       main_body_height_measured],
@@ -31,6 +35,13 @@ rotate(-45){
         arm_length_measured,
         arm_height_measured],
        center = true);}
+// TODO: move motor out by motor_radius amount
+// TODO: move motor up to match physical placement more accurately
+rotate(45) {
+  translate([arm_length_measured / 2, 0, 0]){
+    cylinder(h = motor_height_measured,
+             r = motor_radius_measured,
+             center = true); } }
 
 /*
   This file is part of 3d-printables.