Salome HOME
b683cceed5d72b9cb7e935821273f66c0183a17b
[modules/shaper.git] / src / ConstructionPlugin / axis_widget.xml
1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 <source>
4   <toolbox id="CreationMethod">
5     <box id="AxisByPointsCase" title="By two points" icon=":icons/by_two_points_32x32.png">
6       <shape_selector id="FirstPoint"
7         label="First point"
8         icon=":icons/point.png"
9         tooltip="Select a first point"
10         shape_types="vertex">
11         <validator id="GeomValidators_ConstructionComposite"/>
12         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
13       </shape_selector>
14       <shape_selector id="SecondPoint"
15         label="Second point"
16         icon=":icons/point.png"
17         tooltip="Select a second point"
18         shape_types="vertex">
19         <validator id="GeomValidators_ConstructionComposite"/>
20         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
21         <validator id="GeomValidators_DifferentShapes"/>
22       </shape_selector>
23     </box>
24     <box id="AxisByCylindricalFaceCase" title="As axis of cylindrical face" icon=":icons/cylindrical_face_32x32.png">
25       <shape_selector id="CylindricalFace"
26         label="Main object" 
27         icon=":icons/circle.png" 
28         tooltip="Select a cylindrical object"
29         shape_types="face solid shell">
30         <validator id="GeomValidators_Face" parameters="cylinder"/>
31       </shape_selector>
32     </box>
33   </toolbox>
34   
35 </source>