Salome HOME
Construction of vertices/edges/faces on the base of sketch: clear list attribute...
[modules/shaper.git] / src / SketchShapePlugin / plugin-SketchShape.xml
index 4dca7052ffbd48efb1009b61c86ffaa97fd8abdb..6f51667ca1c1f793eb77c668e18af605fd435077 100755 (executable)
@@ -4,17 +4,43 @@
   <workbench id="Sketch">
     <group id="Exchange">
       <feature id="SketchShape" title="Sketch vertices, edges and faces" tooltip="Construct vertices, edges and faces by sketch" icon=":icons/sketchshape.png">
+        <shape_selector id="Sketch"
+          label="Sketch"
+          icon=":icons/sketch.png"
+          tooltip="Select a sketch"
+          shape_types="objects">
+          <validator id="PartSet_SketchEntityValidator" parameters="Sketch"/>
+        </shape_selector>
         <sketchshape_groupbox title="Direction">
           <boolvalue id="VertexChoice" label="VERTICES" default="true" tooltip="Vertices selection on sketch"/>
+          <sketch_multi_selector id="VertexList"
+            label=""
+            tooltip="Select list of vertices"
+            type_choice="Vertices Edges Faces"
+            use_external="false"
+            use_choice="false">
+            <validator id="SketchShapePlugin_FeatureValidator" />
+          </sketch_multi_selector>
+
+          <boolvalue id="EdgeChoice" label="EDGES" default="true" tooltip="Edges selection on sketch"/>
+          <sketch_multi_selector id="EdgeList"
+            label=""
+            tooltip="Select list of edges"
+            type_choice="Vertices Edges Faces"
+            use_external="false"
+            use_choice="false">
+            <validator id="SketchShapePlugin_FeatureValidator" />
+          </sketch_multi_selector>
 
-        <sketch_multi_selector id="VertexList"
+          <boolvalue id="FaceChoice" label="FACES" default="true" tooltip="Faces selection on sketch"/>
+          <sketch_multi_selector id="FaceList"
             label=""
-            tooltip="Select list of mirroring objects"
-            type_choice="Vertices"
+            tooltip="Select list of faces"
+            type_choice="Vertices Edges Faces"
             use_external="false"
             use_choice="false">
-          <validator id="SketchShapePlugin_FeatureValidator" />
-        </sketch_multi_selector>
+            <validator id="SketchShapePlugin_FeatureValidator" />
+          </sketch_multi_selector>
         </sketchshape_groupbox>
       </feature>
     </group>