Salome HOME
[bos #24758] EDF 24017 - Problems with ExtrusionCut
[modules/shaper.git] / src / FeaturesPlugin / chamfer_widget.xml
1 <source>
2   <toolbox id="creation_method">
3     <box id="distance_distance"
4          title="Two distances"
5          tooltip="Chamfer with two distances"
6          icon="icons/Features/chamfer_distances.png">
7       <multi_selector id="main_objects"
8                       label="Faces or/and edges"
9                       icon=""
10                       tooltip="Select objects"
11                       shape_types="edges faces"
12                       use_choice="false"
13                       concealment="true">
14         <validator id="PartSet_DifferentObjects"/>
15         <validator id="FeaturesPlugin_ValidatorFilletSelection"/>
16       </multi_selector>
17       <doublevalue id="d1"
18                    label="D1"
19                    tooltip="First distance."
20                    min="0"
21                    default="2">
22         <validator id="GeomValidators_Positive"/>
23       </doublevalue>
24       <doublevalue id="d2"
25                    label="D2"
26                    tooltip="Second distance."
27                    min="0"
28                    default="2">
29         <validator id="GeomValidators_Positive"/>
30       </doublevalue>
31     </box>
32     <box id="distance_angle"
33          title="Distance and angle"
34          tooltip="Chamfer with a distance and an angle"
35          icon="icons/Features/chamfer_dist_angle.png">
36       <multi_selector id="main_objects"
37                       label="Faces or/and edges"
38                       icon=""
39                       tooltip="Select objects"
40                       shape_types="edges faces"
41                       use_choice="false"
42                       concealment="true">
43         <validator id="PartSet_DifferentObjects"/>
44         <validator id="FeaturesPlugin_ValidatorFilletSelection"/>
45       </multi_selector>
46       <doublevalue id="d"
47                    label="D"
48                    tooltip="Distance."
49                    min="0"
50                    default="2">
51         <validator id="GeomValidators_Positive"/>
52       </doublevalue>
53       <doublevalue id="angle"
54                    label="Angle"
55                    tooltip="Angle."
56                    min="0"
57                    max="90"
58                    default="25">
59         <validator id="GeomValidators_Positive"/>
60       </doublevalue>
61     </box>
62   </toolbox>
63 </source>