1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
4 <toolbox id="creation_method">
5 <box id="by_three_points"
6 title="By three points"
7 tooltip="Plane by three points."
8 icon="icons/Construction/plane_by_three_points_32x32.png">
9 <shape_selector id="point1"
11 tooltip="First point."
12 icon="icons/Construction/point.png"
14 <validator id="ConstructionPlugin_ValidatorPlaneThreePoints" parameters="point2,point3"/>
16 <shape_selector id="point2"
18 tooltip="Second point."
19 icon="icons/Construction/point.png"
21 <validator id="ConstructionPlugin_ValidatorPlaneThreePoints" parameters="point1,point3"/>
23 <shape_selector id="point3"
25 tooltip="Third point."
26 icon="icons/Construction/point.png"
28 <validator id="ConstructionPlugin_ValidatorPlaneThreePoints" parameters="point1,point2"/>
31 <box id="by_line_and_point"
32 title="By line and point"
33 tooltip="Plane by line and point."
34 icon="icons/Construction/plane_by_line_and_point_32x32.png">
35 <shape_selector id="line"
37 tooltip="Select line."
38 icon="icons/Construction/edge.png"
40 <validator id="GeomValidators_ShapeType" parameters="line"/>
41 <validator id="ConstructionPlugin_ValidatorPlaneLinePoint" parameters="point"/>
43 <shape_selector id="point"
45 tooltip="Select point."
46 icon="icons/Construction/point.png"
48 <validator id="ConstructionPlugin_ValidatorPlaneLinePoint" parameters="line"/>
51 <box id="by_other_plane"
52 title="By other plane"
53 tooltip="Plane by other plane with different options."
54 icon="icons/Construction/plane_by_other_plane_32x32.png">
55 <shape_selector id="plane"
57 tooltip="Select a planar face."
58 icon="icons/Construction/face.png"
60 <validator id="GeomValidators_Face" parameters="plane"/>
62 <toolbox id="by_other_plane_option">
63 <box id="by_distance_from_other"
64 title="By distance from other"
65 tooltip="Plane by distance from other plane."
66 icon="icons/Construction/plane_by_distance_from_other_32x32.png">
67 <doublevalue id="distance"
69 tooltip="Distance from selected face to plane."
70 icon="icons/Construction/distance_value.png"
72 <validator id="GeomValidators_Positive"/>
74 <!--<boolvalue id="distance_reverse"
76 tooltip="Distance from plane."
79 <box id="by_coincident_to_point"
80 title="By coincident to point"
81 tooltip="Plane by coincident to point."
82 icon="icons/Construction/plane_by_coincident_to_point_32x32.png">
83 <shape_selector id="coincident_point"
85 tooltip="Select point."
86 icon="icons/Construction/point.png"
92 tooltip="Plane by rotation around axis."
93 icon="icons/Construction/plane_by_rotation_32x32.png">
94 <shape_selector id="axis"
96 tooltip="Select line for axis."
97 icon="icons/Construction/axis.png"
99 <validator id="GeomValidators_ShapeType" parameters="line"/>
101 <doublevalue id="angle"
103 tooltip="Angle for rotation around axis."
104 icon="icons/Construction/angle.png"
109 <box id="by_two_parallel_planes"
110 title="By two parallel planes"
111 tooltip="Plane equidistant from 2 parallel planes."
112 icon="icons/Construction/plane_by_two_parallel_planes_32x32.png">
113 <shape_selector id="plane1"
115 tooltip="Select a planar face."
116 icon="icons/Construction/face.png"
118 <validator id="GeomValidators_Face" parameters="plane"/>
119 <validator id="ConstructionPlugin_ValidatorPlaneTwoParallelPlanes" parameters="plane2"/>
121 <shape_selector id="plane2"
123 tooltip="Select a planar face."
124 icon="icons/Construction/face.png"
126 <validator id="GeomValidators_Face" parameters="plane"/>
127 <validator id="ConstructionPlugin_ValidatorPlaneTwoParallelPlanes" parameters="plane1"/>