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
3da68ba3c5
Draft: fix to statusbar import on wb Activated and Deactivated
...
Import statusbar related functions only if snapper is loaded
added new line at the end
2020-04-30 13:48:33 +02:00
carlopav
c34ef27018
Draft: fix bspline and bezcurve viewproviders
...
Finished to fix bspline and bezcurve wiewproviders.
2020-04-30 13:48:33 +02:00
luz.paz
244639c2bf
[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
vocx-fc
81029a2b74
Draft: add view provider for Bezier curve object
2020-04-30 09:41:41 +02:00
vocx-fc
3ba2f86034
Draft: add view provider for BSpline object
2020-04-30 09:41:41 +02:00
Bernd Hahnebach
e8c6cdc75a
Draft: workaround to be able to import Draft
2020-04-29 22:46:27 +02:00
Yorik van Havre
141764e64f
Merged crowdin translations
2020-04-29 16:08:23 +02:00
Yorik van Havre
7003b3f747
Updated source ts files
2020-04-29 15:41:26 +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
Yorik van Havre
70962447bc
Draft: Small bugfix in DraftGeomUtils.getNormal
2020-04-29 11:43:00 +02:00
Yorik van Havre
1ecde67d8b
Arch: [WIP] Curtain Wall tool
2020-04-29 11:43:00 +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
f6cc26e263
Draft: compatible super for AngularDimension object
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
luz.paz
cb9379225a
[skip-ci] Fix 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-27 11:29:32 +02:00
vocx-fc
20db141c3a
Draft: change super() so it is compatible with Python 2
...
In Python 3 `super()` can be used without an argument
in order to get the parent class, `super()`.
In Python 2 the present class must be used as an argument,
`super(ThisClass, self)`.
This commit is done to support Python 2,
as without it all Gui Command tools will be broken
and will fail to launch, even if the unit tests pass.
Also, set the `__metaclass__` variable to `type`.
This is done to turn all classes into "new style" classes
in Python 2. This is required so `super()` works correctly
in this version of Pyton.
This commit can be reverted once Python 2 support
is completely dropped, and only Python 3 compatible code
is used.
2020-04-27 11:05:51 +02:00
vocx-fc
e87245aeef
Draft: move Mirror GuiCommand to gui_mirror module
2020-04-24 13:49:13 +02:00
vocx-fc
bb4fbf62e9
Draft: move Draft_Clone GuiCommand to gui_clone module
...
Rename the Gui Command to `Clone`, and provide an alias
for the older name `Draft_Clone`, just in case.
2020-04-24 13:49:13 +02:00
vocx-fc
6d4ee479c0
Draft: small changes to the taskpanels for arrays
2020-04-24 13:49:13 +02:00
vocx-fc
4b5f7d5575
Draft: small changes to the view providers for arrays
...
These view providers are not currently in use, the files are just
there for reference, to show how they would be used in the future.
The `super()` instruction is not made compatible with Python 2
because this code won't run with Python 2 anyway.
2020-04-24 13:49:13 +02:00
vocx-fc
62b9183b5c
Draft: rename Circular, Ortho, and Polar arrays
...
The internal GuiCommand classes are renamed to `CircularArray`,
`OrthoArray`, and `PolarArray`. This is a shorter name than the
previous `GuiCommandCircularArray`, `GuiCommandOrthoArray`,
and `GuiCommandPolarArray`.
These classes are not part of the scripting interface of Draft
so we don't risk breaking previous files.
2020-04-24 13:49:13 +02:00
vocx-fc
589693f66c
Draft: small changes to the loading of the array modules
2020-04-24 13:49:13 +02:00
vocx-fc
b434347dbd
Draft: move PointArray GuiCommand to gui_pointarray module
2020-04-24 13:49:13 +02:00