Commit Graph

18 Commits

Author SHA1 Message Date
wmayer
92c3165df3 fix possible crash in destructor of FeaturePythonPyT template 2017-01-21 13:25:26 +01:00
wmayer
025cf18714 do not allow to delete properties in FeaturePythonPyT 2016-11-10 23:57:41 +01:00
wmayer
7f96119321 fix regression in FeaturePythonPyT 2016-11-10 21:43:01 +01:00
wmayer
53815e7aed use only Python API for FeaturePythonPyT 2016-11-10 13:37:30 +01:00
wmayer
10bb1d6fea make FeaturePythonPyT more flexible 2016-11-09 22:02:42 +01:00
wmayer
76279882da move handling of dynamic properties from FeaturePythonPyT to DocumentObjectPy 2016-11-09 16:09:21 +01:00
wmayer
3e2400aec1 dynamic properties:
+ move addProperty, removeProperty and supportedProperties from FeaturePythonPyT to DocumentObjectPy
2016-11-09 10:35:49 +01:00
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