FreeCAD: master 66959b26

Author Committer Branch Timestamp Parent
vocx-fc yorik master 2020-05-25 02:28:58 master 33d3fb1f
Changeset Draft: clean up CircularArray code

Avoid `Draft.py` in the `make_circular_array` function because
it creates a circular dependency.

Use function to find the object in `make_circular_array`.

Now the make function accepts as input a `"String"` which must be
the `Label` of an object in the document, so it is easier to create
arrays interactively from the Python console.

Clean up the GuiCommand and task panel code, and avoid printing
messages to the terminal, as this is already done
by the make function.
mod - src/Mod/Draft/draftguitools/gui_circulararray.py Diff File
mod - src/Mod/Draft/draftmake/make_circulararray.py Diff File
mod - src/Mod/Draft/drafttaskpanels/task_circulararray.py Diff File