Salome HOME
Adding the "Symmetry" feature.
[modules/shaper.git] / src / FeaturesPlugin / symmetry_widget.xml
1 <!-- Copyright (C) 2014-2016 CEA/DEN, EDF R&D -->
2
3 <source>
4   <toolbox id="CreationMethod"> 
5     <box id="ByPoint" title="Point reflection" icon="icons/Features/symmetry_point_32x32.png">
6       <multi_selector id="main_objects"
7                       label="Main objects"
8                       icon="icons/Features/cut_shape.png"
9                       tooltip="Select solid objects"
10                       type_choice="solid objects"
11                       concealment="true">
12         <validator id="FeaturesPlugin_ValidatorTransform"/>
13       </multi_selector>
14       <shape_selector id="point_object"
15                       icon="icons/Features/point.png"
16                       label="Point"
17                       tooltip="Select a point"
18                       shape_types="vertex"
19                       default="">
20         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
21       </shape_selector>
22     </box>
23     <box id="ByAxis" title="Axis reflection" icon="icons/Features/symmetry_axis_32x32.png">
24       <multi_selector id="main_objects"
25                       label="Main objects"
26                       icon="icons/Features/cut_shape.png"
27                       tooltip="Select solid objects"
28                       type_choice="solid objects"
29                       concealment="true">
30         <validator id="FeaturesPlugin_ValidatorTransform"/>
31       </multi_selector>
32       <shape_selector id="axis_object"
33                       icon="icons/Features/axis.png"
34                       label="Axis"
35                       tooltip="Select an axis"
36                       shape_types="edge"
37                       default="">
38         <validator id="GeomValidators_ShapeType" parameters="line"/>
39       </shape_selector>
40     </box>
41     <box id="ByPlane" title="Plane reflection" icon="icons/Features/symmetry_plane_32x32.png">
42       <multi_selector id="main_objects"
43                       label="Main objects"
44                       icon="icons/Features/cut_shape.png"
45                       tooltip="Select solid objects"
46                       type_choice="solid objects"
47                       concealment="true">
48         <validator id="FeaturesPlugin_ValidatorTransform"/>
49       </multi_selector>
50       <shape_selector id="plane_object"
51                       label="Plane"
52                       icon="icons/Features/plane.png"
53                       tooltip="Select a plane"
54                       shape_types="face"
55                       default="">
56         <validator id="GeomValidators_Face" parameters="plane"/>
57       </shape_selector>
58     </box>
59   </toolbox>
60 </source>