AttributeSelectionPtr anExternal = aBase->selection(SketchPlugin_SketchEntity::EXTERNAL_ID());
if (anExternal->context()) {
// circle is external
- theDumper << aBase << " = " << aSketchName << ".addEllipticArc(" << anExternal << ")" << std::endl;
+ theDumper << aBase << " = " << aSketchName << ".addEllipticArc("
+ << anExternal << ")" << std::endl;
} else {
// ellipse given by center, focus and radius
theDumper << aBase << " = " << aSketchName << ".addEllipticArc("
fillAttribute(aPoint, thePointAttr);
}
-SketchAPI_MacroEllipticArc::SketchAPI_MacroEllipticArc(const std::shared_ptr<ModelAPI_Feature>& theFeature)
+SketchAPI_MacroEllipticArc::SketchAPI_MacroEllipticArc(const FeaturePtr& theFeature)
: SketchAPI_MacroEllipse(theFeature)
{
}