]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/revolution_widget.xml
Salome HOME
Preselection problem for extrusion
[modules/shaper.git] / src / FeaturesPlugin / revolution_widget.xml
1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 <source>
4   <multi_selector id="base"
5     label="Select a sketch face"
6     icon=":icons/sketch.png"
7     tooltip="Select a sketch face"
8     use_choice="false"
9     type_choice="Faces Compound">
10     <validator id="PartSet_SketchEntityValidator" parameters="Sketch"/>
11   </multi_selector>
12   <shape_selector id="axis_object"
13                   icon=":icons/axis.png"
14                   label="Axis"
15                   tooltip="Select an edge for axis"
16                   shape_types="edge"
17                   default="">
18     <validator id="GeomValidators_ShapeType" parameters="line"/>
19   </shape_selector>
20   <toolbox id="CreationMethod">
21     <box id="ByAngles" title="By angles">
22       <groupbox>
23         <doublevalue
24           id="to_angle"
25           label="Angle"
26           min="0"
27           step="1.0"
28           default="360"
29           icon=":icons/angle_up.png"
30           tooltip="Angle">
31         </doublevalue>
32       </groupbox>
33       <groupbox>
34         <doublevalue
35           id="from_angle"
36           label="Angle"
37           min="0"
38           step="1.0"
39           default="0"
40           icon=":icons/angle_down.png"
41           tooltip="Angle">
42         </doublevalue>
43       </groupbox>
44     </box>
45     <box id="ByPlanesAndOffsets" title="By bounding planes and offsets">
46       <groupbox title="To">
47         <shape_selector id="to_object"
48                         icon=":icons/plane_inverted.png"
49                         label="Plane face"
50                         tooltip="Select a planar face"
51                         shape_types="face"
52                         default="&lt;base sketch&gt;">
53           <validator id="GeomValidators_Face" parameters="plane"/>
54         </shape_selector>
55         <doublevalue
56           id="to_offset"
57           label="Offset"
58           min="0"
59           step="1.0"
60           default="0"
61           icon=":icons/angle_up.png"
62           tooltip="Offset">
63         </doublevalue>
64       </groupbox>
65       <groupbox title="From">
66         <shape_selector id="from_object"
67                         icon=":icons/plane.png"
68                         label="Plane face"
69                         tooltip="Select a planar face"
70                         shape_types="face"
71                         default="&lt;base sketch&gt;">
72           <validator id="GeomValidators_Face" parameters="plane"/>
73         </shape_selector>
74         <doublevalue
75           id="from_offset"
76           label="Offset"
77           min="0"
78           step="1.0"
79           default="0"
80           icon=":icons/angle_down.png"
81           tooltip="Offset">
82         </doublevalue>
83       </groupbox>
84     </box>
85   </toolbox>
86   <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,ByAngles,to_angle,from_angle,to_object,to_offset,from_object,from_offset"/>
87 </source>