]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/rotation_widget.xml
Salome HOME
1d94eea3caf68a91ab30ce8a060c1482aaac61c3
[modules/shaper.git] / src / FeaturesPlugin / rotation_widget.xml
1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2 <!-- Modified by Clarisse Genrault (CEA) : 02 Mar 2017 -->
3
4 <source>
5   <toolbox id="CreationMethod">
6     <box id="ByAxisAndAngle"
7          title="By an axis and an angle"
8          icon="icons/Features/rotation_axis_32x32.png">
9       <multi_selector id="main_objects"
10                       label="Main objects"
11                       icon=""
12                       tooltip="Select solid objects"
13                       type_choice="objects"
14                       concealment="true">
15         <validator id="FeaturesPlugin_ValidatorTransform"/>
16       </multi_selector>
17       <shape_selector id="axis_object"
18                   icon="icons/Features/axis.png"
19                   label="Axis"
20                   tooltip="Select an edge for axis"
21                   shape_types="edge"
22                   default="">
23         <validator id="GeomValidators_ShapeType" parameters="line"/>
24       </shape_selector>
25       <doublevalue id="angle"
26                    label="Angle"
27                    min="-360"
28                    max="360"
29                    step="1.0"
30                    default="0"
31                    icon="icons/Features/angle.png"
32                    tooltip="Angle">
33       </doublevalue>
34     </box>
35     <box id="ByThreePoints"
36          title="By a center and two points"
37          icon="icons/Features/rotation_3pt_32x32.png">
38       <multi_selector id="main_objects"
39                       label="Main objects"
40                       icon=""
41                       tooltip="Select solid objects"
42                       type_choice="objects"
43                       concealment="true">
44         <validator id="FeaturesPlugin_ValidatorTransform"/>
45       </multi_selector>
46       <shape_selector id="center_point"
47                       label="Center point"
48                       icon="icons/Features/point.png"
49                       tooltip="Select a center point"
50                       shape_types="vertex">
51         <validator id="GeomValidators_ConstructionComposite"/>
52         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
53       </shape_selector>
54       <shape_selector id="start_point"
55                       label="Start point"
56                       icon="icons/Features/point.png"  
57                       tooltip="Select a starting point"
58                       shape_types="vertex">
59         <validator id="GeomValidators_ConstructionComposite"/>
60         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
61       </shape_selector>
62       <shape_selector id="end_point"
63                       label="End point"
64                       icon="icons/Features/point.png"
65                       tooltip="Select an end point"
66                       shape_types="vertex">
67         <validator id="GeomValidators_ConstructionComposite"/>
68         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
69         <validator id="GeomValidators_DifferentShapes"/>
70       </shape_selector>
71     </box>
72   </toolbox>
73 </source>