Yorik van Havre
9fe7b89ff0
Draft: Allow to set the Working Plane from 3 selected vertices
2017-05-20 00:53:11 -03:00
wmayer
3d8eba966b
fix build failure if VTK is not enabled
2017-05-19 12:53:31 +02:00
wmayer
1902adf710
fix crash caused by PR761
2017-05-18 19:44:10 +02:00
wmayer
b99b0eb65b
fix crash in pipeline command
2017-05-18 18:40:56 +02:00
wmayer
583574dfcc
Add Python wrapper for pipeline object
2017-05-18 18:40:25 +02:00
wmayer
831ceae546
py3: port PR changes to be compatible with Py3
2017-05-18 16:25:13 +02:00
Keith Sloan
13f7ca7f2d
Fix for Polyhedron with faces
2017-05-18 16:18:53 +02:00
Yorik van Havre
0bc16d353b
py3: Base: files I-R ported to python3
...
PyObjectBase.cpp and PyObjectBase.h not included
issue 0000995
2017-05-18 16:00:05 +02:00
looooo
dc01180b78
py3: define xrange for python3
...
this is done in files where the xrange is used.
replace this with range once python2 is not supported anymore.
issue 0000995
2017-05-18 15:56:09 +02:00
lorenz
f10289058f
StringIO/ io fix for addonmanager
...
io.StringIO handles unicode in py2 and 3. StringIO.StringIO handles str in python2
2017-05-18 15:56:09 +02:00
wmayer
982d73d93b
extend error text set in Python console by additional information if present
2017-05-17 19:59:17 +02:00
wmayer
75652c247e
in Python console check if exception is dict and set more readable text
2017-05-17 19:37:34 +02:00
looooo
1355495f07
vs 2013 has already version info grater 18
2017-05-17 16:39:28 +02:00
Yorik van Havre
ccebc7d16b
py3: Base: files A-I ported to python3
...
issue 0000995
2017-05-17 16:39:28 +02:00
Keith Sloan
80d1231068
Fix for cylinder with polygon number as a decimal
2017-05-17 11:24:29 -03:00
Yorik van Havre
d8a375287c
Merge pull request #758 from KeithSloan/zero-rad
...
Fix for circle with zero radius
2017-05-17 11:22:57 -03:00
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