Part: GeometryStringExtension to extend a geometry by a string
This commit is contained in:
@@ -59,8 +59,10 @@
|
||||
#include "Geometry.h"
|
||||
#include "GeometryExtension.h"
|
||||
#include "GeometryIntExtension.h"
|
||||
#include "GeometryStringExtension.h"
|
||||
#include "Geometry2d.h"
|
||||
#include "Mod/Part/App/GeometryIntExtensionPy.h"
|
||||
#include "Mod/Part/App/GeometryStringExtensionPy.h"
|
||||
#include "Mod/Part/App/TopoShapePy.h"
|
||||
#include "Mod/Part/App/TopoShapeVertexPy.h"
|
||||
#include "Mod/Part/App/TopoShapeFacePy.h"
|
||||
@@ -357,6 +359,7 @@ PyMOD_INIT_FUNC(Part)
|
||||
Base::Interpreter().addType(&Attacher::AttachEnginePy ::Type,partModule,"AttachEngine");
|
||||
|
||||
Base::Interpreter().addType(&Part::GeometryIntExtensionPy ::Type,partModule,"GeometryIntExtension");
|
||||
Base::Interpreter().addType(&Part::GeometryStringExtensionPy ::Type,partModule,"GeometryStringExtension");
|
||||
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
static struct PyModuleDef BRepOffsetAPIDef = {
|
||||
@@ -484,6 +487,7 @@ PyMOD_INIT_FUNC(Part)
|
||||
// Geometry types
|
||||
Part::GeometryExtension ::init();
|
||||
Part::GeometryIntExtension ::init();
|
||||
Part::GeometryStringExtension ::init();
|
||||
Part::Geometry ::init();
|
||||
Part::GeomPoint ::init();
|
||||
Part::GeomCurve ::init();
|
||||
|
||||
Reference in New Issue
Block a user