These modules provide supporting functions for dealing with the scripted objects and Gui Commands defined within the workbench. If the functions do very basic tasks or are too generic, they are more appropriate inside the `draftutils` package. These function are imported in the main `Draft.py` module so they form part of the public programming interface (API) of the workbench. Remove trailing spaces in CMakeLists.txt.
745 B
745 B
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