unindent arm code
[ozzloy@gmail.com/3d-printables] / crazyflie-2.0-housing.scad
index 654f6831b92f0d2fc1f68a0b8f86bc8cb7e8cedc..bd34c6de6e1e3fb6d77cedc8e94cb510c185e1bd 100644 (file)
@@ -9,27 +9,28 @@
    wrapped around the motor shaft.
  */
 
-across_body_screws_outside_measured = 33.3;
-across_body_screws_inside_measured = 32.0;
-
-inside_ = 28.0;
-
 main_body_width_measured = 28.0;
 main_body_length_measured = 31.0;
 main_body_height_measured = 1.5;
 
-
 arm_width_measured = 3.6;
 arm_length_measured = 79.0;
 arm_height_measured = main_body_height_measured;
 
 cube([main_body_width_measured,
       main_body_length_measured,
-      main_body_height_measured]);
-
-cube([arm_width_measured,
-      arm_length_measured,
-      arm_height_measured]);
+      main_body_height_measured],
+     center = true);
+rotate(45){
+  cube([arm_width_measured,
+        arm_length_measured,
+        arm_height_measured],
+       center = true);}
+rotate(-45){
+  cube([arm_width_measured,
+        arm_length_measured,
+        arm_height_measured],
+       center = true);}
 
 /*
   This file is part of 3d-printables.