+ PLate surface approximation

This commit is contained in:
wmayer
2015-11-19 18:52:19 +01:00
parent 13e2b24ddf
commit c8e241c9f3
4 changed files with 122 additions and 5 deletions

View File

@@ -112,6 +112,7 @@
#include "ConePy.h"
#include "CylinderPy.h"
#include "OffsetSurfacePy.h"
#include "PlateSurfacePy.h"
#include "PlanePy.h"
#include "RectangularTrimmedSurfacePy.h"
#include "SpherePy.h"
@@ -3328,8 +3329,7 @@ void GeomPlateSurface::Restore(Base::XMLReader &/*reader*/)
PyObject *GeomPlateSurface::getPyObject(void)
{
throw Base::NotImplementedError("GeomPlateSurface::getPyObject");
// return new PlateSurfacePy(static_cast<GeomPlateSurface*>(this->clone()));
return new PlateSurfacePy(static_cast<GeomPlateSurface*>(this->clone()));
}
// -------------------------------------------------