]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Renaming Fill in Split : Dump
authorClarisse GENRAULT - DEN/DANS/DM2S/STMF/LGLS - 2012/10/01 <cg246364@is231796.intra.cea.fr>
Thu, 7 Mar 2019 08:07:34 +0000 (09:07 +0100)
committerClarisse GENRAULT - DEN/DANS/DM2S/STMF/LGLS - 2012/10/01 <cg246364@is231796.intra.cea.fr>
Thu, 7 Mar 2019 08:07:34 +0000 (09:07 +0100)
src/FeaturesAPI/FeaturesAPI_BooleanFill.cpp
src/FeaturesAPI/FeaturesAPI_BooleanFill.h
src/PythonAPI/model/features/__init__.py

index 1d4b4d7e07c3a0c55a45026f3524419d83301942..2a832ec6fd7dda38942b1cb41fc8ecc9ee308154 100644 (file)
@@ -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<ModelAPI_Document>& thePart,
-                       const std::list<ModelHighAPI_Selection>& theMainObjects,
-                       const std::list<ModelHighAPI_Selection>& theToolObjects)
+BooleanFillPtr addSplit(const std::shared_ptr<ModelAPI_Document>& thePart,
+                        const std::list<ModelHighAPI_Selection>& theMainObjects,
+                        const std::list<ModelHighAPI_Selection>& theToolObjects)
 {
   std::shared_ptr<ModelAPI_Feature> aFeature = thePart->addFeature(FeaturesAPI_BooleanFill::ID());
   return BooleanFillPtr(new FeaturesAPI_BooleanFill(aFeature,
index 14055dc258bfade13801a680050738aa9c48ffaa..75f075a2e3a637c73b591e12e41dceae121a2258 100644 (file)
@@ -75,8 +75,8 @@ typedef std::shared_ptr<FeaturesAPI_BooleanFill> BooleanFillPtr;
 /// \ingroup CPPHighAPI
 /// \brief Create Boolean Fill feature.
 FEATURESAPI_EXPORT
-BooleanFillPtr addFill(const std::shared_ptr<ModelAPI_Document>& thePart,
-                       const std::list<ModelHighAPI_Selection>& theMainObjects,
-                       const std::list<ModelHighAPI_Selection>& theToolObjects);
+BooleanFillPtr addSplit(const std::shared_ptr<ModelAPI_Document>& thePart,
+                        const std::list<ModelHighAPI_Selection>& theMainObjects,
+                        const std::list<ModelHighAPI_Selection>& theToolObjects);
 
 #endif // FeaturesAPI_BooleanFill_H_
index 5eea8ffc2bd312c03984d7d521718114b680f3b9..3e1e6bdc65b25016c4418e7b5a83e7313bd4c041 100644 (file)
@@ -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