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
vocx-fc
9eeceb4f28
Draft: improve the README files with links
2020-03-19 12:11:16 -03:00
vocx-fc
a8712edb54
Draft: arc by 3 points function
...
Previously, the arc was entirely created in the GuiCommand
definition. The code to create only the arc is placed inside
a module so that the function can be used in scripting
from the terminal, without a graphical interface.
2020-03-05 09:03:02 -03:00
vocx-fc
b38ba6e11d
Draft: lowercase use_link option for arrays
...
Inside the class `_DraftLink` the `onDocumentRestored` function
tests for the existence of the old attribute `useLink`. If it is
present, it uses it to define the new variable name `use_link`.
This is done use Python naming conventions.
The old `useLink` is deleted so it is not longer saved
together with the object when the document is saved.
2020-03-04 09:58:56 -03:00
vocx-fc
b1a71f4a53
Draft: new Draft_OrthoArray command
...
It replaces the older `Draft_Array` command, and provides
a task panel to select the properties, similar to the
`Draft_PolarArray` and `Draft_CircularArray` commands.
It can also create `App::Links` directly from this task
panel, so it also replaces the `Draft_LinkArray`
introduced by the LinkMerge.
2020-03-03 21:27:31 +01:00
vocx-fc
3ccffc1b3f
Draft: add README files to explain the new structure
2020-02-05 10:59:28 +01:00
vocx-fc
5143369fc9
Draft: add new command for Draft CircularArray
...
Added object, viewprovider, icon; gui command definition, task panel,
add command to InitGui; add callbacks, and delay system.
2020-01-08 15:16:07 +01:00
vocx-fc
fa44c7ae2f
Draft: new command for Draft PolarArray
...
Added object, viewprovider, icon; gui command definition, task panel,
add command to InitGui; add callbacks, and delay system.
2020-01-07 07:18:39 -03:00
vocx-fc
71154715e7
Draft: add GuiCommandBase class to serve as the parent class of all DraftTools
...
Prepare auxiliary directories to restructure all graphical tools
for objects, viewproviders, gui commands, and taskpanels.
2019-12-27 11:01:34 -03:00