-// Copyright (C) 2019-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2019-2020 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
setImpl(aParal);
setBuilderType(OCCT_BRepBuilderAPI_MakeShape);
- aParal->Init(aFace, GeomAbs_Arc, Standard_True);
+ Standard_Boolean isOpenResult = !aWire.Closed();
+ aParal->Init(aFace, GeomAbs_Arc, isOpenResult);
aParal->Perform(theOffsetValue, 0.);
if (aParal->IsDone()) {
TopoDS_Shape anOffset = aParal->Shape();