diff --git a/boxes/__init__.py b/boxes/__init__.py index c8b4cef..da55c6f 100755 --- a/boxes/__init__.py +++ b/boxes/__init__.py @@ -147,7 +147,6 @@ def argparseSections(s): m = re.match(r"(\d+(\.\d+)?)/(\d+)", s) if m: n = int(m.group(3)) - print([float(m.group(1))] * n) return [float(m.group(1)) / n] * n m = re.match(r"(\d+(\.\d+)?)\*(\d+)", s) if m: @@ -781,8 +780,6 @@ class Boxes: """ d = (x - hl - 2 * r) / 2.0 - if d < 0: - print("Handle too wide") self.ctx.save() diff --git a/boxes/gears.py b/boxes/gears.py index 1eb5b1d..26d3ab9 100644 --- a/boxes/gears.py +++ b/boxes/gears.py @@ -652,11 +652,6 @@ class Gears(): # so split and make a list warnings.extend(msg.split("\n")) - if self.options.undercut_alert: - inkex.debug(msg) - else: - print(msg) - # All base calcs done. Start building gear points = generate_spur_points(teeth, base_radius, pitch_radius, outer_radius, root_radius, accuracy_involute, accuracy_circular)