Commit Graph

69 Commits

Author SHA1 Message Date
carlopav
920512692b Draft: split sub_object_move from Draft.py 2020-05-15 14:43:26 +02:00
carlopav
10efbcb207 Draft: split sub_object_move from Draft.py 2020-05-15 14:43:26 +02:00
vocx-fc
08285a85ec Draft: import the missing Gui module in the mirror function
Otherwise the function will not work in a terminal only session
without the graphical user interface (GUI).

Also small changes for style, documentation,
and removing unused modules.
2020-05-06 12:48:02 +02:00
vocx-fc
909452dc9c Draft: add description of draftfunctions package
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.
2020-05-06 12:46:24 +02:00
carlopav
f27f038da4 Draft: split extrude from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
40e8eb7b84 Draft: split downgrade from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
f0136fd27d Draft: split cut from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
08448d198e Draft: split upgrade from Draft.py
.
2020-05-04 10:51:08 +02:00
carlopav
c9ce87b5fb Draft: split draftify from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
c567ce10a1 Draft: split fuse from Draft.py
.
2020-05-04 10:51:08 +02:00
carlopav
3c6bc25667 Draft: split heal from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
2d6b7479f0 Draft: split mirror from Draft.py
.
2020-05-04 10:51:08 +02:00
carlopav
9eb59414c1 Draft: split offset from Draft.py
.
2020-05-04 10:51:08 +02:00
carlopav
ff1d0587ff Draft split Split from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
af31394e21 Draft: split scale related functions from Draft.py
.
2020-05-04 10:51:08 +02:00
carlopav
964d8a9851 Draft: split join functions from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
e94be2e542 Draft: split rotate from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
66031c8dbe Draft: split Move from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
0f3e0b0d0d Draft: parent classes of all Draft objects
Add DraftObject and ViewProviderDraft to serve as
the parent classes of all Draft objects
and all Draft view providers.

Inside `Draft.py` we need to import
`_DraftObject` from `draftobjects.base`;
and `_ViewProviderDraft`, `_ViewProviderDraftAlt`,
and `_ViewProviderDraftPart` from `draftviewproviders.view_base`.
.


.


.


.
2020-04-29 11:41:02 +02:00