1 <!-- Copyright (C) 2014-2016 CEA/DEN, EDF R&D -->
3 <!-- Modified by CEA (delegation to Alyotech) : 29 Mar 2016 -->
6 <toolbox id="CreationMethod">
7 <box id="AxisByDimensionsCase" title="By three dimensions" icon="icons/Construction/axis_dxyz_32x32.png">
8 <doublevalue id="DX" label="DX " tooltip="X dimension" default="0"/>
9 <doublevalue id="DY" label="DY " tooltip="Y dimension" default="0"/>
10 <doublevalue id="DZ" label="DZ " tooltip="Z dimension" default="10"/>
12 <box id="AxisByPointsCase" title="By two points" icon="icons/Construction/by_two_points_32x32.png">
13 <shape_selector id="FirstPoint"
15 icon="icons/Construction/point.png"
16 tooltip="Select a first point"
18 <validator id="GeomValidators_ConstructionComposite"/>
19 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
21 <shape_selector id="SecondPoint"
23 icon="icons/Construction/point.png"
24 tooltip="Select a second point"
26 <validator id="GeomValidators_ConstructionComposite"/>
27 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
28 <validator id="GeomValidators_DifferentShapes"/>
31 <box id="by_line" title="By line" icon="icons/Construction/axis_by_line_32x32.png">
32 <shape_selector id="line"
34 tooltip="Select line."
35 icon="icons/Construction/edge.png"
37 <validator id="GeomValidators_ShapeType" parameters="line"/>
40 <box id="AxisByCylindricalFaceCase" title="As axis of cylindrical face" icon="icons/Construction/cylindrical_face_32x32.png">
41 <shape_selector id="CylindricalFace"
43 icon="icons/Construction/circle.png"
44 tooltip="Select a cylindrical object"
46 <validator id="GeomValidators_Face" parameters="cylinder"/>
49 <box id="by_plane_and_point" title="By plane and point" icon="icons/Construction/axis_by_plane_and_point_32x32.png">
50 <shape_selector id="plane"
52 tooltip="Select a planar face."
53 icon="icons/Construction/face.png"
55 <validator id="GeomValidators_Face" parameters="plane"/>
57 <shape_selector id="point"
59 tooltip="Select point."
60 icon="icons/Construction/point.png"
64 <box id="by_two_planes" title="By two planes" icon="icons/Construction/axis_by_two_planes_32x32.png">
65 <shape_selector id="plane1"
67 tooltip="Select a planar face."
68 icon="icons/Construction/face.png"
70 <validator id="GeomValidators_Face" parameters="plane"/>
71 <validator id="ConstructionPlugin_ValidatorAxisTwoNotParallelPlanes" parameters="plane2"/>
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"/>
77 <shape_selector id="plane2"
79 tooltip="Select a planar face."
80 icon="icons/Construction/face.png"
82 <validator id="GeomValidators_Face" parameters="plane"/>
83 <validator id="ConstructionPlugin_ValidatorAxisTwoNotParallelPlanes" parameters="plane1"/>
85 <optionalbox id="use_offset2" title="Offset from 2nd plane">
86 <doublevalue id="offset2" label="Distance " tooltip="Distance value" min="0" default="0"/>
87 <boolvalue id="reverse_offset2" label="Reverse" tooltip="Reverse offset value" default="false"/>