X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=place-value-manipulative.scad;h=8e5b21e3dbbdf75c6cb72a53fcc8adab24837a6c;hb=1adc95669854a7cbca6a5eec2e4be45079d22480;hp=3dd7439dc762b6300eb1fdc811ebafffac53ea69;hpb=f930512ad01dc35dd9111a651fccd284132940c3;p=ozzloy%40gmail.com%2F3d-printables diff --git a/place-value-manipulative.scad b/place-value-manipulative.scad index 3dd7439..8e5b21e 100644 --- a/place-value-manipulative.scad +++ b/place-value-manipulative.scad @@ -66,23 +66,17 @@ module ones_place() { module tens_place() { for(ones_index = [0 : (10 - 1)]) { - translate([ones_index * side_length, 0]) { + translate([ones_index * side_length, 0, 0]) { ones_place(); } } } module hundreds_place() { for(tens_index = [0 : (10 - 1)]) { - for(ones_index = [0 : (10 - 1)]) { - translate([ones_index * side_length, - tens_index * side_length]) { - ones_place(); } } } } + translate([0, tens_index * side_length, 0]) { + tens_place(); } } } module thousands_place() { for(hundreds_index = [0 : (10 - 1)]) { - for(tens_index = [0 : (10 - 1)]) { - for(ones_index = [0 : (10 - 1)]) { - translate([ones_index * side_length, - tens_index * side_length, - hundreds_index * side_length]) { - ones_place(); } } } } } + translate([0, 0, hundreds_index * side_length]) { + hundreds_place(); } } } //connector_tab(connector_thickness);