move motor out by motor radius
[ozzloy@gmail.com/3d-printables] / crazyflie-2.0-housing.scad
index 3d61effe57ebb6df7668507d7c060255b4f819fd..978d4e6cd52919f5811292e3ee05d6cdc4d87bcf 100644 (file)
@@ -40,12 +40,15 @@ rotate(-45){
         arm_length_measured,
         arm_height_measured],
        center = true);}
-// TODO: move motor out by motor_radius amount
+
 rotate(45) {
-  translate([arm_length_measured / 2, 0, motor_z_translate]){
+  translate([arm_length_measured / 2 + motor_radius_measured,
+             0,
+             motor_z_translate]){
     cylinder(h = motor_height_measured,
              r = motor_radius_measured,
-             center = true); } }
+             center = true,
+             $fn = 50); } }
 
 /*
   This file is part of 3d-printables.