Salome HOME
Issue #2716: no check that subshapes of the same shape are used for common
[modules/shaper.git] / src / FeaturesPlugin / boolean_fuse_widget.xml
1 <!--
2 Copyright (C) 2014-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="simple"
25      title="Simple"
26      icon="icons/Features/bool_fuse_simple.png">
27       <multi_selector id="main_objects"
28         label="Objects"
29         icon=""
30         tooltip="Select objects"
31         type_choice="vertices edges wires faces shells solids compsolids compounds"
32         use_choice="false"
33         concealment="true">
34         <validator id="FeaturesPlugin_ValidatorBooleanFuseSelection"/>
35       </multi_selector>
36     </box>
37     <box id="advanced"
38      title="advanced"
39      icon="icons/Features/bool_fuse_advanced.png">
40       <multi_selector id="main_objects"
41         label="Main objects"
42         icon=""
43         tooltip="Select objects"
44         type_choice="vertices edges wires faces shells solids compsolids compounds"
45         use_choice="false"
46         concealment="true">
47         <validator id="PartSet_DifferentObjects"/>
48         <validator id="FeaturesPlugin_ValidatorBooleanFuseSelection"/>
49       </multi_selector>
50       <multi_selector id="tool_objects"
51         label="Tool objects"
52         icon=""
53         tooltip="Select tools"
54         type_choice="vertices edges wires faces shells solids compsolids compounds"
55         use_choice="false"
56         concealment="true" >
57         <validator id="PartSet_DifferentObjects"/>
58         <validator id="FeaturesPlugin_ValidatorBooleanFuseSelection"/>
59       </multi_selector>
60     </box>
61   </toolbox>
62   <boolvalue id="remove_intersection_edges"
63            label="Remove intersection edges"
64            tooltip="Remove intersection edges if they laying on the same surface"
65            default="false"/>
66   <validator id="FeaturesPlugin_ValidatorBooleanFuseArguments"
67              parameters="main_objects,tool_objects"/>
68 </source>