Salome HOME
Merge remote-tracking branch 'remotes/origin/Dev_UnitTestsForFill'
[modules/shaper.git] / src / FeaturesPlugin / fillet_widget.xml
1 <!--
2 Copyright (C) 2017  CEA/DEN, EDF R&D
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
18 See http:##www.salome-platform.org/ or
19 email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
20 -->
21
22 <source>
23   <toolbox id="creation_method">
24     <box id="fixed_radius"
25          title="Fixed radius"
26          tooltip="Fillet with fixed radius"
27          icon="icons/Features/fillet_fixed_radius.png">
28       <multi_selector id="main_objects"
29                       label="Faces or/and edges"
30                       icon=""
31                       tooltip="Select objects"
32                       type_choice="edges faces"
33                       use_choice="false"
34                       concealment="true">
35         <validator id="PartSet_DifferentObjects"/>
36         <validator id="FeaturesPlugin_ValidatorFilletSelection"/>
37       </multi_selector>
38       <doublevalue id="radius1"
39                    label="Radius"
40                    tooltip="Fillet radius."
41                    min="0"
42                    default="2">
43         <validator id="GeomValidators_Positive"/>
44       </doublevalue>
45     </box>
46     <box id="variable_radius"
47          title="Varying radius"
48          tooltip="Fillet with varying radius"
49          icon="icons/Features/fillet_var_radius.png">
50       <multi_selector id="main_objects"
51                       label="Faces or/and edges"
52                       icon=""
53                       tooltip="Select objects"
54                       type_choice="edges faces"
55                       use_choice="false"
56                       concealment="true">
57         <validator id="PartSet_DifferentObjects"/>
58         <validator id="FeaturesPlugin_ValidatorFilletSelection"/>
59       </multi_selector>
60       <doublevalue id="radius1"
61                    label="Start radius"
62                    tooltip="Fillet radius at start point."
63                    min="0"
64                    default="2">
65         <validator id="GeomValidators_Positive"/>
66       </doublevalue>
67       <doublevalue id="radius2"
68                    label="End radius"
69                    tooltip="Fillet radius at end point."
70                    min="0"
71                    default="2">
72         <validator id="GeomValidators_Positive"/>
73       </doublevalue>
74     </box>
75   </toolbox>
76 </source>