Commit Graph

20865 Commits

Author SHA1 Message Date
markus
a5ee5819ea Fixed ToolBit template generation and adapted TC unit test to deal with Tool and ToolBit. 2020-04-29 14:27:51 -07:00
wmayer
bd86e1cb67 Gui: [skip ci] fix locking keyboard when showing progress bar on Linux systems 2020-04-29 19:50:13 +02:00
Yorik van Havre
28b51cf28a Merged crowdin translations 2020-04-29 16:08:23 +02:00
Yorik van Havre
693e374f99 Updated source ts files 2020-04-29 15:41:26 +02:00
wmayer
9e94a4d030 Mesh: [skip ci] improve cylinder fit 2020-04-29 15:31:19 +02:00
vocx-fc
94a2226102 Arch: import the os module to find the paths 2020-04-29 11:45:00 +02:00
vocx-fc
491ed28e1c 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
1a2c9adbf1 Draft: change the icon depending on the array type 2020-04-29 11:44:22 +02:00
Yorik van Havre
a82f16598f Draft: Small bugfix in DraftGeomUtils.getNormal 2020-04-29 11:43:00 +02:00
Yorik van Havre
7c12c8688c Arch: Curtain wall 2020-04-29 11:43:00 +02:00
Yorik van Havre
e42a26fba1 Arch: [WIP] Curtain Wall tool 2020-04-29 11:43:00 +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
bea4431b18 Draft: split makeSketch 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
wmayer
09005766f1 Gui: [skip ci] print warning if Assign button cannot be activated 2020-04-28 21:43:06 +02:00
wmayer
ef6e5d175a Gui: [skip ci] when clearing ambiguous shortcut also remove the entry from the user parameters 2020-04-28 19:55:04 +02:00
Christian Cornelssen
299368b1b2 Workaround for messy SHIBOKEN_MICRO_VERSION definition.
I recently upgraded to `shiboken2-5.14.2.1`, and this broke preprocessing of
`src/Gui/WidgetFactory.cpp` because `SHIBOKEN_MICRO_VERSION` is now defined as
`2.1` (WTF?!), making it a floating-point literal which the preprocessor does
not like. It is only used for version comparison with `5.12.0`, so replacing
`SHIBOKEN_MICRO_VERSION` with `0` should be OK.
2020-04-28 18:50:13 +02:00
wmayer
227246e01b Gui: [skip ci] avoid to override the format settings of the quantity after validating the input text 2020-04-28 18:43:50 +02:00
sliptonic
860188cebb Merge pull request #3393 from Schildkroet/toolbit-gui
[Path] Toolbit GUI Improvements
2020-04-28 11:41:30 -05:00
wmayer
a74137146b Gui: [skip ci] fix size hint of QuantitySpinBox by setting text margins of 2px
See https://forum.freecadweb.org/viewtopic.php?f=3&t=45344
2020-04-28 16:53:52 +02:00
Patrick Felixberger
28227f32dd Removed some printf 2020-04-28 16:11:28 +02:00
wandererfan
1fc2e755dd [TD]Handle ProjGroup in TaskCosmeticVertex 2020-04-28 09:11:28 -04:00
wandererfan
f2f7d22b8e [TD]Coordinate inversion for CosmeticVertex 2020-04-28 09:11:28 -04:00
Abdullah Tahiri
83cff478a2 Sketcher: Default solver information font size to system 2020-04-28 14:53:28 +02:00
Abdullah Tahiri
0ec3cb16cb Remove hard-coded font families 2020-04-28 14:53:28 +02:00
wmayer
bc107eacc8 Mesh: [skip ci] fix computation of standard deviation 2020-04-27 17:41:38 +02:00
Yorik van Havre
d3c2d11fac Arch: Fixed copy-paste leftover 2020-04-27 14:31:22 +02:00
wmayer
1a3285219a App: [skip ci] handle types long and unsigned long in PropertyFloat::setPathValue() 2020-04-27 12:44:54 +02:00
Syres916
b210066650 [Arch] Fix regression in ArchProject.py...
...from eda726041b (diff-da1821ac61ef30c74c28b89cd2620b38) which caused error on IFC import.
2020-04-27 11:42:43 +02:00
triplus
ff5a903250 Support for grouped dragging of dockwidgets
Forum discussion:
https://forum.freecadweb.org/viewtopic.php?f=9&t=45697
2020-04-27 11:42:01 +02:00
Marcus Ding
3509f1a720 Add AxisReference property to Draft Array 2020-04-27 11:34:16 +02:00
Przemo Firszt
27e01dd2fc [fedora.spec] Replace qt5-devel metapackage with direct package names
Metapackages are not supported on rawhide, so it ws breaking COPR
builds.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2020-04-27 11:30:13 +02:00
luz.paz
06a1099e2b [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
884cbe8525 Sketcher: update XPM icon for PointOnPoint constraint
The SVG icon was changed in d3ee556467 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
Zheng, Lei
7069d9abb8 App: fix lost of Link when renaming linked file 2020-04-27 11:24:29 +02:00
G Roques
b32ec19a58 Add Ose3dPrinter_workbench_icon.svg icon 2020-04-27 11:22:53 +02:00
vocx-fc
cc75bf91d7 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
b25f7f42fb FEM: elmer tasks, fix result and output creation 2020-04-27 10:40:58 +02:00