Part: expose Poly HLR algorithm to Python
This commit is contained in:
@@ -144,6 +144,8 @@
|
||||
#include <Mod/Part/App/GeomPlate/PointConstraintPy.h>
|
||||
#include <Mod/Part/App/HLRBRep/HLRBRep_AlgoPy.h>
|
||||
#include <Mod/Part/App/HLRBRep/HLRToShapePy.h>
|
||||
#include <Mod/Part/App/HLRBRep/HLRBRep_PolyAlgoPy.h>
|
||||
#include <Mod/Part/App/HLRBRep/PolyHLRToShapePy.h>
|
||||
#include <Mod/Part/App/ShapeUpgrade/UnifySameDomainPy.h>
|
||||
#include "PropertyGeometryList.h"
|
||||
#include "DatumFeature.h"
|
||||
@@ -301,6 +303,8 @@ PyMOD_INIT_FUNC(Part)
|
||||
PyObject* hlrfeatModule(module.getAttr("HLRBRep").ptr());
|
||||
Base::Interpreter().addType(&Part::HLRBRep_AlgoPy::Type,hlrfeatModule,"Algo");
|
||||
Base::Interpreter().addType(&Part::HLRToShapePy::Type,hlrfeatModule,"HLRToShape");
|
||||
Base::Interpreter().addType(&Part::HLRBRep_PolyAlgoPy::Type,hlrfeatModule,"PolyAlgo");
|
||||
Base::Interpreter().addType(&Part::PolyHLRToShapePy::Type,hlrfeatModule,"PolyHLRToShape");
|
||||
|
||||
// Geom2d package
|
||||
PyObject* geom2dModule(module.getAttr("Geom2d").ptr());
|
||||
|
||||
Reference in New Issue
Block a user