Part/Sketcher - Construction Migration - step 3: Removal of Geometry construction data member

=============================================================================================

This commits removes the Geometry construction data member and adapts sketcher code to use
GeometryFacade to access construction information via the SketchGeometryExtension.
This commit is contained in:
Abdullah Tahiri
2020-12-01 18:04:26 +01:00
committed by abdullahtahiriyo
parent 850a71d3c7
commit 994bd9d92b
12 changed files with 130 additions and 134 deletions

View File

@@ -433,17 +433,6 @@ PyObject* GeometryPy::getExtensions(PyObject *args)
}
Py::Boolean GeometryPy::getConstruction(void) const
{
return Py::Boolean(getGeometryPtr()->getConstruction());
}
void GeometryPy::setConstruction(Py::Boolean arg)
{
if (getGeometryPtr()->getTypeId() != Part::GeomPoint::getClassTypeId())
getGeometryPtr()->setConstruction(arg);
}
Py::String GeometryPy::getTag(void) const
{
std::string tmp = boost::uuids::to_string(getGeometryPtr()->getTag());