Commit Graph

16171 Commits

Author SHA1 Message Date
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
wmayer
bcda5bf2ef Mesh: [skip ci] improve cylinder fit 2020-04-29 15:31:19 +02:00
vocx-fc
90e1c26f2b Arch: import the os module to find the paths 2020-04-29 11:45:00 +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
dda0510e48 Arch: Curtain wall 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
sliptonic
b678080541 Merge pull request #3393 from Schildkroet/toolbit-gui
[Path] Toolbit GUI Improvements
2020-04-28 11:41:30 -05:00
Patrick Felixberger
d44beb2eb4 Removed some printf 2020-04-28 16:11:28 +02:00
wandererfan
60adfc863f [TD]Handle ProjGroup in TaskCosmeticVertex 2020-04-28 09:11:28 -04:00
wandererfan
a584afcd91 [TD]Coordinate inversion for CosmeticVertex 2020-04-28 09:11:28 -04:00
Abdullah Tahiri
63b73f91fd Sketcher: Default solver information font size to system 2020-04-28 14:53:28 +02:00
Abdullah Tahiri
df9c158837 Remove hard-coded font families 2020-04-28 14:53:28 +02:00
wmayer
eed2a62884 Mesh: [skip ci] fix computation of standard deviation 2020-04-27 17:41:38 +02:00
Yorik van Havre
2edce96342 Arch: Fixed copy-paste leftover 2020-04-27 14:31:22 +02:00
Syres916
24fabf5205 [Arch] Fix regression in ArchProject.py...
...from 3a8a25d07d (diff-da1821ac61ef30c74c28b89cd2620b38) which caused error on IFC import.
2020-04-27 11:42:43 +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
b46d08e748 Sketcher: update XPM icon for PointOnPoint constraint
The SVG icon was changed in df8e0785a3 but the small XPM icon
was not modified.

Unlike other XPM icons which are used in `ViewProviderSketch.cpp`,
this `PointOnPoint` XPM icon doesn't seem to be used at all.
Nevertheless, we still update it so that the XPM matches
its corresponding SVG.

Also update the `README.md` to explain how these XPM icons
are generated.
2020-04-27 11:25:11 +02:00
G Roques
c51b1cfefd Add Ose3dPrinter_workbench_icon.svg icon 2020-04-27 11:22:53 +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
Bernd Hahnebach
f868d8d5ee FEM: elmer tasks, fix result and output creation 2020-04-27 10:40:58 +02:00
Bernd Hahnebach
b85f3b5a81 FEM: ccx writer, small code improvement 2020-04-27 07:38:03 +02:00
Patrick F
9335078fc1 Added some comments 2020-04-25 22:45:43 +02:00
Eric Trombly
8b32c0c469 change dogbone test to not check for the number of dogbones, just location. Due to the path changing 2020-04-25 14:58:42 -05:00
Russell Johnson
6f4f24c299 Path: Fix ZigZag pattern; Remove some comments
ZigZag pointset is no longer a tuple to unpack.  Grouped it with Line and Spiral.
2020-04-24 22:36:50 -05:00
Eric Trombly
be01153ea7 remove retraction to clearance height for intra-operation travels 2020-04-24 22:32:27 -05:00
Eric Trombly
745945d2cb fix detect of 0,0 start point 2020-04-24 20:05:39 -05:00