FreeCAD: master 6503d935
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
vocx-fc | yorik | master | 2020-06-26 02:34:09 | master ec1a720b |
Changeset | Draft: move grouping functions to draftutils.groups module These functions were previously in `draftutils.utils`, and are related to grouping objects and finding objects inside groups. These include `get_group_names`, `ungroup`, `get_windows`, `get_group_contents`, `get_movable_children`. These are imported in the main `Draft.py` module, so compatibility is retained. Modules which use these functions are updated; these include Gui Commands like `Move`, `Rotate`, `Scale`, `AddToGroup`, as well as objects like `DrawingView` and `Shape2DView`, and `ViewProviderClone`. The code inside the `importDXF` module is also updated. The Arch Workbench uses many of these functions but it does so from the `Draft` namespace, so these edits don't change the situation for these commands. |
|||
mod - src/Mod/Draft/CMakeLists.txt | Diff File | |||
mod - src/Mod/Draft/Draft.py | Diff File | |||
mod - src/Mod/Draft/draftfunctions/move.py | Diff File | |||
mod - src/Mod/Draft/draftfunctions/rotate.py | Diff File | |||
mod - src/Mod/Draft/draftguitools/gui_groups.py | Diff File | |||
mod - src/Mod/Draft/draftguitools/gui_move.py | Diff File | |||
mod - src/Mod/Draft/draftguitools/gui_rotate.py | Diff File | |||
mod - src/Mod/Draft/draftguitools/gui_scale.py | Diff File | |||
mod - src/Mod/Draft/draftobjects/drawingview.py | Diff File | |||
mod - src/Mod/Draft/draftobjects/shape2dview.py | Diff File | |||
add - src/Mod/Draft/draftutils/groups.py | Diff File | |||
mod - src/Mod/Draft/draftutils/utils.py | Diff File | |||
mod - src/Mod/Draft/draftviewproviders/view_clone.py | Diff File | |||
mod - src/Mod/Draft/importDXF.py | Diff File |