1 <!-- Copyright (C) 2014-2016 CEA/DEN, EDF R&D -->
2 <!-- Modified by Clarisse Genrualt (CEA) : 29 Mar 2016 -->
5 <toolbox id="CreationMethod">
6 <box id="AxisByDimensionsCase" title="By three dimensions" icon="icons/Construction/axis_dxyz_32x32.png">
7 <doublevalue id="DX" label="DX " tooltip="X dimension" default="0"/>
8 <doublevalue id="DY" label="DY " tooltip="Y dimension" default="0"/>
9 <doublevalue id="DZ" label="DZ " tooltip="Z dimension" default="10"/>
11 <box id="AxisByPointsCase" title="By two points" icon="icons/Construction/by_two_points_32x32.png">
12 <shape_selector id="FirstPoint"
14 icon="icons/Construction/point.png"
15 tooltip="Select a first point"
17 <validator id="GeomValidators_ConstructionComposite"/>
18 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
20 <shape_selector id="SecondPoint"
22 icon="icons/Construction/point.png"
23 tooltip="Select a second point"
25 <validator id="GeomValidators_ConstructionComposite"/>
26 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
27 <validator id="GeomValidators_DifferentShapes"/>
30 <box id="by_line" title="By line" icon="icons/Construction/axis_by_line_32x32.png">
31 <shape_selector id="line"
33 tooltip="Select line."
34 icon="icons/Construction/edge.png"
36 <validator id="GeomValidators_ShapeType" parameters="line"/>
39 <box id="AxisByCylindricalFaceCase" title="As axis of cylindrical face" icon="icons/Construction/cylindrical_face_32x32.png">
40 <shape_selector id="CylindricalFace"
42 icon="icons/Construction/circle.png"
43 tooltip="Select a cylindrical object"
45 <validator id="GeomValidators_Face" parameters="cylinder"/>
48 <box id="by_plane_and_point" title="By plane and point" icon="icons/Construction/axis_by_plane_and_point_32x32.png">
49 <shape_selector id="plane"
51 tooltip="Select a planar face."
52 icon="icons/Construction/face.png"
54 <validator id="GeomValidators_Face" parameters="plane"/>
56 <shape_selector id="point"
58 tooltip="Select point."
59 icon="icons/Construction/point.png"
63 <box id="by_two_planes" title="By two planes" icon="icons/Construction/axis_by_two_planes_32x32.png">
64 <shape_selector id="plane1"
66 tooltip="Select a planar face."
67 icon="icons/Construction/face.png"
69 <validator id="GeomValidators_Face" parameters="plane"/>
70 <validator id="ConstructionPlugin_ValidatorAxisTwoNotParallelPlanes" parameters="plane2"/>
72 <optionalbox id="use_offset1" title="Offset from 1st plane">
73 <doublevalue id="offset1" label="Distance " tooltip="Distance value" min="0" default="0"/>
74 <boolvalue id="reverse_offset1" label="Reverse" tooltip="Reverse offset value" default="false"/>
76 <shape_selector id="plane2"
78 tooltip="Select a planar face."
79 icon="icons/Construction/face.png"
81 <validator id="GeomValidators_Face" parameters="plane"/>
82 <validator id="ConstructionPlugin_ValidatorAxisTwoNotParallelPlanes" parameters="plane1"/>
84 <optionalbox id="use_offset2" title="Offset from 2nd plane">
85 <doublevalue id="offset2" label="Distance " tooltip="Distance value" min="0" default="0"/>
86 <boolvalue id="reverse_offset2" label="Reverse" tooltip="Reverse offset value" default="false"/>