From db1ca9e5056f21c7f61f07c2984aaa1ca99ed23f Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Thu, 28 Jul 2022 22:26:55 +0200 Subject: [PATCH] MountingEdge: Fix typo and default for side to "back" --- boxes/edges.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boxes/edges.py b/boxes/edges.py index 5446baf..f0e2600 100644 --- a/boxes/edges.py +++ b/boxes/edges.py @@ -346,12 +346,12 @@ class OutSetEdge(Edge): ############################################################################# class MountingSettings(Settings): - """Settings for Mouning Edge + """Settings for Mounting Edge Values: * absolute_params * style : "straight edge, within" : edge style - * side : "left" : side of box (not all valid configurations make sense...) + * side : "back" : side of box (not all valid configurations make sense...) * num : 2 : number of mounting holes (integer) * margin : 0.125 : minimum space left and right without holes (fraction of the edge length) * d_shaft : 3.0 : shaft diameter of mounting screw (in mm) @@ -369,7 +369,7 @@ Values: absolute_params = { "style": (PARAM_IN, PARAM_EXT, PARAM_TAB), - "side": (PARAM_LEFT, PARAM_BACK, PARAM_RIGHT, PARAM_FRONT), + "side": (PARAM_BACK, PARAM_LEFT, PARAM_RIGHT, PARAM_FRONT), "num": 2, "margin": 0.125, "d_shaft" : 3.0,