]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/extrusion_widget.xml
Salome HOME
76e185daccf81621a29c3e6fcd1a99061e6dca84
[modules/shaper.git] / src / FeaturesPlugin / extrusion_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   <groupbox title="From">
13     <shape_selector id="from_object"
14                     icon=":icons/plane.png"
15                     label="Plane face"
16                     tooltip="Select a planar face"
17                     shape_types="face"
18                     default="&lt;sketch&gt;">
19       <validator id="GeomValidators_Face" parameters="plane"/>
20     </shape_selector>
21     <doublevalue
22       id="from_size"
23       label="Size"
24       min="0"
25       step="1.0"
26       default="0"
27       icon=":icons/dimension_down.png"
28       tooltip="Height">
29     </doublevalue>
30   </groupbox>
31   <groupbox title="To">
32     <shape_selector id="to_object"
33                     icon=":icons/plane_inverted.png"
34                     label="Plane face"
35                     tooltip="Select a planar face"
36                     shape_types="face"
37                     default="&lt;sketch&gt;">
38       <validator id="GeomValidators_Face" parameters="plane"/>
39     </shape_selector>
40     <doublevalue
41       id="to_size"
42       label="Size"
43       min="0"
44       step="1.0"
45       default="10"
46       icon=":icons/dimension_up.png"
47       tooltip="Height">
48     </doublevalue>
49   </groupbox>
50   <validator id="GeomValidators_ZeroOffset" parameters="from_object,to_object,from_size,to_size"/>
51 </source>