Commit Graph

18346 Commits

Author SHA1 Message Date
Zheng, Lei
c3db1e02ec 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
38c47d6e95 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
8cbdc3ad5d 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
1efadc928e Base: improve base python object number protocol 2019-09-28 15:30:23 +02:00
luz.paz
daf96d29fd 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
dae18259e0 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
84fe44cb32 cmake: pyside2 config fix 2019-09-28 12:43:28 +02:00
donovaly
0124ab9387 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
d85c82be95 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
f083696b99 [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
3f8ec4b9e9 do not use an int but an enum to handle different modes 2019-09-27 22:00:25 +02:00
Zheng, Lei
d1b5e07eee App: improve exception handling in FeaturePython 2019-09-27 18:02:20 +02:00
Zheng, Lei
d3dea0178d 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
959ec5dad3 Gui: remove FC_TREEPARAM, add document for class TreeParams 2019-09-27 15:49:42 +02:00
Zheng, Lei
475baf5481 Gui: fix tree view auto expand 2019-09-27 15:49:31 +02:00
Markus Lampert
c99b621356 Fixed first screen on job creation 2019-09-27 14:29:15 +02:00
Markus Lampert
4ec9f7e281 Prevent endless loop through negative step down values in engraver. 2019-09-27 14:18:43 +02:00
markus
83dcc5f92c Fixed engrave for non-closed wires for multi step down ops 2019-09-27 14:18:27 +02:00
markus
40d7d32d19 Added unit tests for orientWire. 2019-09-27 14:18:09 +02:00
Markus Lampert
9b8ad9525b Fixed updateCommand definition for python 2019-09-27 11:11:47 +02:00
sgrogan
6e1b8052d8 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
2a0dc9048b FEM: solver frame work unit tests, improvements 2019-09-27 09:30:08 +02:00
Bernd Hahnebach
b8287fd42b FEM: unit tests, solver framework, separate tests for each solver 2019-09-27 09:30:02 +02:00
wmayer
91224df805 clean-up FreeCADLibpackChecks.cmake 2019-09-26 23:42:13 +02:00
ezzieyguywuf
06af0151a9 Reverted FreeCadMacros.cmake to what is in master. 2019-09-26 18:55:33 +02:00
ezzieyguywuf
6b250d5116 Cleaned up a debug message and removed legacy file. 2019-09-26 18:55:11 +02:00
ezzieyguywuf
aa7419b203 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
5b8d93ccaf FEM: use femexample setup simple box static for solver framework unit test 2019-09-26 18:50:32 +02:00
Bernd Hahnebach
9ec4a1936a FEM: frd reader, fix analysis identifier 2019-09-26 18:30:35 +02:00
Bernd Hahnebach
e036b2a530 FEM: examples manager, small fix 2019-09-26 18:30:30 +02:00
Bernd Hahnebach
a180b93038 FEM: example simple box static and frequency, add them to the example manager 2019-09-26 18:30:24 +02:00
Bernd Hahnebach
ecbba498ba 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
4ac8d0bbe9 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
8eb00d7c9b FEM: ccx unit tests, improve prints 2019-09-26 07:26:23 +02:00
Bernd Hahnebach
760cd06d44 FEM: examples, flow 1d, improve variable names 2019-09-26 07:26:17 +02:00
Bernd Hahnebach
fbea7f07bc FEM: example thermomech flow1d, add it to the example manager 2019-09-26 07:26:12 +02:00
Bernd Hahnebach
9883b05c6f FEM: example thermomech flow1d, move mesh from unit tests to fem examples 2019-09-26 07:26:06 +02:00
Bernd Hahnebach
f70e31b111 FEM: move setup flow 1D thermomech example from unit tests to fem examples 2019-09-26 07:26:02 +02:00
Bernd Hahnebach
32769c7536 FEM: examples, some improvements 2019-09-26 07:25:51 +02:00
Bernd Hahnebach
ce20d76000 FEM: example multimaterial two boxes, add it to the example manager 2019-09-25 21:22:19 +02:00
Bernd Hahnebach
6fdd0685ac FEM: example multimaterial, move mesh from unit tests to fem examples 2019-09-25 21:22:12 +02:00
Bernd Hahnebach
e7bd900a94 FEM: move setup multimaterial example from unit tests to fem examples 2019-09-25 21:22:03 +02:00
Bernd Hahnebach
0168ffa0ed FEM: example thermomech spine, add it to the example manager 2019-09-25 21:21:56 +02:00
Bernd Hahnebach
5a84dc27cb FEM: example thermomech spine, move mesh from unit tests to fem examples 2019-09-25 21:21:50 +02:00
Bernd Hahnebach
79dcd464b2 FEM: move setup thermomech example from unit tests to fem examples 2019-09-25 21:21:45 +02:00
lorenz
e9e1c89929 add missing include to Precompiled.h 2019-09-25 20:06:36 +02:00
lorenz
b31469c38d add missing header
ref.: https://forum.freecadweb.org/viewtopic.php?p=336566#p336566
2019-09-25 16:35:15 +02:00
wmayer
11ff76ab21 improve whitespaces 2019-09-25 15:44:50 +02:00
Przemo Firszt
c01eca9b12 Exclude some packages from fedora 29 builds
Those packages don't exist in fedora 29:
pyside2-tools, python3-pyside2-devel, python3-shiboken2-devel

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2019-09-25 15:35:10 +02:00
Przemo Firszt
e7bf1947b8 Update fedora spec as per sopwith
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2019-09-25 15:35:10 +02:00