Commit Graph

11 Commits

Author SHA1 Message Date
wmayer
71df967fdf fix -Wextra in FreeCADApp 2016-09-21 16:05:36 +02:00
wmayer
3f2264dc4d fix regression with unicode support 2016-09-08 16:08:01 +02:00
wmayer
52aef7348f support of unicode for doc string, fix memory leak 2016-09-07 12:18:57 +02:00
Yorik van Havre
66e719f3f5 Allow to use an encoded doc string in FeaturePython::addProperty 2016-02-12 20:47:11 -02:00
wmayer
e7a3dc48e8 + support of Python feature classes without an execute() method
+ if execute() method of Python feature is missing or if it returns false call the execute() method of the C++ feature
+ fix SketchObjectPython
2015-10-21 00:22:40 +02:00
wmayer
1059ff14fc + register python type if its dict doesn't exist 2015-09-25 00:51:38 +02:00
Sebastian Hoogen
ed66ada1cf issue #1700 replace PyExc_Exception 2014-09-17 11:15:57 +02:00
Sebastian Hoogen
5e51a6cdf7 fixes #0001422: Subclass Exception
inherit Base.FreeCADError form RuntimeError
inherit Part.OCCError from Base.FreeCADError
inherit OCCDomainError from Part.OCCError
inherit OCCRangeError from Part.OCCError
inherit OCCConstructionError from OCCDomainError
inherit OCCDimensionError from OCCDomainError
Added PY_CATCH_OCC macro
replace PyExc_Exception
use FreeCADError in makeWireString
catch exception in BSplineCurve.increasedegree
2014-09-17 11:15:56 +02:00
wmayer
24f559be9a Show dynamically added methods in calltips list 2013-03-24 13:29:13 +01:00
wmayer
295f6c3058 Allow to add methods at runtime to FeaturePython objects 2013-03-23 22:09:33 +01:00
wmayer
ce0e6e5cef Make FeaturePython Python binding a template class to avoid code duplication 2013-03-22 00:34:18 +01:00