Commit Graph

11261 Commits

Author SHA1 Message Date
Yorik van Havre
4f044dcbe4 py3: Gui: files P-Z ported to python3 2017-05-06 20:11:31 +02:00
looooo
a3539c5168 py3: resolve dangling-pointer issues 2017-05-06 17:23:27 +02:00
Yorik van Havre
aa3f9288d6 py3: Gui: files A-P ported to python3 2017-05-06 17:23:27 +02:00
looooo
226dd17e5f py3: path: some fixes to make path py3-compileable 2017-05-06 17:11:52 +02:00
looooo
6ba65d4d63 py3: Fem: PyGui: use relative imports for PyGui 2017-05-06 15:30:46 +02:00
triplus
d27afa1ac7 Improved persistent toolbars start logic 2017-05-06 15:22:24 +02:00
wwmayer
65c7138231 Merge pull request #740 from DeepSOIC/gesture_fix1
Gesture navigation style fixes
2017-05-06 14:03:33 +02:00
DeepSOIC
6e39a78721 Gui: GestureNav: disable rotation when over a dragger 2017-05-06 12:48:26 +03:00
DeepSOIC
2d614154a4 Gui: GestureNav: fix constant hand cursor 2017-05-06 02:15:45 +03:00
Yorik van Havre
297b20e9b5 Arch: small fix to last commit 2017-05-05 12:52:17 -03:00
Yorik van Havre
aa65230d4c Arch: Fixed multilayer wall colors + added control in wall creation panel + fixed default roles 2017-05-05 12:45:41 -03:00
Yorik van Havre
37a62b4096 Draft: Fixed snapping to intersection of Arch axes 2017-05-05 10:42:48 -03:00
Abdullah Tahiri
2c5bc5d69a Exception: FUNCSIG instead of PRETTY_FUNCTION for Microsoft compiler 2017-05-05 15:15:49 +02:00
wwmayer
af2f37e5bb Merge pull request #733 from triplus/BootPhase
Boot phase reference point
2017-05-05 13:55:51 +02:00
triplus
bd64f4c038 Boot phase reference point 2017-05-04 20:03:34 +02:00
looooo
bf5f3484f6 Test: simplified command to run single test 2017-05-04 00:19:37 +02:00
Abdullah Tahiri
1091511c77 Base::Exception extension
=========================

1. Enable automatic storing of information (function, file, line) when throwing the exception via macro:

Examples:

THROWM(Exception, "BSpline GeoId is out of bounds.")
THROWM(ValueError, "BSpline GeoId is out of bounds.")

THROW(AbortException)

Output:

a) Python Console (what()):
App.ActiveDocument.Sketch004.modifyBSplineKnotMultiplicity(16,3,0)
Traceback (most recent call last):
File "<input>", line 1, in <module>
Base.FreeCADError: FreeCAD exception thrown (BSpline GeoId is out of bounds.)

b) ReportException (report()):
Exception (Thu Apr 27 19:15:24 2017): BSpline GeoId is out of bounds. in bool Sketcher::SketchObject::modifyBSplineKnotMultiplicity(int, int, int) in src/Mod/Sketcher/App/SketchObject.cpp:4102

2. Extend the basic framework so as to allow more control over the mangling of the message introduced by the user, setting the basis to allow, where needed,
 to preserve the original message while allowing full legacy behaviour.

3. Supporting FileDialog reporting as legacy
2017-05-03 22:08:10 +02:00
Abdullah Tahiri
c974e9d752 Exception: Add CADKernelError exception for specialized OCC exception propagation to App::DocumentObject 2017-05-03 22:08:10 +02:00
wmayer
378a1e4f58 Qt5: workaround for undocking of mdi view
fix minor issues reported by clang static analyzer
2017-05-03 22:01:46 +02:00
wwmayer
1a9c878b60 Merge pull request #729 from DeepSOIC/PickRadius_fix1
PickRadius support for View3DPy.getObjectInfo()
2017-05-03 17:59:47 +02:00
Yorik van Havre
0fc9e2be04 Arch Multimaterial 2017-05-03 11:52:24 -03:00
DeepSOIC
b4b882fb5b Gui: PickRadius support for View3DPy.getObjectInfo()
requested by Chris_G in forum thread "ActiveView.getObjectInfo ignores
pickRadius ?"
https://forum.freecadweb.org/viewtopic.php?f=22&t=22196
2017-05-03 16:51:36 +03:00
Keith Sloan
a328e1fe73 Support of OpenSCAD offset command 2017-05-02 15:53:30 +02:00
wwmayer
192dbf1f08 Merge pull request #725 from m0n5t3r/path-helix-sort-duplicates
[path] Remove duplicate first drill job in PathHelix
2017-05-02 13:51:27 +02:00
Sabin Iacob
6acbdad01d [path] Remove duplicate first drill job in PathHelix 2017-05-02 07:10:00 +03:00
Abdullah Tahiri
7bee2c5412 Sketcher: Visualization of horizontal alignment constraint 2017-05-01 23:35:13 +02:00
Abdullah Tahiri
40c6d4be1a Sketcher: Vertical alignment constraint command 2017-05-01 22:39:37 +02:00
Abdullah Tahiri
cfc2d86c2e Sketcher: Horizontal alignment constraint command 2017-05-01 22:39:08 +02:00
wmayer
d02a34c03b Qt5 port: workaround to keep multi-sampling when undocking mdi window 2017-05-01 18:53:58 +02:00
wmayer
9ec00ebce8 correct method name 2017-05-01 17:51:19 +02:00
wmayer
ad06765804 if set display node name in scene inspector panel 2017-05-01 17:45:42 +02:00
wmayer
f76a9a773e add SwitchBoard node class 2017-05-01 17:42:03 +02:00
wmayer
d679bba659 Revert "Sketcher: Constraint Node restructuring to enable independent hidding of driving/driven constraints"
This reverts commit 5b2e2b3d2f.
2017-05-01 16:17:20 +02:00
wmayer
7628f2bbb6 Revert "Sketcher: Edit Controls' checkboxes to independently hide/show driving/non-driving constraints"
This reverts commit 03a9d58db6.
2017-05-01 16:16:49 +02:00
wmayer
d25d7a2be2 Revert "Sketcher: hidding constraints - fix entry into empty sketch"
This reverts commit e94a86dd70.
2017-05-01 16:16:13 +02:00
Abdullah Tahiri
e94a86dd70 Sketcher: hidding constraints - fix entry into empty sketch 2017-04-30 10:06:15 +02:00
Abdullah Tahiri
03a9d58db6 Sketcher: Edit Controls' checkboxes to independently hide/show driving/non-driving constraints 2017-04-30 10:06:15 +02:00
Abdullah Tahiri
5b2e2b3d2f Sketcher: Constraint Node restructuring to enable independent hidding of driving/driven constraints 2017-04-30 10:06:15 +02:00
Sabin Iacob
0556edf6f6 [path] Make PathHelix use the new tool controllers 2017-04-30 10:05:18 +02:00
wwmayer
d31bbd2090 Merge pull request #719 from m0n5t3r/path-helix-sort
[path] Sort helix drill jobs to improve efficiency
2017-04-30 10:02:34 +02:00
Sabin Iacob
bac7aa9d64 [path] Sort helix drill jobs to improve efficiency 2017-04-29 11:06:41 +03:00
wmayer
38388cf650 remove undesired virtual keyword from ViewProviderPythonFeatureImp 2017-04-28 21:15:53 +02:00
Yorik van Havre
765e164b0b Gui: implemented isShow() for python viewproviders 2017-04-28 15:03:47 -03:00
Keith Sloan
6ffe8837c4 Fix for null string and single blank string 2017-04-28 19:59:29 +02:00
wmayer
18f723cb03 use specialized Python exception classes 2017-04-28 19:33:51 +02:00
wmayer
1673ab801e use specialized exception classes 2017-04-28 18:49:11 +02:00
Keith Sloan
26be4cf112 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2017-04-28 17:04:56 +01:00
Keith Sloan
3b7ca72d3c Remove OpenSCAD run time file 2017-04-28 16:39:18 +01:00
Abdullah Tahiri
0a32b91b6b Convert OCC exceptions into Base::Runtime exceptions for App:DocumentObject handling 2017-04-28 15:46:49 +02:00
Abdullah Tahiri
e3b47cac97 Correct copy-paste typos in exception throwing 2017-04-28 15:46:30 +02:00