]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/rotation_widget.xml
Salome HOME
Issue #2052: Modification of parameters don't work (sketch, extrusion)
[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                    step="1.0"
28                    default="0"
29                    icon="icons/Features/angle.png"
30                    tooltip="Angle">
31       </doublevalue>
32     </box>
33     <box id="ByThreePoints"
34          title="By a center and two points"
35          icon="icons/Features/rotation_3pt_32x32.png">
36       <multi_selector id="main_objects"
37                       label="Main objects"
38                       icon=""
39                       tooltip="Select solid objects"
40                       type_choice="objects"
41                       concealment="true">
42         <validator id="FeaturesPlugin_ValidatorTransform"/>
43       </multi_selector>
44       <shape_selector id="center_point"
45                       label="Center point"
46                       icon="icons/Features/point.png"
47                       tooltip="Select a center point"
48                       shape_types="vertex">
49         <validator id="GeomValidators_ConstructionComposite"/>
50         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
51       </shape_selector>
52       <shape_selector id="start_point"
53                       label="Start point"
54                       icon="icons/Features/point.png"  
55                       tooltip="Select a starting point"
56                       shape_types="vertex">
57         <validator id="GeomValidators_ConstructionComposite"/>
58         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
59         <validator id="GeomValidators_DifferentShapes"/>
60       </shape_selector>
61       <shape_selector id="end_point"
62                       label="End point"
63                       icon="icons/Features/point.png"
64                       tooltip="Select an end point"
65                       shape_types="vertex">
66         <validator id="GeomValidators_ConstructionComposite"/>
67         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
68         <validator id="GeomValidators_DifferentShapes"/>
69       </shape_selector>
70     </box>
71   </toolbox>
72 </source>