Salome HOME
6d21e3f909896b956a7daf51894e475a2beceb83
[modules/shaper.git] / src / FeaturesPlugin / pipe_widget.xml
1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 <source>
4   <multi_selector id="base_objects"
5                   label="Base objects:"
6                   tooltip="Select a base objects"
7                   type_choice="faces objects"
8                   use_choice="false">
9     <validator id="FeaturesPlugin_ValidatorBaseForGeneration" parameters="vertex,edge,wire,face,shell"/>
10   </multi_selector>
11   <shape_selector id="path_object"
12                   label="Path object:"
13                   tooltip="Select an edge or wire for path"
14                   shape_types="edge wire">
15   </shape_selector>
16   <toolbox id="creation_method">
17     <box id="simple" title="Simple pipe by objects and path" icon=":icons/pipe_simple_32x32.png"/>
18     <box id="binormal" title="Pipe by objects, path and Bi-Normal" icon=":icons/pipe_binormal_32x32.png">
19       <shape_selector id="binormal"
20                       label="Bi-Normal:"
21                       tooltip="Select an edge for Bi-Normal"
22                       shape_types="edge">
23         <validator id="GeomValidators_ShapeType" parameters="line"/>
24       </shape_selector>
25     </box>
26     <box id="locations" title="Pipe by objects, path and locations" icon=":icons/pipe_locations_32x32.png">
27       <multi_selector id="locations_objects"
28                       label="Locations:"
29                       tooltip="Select one or more vertices to specify the locations"
30                       type_choice="vertex">
31       </multi_selector>
32     </box>
33   </toolbox>
34   <validator id="FeaturesPlugin_ValidatorPipeLocations"/>
35 </source>