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="AxisByPointsCase" title="By two points" icon="icons/Construction/by_two_points_32x32.png">
8 <shape_selector id="FirstPoint"
10 icon="icons/Construction/point.png"
11 tooltip="Select a first point"
13 <validator id="GeomValidators_ConstructionComposite"/>
14 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
16 <shape_selector id="SecondPoint"
18 icon="icons/Construction/point.png"
19 tooltip="Select a second point"
21 <validator id="GeomValidators_ConstructionComposite"/>
22 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
23 <validator id="GeomValidators_DifferentShapes"/>
26 <box id="AxisByCylindricalFaceCase" title="As axis of cylindrical face" icon="icons/Construction/cylindrical_face_32x32.png">
27 <shape_selector id="CylindricalFace"
29 icon="icons/Construction/circle.png"
30 tooltip="Select a cylindrical object"
32 <validator id="GeomValidators_Face" parameters="cylinder"/>
35 <box id="AxisByDimensionsCase" title="By three dimensions" icon="icons/Construction/axis_dxyz_32x32.png">
36 <doublevalue id="DX" label="DX " tooltip="X dimension" default="0"/>
37 <doublevalue id="DY" label="DY " tooltip="Y dimension" default="0"/>
38 <doublevalue id="DZ" label="DZ " tooltip="Z dimension" default="10"/>
40 <box id="by_line" title="By line" icon="icons/Construction/axis_by_line_32x32.png">
41 <shape_selector id="line"
43 tooltip="Select line."
44 icon="icons/Construction/edge.png"
46 <validator id="GeomValidators_ShapeType" parameters="line"/>
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"/>