Commit Graph

20820 Commits

Author SHA1 Message Date
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
Bernd Hahnebach
d1ccfa7a08 FEM: ccx writer, small code improvement 2020-04-27 07:38:03 +02:00
sliptonic
f4279f1bea Merge pull request #3389 from etrombly/startPoint
[PATH] fix collision from start point
2020-04-25 18:24:56 -05:00
Eric Trombly
049ea0ecf4 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
Eric Trombly
dcdfa6ccda Merge pull request #1 from Russ4262/patch-2
Path: Fix `ZigZag` pattern; Remove some comments
2020-04-25 13:43:16 -05:00
Russell Johnson
29dfb5b65c 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
d3eb2ce92f remove retraction to clearance height for intra-operation travels 2020-04-24 22:32:27 -05:00
Eric Trombly
b8a262be81 fix detect of 0,0 start point 2020-04-24 20:05:39 -05:00
Eric Trombly
396f03ea9b pass endVectorin PathAreaOp and clean up gcode generation 2020-04-24 20:05:39 -05:00
Bernd Hahnebach
8beef0566d FEM: ccx writer, move some methods around 2020-04-24 21:09:33 +02:00
sliptonic
5418acd65f Merge pull request #3362 from dubstar-04/deburrFix
[Path] - Hide the join type on the deburr form.
2020-04-24 12:36:43 -05:00
wandererfan
4b38a6d51a [TD]Qt4 fixes 2020-04-24 11:13:49 -04:00
wandererfan
0c57730cd2 [TD]trap potential crash on app close
- avoid possible crash in TD dialogs if app closed
  while dialog in progress.
2020-04-24 11:13:49 -04:00
wandererfan
0a3f7ae312 [TD]handle ProjectionAngle changes 2020-04-24 11:13:49 -04:00
wandererfan
e80c576241 [TD]Centralize preference getters 2020-04-24 11:13:49 -04:00
Bernd Hahnebach
a2b8aa6b23 FEM: ccx writer, use better var name because of typo 2020-04-24 16:55:55 +02:00
Bernd Hahnebach
45dac67211 FEM: ccx input writer, move mesh writing code in separate method and merge one file and splitted file writer methods 2020-04-24 16:54:30 +02:00
Bernd Hahnebach
05c0f6b534 FEM: ccx input writer, delete not needed code line 2020-04-24 16:09:57 +02:00
Yorik van Havre
8d4ed61782 Arch: Fixed regression in wall 2020-04-24 15:10:42 +02:00
midgetfc
3acc1c667d remove obsolete policy stuff 2020-04-24 13:56:49 +02:00
midgetfc
b66732b266 push cmake minimum version up 2020-04-24 13:56:49 +02:00
vocx-fc
e6652aaac1 Draft: move Mirror GuiCommand to gui_mirror module 2020-04-24 13:49:13 +02:00
vocx-fc
b259d94125 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
f1ca3c9454 Draft: small changes to the taskpanels for arrays 2020-04-24 13:49:13 +02:00
vocx-fc
3cf7ea0da5 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
dc2c103fe6 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
0fb2d9cf78 Draft: small changes to the loading of the array modules 2020-04-24 13:49:13 +02:00
vocx-fc
cc26565b3a Draft: move PointArray GuiCommand to gui_pointarray module 2020-04-24 13:49:13 +02:00
vocx-fc
720dc919c3 Draft: move PathLinkArray GuiCommand to gui_patharray module 2020-04-24 13:49:13 +02:00
vocx-fc
f58212c07d Draft: move PathArray GuiCommand to gui_patharray module 2020-04-24 13:49:13 +02:00
vocx-fc
4b8dda1555 Draft: move LinkArray GuiCommand to gui_array_simple module
The code is kept for historical reasons, but the tool
is no longer accessible from the toolbars or menus,
as it was superseded by the three commands `Draft_OrthoArray`,
`Draft_PolarArray` and `Draft_CircularArray`.
2020-04-24 13:49:13 +02:00
vocx-fc
82efd33581 Draft: move Array GuiCommand to gui_array_simple module
The code is kept for historical reasons, but the tool
is no longer accessible from the toolbars or menus,
as it was superseded by the three commands `Draft_OrthoArray`,
`Draft_PolarArray` and `Draft_CircularArray`.
2020-04-24 13:49:13 +02:00
vocx-fc
d4c699c844 Draft: move Draft2Sketch GuiCommand to gui_draft2sketch module 2020-04-24 13:49:13 +02:00
vocx-fc
6f060d513d Draft: move Shape2DView GuiCommand to gui_shape2dview module 2020-04-24 13:49:13 +02:00