0000646: Expose BRepOffsetAPI_MakePipeShell to python

This commit is contained in:
wmayer
2012-05-05 16:11:41 +02:00
parent 7b2e15bedf
commit c9fa928b80
5 changed files with 368 additions and 0 deletions

View File

@@ -74,6 +74,7 @@
#include "SurfaceOfExtrusionPy.h"
#include "SurfaceOfRevolutionPy.h"
#include "ToroidPy.h"
#include "BRepOffsetAPI_MakePipeShellPy.h"
#include "PartFeaturePy.h"
#include "PropertyGeometryList.h"
@@ -125,6 +126,11 @@ void PartExport initPart()
Base::Interpreter().addType(&Part::PartFeaturePy ::Type,partModule,"Feature");
PyObject* brepModule = Py_InitModule3("BRepOffsetAPI", 0, "BrepOffsetAPI");
Py_INCREF(brepModule);
PyModule_AddObject(partModule, "BRepOffsetAPI", brepModule);
Base::Interpreter().addType(&Part::BRepOffsetAPI_MakePipeShellPy::Type,brepModule,"MakePipeShell");
Part::TopoShape ::init();
Part::PropertyPartShape ::init();
Part::PropertyGeometryList ::init();