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.
This commit is contained in:
Joel Ebel 2018-05-21 23:52:24 -04:00
parent f3ac692891
commit ec4ccde941

View File

@ -340,13 +340,8 @@ module Coque() { //Coque - Shell
/* foot module /* foot module
Produces a single foot for PCB mounting. 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) { color(Couleur1) {
rotate_extrude($fn=100) { rotate_extrude($fn=100) {
difference() { difference() {
@ -388,16 +383,16 @@ module Feet() {
////////////////////////////// - 4 Feet - ////////////////////////////// ////////////////////////////// - 4 Feet - //////////////////////////////
translate([Foot1X, Foot1Y]) { translate([Foot1X, Foot1Y]) {
foot(FootDia, FootHole, FootHeight); foot();
} }
translate([Foot2X, Foot2Y]) { translate([Foot2X, Foot2Y]) {
foot(FootDia, FootHole, FootHeight); foot();
} }
translate([Foot3X, Foot3Y]) { translate([Foot3X, Foot3Y]) {
foot(FootDia, FootHole, FootHeight); foot();
} }
translate([Foot4X, Foot4Y]) { translate([Foot4X, Foot4Y]) {
foot(FootDia, FootHole, FootHeight); foot();
} }
} // End main translate } // End main translate
} // Fin du module Feet } // Fin du module Feet