Part: expose ShapeFix_Wire to Python
This commit is contained in:
@@ -103,6 +103,7 @@
|
||||
#include <Mod/Part/App/ShapeFix/ShapeFix_RootPy.h>
|
||||
#include <Mod/Part/App/ShapeFix/ShapeFix_FacePy.h>
|
||||
#include <Mod/Part/App/ShapeFix/ShapeFix_ShellPy.h>
|
||||
#include <Mod/Part/App/ShapeFix/ShapeFix_WirePy.h>
|
||||
#include <Mod/Part/App/ShapeUpgrade/UnifySameDomainPy.h>
|
||||
#include "Mod/Part/App/SpherePy.h"
|
||||
#include "Mod/Part/App/SurfaceOfExtrusionPy.h"
|
||||
@@ -345,6 +346,7 @@ PyMOD_INIT_FUNC(Part)
|
||||
Base::Interpreter().addType(&Part::ShapeFix_RootPy::Type, shapeFix, "Root");
|
||||
Base::Interpreter().addType(&Part::ShapeFix_FacePy::Type, shapeFix, "Face");
|
||||
Base::Interpreter().addType(&Part::ShapeFix_ShellPy::Type, shapeFix, "Shell");
|
||||
Base::Interpreter().addType(&Part::ShapeFix_WirePy::Type, shapeFix, "Wire");
|
||||
|
||||
// ShapeUpgrade sub-module
|
||||
PyObject* shapeUpgrade(module.getAttr("ShapeUpgrade").ptr());
|
||||
|
||||
Reference in New Issue
Block a user