vocx-fc
a4367d0585
Draft: activate new array make functions
...
They are made available in the `Draft` namespace,
and are also used in the unit tests, the test script,
and the GuiCommands.
2020-05-18 12:42:10 +02:00
vocx-fc
681b33dab8
Draft: move circular, ortho, and polar make functions
...
Previously they were in `draftobjects`, but since they
don't define new objects, just create objects,
they are moved to `draftmake`.
Also ajust the `CMakeLists.txt` and the corresponding Gui Commands
which use these make functions.
These functions internally use the `Draft.makeArray` function.
We will put comments as reminders so that when this function
is moved to its own module, we can update the derived functions.
2020-05-18 12:42:10 +02:00
carlopav
2c4de88132
Draft: moved ConvertDraftText to utils.py
2020-05-15 14:43:26 +02:00
carlopav
95fe3076bd
Draft: split DrawingView from Draft.py
2020-05-15 14:43:26 +02:00
carlopav
b1e2574f1c
Draft: move get_DXF to utils.py
2020-05-15 14:43:26 +02:00
carlopav
3a44b4e2c0
Draft: moved getrgb to utils.py
2020-05-15 14:43:26 +02:00
carlopav
79ef4d991a
Draft: split Array from Draft.py
2020-05-15 14:43:26 +02:00
carlopav
052fd1750b
Draft: cleanup of Draft.py
2020-05-15 14:43:26 +02:00
carlopav
26e8adaee4
Draft: split PointArray from Draft.py
2020-05-15 14:43:26 +02:00
carlopav
dfee68d05a
Draft: split Path Array and viewprovider Array from Draft.Py
...
Draft: fix typo in PathArray
2020-05-15 14:43:26 +02:00
carlopav
1f88ef3a6f
Draft: split array function from Draft.py
2020-05-15 14:43:26 +02:00
carlopav
006a1a4036
Draft: Split DraftLink from Draft.py
2020-05-15 14:43:26 +02:00
carlopav
5e8f94d7d6
Draft: split sub_object_move from Draft.py
2020-05-15 14:43:26 +02:00
carlopav
59c0bf1c38
Draft: split sub_object_move from Draft.py
2020-05-15 14:43:26 +02:00
vocx-fc
d438aec821
Draft: remove old DraftFillet class, and make it a redirect
...
Remove the make function that creates the old object,
its corresponding Gui Command, and the old `DraftFillet.Fillet`
proxy class, which now is a redirection to the new `Fillet`
class defined in `draftobjects.fillet`.
Also change the unit test, and the `draft_test_object` script
to run `Draft.make_fillet`.
2020-05-13 11:37:56 +02:00
vocx-fc
d437242924
Draft: split Fillet code into various modules
...
The original code was in `DraftFillet.py` which is split
into a different modules like the rest of the workbench.
The object code is in `draftobjects`, the viewprovider
is in `draftviewproviders`, and the function to create it
is in `draftmake`.
2020-05-13 11:37:56 +02:00
carlopav
64619a615a
Draft: Bugfix to getCloneBase after objects splitting
2020-05-12 10:37:20 +02:00
vocx-fc
de9c9a6be2
Draft: move arc_3points to the make package
...
Also import it in the `Draft` namespace so that is available
as `Draft.make_arc_3points`.
Use this new function in the unit test `drafttests.test_creation`,
in the GuiCommand `draftguitools.gui_arcs`, and in the
`draft_test_objects` script.
2020-05-12 10:00:41 +02:00
vocx-fc
8043b4bb8b
Draft: remove repeated _DraftObject class in Draft.py
2020-05-12 10:00:41 +02:00
carlopav
130d8413bf
Draft: split extrude from Draft.py
2020-05-04 10:51:08 +02:00
carlopav
7683fdf220
Draft: split downgrade from Draft.py
2020-05-04 10:51:08 +02:00
carlopav
f959812327
Draft: split cut from Draft.py
2020-05-04 10:51:08 +02:00
carlopav
52d4749bac
Draft: split upgrade from Draft.py
...
.
2020-05-04 10:51:08 +02:00
carlopav
b2180873a1
Draft: split draftify from Draft.py
2020-05-04 10:51:08 +02:00
carlopav
223c81a4f9
Draft: split fuse from Draft.py
...
.
2020-05-04 10:51:08 +02:00
carlopav
bedb026c17
Draft: split heal from Draft.py
2020-05-04 10:51:08 +02:00
carlopav
fd6d3da0be
Draft: split mirror from Draft.py
...
.
2020-05-04 10:51:08 +02:00
carlopav
677865b680
Draft: split offset from Draft.py
...
.
2020-05-04 10:51:08 +02:00
carlopav
2edb34b2ff
Draft split Split from Draft.py
2020-05-04 10:51:08 +02:00
carlopav
4b61a1bf73
Draft: split scale related functions from Draft.py
...
.
2020-05-04 10:51:08 +02:00
carlopav
77ea3a1a86
Draft: split join functions from Draft.py
2020-05-04 10:51:08 +02:00
carlopav
ad0a400da2
Draft: split isClosedEdge form Draft.py
...
.
2020-05-04 10:51:08 +02:00
carlopav
ac13cced02
Draft: split rotate from Draft.py
2020-05-04 10:51:08 +02:00
carlopav
25ae2dc921
Draft: split Move from Draft.py
2020-05-04 10:51:08 +02:00
carlopav
8157b86629
Draft: split FilterObjectsForModifiers from Draft.py
2020-05-04 10:51:08 +02:00
carlopav
2b79869274
Draft: delete makeWire from Draft.py
2020-05-04 10:51:08 +02:00
carlopav
54fad8e46a
Draft: split makeCopy from Draft.py
...
.
2020-05-04 10:51:08 +02:00
wandererfan
c26c50e040
[Draft]PathArray TangentVector & gimbal lock
...
- allows user to specify orientation of copies
- prevents gimbal lock by using Base.Rotation instead of
YRP transforms
2020-05-01 11:34:33 -04:00
carlopav
ea19060f64
Draft: fix bspline and bezcurve viewproviders
...
Finished to fix bspline and bezcurve wiewproviders.
2020-04-30 13:48:33 +02:00
vocx-fc
491ed28e1c
Draft: change the icon depending on the Link array type
...
Add new icons for `App::Link` versions of polar array and circular
array.
2020-04-29 11:44:22 +02:00
vocx-fc
1a2c9adbf1
Draft: change the icon depending on the array type
2020-04-29 11:44:22 +02:00
carlopav
582a4c0d83
Draft: split Shape2DView from Draft.py
2020-04-29 11:41:02 +02:00
carlopav
0912046068
Draft: split Block from Draft.py
2020-04-29 11:41:02 +02:00
carlopav
a4f802847c
Draft: split Shapestring from Draft.py
2020-04-29 11:41:02 +02:00
carlopav
bea4431b18
Draft: split makeSketch from Draft.py
2020-04-29 11:41:02 +02:00
carlopav
00ec299e06
Draft: split Facebinder from Draft.py
2020-04-29 11:41:02 +02:00
carlopav
b94ba1bf4c
Draft: split WorkingPlaneProxy from Draft.py
2020-04-29 11:41:02 +02:00
carlopav
d450c20f06
Draft: split Ellipse from Draft.py
...
.
2020-04-29 11:41:02 +02:00
carlopav
2d99a2f343
Draft: split Point from Draft.py
...
.
2020-04-29 11:41:02 +02:00
carlopav
e4bfb0b21d
Draft: split clone from Draft.py
...
.
.
2020-04-29 11:41:02 +02:00