carlopav
d124bfce4a
Draft: split array function from Draft.py
2020-05-15 14:43:26 +02:00
carlopav
c53f447f58
Draft: Split DraftLink from Draft.py
2020-05-15 14:43:26 +02:00
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
7ff41b51a9
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
785023d898
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
1379b541ea
Draft: Bugfix to getCloneBase after objects splitting
2020-05-12 10:37:20 +02:00
vocx-fc
d3d52c57b4
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
9a2aa39538
Draft: remove repeated _DraftObject class in Draft.py
2020-05-12 10:00:41 +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
e14d632f02
Draft: split isClosedEdge form 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
3351cde462
Draft: split FilterObjectsForModifiers from Draft.py
2020-05-04 10:51:08 +02:00
carlopav
7bdf54e933
Draft: delete makeWire from Draft.py
2020-05-04 10:51:08 +02:00
carlopav
1f0e6e2855
Draft: split makeCopy from Draft.py
...
.
2020-05-04 10:51:08 +02:00
wandererfan
a77c4b7b2e
[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
c34ef27018
Draft: fix bspline and bezcurve viewproviders
...
Finished to fix bspline and bezcurve wiewproviders.
2020-04-30 13:48:33 +02:00
vocx-fc
8e9d6f8bae
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
9432acf44e
Draft: change the icon depending on the array type
2020-04-29 11:44:22 +02:00
carlopav
efd384a17b
Draft: split Shape2DView from Draft.py
2020-04-29 11:41:02 +02:00
carlopav
d53e53dc4e
Draft: split Block from Draft.py
2020-04-29 11:41:02 +02:00
carlopav
0cbdba0245
Draft: split Shapestring from Draft.py
2020-04-29 11:41:02 +02:00
carlopav
511f095f5f
Draft: split makeSketch from Draft.py
2020-04-29 11:41:02 +02:00
carlopav
f43e026da1
Draft: split Facebinder from Draft.py
2020-04-29 11:41:02 +02:00
carlopav
1335da71ae
Draft: split WorkingPlaneProxy from Draft.py
2020-04-29 11:41:02 +02:00
carlopav
e547bc34fa
Draft: split Ellipse from Draft.py
...
.
2020-04-29 11:41:02 +02:00
carlopav
24d87ccdb3
Draft: split Point from Draft.py
...
.
2020-04-29 11:41:02 +02:00
carlopav
d711de1b4a
Draft: split clone from Draft.py
...
.
.
2020-04-29 11:41:02 +02:00
carlopav
1a04f97d8f
Draft: split wire related tools from Draft.py
...
Line Polyline BezCurve BSpline
.
.
.
2020-04-29 11:41:02 +02:00
carlopav
76e97c7062
Draft: split Polygon from Draft.py
...
.
.
.
.
2020-04-29 11:41:02 +02:00
carlopav
7b18ae746f
Draft: split rectangle code from Draft.py
...
.
.
2020-04-29 11:41:02 +02:00
carlopav
52436ecb49
Draft: split circle from Draft.py
...
.
.
2020-04-29 11:41:02 +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
Marcus Ding
6e18f7ec6e
Add AxisReference property to Draft Array
2020-04-27 11:34:16 +02:00
vocx-fc
56f2885cb3
Draft: move Join GuiCommand to gui_join module
...
Occasionally it fails to join lines even if the lines
visually share a point.
This is a rounding error in the comparison of the shared point;
a small distance will result in the points being considered
different and thus the lines not joining.
The solution is to test properly the two points using
`DraftVecUtils.equals` which considers the value of
the `precision` set in the Draft preferences.
2020-04-24 13:49:13 +02:00
Yorik van Havre
4d90327a97
Draft: Fixed further regressions
2020-04-21 12:46:08 +02:00
carlopav
a4f7bc43f6
[Draft] Cleanup of Annotation style branch
...
Further cleanup and guarded imports of Gui in modules.
.
2020-04-16 11:37:10 +02:00
carlopav
cb4295fd8a
[Draft] Splitted object Text and Label from Draft.py
...
And based them on Draft Annotation object
2020-04-16 11:37:10 +02:00