Zheng, Lei
8dec78747f
Spreadsheet: fix test cases due to change in error message
2019-09-28 15:31:36 +02:00
Zheng, Lei
a1417c5ffa
App: extend Expression syntax
...
* Support sub-object reference syntax using the following syntax,
Part.<<Box.>>.Placement
or, with sub-object label referencing
Part.<<$Cube.>>.Placement
* Extend indexing support, including range based indexing, e.g.
A1[B2+1][C3][D4:-1]
* Add new constants, None, True, true, False, false.
2019-09-28 15:31:24 +02:00
Zheng, Lei
22fede14d8
App: add list/tuple() function to Expression
...
For easy creation of Python list/tuple using expression. Range
expression can now be expanded into list or tuple.
2019-09-28 15:30:55 +02:00
Zheng, Lei
ea7eee8061
Expression: split Expression.h to ExpressionParser.h
...
Split Expression details into a separate header to reduce recompilation
time on changes.
2019-09-28 15:30:41 +02:00
Zheng, Lei
d141975701
App: use Python number protocol in Expression
...
This adds support to do mul/div with matrix and vector, as well as
Python formated string with operator %.
2019-09-28 15:30:34 +02:00
Zheng, Lei
783947ecd4
Base: improve base python object number protocol
2019-09-28 15:30:23 +02:00
luz.paz
7a38b1ca84
Draft: DraftEdit.py now gets PickRadius from user preferences
...
...instead of being hardcoded.
Note: PickRadius is the proximity in pixels for picking elements in the 3D view
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=10&t=39203
2019-09-28 12:49:33 +02:00
luz.paz
81a3a3233f
src/App/Application: Improve FC CLI help output
...
Help the user find more details info by directing them to the exact wiki page needed instead of the front page of the official site.
2019-09-28 12:46:14 +02:00
looooo
03a17b1564
cmake: pyside2 config fix
2019-09-28 12:43:28 +02:00
donovaly
4ffe076544
TaskSketcher_xxx.ui: use sensible minimal heights to avoid scaling problems
...
The problem is currently that if the user collapses the solver messages, the list views get too small. The reason is that there is no proper minimal height set. See the forum thread for screenshots of the fixes.
TaskSketcherMessages.ui: remove unnecessary space (saves also vertical space on small screens)
2019-09-28 12:28:50 +02:00
donovaly
4607cbb9cf
remove unnecessary whitespace from general sketcher dialog
...
There is too much whitespace, see https://forum.freecadweb.org/viewtopic.php?t=37935&p=324176
2019-09-28 12:28:42 +02:00
Syres916
6495902fc2
[Spreadsheet] Excel File Import fix Py3 bug
...
Please see discussion https://forum.freecadweb.org/viewtopic.php?f=3&t=39653
2019-09-28 12:13:02 +02:00
wmayer
1a2370cd91
do not use an int but an enum to handle different modes
2019-09-27 22:00:25 +02:00
Zheng, Lei
b450f5a5c8
App: improve exception handling in FeaturePython
2019-09-27 18:02:20 +02:00
Zheng, Lei
0f29155502
App/Gui: unify NotImplementedError handling in python features
...
Recognize NotImplementedError as an indication to call the C++
implementation.
2019-09-27 18:01:54 +02:00
Zheng, Lei
68aca247ee
Gui: remove FC_TREEPARAM, add document for class TreeParams
2019-09-27 15:49:42 +02:00
Zheng, Lei
cdd31fb10c
Gui: fix tree view auto expand
2019-09-27 15:49:31 +02:00
Markus Lampert
450cc894be
Fixed first screen on job creation
2019-09-27 14:29:15 +02:00
Markus Lampert
6e38c10862
Prevent endless loop through negative step down values in engraver.
2019-09-27 14:18:43 +02:00
markus
4230fe5f98
Fixed engrave for non-closed wires for multi step down ops
2019-09-27 14:18:27 +02:00
markus
65a4b27047
Added unit tests for orientWire.
2019-09-27 14:18:09 +02:00
Markus Lampert
7c9e044199
Fixed updateCommand definition for python
2019-09-27 11:11:47 +02:00
sgrogan
b4846d45b7
Copy files from libpack to build or install directory:
...
Windows- copy plugins/styles and plugins/printsupport to bin
copy libpack/bin/QtWebEngineProcess.exe and libpack/bin/qt.conf to build/bin
copy assistant.exe to build/bin
2019-09-27 11:09:10 +02:00
Bernd Hahnebach
24e13bc893
FEM: solver frame work unit tests, improvements
2019-09-27 09:30:08 +02:00
Bernd Hahnebach
506ab243e9
FEM: unit tests, solver framework, separate tests for each solver
2019-09-27 09:30:02 +02:00
wmayer
af2e97da7b
clean-up FreeCADLibpackChecks.cmake
2019-09-26 23:42:13 +02:00
ezzieyguywuf
3bc979fbc1
Reverted FreeCadMacros.cmake to what is in master.
2019-09-26 18:55:33 +02:00
ezzieyguywuf
35ef6732ad
Cleaned up a debug message and removed legacy file.
2019-09-26 18:55:11 +02:00
ezzieyguywuf
63c45d3ba4
Move logic out of CMakeLists.txt
...
This is an initial pass, simply moving the existing logic as-is. Future
PR's will attempt to refactor and improve the cmake stuff.
2019-09-26 18:54:45 +02:00
Bernd Hahnebach
cfc25626a2
FEM: use femexample setup simple box static for solver framework unit test
2019-09-26 18:50:32 +02:00
Bernd Hahnebach
40a4850f97
FEM: frd reader, fix analysis identifier
2019-09-26 18:30:35 +02:00
Bernd Hahnebach
2873e535f7
FEM: examples manager, small fix
2019-09-26 18:30:30 +02:00
Bernd Hahnebach
c3976011a7
FEM: example simple box static and frequency, add them to the example manager
2019-09-26 18:30:24 +02:00
Bernd Hahnebach
bc29bcf6fd
FEM: examples simple box static and frequency, move mesh from unit tests to fem examples
2019-09-26 18:30:20 +02:00
Bernd Hahnebach
3acb7d937a
FEM: move setup simple box static and frequency example from unit tests to fem examples
2019-09-26 18:30:16 +02:00
Bernd Hahnebach
ef72550c2a
FEM: ccx unit tests, improve prints
2019-09-26 07:26:23 +02:00
Bernd Hahnebach
1f8c68603b
FEM: examples, flow 1d, improve variable names
2019-09-26 07:26:17 +02:00
Bernd Hahnebach
253891b44d
FEM: example thermomech flow1d, add it to the example manager
2019-09-26 07:26:12 +02:00
Bernd Hahnebach
bad8f9a303
FEM: example thermomech flow1d, move mesh from unit tests to fem examples
2019-09-26 07:26:06 +02:00
Bernd Hahnebach
587612f21d
FEM: move setup flow 1D thermomech example from unit tests to fem examples
2019-09-26 07:26:02 +02:00
Bernd Hahnebach
d0422fa91c
FEM: examples, some improvements
2019-09-26 07:25:51 +02:00
Bernd Hahnebach
f33aa0cbab
FEM: example multimaterial two boxes, add it to the example manager
2019-09-25 21:22:19 +02:00
Bernd Hahnebach
b1765cfddc
FEM: example multimaterial, move mesh from unit tests to fem examples
2019-09-25 21:22:12 +02:00
Bernd Hahnebach
9270111755
FEM: move setup multimaterial example from unit tests to fem examples
2019-09-25 21:22:03 +02:00
Bernd Hahnebach
1d8a586721
FEM: example thermomech spine, add it to the example manager
2019-09-25 21:21:56 +02:00
Bernd Hahnebach
0f2fc08878
FEM: example thermomech spine, move mesh from unit tests to fem examples
2019-09-25 21:21:50 +02:00
Bernd Hahnebach
a4b3506b2f
FEM: move setup thermomech example from unit tests to fem examples
2019-09-25 21:21:45 +02:00
lorenz
145e3a60f8
add missing include to Precompiled.h
2019-09-25 20:06:36 +02:00
lorenz
a07cc9f485
add missing header
...
ref.: https://forum.freecadweb.org/viewtopic.php?p=336566#p336566
2019-09-25 16:35:15 +02:00
wmayer
d40b4f66ac
improve whitespaces
2019-09-25 15:44:50 +02:00