Salome HOME
Issue #2593: CEA 2018-2 Geometrical Naming
[modules/shaper.git] / src / FeaturesPlugin / symmetry_widget.xml
1 <!--
2 Copyright (C) 2014-2017  CEA/DEN, EDF R&D
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
18 See http:##www.salome-platform.org/ or
19 email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
20 -->
21
22 <source>
23   <toolbox id="CreationMethod">
24     <box id="ByPoint" title="Point reflection" icon="icons/Features/symmetry_point_32x32.png">
25       <multi_selector id="main_objects"
26                       label="Main objects"
27                       icon="icons/Features/cut_shape.png"
28                       tooltip="Select solid objects"
29                       type_choice="solid objects"
30                       concealment="true">
31         <validator id="FeaturesPlugin_ValidatorTransform"/>
32       </multi_selector>
33       <shape_selector id="point_object"
34                       icon="icons/Features/point.png"
35                       label="Point"
36                       tooltip="Select a point"
37                       shape_types="vertex"
38                       default="">
39         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
40       </shape_selector>
41     </box>
42     <box id="ByAxis" title="Axis reflection" icon="icons/Features/symmetry_axis_32x32.png">
43       <multi_selector id="main_objects"
44                       label="Main objects"
45                       icon="icons/Features/cut_shape.png"
46                       tooltip="Select solid objects"
47                       type_choice="solid objects"
48                       concealment="true">
49         <validator id="FeaturesPlugin_ValidatorTransform"/>
50       </multi_selector>
51       <shape_selector id="axis_object"
52                       icon="icons/Features/axis.png"
53                       label="Axis"
54                       tooltip="Select an axis"
55                       shape_types="edge"
56                       default=""
57                       geometrical_selection="true">
58         <validator id="GeomValidators_ShapeType" parameters="line"/>
59       </shape_selector>
60     </box>
61     <box id="ByPlane" title="Plane reflection" icon="icons/Features/symmetry_plane_32x32.png">
62       <multi_selector id="main_objects"
63                       label="Main objects"
64                       icon="icons/Features/cut_shape.png"
65                       tooltip="Select solid objects"
66                       type_choice="solid objects"
67                       concealment="true">
68         <validator id="FeaturesPlugin_ValidatorTransform"/>
69       </multi_selector>
70       <shape_selector id="plane_object"
71                       label="Plane"
72                       icon="icons/Features/plane.png"
73                       tooltip="Select a plane"
74                       shape_types="face"
75                       default="">
76         <validator id="GeomValidators_Face" parameters="plane"/>
77       </shape_selector>
78     </box>
79   </toolbox>
80   <boolvalue id="keep_original" label="Keep original result" default="true" tooltip="Do not remove original shape"/>
81 </source>