Part: [skip ci] expose ShapeUpgrade_UnifySameDomain to Python
This commit is contained in:
@@ -128,6 +128,7 @@
|
||||
#include <Mod/Part/App/GeomPlate/BuildPlateSurfacePy.h>
|
||||
#include <Mod/Part/App/GeomPlate/CurveConstraintPy.h>
|
||||
#include <Mod/Part/App/GeomPlate/PointConstraintPy.h>
|
||||
#include <Mod/Part/App/ShapeUpgrade/UnifySameDomainPy.h>
|
||||
#include "PropertyGeometryList.h"
|
||||
#include "DatumFeature.h"
|
||||
#include "Attacher.h"
|
||||
@@ -427,6 +428,10 @@ PyMOD_INIT_FUNC(Part)
|
||||
Base::Interpreter().addType(&Part::CurveConstraintPy::Type, geomPlate, "CurveConstraint");
|
||||
Base::Interpreter().addType(&Part::PointConstraintPy::Type, geomPlate, "PointConstraint");
|
||||
|
||||
// ShapeUpgrade sub-module
|
||||
PyObject* shapeUpgrade(module.getAttr("ShapeUpgrade").ptr());
|
||||
Base::Interpreter().addType(&Part::UnifySameDomainPy::Type, shapeUpgrade, "UnifySameDomain");
|
||||
|
||||
Part::TopoShape ::init();
|
||||
Part::PropertyPartShape ::init();
|
||||
Part::PropertyGeometryList ::init();
|
||||
|
||||
Reference in New Issue
Block a user