Salome HOME
Commented options in Point feature;
[modules/shaper.git] / src / ConstructionPlugin / point_widget.xml
1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 <source>
4   <doublevalue id="x" label="X " tooltip="X coordinate" default="0"/>
5   <doublevalue id="y" label="Y " tooltip="Y coordinate" default="0"/>
6   <doublevalue id="z" label="Z " tooltip="Z coordinate" default="0"/>
7
8   <!--<toolbox id="creation_method">
9     <box id="by_xyz"
10          title="By X, Y, Z"
11          tooltip="Point at a given distance from the origin."
12          icon="icons/Construction/point_by_xyz_32x32.png">
13       <doublevalue id="x"
14                    label="X "
15                    tooltip="X coordinate."
16                    icon="icons/Construction/x_size.png"
17                    default="0"/>
18       <doublevalue id="y"
19                    label="Y "
20                    tooltip="Y coordinate."
21                    icon="icons/Construction/y_size.png"
22                    default="0"/>
23       <doublevalue id="z"
24                    label="Z "
25                    tooltip="Z coordinate."
26                    icon="icons/Construction/z_size.png"
27                    default="0"/>
28     </box>
29     <box id="by_distance_on_edge"
30          title="By distance on edge"
31          tooltip="Point on an edge, at a given distance of one of its end."
32          icon="icons/Construction/point_by_distance_on_edge_32x32.png">
33       <shape_selector id="edge"
34                       label="Edge"
35                       tooltip="Edge for creating point on it."
36                       icon="icons/Construction/edge.png"
37                       shape_types="edge">
38         <validator id="GeomValidators_Finite"/>
39       </shape_selector>
40       <groupbox title="Distance">
41         <doublevalue id="value"
42                      label="Value"
43                      tooltip="Distance value."
44                      icon="icons/Construction/distance_value.png"
45                      default="50"/>
46         <boolvalue id="percent"
47                    label="Percent(%)"
48                    tooltip="Distance in percent from length."
49                    default="true"/>
50       </groupbox>
51       <boolvalue id="reverse"
52            label="Reverse"
53            tooltip="Distance from edge end point."
54            default="false"/>
55     </box>
56     <box id="by_projection"
57          title="By projection"
58          tooltip="Point on face surface by projection selected point."
59          icon="icons/Construction/point_by_projection_32x32.png">
60       <shape_selector id="point"
61                       label="Point"
62                       tooltip="Point for projection."
63                       icon="icons/Construction/point.png"
64                       shape_types="vertex">
65       </shape_selector>
66       <shape_selector id="plane"
67                       label="Plane"
68                       tooltip="Plane for projection."
69                       icon="icons/Construction/face.png"
70                       shape_types="face">
71         <validator id="GeomValidators_Face" parameters="plane"/>
72       </shape_selector>
73     </box>
74     <box id="by_lines_intersection"
75          title="By two lines intersection"
76          tooltip="Point by intersection of two coplanar lines."
77          icon="icons/Construction/point_by_lines_intersection_32x32.png">
78       <shape_selector id="first_line"
79                       label="First line"
80                       tooltip="First line."
81                       icon="icons/Construction/edge.png"
82                       shape_types="edge">
83         <validator id="GeomValidators_ShapeType" parameters="line"/>
84         <validator id="ConstructionPlugin_ValidatorPointLines" parameters="second_line"/>
85       </shape_selector>
86       <shape_selector id="second_line"
87                       label="Second line"
88                       tooltip="Second line."
89                       icon="icons/Construction/edge.png"
90                       shape_types="edge">
91         <validator id="GeomValidators_ShapeType" parameters="line"/>
92         <validator id="ConstructionPlugin_ValidatorPointLines" parameters="first_line"/>
93       </shape_selector>
94     </box>
95     <box id="by_line_and_plane_intersection"
96          title="By line and plane intersection"
97          tooltip="Point by intersection of line and plane."
98          icon="icons/Construction/point_by_line_and_plane_intersection_32x32.png">
99       <shape_selector id="intersection_line"
100                       label="Line"
101                       tooltip="Line for intersection."
102                       icon="icons/Construction/edge.png"
103                       shape_types="edge">
104         <validator id="GeomValidators_ShapeType" parameters="line"/>
105         <validator id="ConstructionPlugin_ValidatorPointLineAndPlaneNotParallel" parameters="intersection_plane"/>
106       </shape_selector>
107       <shape_selector id="intersection_plane"
108                       label="Plane"
109                       tooltip="Plane for intersection."
110                       icon="icons/Construction/face.png"
111                       shape_types="face">
112         <validator id="GeomValidators_Face" parameters="plane"/>
113         <validator id="ConstructionPlugin_ValidatorPointLineAndPlaneNotParallel" parameters="intersection_line"/>
114       </shape_selector>
115     </box>
116
117   </toolbox>-->
118 </source>