Files
create/src/Mod/Draft/draftfunctions
vocx-fc 314637e945 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.
2020-07-13 14:35:38 +02:00
..
2020-05-15 14:43:26 +02:00
2020-05-04 10:51:08 +02:00
2020-05-04 10:51:08 +02:00
2020-05-15 14:43:26 +02:00
2020-05-15 14:43:26 +02:00
2020-05-04 10:51:08 +02:00
2020-05-15 14:43:26 +02:00
2020-05-15 14:43:26 +02:00

2020 May

These modules provide supporting functions for dealing with the custom "scripted objects" defined within the workbench.

The functions are meant to be used in the creation step of the objects, by the "make functions" in draftmake/, but also by the graphical "Gui Commands" modules in draftguitools/ and drafttaskpanels/.

These functions should deal with the internal shapes of the objects, or other special properties. They should not be very generic; if they are very generic then they are more appropriate to be included in the modules in draftutils/.

For more information see the thread: [Discussion] Splitting Draft tools into their own modules