]> git.armaanb.net Git - atreides.git/commitdiff
Merge pull request #32 from aweltsch/fix-openscad-deprecation-warnings
authorPhil Hagelberg <technomancy@gmail.com>
Sat, 21 Oct 2017 21:19:55 +0000 (14:19 -0700)
committerGitHub <noreply@github.com>
Sat, 21 Oct 2017 21:19:55 +0000 (14:19 -0700)
Fix deprecation warnings in openscad script.

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);
   }
 }