Salome HOME
4557509f39f119ebdd77c3dd2699fc6f846a5eda
[modules/shaper.git] / src / ConstructionPlugin / point_widget.xml
1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 <source>
4   <toolbox id="creation_method">
5     <box id="by_xyz"
6          title="By X, Y, Z"
7          tooltip="Point at a given distance from the origin."
8          icon="icons/Construction/point_by_xyz_32x32.png">
9       <doublevalue id="x"
10                    label="X "
11                    tooltip="X coordinate."
12                    icon="icons/Construction/x_size.png"
13                    default="0"/>
14       <doublevalue id="y"
15                    label="Y "
16                    tooltip="Y coordinate."
17                    icon="icons/Construction/y_size.png"
18                    default="0"/>
19       <doublevalue id="z"
20                    label="Z "
21                    tooltip="Z coordinate."
22                    icon="icons/Construction/z_size.png"
23                    default="0"/>
24     </box>
25     <box id="by_distance_on_edge"
26          title="By distance on edge"
27          tooltip="Point on an edge, at a given distance of one of its end."
28          icon="icons/Construction/point_by_distance_on_edge_32x32.png">
29       <shape_selector id="edge"
30                       label="Edge"
31                       tooltip="Edge for creating point on it."
32                       icon="icons/Construction/edge.png"
33                       shape_types="edge">
34         <validator id="GeomValidators_Finite"/>
35       </shape_selector>
36       <groupbox title="Distance">
37         <doublevalue id="value"
38                      label="Value"
39                      tooltip="Distance value."
40                      icon="icons/Construction/distance_value.png"
41                      default="50"/>
42         <boolvalue id="percent"
43                    label="Percent(%)"
44                    tooltip="Distance in percent from length."
45                    default="true"/>
46       </groupbox>
47       <boolvalue id="reverse"
48            label="Reverse"
49            tooltip="Distance from edge end point."
50            default="false"/>
51     </box>
52   </toolbox>
53 </source>