From: Clarisse GENRAULT - DEN/DANS/DM2S/STMF/LGLS - 2012/10/01 Date: Thu, 7 Mar 2019 08:07:34 +0000 (+0100) Subject: Renaming Fill in Split : Dump X-Git-Tag: V9_3_0b1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6c8e8070d5f12f03cb0dd44791872bd2fd820926;p=modules%2Fshaper.git Renaming Fill in Split : Dump --- diff --git a/src/FeaturesAPI/FeaturesAPI_BooleanFill.cpp b/src/FeaturesAPI/FeaturesAPI_BooleanFill.cpp index 1d4b4d7e0..2a832ec6f 100644 --- a/src/FeaturesAPI/FeaturesAPI_BooleanFill.cpp +++ b/src/FeaturesAPI/FeaturesAPI_BooleanFill.cpp @@ -75,7 +75,7 @@ void FeaturesAPI_BooleanFill::dump(ModelHighAPI_Dumper& theDumper) const { FeaturePtr aBase = feature(); - theDumper << aBase << " = model.addFill"; + theDumper << aBase << " = model.addSplit"; const std::string& aDocName = theDumper.name(aBase->document()); AttributeSelectionListPtr anObjects = @@ -87,9 +87,9 @@ void FeaturesAPI_BooleanFill::dump(ModelHighAPI_Dumper& theDumper) const } //================================================================================================== -BooleanFillPtr addFill(const std::shared_ptr& thePart, - const std::list& theMainObjects, - const std::list& theToolObjects) +BooleanFillPtr addSplit(const std::shared_ptr& thePart, + const std::list& theMainObjects, + const std::list& theToolObjects) { std::shared_ptr aFeature = thePart->addFeature(FeaturesAPI_BooleanFill::ID()); return BooleanFillPtr(new FeaturesAPI_BooleanFill(aFeature, diff --git a/src/FeaturesAPI/FeaturesAPI_BooleanFill.h b/src/FeaturesAPI/FeaturesAPI_BooleanFill.h index 14055dc25..75f075a2e 100644 --- a/src/FeaturesAPI/FeaturesAPI_BooleanFill.h +++ b/src/FeaturesAPI/FeaturesAPI_BooleanFill.h @@ -75,8 +75,8 @@ typedef std::shared_ptr BooleanFillPtr; /// \ingroup CPPHighAPI /// \brief Create Boolean Fill feature. FEATURESAPI_EXPORT -BooleanFillPtr addFill(const std::shared_ptr& thePart, - const std::list& theMainObjects, - const std::list& theToolObjects); +BooleanFillPtr addSplit(const std::shared_ptr& thePart, + const std::list& theMainObjects, + const std::list& theToolObjects); #endif // FeaturesAPI_BooleanFill_H_ diff --git a/src/PythonAPI/model/features/__init__.py b/src/PythonAPI/model/features/__init__.py index 5eea8ffc2..3e1e6bdc6 100644 --- a/src/PythonAPI/model/features/__init__.py +++ b/src/PythonAPI/model/features/__init__.py @@ -24,7 +24,7 @@ from FeaturesAPI import addMultiTranslation, addMultiRotation from FeaturesAPI import addExtrusion, addExtrusionCut, addExtrusionFuse from FeaturesAPI import addRevolution, addRevolutionCut, addRevolutionFuse from FeaturesAPI import addPipe -from FeaturesAPI import addCut, addFuse, addCommon, addSmash, addFill +from FeaturesAPI import addCut, addFuse, addCommon, addSmash, addSplit from FeaturesAPI import addIntersection, addPartition, addUnion, addRemoveSubShapes from FeaturesAPI import addRecover from FeaturesAPI import addFillet