]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/symmetry_widget.xml
Salome HOME
Reverted some changes in salome build/run scripts.
[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         <validator id="GeomValidators_ShapeType" parameters="line"/>
58       </shape_selector>
59     </box>
60     <box id="ByPlane" title="Plane reflection" icon="icons/Features/symmetry_plane_32x32.png">
61       <multi_selector id="main_objects"
62                       label="Main objects"
63                       icon="icons/Features/cut_shape.png"
64                       tooltip="Select solid objects"
65                       type_choice="solid objects"
66                       concealment="true">
67         <validator id="FeaturesPlugin_ValidatorTransform"/>
68       </multi_selector>
69       <shape_selector id="plane_object"
70                       label="Plane"
71                       icon="icons/Features/plane.png"
72                       tooltip="Select a plane"
73                       shape_types="face"
74                       default="">
75         <validator id="GeomValidators_Face" parameters="plane"/>
76       </shape_selector>
77     </box>
78   </toolbox>
79   <boolvalue id="keep_original" label="Keep original result" default="true" tooltip="Do not remove original shape"/>
80 </source>