Commit Graph

24 Commits

Author SHA1 Message Date
wmayer
c8abd4a6d4 Part: modernize C++: return braced init list 2023-08-19 11:35:41 +02:00
luz paz
2f1ff7928b Part: remove trailing whitespace 2022-11-15 14:19:30 -06:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +02:00
wmayer
b6494085b4 Part: replace PyObject_IsTrue with Base::asBoolean 2022-07-16 13:31:10 +02:00
Uwe
8dd7fb8be1 [Part] [Skip CI] BRepOffsetAPI_MakePipeShellPyImp: re-add an include 2022-07-09 04:12:32 +02:00
Uwe
9694ac0297 [Part] B*: remove unneeded includes
- also sort includes
2022-07-09 03:52:17 +02:00
andrea
c66aadeb60 removed references to OCC<7 2022-06-25 14:29:24 +02:00
wmayer
6d2d45ceb7 Part: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
tomate44
a570804ea0 add simulate function to MakePipeShell 2018-03-02 10:47:45 -03:00
wmayer
0d617f97d6 Port to occ7.2:
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +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
wmayer
e13b810954 fix warning of unused variable 2017-04-08 12:58:06 +02:00
tomate44
bcd2a0f394 add doc and a couple of new methods to MakePipeShell 2017-03-29 19:47:52 +02:00
wmayer
d5e9afa52b py3: ported Part to python3 2017-03-01 16:38:53 +01:00
wmayer
7d38edb065 fix -Wextra in Part 2016-09-22 11:49:28 +02:00
Wolfgang E. Sanyer
d1d2f1f811 This commit adds getShape and setShape to TopoShape 2016-08-06 23:42:55 +02:00
Sebastian Hoogen
af50cbf964 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
d94b11d255 + Fix OCC 6.7 build failure 2013-12-28 12:22:31 +01:00
wmayer
583a830b92 + Fix compiler warnings with OCC 6.6 2013-12-05 23:06:13 +01:00
wmayer
8189b9a869 Do not pass 0 to PyObject_IsTrue 2012-12-30 23:16:56 +01:00
wmayer
1cdcbfa77a Use PyObject_IsTrue to check argument 2012-12-29 15:59:54 +01:00
wmayer
335ee05d3f 0000646: Expose BRepOffsetAPI_MakePipeShell to python 2012-05-05 16:19:39 +02:00
wmayer
310f708478 0000646: Expose BRepOffsetAPI_MakePipeShell to python 2012-05-05 16:11:41 +02:00