Eliminate many "doing what you told me to" messages

These messages were perhaps originally intended as a debuggin aid but now add clutter to the output panes. Remaining messges are mostly the result of methods to display attributes of an object (which one could call from the Python console) or actually provide some information which would not be obvious from the circumstances
This commit is contained in:
Kevin Martin
2024-02-01 00:42:15 -05:00
parent 0588d58d75
commit 2b9fa18b68
35 changed files with 53 additions and 280 deletions

View File

@@ -75,7 +75,6 @@ def downgrade(objects, delete=False, force=None):
upgrade
"""
_name = "downgrade"
utils.print_header(_name, "Downgrade objects")
if not isinstance(objects, list):
objects = [objects]

View File

@@ -78,7 +78,6 @@ def mirror(objlist, p1, p2):
just use `Part::Mirroring`. It should create a derived object,
that is, it should work similar to `Draft.offset`.
"""
utils.print_header('mirror', "Create mirror")
if not objlist:
_err(translate("draft","No object given"))

View File

@@ -93,7 +93,6 @@ def upgrade(objects, delete=False, force=None):
downgrade
"""
_name = "upgrade"
utils.print_header(_name, "Upgrade objects")
if not isinstance(objects, list):
objects = [objects]