]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/extrusioncut_widget.xml
Salome HOME
Reverted some changes in salome build/run scripts.
[modules/shaper.git] / src / FeaturesPlugin / extrusioncut_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   <groupbox title="Extrusion">
24     <sketch_launcher id="sketch"
25       attribute_list_id="base"
26       label="Select:&lt;br /&gt;
27 1. Planar face of non-sketch object or a plane. Sketch creation will be started.&lt;br /&gt;
28 2. An existing sketch face or contour. Extrusion will be filled by it.&lt;br /&gt;
29 3. An existing result shape of kind: wires/edge/vertices.Extrusion will be filled by it."
30       shape_types="wires faces shells">
31       <validator id="FeaturesPlugin_ValidatorCompositeLauncher" parameters="base,Sketch"/>
32     </sketch_launcher>
33     <multi_selector id="base"
34       label="Select a sketch face"
35       icon="icons/Features/sketch.png"
36       tooltip="Select a sketch face"
37       type_choice="wires faces shells"
38       concealment="true">
39       <validator id="FeaturesPlugin_ValidatorBaseForGeneration" parameters="face,shell"/>
40     </multi_selector>
41     <shape_selector id="direction_object"
42                     icon="icons/Features/axis.png"
43                     label="Direction"
44                     tooltip="Select an edge for direction"
45                     shape_types="edge"
46                     default="&lt;base normal&gt;">
47       <validator id="GeomValidators_ShapeType" parameters="empty,line"/>
48     </shape_selector>
49     <toolbox id="CreationMethod">
50       <box id="BySizes" title="By sizes" icon="icons/Features/dimension_up_down_32x32.png">
51         <groupbox>
52           <doublevalue
53             id="to_size"
54             label="Size"
55             step="1.0"
56             default="0"
57             icon="icons/Features/dimension_up.png"
58             tooltip="To size">
59           </doublevalue>
60         </groupbox>
61         <groupbox>
62           <doublevalue
63             id="from_size"
64             label="Size"
65             step="1.0"
66             default="10"
67             icon="icons/Features/dimension_down.png"
68             tooltip="From size">
69           </doublevalue>
70         </groupbox>
71       </box>
72       <box id="ByPlanesAndOffsets" title="By bounding planes and offsets" icon="icons/Features/plane_inverted_32x32.png">
73         <groupbox title="From">
74           <shape_selector id="from_object"
75                           icon="icons/Features/plane.png"
76                           label="Plane face"
77                           tooltip="Bounding plane (select a planar face)"
78                           shape_types="face"
79                           default="&lt;base sketch&gt;">
80             <validator id="GeomValidators_Face" parameters="plane"/>
81           </shape_selector>
82           <doublevalue id="from_offset"
83             label="Offset" step="1.0" default="0"
84             icon="icons/Features/dimension_up_down.png"
85             tooltip="Offset for bounding plane">
86           </doublevalue>
87         </groupbox>
88         <groupbox title="To">
89           <shape_selector id="to_object"
90                           icon="icons/Features/plane_inverted.png"
91                           label="Plane face"
92                           tooltip="Bounding plane (select a planar face)"
93                           shape_types="face"
94                           default="&lt;base sketch&gt;">
95             <validator id="GeomValidators_Face" parameters="plane"/>
96           </shape_selector>
97           <doublevalue  id="to_offset"
98             label="Offset" step="1.0" default="0"
99             icon="icons/Features/dimension_up_down.png"
100             tooltip="Offset for bounding plane">
101           </doublevalue>
102         </groupbox>
103       </box>
104     </toolbox>
105   </groupbox>
106   <multi_selector id="main_objects"
107     label="Cut from:"
108     icon="icons/Features/cut_shape.png"
109     tooltip="Objects to Cut"
110     type_choice="Objects"
111     use_choice="false"
112     concealment="true"
113     main_argument="true">
114     <validator id="GeomValidators_ShapeType" parameters="solid"/>
115   </multi_selector>
116   <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,BySizes,sketch_selection,to_size,from_size,to_object,to_offset,from_object,from_offset"/>
117   <validator id="FeaturesPlugin_ValidatorExtrusionDir" parameters="base,direction_object"/>
118   <validator id="FeaturesPlugin_ValidatorBaseForGenerationSketchOrSketchObjects" parameters="base"/>
119 </source>