- Anonymous
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
vocx-fc | yorik | master | 2020-05-15 03:53:14 | master 6ace3e96 |
Changeset | Draft: clean up code, PEP8, and docstrings for PointArray Test the inputs to the `make_point_array` function and return `None` if there is a problem. 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 quickly from the Python console. Add a message deprecating the older call `makePointArray`. Adjust the GuiCommand accordingly. Now it uses the commit mechanism of the parent `Modifier` class so that the executed functions are recorded in the Python console. Clean up the `PointArray` class as well. |
|||
mod - src/Mod/Draft/draftguitools/gui_pointarray.py | Diff File | |||
mod - src/Mod/Draft/draftmake/make_pointarray.py | Diff File | |||
mod - src/Mod/Draft/draftobjects/pointarray.py | Diff File |