Commit Graph

20007 Commits

Author SHA1 Message Date
vocx-fc
215c29caf1 Draft: implement unit test for angular dimension
Previously the `makeAngularDimension` function produced
error messages in the report view due to internal rounding
of `App::PropertyAngles`.
This was fixed in `Base::Quantity`, which now supports
Python's `__round__` function.
2020-03-12 09:06:11 -03:00
vocx-fc
81c2896928 Draft: implement unit test for radial dimension 2020-03-12 09:06:11 -03:00
vocx-fc
422d5f9d1f Draft: cleanup of unit tests code 2020-03-12 09:06:11 -03:00
vocx-fc
efd5367d94 Draft: unit test for arc by 3 points 2020-03-12 09:06:11 -03:00
vocx-fc
fb4a992ce0 Draft: add script to produce a test file as example
The test script can be run by the program's executable
or run as a macro.
```
freecad draft_test_objects.py
```

It can also be used as a Python module within the program
to create a test file on demand.
```
import drafttests.draft_test_objects as dt
dt.create_test_file()
```

The produced test file will be added in a different commit
once this commit is merged.
The idea is to have a test file created by a certain
stable version of the master branch. Then as the code
continues to change and grow, this file can be opened
with future versions of the program to test for compatibility
and regressions.
2020-03-12 09:06:11 -03:00
wandererfan
5a443e8df3 [TD]accept QGraphicsItem from Python 2020-03-12 07:58:38 -04:00
wandererfan
5823fdaf8e [GUI]Add PySide unwrapper for QGraphicsItem 2020-03-12 07:58:38 -04:00
wmayer
436153807f fixes #0004281: Close Documant Recovery [skip ci] 2020-03-12 12:12:52 +01:00
wmayer
412590848b Gui: [skip ci] improve whitespaces 2020-03-12 11:59:58 +01:00
wmayer
e9aeef17ab fixes #0004286: PartDesign hole: angle of the tapered hole does not match the tapered angle specified [skip ci]
See https://forum.freecadweb.org/viewtopic.php?f=13&t=44056#p375915
2020-03-12 11:39:09 +01:00
Bernd Hahnebach
0e04844053 FEM: improve Python type checking and Python imports 2020-03-12 10:02:33 +01:00
Bernd Hahnebach
8ddbd110b6 FEM: qrc, add comment 2020-03-12 05:28:44 +01:00
Bernd Hahnebach
204563c255 FEM: result mesh vp, automate get icon 2020-03-12 05:28:32 +01:00
Bernd Hahnebach
fb3c54ab45 FEM: rename icon, mesh result object 2020-03-12 05:28:24 +01:00
wandererfan
0ab6ba7a5c [TD]remove Hatches from Display when deleted 2020-03-11 18:17:46 -04:00
wandererfan
b7146a5ea3 [TD]fix crash on RenderMode = NONE 2020-03-11 18:17:46 -04:00
wandererfan
f181c882e9 [TD]GOST welding symbols 64x64 2020-03-11 18:17:46 -04:00
wmayer
dce426bf8f PartDesign: [skip ci] New sketch function doesn't try any more to edit a selected sketch 2020-03-11 15:14:18 +01:00
wandererfan
c1d50ec3e4 [TD]Fix Balloon tool tip 2020-03-11 09:33:54 -04:00
wandererfan
2fa671d097 [TD]SymbolScale property to FloatConstaint 2020-03-11 09:33:54 -04:00
wandererfan
9c8c3a2e67 [TD]remove hard coded arrow types from UIs 2020-03-11 09:33:54 -04:00
wandererfan
ebf6d1ca2b [TD]make Arrow enums translatable 2020-03-11 09:33:54 -04:00
wandererfan
dcef41782e [TD]harmonize Arrow enums 2020-03-11 09:33:54 -04:00
luz.paz
c7d3ae2d83 [skip ci] Fix typo (crowdin)
ref: https://crowdin.com/translate/freecad/549/en-eu#6577888
2020-03-11 10:56:45 +01:00
wmayer
338bf2ca3a App: [skip ci] reduce number of digits by 1 to display a NumberExpression
See also: https://forum.freecadweb.org/viewtopic.php?f=3&t=44057
2020-03-11 10:31:28 +01:00
Bernd Hahnebach
00733f4f76 FEM: result mesh, fix icon in tree view 2020-03-11 07:53:16 +01:00
Bernd Hahnebach
6cbb2e62f7 FEM: fluid material, use correct icon in tree view 2020-03-10 23:13:20 +01:00
Bernd Hahnebach
550b5a0965 FEM: gmsh mesh vp, use gmsh mesh icon in tree 2020-03-10 22:44:25 +01:00
Bernd Hahnebach
2a0ba98c09 FEM: constraint body heat source vp, fix tree view icon 2020-03-10 22:27:34 +01:00
Bernd Hahnebach
2c47e52c75 FEM: mesh gmsh vp, comment 2020-03-10 22:23:00 +01:00
Bernd Hahnebach
9882cb53f6 FEM: mesh region, change type 2020-03-10 22:21:01 +01:00
Bernd Hahnebach
35b8d5dbb0 FEM: mesh group, change type 2020-03-10 22:20:08 +01:00
Bernd Hahnebach
d230895c9f FEM: mesh boundary layer, change type 2020-03-10 22:19:14 +01:00
Bernd Hahnebach
f41a942b0e FEM: Python base view object, reactivate get icon method 2020-03-10 22:00:27 +01:00
Bernd Hahnebach
55bfa9dd7c FEM: Python base object fix regression added with 062d782236 by readding getstate method 2020-03-10 18:16:48 +01:00
donovaly
3461a5349b AboutApplication.ui: add myself ;-) 2020-03-10 17:56:15 +01:00
wmayer
75b9dd8a0e [skip ci] App: print affected Python type if serializing via JSON fails
FemGui: add default implementations of __getstate__/__setstate__ to _ViewProviderFemResultMechanical
2020-03-10 16:32:31 +01:00
wmayer
a58ecba673 Part: [skip ci] do not print an error message if a sub-object of a Part feature cannot be found
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=19&t=42216
2020-03-10 13:45:26 +01:00
WandererFan
419c4f3401 [TD]fix Balloon label position 2020-03-10 07:36:38 -04:00
wmayer
d2c1266b7f Gui: [skip ci] do not mark the document as modified if the visibility of an object changes but the flag 'TouchDocument' is not set 2020-03-10 11:40:08 +01:00
Bernd Hahnebach
c23ea00ebe FEM: unit tests, some sort 2020-03-10 08:32:02 +01:00
triplus
b368c14a0d Add collection tab to About FreeCAD 2020-03-09 20:45:10 +01:00
luz.paz
8624564469 [skip ci] Fix typos
Found via `codespell`
2020-03-09 16:23:26 +01:00
Zheng, Lei
d4e07199e9 App: fix missing transformation in Link::getTrueLinkedObject() 2020-03-09 16:22:56 +01:00
Bernd Hahnebach
f9c081f06d FEM: result mechanical VP, add Object 2020-03-09 15:26:46 +01:00
Bernd Hahnebach
8b84a1cc94 FEM: python base object and python base view object, workaround:
- do not add Object attribute, regression added in a47d33b5e
- do not attacht Object and ViewObject attribute, regression added in 175e7f2069
- this deactivates the icons in tree view
- thus this only is a workaround
2020-03-09 15:00:34 +01:00
Bernd Hahnebach
55b5b6a6f9 FEM: code formating 2020-03-09 07:54:23 +01:00
wmayer
4864849ec7 TechDraw: [skip ci] fix -Winconsistent-missing-override 2020-03-08 23:45:33 +01:00
sliptonic
3f3e9d2624 Merge pull request #3117 from dubstar-04/fixes/post
[Path] fixes/post
2020-03-08 13:24:37 -05:00
sliptonic
fd907d6d97 Merge pull request #3118 from dubstar-04/fixes/simulation
[Path] Round the simulation accuracy slider value
2020-03-08 10:36:16 -05:00