Part: expose ShapeFix_EdgeConnect to Python

This commit is contained in:
wmayer
2022-05-04 19:19:46 +02:00
parent 2463186b80
commit 8157689029
4 changed files with 153 additions and 0 deletions

View File

@@ -102,6 +102,7 @@
#include <Mod/Part/App/RectangularTrimmedSurfacePy.h>
#include <Mod/Part/App/ShapeFix/ShapeFix_RootPy.h>
#include <Mod/Part/App/ShapeFix/ShapeFix_EdgePy.h>
#include <Mod/Part/App/ShapeFix/ShapeFix_EdgeConnectPy.h>
#include <Mod/Part/App/ShapeFix/ShapeFix_FacePy.h>
#include <Mod/Part/App/ShapeFix/ShapeFix_ShapePy.h>
#include <Mod/Part/App/ShapeFix/ShapeFix_ShellPy.h>
@@ -353,6 +354,7 @@ PyMOD_INIT_FUNC(Part)
Base::Interpreter().addType(&Part::ShapeFix_ShellPy::Type, shapeFix, "Shell");
Base::Interpreter().addType(&Part::ShapeFix_SolidPy::Type, shapeFix, "Solid");
Base::Interpreter().addType(&Part::ShapeFix_WirePy::Type, shapeFix, "Wire");
Base::Interpreter().addType(&Part::ShapeFix_EdgeConnectPy::Type, shapeFix, "EdgeConnect");
// ShapeUpgrade sub-module
PyObject* shapeUpgrade(module.getAttr("ShapeUpgrade").ptr());