Commit Graph

15406 Commits

Author SHA1 Message Date
vocx-fc
85bce262b4 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
303335e8af [TD]accept QGraphicsItem from Python 2020-03-12 07:58:38 -04:00
wmayer
e91c2d6afd 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
4db6d7cafa FEM: improve Python type checking and Python imports 2020-03-12 10:02:33 +01:00
Bernd Hahnebach
70f8bfbeef FEM: qrc, add comment 2020-03-12 05:28:44 +01:00
Bernd Hahnebach
021ef0a0db FEM: result mesh vp, automate get icon 2020-03-12 05:28:32 +01:00
Bernd Hahnebach
5a9459a256 FEM: rename icon, mesh result object 2020-03-12 05:28:24 +01:00
wandererfan
fb035a9a0d [TD]remove Hatches from Display when deleted 2020-03-11 18:17:46 -04:00
wandererfan
fd9183727e [TD]fix crash on RenderMode = NONE 2020-03-11 18:17:46 -04:00
wandererfan
15ffe5d9df [TD]GOST welding symbols 64x64 2020-03-11 18:17:46 -04:00
wmayer
f0f3597da8 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
25642dc7d1 [TD]Fix Balloon tool tip 2020-03-11 09:33:54 -04:00
wandererfan
ffb71e16d4 [TD]SymbolScale property to FloatConstaint 2020-03-11 09:33:54 -04:00
wandererfan
bf66b52579 [TD]remove hard coded arrow types from UIs 2020-03-11 09:33:54 -04:00
wandererfan
c485904ab8 [TD]make Arrow enums translatable 2020-03-11 09:33:54 -04:00
wandererfan
b493b3841d [TD]harmonize Arrow enums 2020-03-11 09:33:54 -04:00
Bernd Hahnebach
88a6c1db29 FEM: result mesh, fix icon in tree view 2020-03-11 07:53:16 +01:00
Bernd Hahnebach
1efca02213 FEM: fluid material, use correct icon in tree view 2020-03-10 23:13:20 +01:00
Bernd Hahnebach
ae2c3214a0 FEM: gmsh mesh vp, use gmsh mesh icon in tree 2020-03-10 22:44:25 +01:00
Bernd Hahnebach
8f56117c4e FEM: constraint body heat source vp, fix tree view icon 2020-03-10 22:27:34 +01:00
Bernd Hahnebach
29871f3b63 FEM: mesh gmsh vp, comment 2020-03-10 22:23:00 +01:00
Bernd Hahnebach
c04344227d FEM: mesh region, change type 2020-03-10 22:21:01 +01:00
Bernd Hahnebach
9e911be570 FEM: mesh group, change type 2020-03-10 22:20:08 +01:00
Bernd Hahnebach
512817808b FEM: mesh boundary layer, change type 2020-03-10 22:19:14 +01:00
Bernd Hahnebach
358b6d6d7a FEM: Python base view object, reactivate get icon method 2020-03-10 22:00:27 +01:00
Bernd Hahnebach
8db84e2c53 FEM: Python base object fix regression added with 71c9694824 by readding getstate method 2020-03-10 18:16:48 +01:00
wmayer
cc9f1c5a1e [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
9471ca52d7 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
383e20e941 [TD]fix Balloon label position 2020-03-10 07:36:38 -04:00
Bernd Hahnebach
0c608b5d6d FEM: unit tests, some sort 2020-03-10 08:32:02 +01:00
luz.paz
696ed42635 [skip ci] Fix typos
Found via `codespell`
2020-03-09 16:23:26 +01:00
Bernd Hahnebach
81763691d6 FEM: result mechanical VP, add Object 2020-03-09 15:26:46 +01:00
Bernd Hahnebach
dcabd2ae04 FEM: python base object and python base view object, workaround:
- do not add Object attribute, regression added in 299879f8d
- do not attacht Object and ViewObject attribute, regression added in f47c288001
- this deactivates the icons in tree view
- thus this only is a workaround
2020-03-09 15:00:34 +01:00
Bernd Hahnebach
06afffaa36 FEM: code formating 2020-03-09 07:54:23 +01:00
wmayer
b91050eee5 TechDraw: [skip ci] fix -Winconsistent-missing-override 2020-03-08 23:45:33 +01:00
sliptonic
31a8261fac Merge pull request #3117 from dubstar-04/fixes/post
[Path] fixes/post
2020-03-08 13:24:37 -05:00
sliptonic
f1ed357bad Merge pull request #3118 from dubstar-04/fixes/simulation
[Path] Round the simulation accuracy slider value
2020-03-08 10:36:16 -05:00
sliptonic
8be115ab6e Merge pull request #3143 from dubstar-04/fixes/tooltable-icons
[Path] fixes/tooltable - Show icons on the tool table ui. fixes #4282
2020-03-08 10:33:39 -05:00
UR-0
d4ef7fde2a FEM: vtk clip filter, PlaneWidget.ui typo origin's y-coord 2020-03-08 15:00:07 +01:00
Daniel Wood
133b4effa5 show tool table edit icons on the tool table ui. fixes #4282 2020-03-08 09:04:19 +00:00
donovaly
6f0b660ff2 [TD] fix default directory for bitmaps
see https://forum.freecadweb.org/viewtopic.php?f=35&t=43981
2020-03-07 19:32:25 -05:00
donovaly
3f8398e3fa [TD] handle deletions of hatches
- also uniform line endings in ViewProviderLeader.cpp
2020-03-07 19:31:49 -05:00
wandererfan
f4233cadb3 [TD]fix Balloon coordinates 2020-03-07 19:29:57 -05:00
Bernd Hahnebach
d3687c383e FEM: gmsh mesh VP obj, set back because of regression added with 536135ec 2020-03-07 16:52:37 +01:00
Bernd Hahnebach
4ccfaea2bc FEM: Python gui objects, use methods from base object 2020-03-07 16:39:17 +01:00
Bernd Hahnebach
0d958bd7ab FEM: commands, better resource handling for all command classes 2020-03-07 16:39:06 +01:00
Bernd Hahnebach
76a30ac6b2 FEM: command base class, extend for better resource handling 2020-03-07 16:38:55 +01:00
wmayer
4671993a5d ReverseEngineering: approximation of a 2-degree polynomial surface and converting it into a Bezier surface 2020-03-07 14:21:57 +01:00
Syres916
eebb73cfd2 [Draft] Orthoarray Task Panel Fix Z interval 2020-03-06 18:05:14 -03:00
wandererfan
b5ea5ed31e [TD]fix crash on Dim delete
- adjust index/cache options to avoid "dirty" screen
  region errors.
- may be masking missing "prepareGeometryChange"
2020-03-06 13:56:38 -05:00