From 946d040bace5c229e7e8f53c444490d4e6eebe1c Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Mon, 18 Dec 2017 23:48:09 +0100 Subject: [PATCH] OttoBot: Move to Misc UI Group Set default leg legth to 34mm --- boxes/generators/ottobody.py | 2 +- boxes/generators/ottolegs.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boxes/generators/ottobody.py b/boxes/generators/ottobody.py index a5a0d69..9faf15c 100644 --- a/boxes/generators/ottobody.py +++ b/boxes/generators/ottobody.py @@ -20,7 +20,7 @@ from boxes import * class OttoBody(Boxes): """Otto LC - a laser cut chassis for Otto DIY - body""" - ui_group = "Unstable" + ui_group = "Misc" def __init__(self): Boxes.__init__(self) diff --git a/boxes/generators/ottolegs.py b/boxes/generators/ottolegs.py index b266346..ebc457e 100644 --- a/boxes/generators/ottolegs.py +++ b/boxes/generators/ottolegs.py @@ -27,7 +27,7 @@ class LegEdge(edges.BaseEdge): class OttoLegs(Boxes): """Otto LC - a laser cut chassis for Otto DIY - legs""" - ui_group = "Unstable" + ui_group = "Misc" def __init__(self): Boxes.__init__(self) @@ -41,8 +41,8 @@ class OttoLegs(Boxes): "--anklebolt2", action="store", type=float, default=2.6, help="diameter for hole for ankle bolts - leg side") self.argparser.add_argument( - "--length", action="store", type=float, default=37.0, - help="length of feet (34mm min)") + "--length", action="store", type=float, default=34.0, + help="length of legs (34mm min)") def foot(self, x, y, ly, l, r=5., move=None): if self.move(x, y, move, True):