Commit Graph

11103 Commits

Author SHA1 Message Date
wmayer
f3e722c6de in Python console check if exception is dict and set more readable text 2017-05-17 19:37:34 +02:00
looooo
b1e3777834 vs 2013 has already version info grater 18 2017-05-17 16:39:28 +02:00
Yorik van Havre
7114667d64 py3: Base: files A-I ported to python3
issue 0000995
2017-05-17 16:39:28 +02:00
Keith Sloan
22cbd5b825 Fix for cylinder with polygon number as a decimal 2017-05-17 11:24:29 -03:00
Yorik van Havre
6ba7a109f8 Merge pull request #758 from KeithSloan/zero-rad
Fix for circle with zero radius
2017-05-17 11:22:57 -03:00
Keith Sloan
8904d65aab Fix for circlee with zero radius 2017-05-17 05:45:55 +01:00
Keith Sloan
ca4884625d Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2017-05-17 05:36:19 +01:00
wmayer
1be8c73dca handle possible exceptions from onDocumentRestored() 2017-05-16 23:48:55 +02:00
wmayer
4d7554197e fix crash when Part model changes with VBO activated 2017-05-16 19:30:13 +02:00
wmayer
f66562942c issue #0003025: Unhandled unknown exception caught in GUIApplication::notify when opening file 2017-05-16 10:37:34 +02:00
wmayer
e02db451dd fix crash when Part model changes with VBO activated 2017-05-16 06:03:22 +02:00
wmayer
dc413acc42 fix build failure and make Py2/Py3 specific change 2017-05-15 22:36:21 +02:00
wmayer
7d47a723fb Fix various issues:
+ fix dangling pointers when fetching Python error text
+ initialize members in overloaded constructors of Exception class
+ implement assignment operator in sub-class
+ move to PyCXX API to simplify handling with reference counting and reading values from the dict
2017-05-15 18:49:09 +02:00
looooo
869e42e062 try to repair add-on manager 2017-05-15 12:21:14 +02:00
Zheng, Lei
fa00b4f06a Path.Area: use FC tag based logging 2017-05-13 18:52:09 +02:00
Zheng, Lei
dbbc32d3af Console: fix getLogLevel 2017-05-13 17:46:38 +02:00
Zheng, Lei
a6abf0b25a Console: added tag based log support 2017-05-13 17:46:38 +02:00
wmayer
2fa2370ef1 remove const from exception handler to fix build failure 2017-05-13 17:33:13 +02:00
wmayer
4971818321 fix -Woverloaded-virtual 2017-05-13 16:46:49 +02:00
wmayer
ff82e88413 remove commented code 2017-05-13 16:09:30 +02:00
wmayer
017752b9d8 improve whitespaces and reduce code duplication 2017-05-13 16:00:32 +02:00
wmayer
33bed8d412 remove export macro from template class to fix linker errors on Windows 2017-05-13 15:48:17 +02:00
Abdullah Tahiri
a7bc962ce5 Renaming getPyDict to getPyObject for consistency with BaseClass 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
b410f8857c Enable exceptions to save/restore information in a python dictionary and enable throwing exception from dictionary information 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
9c698f1710 Exception Factory pre-compiled header 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
80c91a5de7 SketchObject:ModifyBSplineKnotMultiplicity re
written to use THROW macro and CADKernelError exception
2017-05-13 15:27:57 +02:00
Abdullah Tahiri
db8511883c Enable PyException to reconstruct the original exception 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
9a5f782399 pytools fix 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
d28424933a Extend PyTools to export exception dictionary if present 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
fbca57bd36 Use PyErr_setObject with a PyDict to set Base::Exception information to BaseFreeCADError Python exception 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
ea725a8b7a Register exception producers in Application 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
fe0c4987b6 Exception Factory and producers 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
57698ef73c Provide default constructors for all exception types 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
d7fafbf5a6 Exception: Extension to access debug information and change of line to int type 2017-05-13 15:27:57 +02:00
Zheng, Lei
39025e4316 Path.Area: fix projection code for OCE 2017-05-13 14:36:42 +02:00
Zheng, Lei
d4c0813e31 Path.Area: fix work plane direction 2017-05-13 14:36:42 +02:00
Zheng, Lei
a0e280e961 Path.Area: outline now supports solid and non-planar faces 2017-05-13 14:36:42 +02:00
Zheng, Lei
dd36a9fc45 Path.Area: force CW orientation on pocket mode offset 2017-05-13 14:36:42 +02:00
Zheng, Lei
997200d3b4 Path.Area: add parameter 'Outline' to remove inner holes 2017-05-13 14:36:42 +02:00
Zheng, Lei
9120d6db77 Path.Area: fix path orientation setting 2017-05-13 14:36:42 +02:00
Zheng, Lei
2d23673dd5 Path.Area: rename Clearance parameter to ResumeHeight 2017-05-13 14:36:42 +02:00
Zheng, Lei
a1e8bb13eb Path.Area: fixed zigzag pocket mode 2017-05-13 14:36:42 +02:00
wmayer
e97d9c3721 add keyword support to MakePipeShell.add, support overloaded method 2017-05-13 14:12:37 +02:00
wmayer
9b28b563ce exception handling in BRepOffsetAPI_MakePipeShellPy 2017-05-13 13:28:31 +02:00
Jeff Terrace
36c60d3f8d Use xrange instead of range when exporting to collada.
This avoids creating a giant temporary list for large meshes.
2017-05-12 09:28:54 -07:00
Keith Sloan
781fa78f3c Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2017-05-12 14:28:25 +01:00
Bruce B. Lacey
42d6b1b1c9 Specify Eigen3 include path on macOS
* Orocos KDL depends upon Eigen 3.2, an older version than
    the Homebrew default, requiring that the EIGEN3_INCLUDE_DIR
    be specified to cmake providing the Eigen3 include path
2017-05-11 23:06:05 -07:00
wmayer
a8bd3e95e5 fix creation of NaN that invalidates the view frustum 2017-05-12 08:05:12 +02:00
wmayer
32176dba86 fix possible freeze when creating sketch grid 2017-05-11 23:34:01 +02:00
Keith Sloan
1e04f7da75 Fix for linear_extrude request of null object i.e. null text 2017-05-11 20:21:54 +02:00