Part: expose ShapeFix and ShapeFix_Face to Python
This commit is contained in:
@@ -101,6 +101,7 @@
|
||||
#include <Mod/Part/App/PrecisionPy.h>
|
||||
#include <Mod/Part/App/RectangularTrimmedSurfacePy.h>
|
||||
#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/ShapeUpgrade/UnifySameDomainPy.h>
|
||||
#include "Mod/Part/App/SpherePy.h"
|
||||
@@ -342,6 +343,7 @@ PyMOD_INIT_FUNC(Part)
|
||||
// ShapeFix sub-module
|
||||
PyObject* shapeFix(module.getAttr("ShapeFix").ptr());
|
||||
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");
|
||||
|
||||
// ShapeUpgrade sub-module
|
||||
|
||||
Reference in New Issue
Block a user