0000646: Expose BRepOffsetAPI_MakePipeShell to python
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user