]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #18352 : EDF - error when re-opening an HDF splitted pipe.
authormpv <mpv@opencascade.com>
Tue, 26 Nov 2019 11:32:01 +0000 (14:32 +0300)
committermpv <mpv@opencascade.com>
Tue, 26 Nov 2019 11:32:01 +0000 (14:32 +0300)
The problem is that path was not concealed by the pipe, but used in the history generation algorithm.

src/FeaturesPlugin/pipe_widget.xml
src/GeomAlgoAPI/GeomAlgoAPI_UnifySameDomain.cpp

index 6211dbc25a09b5c6472494c8c89f30dfa49f49cb..ce17e7cd1aab1a4ecbdfa1914a1c1a844c49d7d1 100644 (file)
@@ -10,7 +10,8 @@
   <shape_selector id="path_object"
                   label="Path object:"
                   tooltip="Select an edge or wire for path"
-                  shape_types="edge wire">
+                  shape_types="edge wire"
+                  concealment="true">
     <validator id="FeaturesPlugin_ValidatorPipePath"/>
   </shape_selector>
   <toolbox id="creation_method">
@@ -19,7 +20,8 @@
       <shape_selector id="binormal"
                       label="Bi-Normal:"
                       tooltip="Select an edge for Bi-Normal"
-                      shape_types="edge">
+                      shape_types="edge"
+                      concealment="true">
         <validator id="GeomValidators_ShapeType" parameters="line"/>
       </shape_selector>
     </box>
@@ -27,7 +29,8 @@
       <multi_selector id="locations_objects"
                       label="Locations:"
                       tooltip="Select one or more vertices to specify the locations"
-                      shape_types="vertex">
+                      shape_types="vertex"
+                      concealment="true">
         <validator id="FeaturesPlugin_ValidatorPipeLocations"/>
       </multi_selector>
     </box>
index 1aeb1140f60800294cb513ad202693e5c93cbcb6..cfed1f1992a766cb871a625e2ffa467da73ddaed 100644 (file)
@@ -114,7 +114,7 @@ void GeomAlgoAPI_UnifySameDomain::build(const GeomShapePtr& theShape,
   if (aResult.IsNull()) {
     return;
   }
-  // taske off the compound if it consists of single sub-shape
+  // take off the compound if it consists of single sub-shape
   if (aResult.ShapeType() == TopAbs_COMPOUND) {
     aResult = GeomAlgoAPI_DFLoader::refineResult(aResult);
   }