diff --git a/add_mesh_gears.py b/add_mesh_gears.py index 5ba5b6f582326d5f65963227be55222b09a752cb..75ba8647ef4c4342c7bd44ea68a117b39333cbb1 100644 --- a/add_mesh_gears.py +++ b/add_mesh_gears.py @@ -757,7 +757,6 @@ class AddGear(bpy.types.Operator): def draw(self, context): props = self.properties layout = self.layout - col = layout.column() box = layout.box() box.prop(props, 'number_of_teeth') box = layout.box() @@ -888,6 +887,22 @@ class AddWormGear(bpy.types.Operator): default=0.0) newMatrix = 'fromInvoke' + def draw(self, context): + props = self.properties + layout = self.layout + box = layout.box() + box.prop(props, 'number_of_teeth') + box.prop(props, 'number_of_rows') + box.prop(props, 'radius') + box.prop(props, 'row_height') + box = layout.box() + box.prop(props, 'addendum') + box.prop(props, 'dedendum') + box = layout.box() + box.prop(props, 'angle') + box.prop(props, 'skew') + box.prop(props, 'crown') + def execute(self, context): props = self.properties