]> SALOME platform Git repositories - modules/shaper.git/blob - src/ConstructionPlugin/axis_widget.xml
Salome HOME
Adding a new type of axis creation : by 3 dimensions.
[modules/shaper.git] / src / ConstructionPlugin / axis_widget.xml
1 <!-- Copyright (C) 2014-2016 CEA/DEN, EDF R&D -->
2
3 <!--  Modified by CEA (delegation to Alyotech) : 29 Mar 2016 -->
4
5 <source>
6   <toolbox id="CreationMethod">
7     <box id="AxisByPointsCase" title="By two points" icon="icons/Construction/by_two_points_32x32.png">
8       <shape_selector id="FirstPoint"
9         label="First point"
10         icon="icons/Construction/point.png"
11         tooltip="Select a first point"
12         shape_types="vertex">
13         <validator id="GeomValidators_ConstructionComposite"/>
14         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
15       </shape_selector>
16       <shape_selector id="SecondPoint"
17         label="Second point"
18         icon="icons/Construction/point.png"
19         tooltip="Select a second point"
20         shape_types="vertex">
21         <validator id="GeomValidators_ConstructionComposite"/>
22         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
23         <validator id="GeomValidators_DifferentShapes"/>
24       </shape_selector>
25     </box>
26     <box id="AxisByCylindricalFaceCase" title="As axis of cylindrical face" icon="icons/Construction/cylindrical_face_32x32.png">
27       <shape_selector id="CylindricalFace"
28         label="Main object" 
29         icon="icons/Construction/circle.png" 
30         tooltip="Select a cylindrical object"
31         shape_types="face">
32         <validator id="GeomValidators_Face" parameters="cylinder"/>
33       </shape_selector>
34     </box>
35     <box id="AxisByDimensionsCase" title="By three dimensions" icon="icons/Construction/axis_dxyz_32x32.png">
36       <doublevalue id="DX" label="DX " tooltip="X dimension" default="0"/>
37       <doublevalue id="DY" label="DY " tooltip="Y dimension" default="0"/>
38       <doublevalue id="DZ" label="DZ " tooltip="Z dimension" default="10"/>
39     </box>
40   </toolbox>
41   
42 </source>