Commit Graph

11098 Commits

Author SHA1 Message Date
Keith Sloan
a4e2dedb2a Fix for circlee with zero radius 2017-05-17 05:45:55 +01:00
Keith Sloan
9e1730ab7b Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2017-05-17 05:36:19 +01:00
wmayer
f8daae5eea handle possible exceptions from onDocumentRestored() 2017-05-16 23:48:55 +02:00
wmayer
11b187309b fix crash when Part model changes with VBO activated 2017-05-16 19:30:13 +02:00
wmayer
31710838d4 issue #0003025: Unhandled unknown exception caught in GUIApplication::notify when opening file 2017-05-16 10:37:34 +02:00
wmayer
f001c3e16b fix crash when Part model changes with VBO activated 2017-05-16 06:03:22 +02:00
wmayer
64d7cab373 fix build failure and make Py2/Py3 specific change 2017-05-15 22:36:21 +02:00
wmayer
1d8206acbf 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
38e313f0e0 try to repair add-on manager 2017-05-15 12:21:14 +02:00
Zheng, Lei
de2c826f86 Path.Area: use FC tag based logging 2017-05-13 18:52:09 +02:00
Zheng, Lei
f10431ba05 Console: fix getLogLevel 2017-05-13 17:46:38 +02:00
Zheng, Lei
f14ef7058d Console: added tag based log support 2017-05-13 17:46:38 +02:00
wmayer
3c85aaf0df remove const from exception handler to fix build failure 2017-05-13 17:33:13 +02:00
wmayer
f46e89a1ae fix -Woverloaded-virtual 2017-05-13 16:46:49 +02:00
wmayer
55173f6b15 remove commented code 2017-05-13 16:09:30 +02:00
wmayer
dc03118b4b improve whitespaces and reduce code duplication 2017-05-13 16:00:32 +02:00
wmayer
edbc56f48a remove export macro from template class to fix linker errors on Windows 2017-05-13 15:48:17 +02:00
Abdullah Tahiri
f4c0f0acae Renaming getPyDict to getPyObject for consistency with BaseClass 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
3a27e2d8ff 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
085acfac5e Exception Factory pre-compiled header 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
51e90dd52b SketchObject:ModifyBSplineKnotMultiplicity re
written to use THROW macro and CADKernelError exception
2017-05-13 15:27:57 +02:00
Abdullah Tahiri
053300cfa1 Enable PyException to reconstruct the original exception 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
ea2b6ee945 pytools fix 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
94a22e34de Extend PyTools to export exception dictionary if present 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
7049881d47 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
461da14787 Register exception producers in Application 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
1d6ebb0e40 Exception Factory and producers 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
8884a73b07 Provide default constructors for all exception types 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
82b9eba525 Exception: Extension to access debug information and change of line to int type 2017-05-13 15:27:57 +02:00
Zheng, Lei
17b988890d Path.Area: fix projection code for OCE 2017-05-13 14:36:42 +02:00
Zheng, Lei
16bf2eb737 Path.Area: fix work plane direction 2017-05-13 14:36:42 +02:00
Zheng, Lei
6f3104c6e3 Path.Area: outline now supports solid and non-planar faces 2017-05-13 14:36:42 +02:00
Zheng, Lei
b05bcbb6cb Path.Area: force CW orientation on pocket mode offset 2017-05-13 14:36:42 +02:00
Zheng, Lei
ea3d5b411f Path.Area: add parameter 'Outline' to remove inner holes 2017-05-13 14:36:42 +02:00
Zheng, Lei
fca09c949d Path.Area: fix path orientation setting 2017-05-13 14:36:42 +02:00
Zheng, Lei
67f8d77c4a Path.Area: rename Clearance parameter to ResumeHeight 2017-05-13 14:36:42 +02:00
Zheng, Lei
50d436c5a7 Path.Area: fixed zigzag pocket mode 2017-05-13 14:36:42 +02:00
wmayer
3855a06267 add keyword support to MakePipeShell.add, support overloaded method 2017-05-13 14:12:37 +02:00
wmayer
c98ab632e5 exception handling in BRepOffsetAPI_MakePipeShellPy 2017-05-13 13:28:31 +02:00
Jeff Terrace
1a906a9242 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
00915bbabf Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2017-05-12 14:28:25 +01:00
Bruce B. Lacey
4cf4a3954e 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
22473ae4a8 fix creation of NaN that invalidates the view frustum 2017-05-12 08:05:12 +02:00
wmayer
736cd735ca fix possible freeze when creating sketch grid 2017-05-11 23:34:01 +02:00
Keith Sloan
c37e13b76d Fix for linear_extrude request of null object i.e. null text 2017-05-11 20:21:54 +02:00
Keith Sloan
3d4f8091de Fix for linearextrude with twist 2017-05-11 20:17:26 +02:00
Richard Crozier
422328483e AppPartPy.cpp: improved docstrings for Part.makeLine and Part.makePolygon 2017-05-11 20:01:37 +02:00
looooo
df8826ac3b py3: AddonManager: use urllib.request insted of urllib2
issue 0000995
2017-05-11 19:50:43 +02:00
wmayer
7394ab7277 minor fixes for pr749 2017-05-11 19:47:54 +02:00
looooo
e6202f46e9 py3: App: files D-Z ported to python3
issue 0000995
diff to py3-branch will remain in the following files in src/App:
- ExtensionContainer.cpp
- FeaturePythonPyImp.h +.inl
most likely these files depend on Tools and Base
2017-05-11 19:19:17 +02:00