From ec4ccde9413b74c6cd4143a45ae257279b06f699 Mon Sep 17 00:00:00 2001 From: Joel Ebel Date: Mon, 21 May 2018 23:52:24 -0400 Subject: [PATCH] Remove arguments from foot module. There's very little reason to have them, and it's consistent with the rest of the code to not have them. --- files/U_Box_V104_Test_Cleaned.scad | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/files/U_Box_V104_Test_Cleaned.scad b/files/U_Box_V104_Test_Cleaned.scad index 89d2914..40c9fe7 100644 --- a/files/U_Box_V104_Test_Cleaned.scad +++ b/files/U_Box_V104_Test_Cleaned.scad @@ -340,13 +340,8 @@ module Coque() { //Coque - Shell /* foot module Produces a single foot for PCB mounting. - - Arguments: - FootDia: Diameter of the foot - FootHole: Diameter of the screw hole in the foot - FootHeight: Height of the foot above the box interior */ -module foot(FootDia, FootHole, FootHeight) { +module foot() { color(Couleur1) { rotate_extrude($fn=100) { difference() { @@ -388,16 +383,16 @@ module Feet() { ////////////////////////////// - 4 Feet - ////////////////////////////// translate([Foot1X, Foot1Y]) { - foot(FootDia, FootHole, FootHeight); + foot(); } translate([Foot2X, Foot2Y]) { - foot(FootDia, FootHole, FootHeight); + foot(); } translate([Foot3X, Foot3Y]) { - foot(FootDia, FootHole, FootHeight); + foot(); } translate([Foot4X, Foot4Y]) { - foot(FootDia, FootHole, FootHeight); + foot(); } } // End main translate } // Fin du module Feet