wandererfan
5f46999f94
[Draft]Post-review changes
2020-05-23 11:22:14 -04:00
wandererfan
ff323ebdb5
[Draft]Additional modes for PathArray
2020-05-23 11:22:14 -04: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
125d0ca84d
Draft: various cleanup
...
Mainly added an empty line at the end of each file and changed docstrings.
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
ccad0fed30
Draft: cleanup of Array properties after splitting
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
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
006a1a4036
Draft: Split DraftLink from Draft.py
2020-05-15 14:43:26 +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
vocx-fc
8d0350ef0c
Draft: small updates to the Annotation class
...
This annotation class implements `onDocumentRestored`
in order to add the `ScaleMultiplier` property to older
`Dimension`, `Label`, and `Text` objects.
2020-05-12 10:02:21 +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
24c89f3370
Draft: update description of draftobjects package
2020-05-06 12:46:24 +02:00
carlopav
cbeca1b4a6
Draft: fix ScaleMultiplier on annotation objects
...
Object auto create the property when opening an old Draft annotation
.
2020-05-04 10:53:54 +02:00
luz.paz
d8b41f70d6
[skip-ci] Fix typos in Draft, Mesh, and src/Tools
...
Found via codespell v1.17.0.dev0
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
2020-04-30 11:40:38 +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
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
carlopav
f1eaa0b93c
Draft: split wire related tools from Draft.py
...
Line Polyline BezCurve BSpline
.
.
.
2020-04-29 11:41:02 +02:00
carlopav
4eab0bb787
Draft: split Polygon from Draft.py
...
.
.
.
.
2020-04-29 11:41:02 +02:00
carlopav
96b2dde9b2
Draft: split rectangle code from Draft.py
...
.
.
2020-04-29 11:41:02 +02:00
carlopav
a34ca76a4e
Draft: split circle from Draft.py
...
.
.
2020-04-29 11:41:02 +02:00
carlopav
8b15108501
Draft: compatible super for AngularDimension object
2020-04-29 11:41:02 +02:00
carlopav
43f6721c6e
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
Yorik van Havre
5b3fea59e0
Draft: Annotation editor
2020-04-22 13:38:17 +02:00
luz.paz
0c326f094f
[skip ci] fix documentation typos
...
Found via codespell v1.17.0.dev0
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
2020-04-20 12:59:09 +02:00
carlopav
131961c2a8
[Draft] Cleanup splitted annotatation objects
...
- corrected super() methods to be Py2 compatible
- further cleanup of the code.
further cleanup
changed again to avoid super method
updated super() functions
updated to correct the parent classess targeted by super()
2020-04-16 11:37:10 +02:00
carlopav
0745f760a0
[Draft] Removed annotation styles objects
...
Removed Annotation styles current implementation.
As pointed out by yorik, in https://forum.freecadweb.org/viewtopic.php?f=23&t=44051&p=385710#p385179 , this feature will be added using document Meta property.
2020-04-16 11:37:10 +02:00
carlopav
8e3dfe7c26
[Draft] Dimension styles improvements
...
Dimension style property is auto-set on dimension creation.
Further improvementes in DimensionStyleContainer.
.
2020-04-16 11:37:10 +02:00
carlopav
164bbabbd8
[Draft] Cleanup of Annotation style branch
...
Further cleanup and guarded imports of Gui in modules.
.
2020-04-16 11:37:10 +02:00
carlopav
85bf45937e
[Draft] Splitted object Text and Label from Draft.py
...
And based them on Draft Annotation object
2020-04-16 11:37:10 +02:00
carlopav
f45314c9bc
[Draft] Updated cmake with splitted annotation objects
...
.
.
2020-04-16 11:37:10 +02:00
carlopav
88612bee7d
[Draft] Dimension Style cleanup
2020-04-16 11:37:10 +02:00
carlopav
4855564bb8
[Draft] Group object for dimension styles
2020-04-16 11:37:10 +02:00
carlopav
33f6d01192
[Draft] Split angular dimension
...
and made it derived from
DimensionBase <- Draft Annotation
2020-04-16 11:37:10 +02:00
carlopav
6d8fe07312
[Draft] Annotation refactor and Cleanup
...
.
.
2020-04-16 11:37:10 +02:00
carlopav
530e8b6c58
[Draft] Split Dimension object and reorganize of annotation objects
...
part 1
2020-04-16 11:37:10 +02:00
carlopav
34cf98102c
[Draft] Dimension style object
...
still have to split viewprovider from object.
[Draft] Dimension Style code cleanup
thx @vocx-fc for reviewing
further cleanup
[Draft] Dimension Style improvements
Added a property to the dimension object to link the dimension style.
Improved the update of dimensions when style changes. This can be done in 2 different ways: by setting AutoUpdate property to True or by activating Update function from the viewprovider context menu.
2020-04-16 11:37:10 +02:00
vocx-fc
35b0e0e227
Draft: polararray, clean up imports, docstrings, and checks
2020-04-08 11:08:29 +02:00
vocx-fc
cf7cae0d17
Draft: orthoarray, add strictly rectangular arrays
2020-04-08 11:08:29 +02:00
vocx-fc
5658ae17eb
Draft: orthoarray, clean up imports, docstrings, and checks
2020-04-08 11:08:29 +02:00
vocx-fc
8141096344
Draft: circulararray, clean up imports, docstrings, and checks
2020-04-08 11:08:29 +02:00
vocx-fc
ea1649c038
Draft: arc_3points, clean up imports and checks
2020-04-08 11:08:29 +02:00
vocx-fc
d1c0f2f2f0
Draft: docstrings for the submodules
2020-04-07 18:12:06 +02:00