]> SALOME platform Git repositories - modules/shaper.git/blob - src/ConstructionPlugin/axis_widget.xml
Salome HOME
Update copyrights
[modules/shaper.git] / src / ConstructionPlugin / axis_widget.xml
1 <source>
2   <toolbox id="CreationMethod">
3     <box id="AxisByDimensionsCase" title="By three dimensions" icon="icons/Construction/axis_dxyz_32x32.png">
4       <doublevalue id="DX" label="DX " tooltip="X dimension" default="0"/>
5       <doublevalue id="DY" label="DY " tooltip="Y dimension" default="0"/>
6       <doublevalue id="DZ" label="DZ " tooltip="Z dimension" default="10"/>
7     </box>
8     <box id="AxisByPointsCase" title="By two points" icon="icons/Construction/by_two_points_32x32.png">
9       <shape_selector id="FirstPoint"
10         label="First point"
11         icon="icons/Construction/point.png"
12         tooltip="Select a first point"
13         shape_types="vertex">
14         <validator id="GeomValidators_ConstructionComposite"/>
15         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
16       </shape_selector>
17       <shape_selector id="SecondPoint"
18         label="Second point"
19         icon="icons/Construction/point.png"
20         tooltip="Select a second point"
21         shape_types="vertex">
22         <validator id="GeomValidators_ConstructionComposite"/>
23         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
24         <validator id="GeomValidators_DifferentShapes"/>
25       </shape_selector>
26     </box>
27     <box id="by_line" title="By line" icon="icons/Construction/axis_by_line_32x32.png">
28       <shape_selector id="line"
29                       label="Line"
30                       tooltip="Select line."
31                       icon="icons/Construction/edge.png"
32                       shape_types="edge"
33                       geometrical_selection="true">
34         <validator id="GeomValidators_ShapeType" parameters="line"/>
35       </shape_selector>
36     </box>
37     <box id="AxisByCylindricalFaceCase" title="As axis of cylindrical face" icon="icons/Construction/cylindrical_face_32x32.png">
38       <shape_selector id="CylindricalFace"
39         label="Main object"
40         icon="icons/Construction/circle.png"
41         tooltip="Select a cylindrical object"
42         shape_types="face"
43         geometrical_selection="true">
44         <validator id="GeomValidators_Face" parameters="cylinder"/>
45       </shape_selector>
46     </box>
47     <box id="by_plane_and_point" title="By plane and point" icon="icons/Construction/axis_by_plane_and_point_32x32.png">
48       <shape_selector id="plane"
49                       label="Plane"
50                       tooltip="Select a planar face."
51                       icon="icons/Construction/face.png"
52                       shape_types="face"
53                       geometrical_selection="true">
54         <validator id="GeomValidators_Face" parameters="plane"/>
55       </shape_selector>
56       <shape_selector id="point"
57                       label="Point"
58                       tooltip="Select point."
59                       icon="icons/Construction/point.png"
60                       shape_types="vertex">
61       </shape_selector>
62     </box>
63     <box id="by_two_planes" title="By two planes" icon="icons/Construction/axis_by_two_planes_32x32.png">
64       <shape_selector id="plane1"
65                       label="1st plane"
66                       tooltip="Select a planar face."
67                       icon="icons/Construction/face.png"
68                       shape_types="face"
69                       geometrical_selection="true">
70         <validator id="GeomValidators_Face" parameters="plane"/>
71         <validator id="ConstructionPlugin_ValidatorAxisTwoNotParallelPlanes" parameters="plane2"/>
72       </shape_selector>
73       <optionalbox id="use_offset1" title="Offset from 1st plane">
74         <doublevalue id="offset1" label="Distance " tooltip="Distance value" min="0" default="0"/>
75         <boolvalue id="reverse_offset1" label="Reverse" tooltip="Reverse offset value" default="false"/>
76       </optionalbox>
77       <shape_selector id="plane2"
78                       label="2nd plane"
79                       tooltip="Select a planar face."
80                       icon="icons/Construction/face.png"
81                       shape_types="face"
82                       geometrical_selection="true">
83         <validator id="GeomValidators_Face" parameters="plane"/>
84         <validator id="ConstructionPlugin_ValidatorAxisTwoNotParallelPlanes" parameters="plane1"/>
85       </shape_selector>
86       <optionalbox id="use_offset2" title="Offset from 2nd plane">
87         <doublevalue id="offset2" label="Distance " tooltip="Distance value" min="0" default="0"/>
88         <boolvalue id="reverse_offset2" label="Reverse" tooltip="Reverse offset value" default="false"/>
89       </optionalbox>
90     </box>
91   </toolbox>
92
93 </source>