Sketcher: New Feature: Hyperbola/ArcOfHyperbola
=============================================== - ArcOfHyperbola creation method - Solver representation (undefined moving) - SketchObjectPyImp (here we still miss the Part->Partdesign conversion) - Sketch validation for hyperbola - Hyperbola creation method: shows the "proof of concept", but it is very buggy!! Notes: - Missing icons, probably missing geo normal curve implementation - rebasing - - Fixes to adapt Hyperbola to Derivector implementation and make it compile
This commit is contained in:
@@ -112,6 +112,7 @@ PyObject* SketchObjectPy::addGeometry(PyObject *args)
|
||||
geo->getTypeId() == Part::GeomEllipse::getClassTypeId() ||
|
||||
geo->getTypeId() == Part::GeomArcOfCircle::getClassTypeId() ||
|
||||
geo->getTypeId() == Part::GeomArcOfEllipse::getClassTypeId() ||
|
||||
geo->getTypeId() == Part::GeomArcOfHyperbola::getClassTypeId() ||
|
||||
geo->getTypeId() == Part::GeomLineSegment::getClassTypeId()) {
|
||||
ret = this->getSketchObjectPtr()->addGeometry(geo,isConstruction);
|
||||
}
|
||||
@@ -163,6 +164,7 @@ PyObject* SketchObjectPy::addGeometry(PyObject *args)
|
||||
geo->getTypeId() == Part::GeomEllipse::getClassTypeId() ||
|
||||
geo->getTypeId() == Part::GeomArcOfCircle::getClassTypeId() ||
|
||||
geo->getTypeId() == Part::GeomArcOfEllipse::getClassTypeId() ||
|
||||
geo->getTypeId() == Part::GeomArcOfHyperbola::getClassTypeId() ||
|
||||
geo->getTypeId() == Part::GeomLineSegment::getClassTypeId()) {
|
||||
geoList.push_back(geo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user