]> git.armaanb.net Git - atreides.git/commitdiff
Replace child() with children().
authorAndre Weltsch <weltsch@zib.de>
Sat, 21 Oct 2017 09:09:46 +0000 (11:09 +0200)
committerAndre Weltsch <weltsch@zib.de>
Sat, 21 Oct 2017 09:09:46 +0000 (11:09 +0200)
case/openscad/atreus_case.scad

index 5af4adfa36a5dc3ecd78354f148ee40241918cf2..3cc3ad3d8b38b2d7a083658573e9d51acdf2f611 100644 (file)
@@ -69,7 +69,7 @@ module rz(angle, center=undef) {
     rotate(angle) {
       translate(-center) {
         for (i=[0:$children-1])
-          child(i);
+          children(i);
       }
     }
   }
@@ -141,7 +141,7 @@ module rotate_half() {
   rotation_y_offset = 1.75 * column_spacing;
   for (i=[0:$children-1]) {
     rz(angle, [hand_separation, rotation_y_offset]) {
-      child(i);
+      children(i);
     }
   }
 }
@@ -151,7 +151,7 @@ module add_hand_separation() {
   for (i=[0:$children-1]) {
     translate([0.5*hand_separation, /* we get back the full separation
                                        because of mirroring */
-               0]) child(i);
+               0]) children(i);
   }
 }