Commit Graph

17460 Commits

Author SHA1 Message Date
wmayer
3ccba4c64b when cloning a 3d view then also set the new view into edit mode in case the original view is 2019-10-01 19:35:51 +02:00
wmayer
f24c097a5a make sure resetting a document while closing it works independently of the activw view 2019-10-01 16:37:07 +02:00
wmayer
28a915d821 when closing a 3d view check if itÄs in edit mode to avoid to leave a view provider in a broken state 2019-10-01 16:34:51 +02:00
wmayer
2a3d398a9b change order of beforeDelete() and clearing selection inside Application::slotDeleteDocument to prevent crashes in case resetting a view provider touches the selection 2019-10-01 16:33:37 +02:00
wmayer
19ac3ecfc7 fix crash when switching to fullscreen, back to normal and closing the sketcher 2019-09-30 23:55:11 +02:00
wandererfan
12335c7d52 [TD]Fix Arrowhead Fill in Dims & Leaders 2019-09-29 19:56:46 -04:00
wandererfan
d7dabeb885 [TD]Fix Dimension Color Regression
- still an issue where text looses select color if
  clicked while selected
2019-09-29 19:56:46 -04:00
wandererfan
5f619c6743 [TD]Fix Integer display in s/s image 2019-09-29 19:56:46 -04:00
wmayer
5de6763ed5 add escape sequence when executing as Python string 2019-09-28 23:35:08 +02:00
wmayer
426674f225 add function to escape special characters in file names 2019-09-28 19:32:34 +02:00
wmayer
fb7a03a04d fix exception handling in _ViewProviderFemResultMechanical 2019-09-28 17:06:47 +02:00
Zheng, Lei
6b6c0a503c App: fix QuantityPy __add__ and __sub__ 2019-09-28 15:32:12 +02:00
Zheng, Lei
83284a3cdd Base: add Python number protocol support to Placement/Rotation 2019-09-28 15:32:00 +02:00
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
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
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
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