Salome HOME
15abcf3363825b5c250e288e02509dcf10eb070f
[modules/shaper.git] / src / SketchPlugin / plugin-Sketch.xml
1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 <plugin>
4   <workbench id="Sketch">
5     <group id="Basic">
6       <feature
7         id="Sketch"
8         nested="SketchPoint SketchIntersectionPoint SketchLine SketchCircle SketchArc SketchRectangle SketchConstraintLength SketchConstraintRadius SketchConstraintDistance SketchConstraintParallel SketchConstraintPerpendicular SketchConstraintRigid SketchConstraintHorizontal SketchConstraintVertical SketchConstraintEqual SketchConstraintTangent SketchConstraintFillet SketchConstraintCoincidence SketchConstraintMirror SketchConstraintAngle SketchMultiRotation SketchMultiTranslation SketchConstraintCollinear SketchConstraintMiddle"
9         when_nested="accept abort"
10         title="Sketch"
11         tooltip="Create sketch"
12         icon=":icons/sketch.png">
13         <sketch-start-label id="External" title="Select a plane on which to create a sketch" tooltip="Select a plane on which to create a sketch">
14           <validator id="GeomValidators_Face" parameters="plane"/>
15         </sketch-start-label>
16         <error_label id="SolverError"/>
17         <validator id="SketchPlugin_SolverErrorValidator"/>
18       <!--icon=":pictures/x_point.png"-->
19       </feature>
20
21       <!-- SketchPoint -->
22       <feature id="SketchPoint" title="Point" tooltip="Create point" icon=":icons/point.png">
23         <sketch-2dpoint_selector id="PointCoordindates" accept_expressions="0" title="Point" tooltip="Point coordinates"/>
24         <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0"/>
25       </feature>
26       
27       <!-- Intersection Point -->
28       <feature
29         id="SketchIntersectionPoint"
30         title="Intersection Point"
31         tooltip="Create intersection point"
32         icon=":icons/intersection_point.png">
33         <sketch_shape_selector
34               id="ExternalLine"
35               label="Edge"
36               tooltip="Select external line."
37               shape_types="edge"
38               use_external="false"
39               use_sketch_plane="false">
40           <validator id="GeomValidators_ShapeType" parameters="line"/>
41           <validator id="SketchPlugin_IntersectionValidator"/>
42         </sketch_shape_selector>
43       </feature>
44       
45       <!-- SketchLine -->
46       <feature id="SketchLine" title="Line" tooltip="Create line" icon=":icons/line.png">
47         <sketch-2dpoint_selector id="StartPoint" accept_expressions="0" title="Start point" tooltip="Start point coordinates" previous_feature_param="EndPoint"/>
48         <sketch-2dpoint_selector id="EndPoint" accept_expressions="0" title="End point" tooltip="End point coordinates"/>
49         <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0"/>
50         <validator id="GeomValidators_Different" parameters="StartPoint,EndPoint"/>
51       </feature>
52
53       <!-- SketchCircle -->
54       <feature 
55         id="SketchCircle"
56         title="Circle"
57         tooltip="Create circle"
58         icon=":icons/circle.png">
59         <toolbox id="CircleType">
60           <box id="CenterRadius" title="Center and radius" icon=":icons/circle_pt_rad_32x32.png">
61             <sketch-2dpoint_selector id="CircleCenter" accept_expressions="0" title="Center" tooltip="Center coordinates"/>
62             <point2ddistance id="CircleRadius" accept_expressions="0" first_point="CircleCenter" label="Radius:" min="0" step="1.0" default="0" icon=":icons/radius.png" tooltip="Set radius">
63               <validator id="GeomValidators_Positive"/>
64             </point2ddistance>
65           </box>
66           <box id="ThreePoints" title="Three points" icon=":icons/circle_3pt_32x32.png">
67             <sketch-2dpoint_selector id="FirstPoint" accept_expressions="0" title="First point" tooltip="First point"/>
68             <sketch-2dpoint_selector id="SecondPoint" accept_expressions="0" title="Second point" tooltip="Second point"/>
69             <sketch-2dpoint_selector id="ThirdPoint" accept_expressions="0" title="Third point" tooltip="Third point"/>
70           </box>
71         </toolbox>
72         <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0"/>
73       </feature>
74
75       <!-- SketchArc -->
76       <feature
77         id="SketchArc"
78         title="Arc"
79         tooltip="Create arc"
80         icon=":icons/arc.png">
81         <toolbox id="ArcType">
82           <box id="CenterStartEnd" title="Center and two points" icon=":icons/arc_base_32x32.png">
83             <sketch-2dpoint_selector id="ArcCenter" accept_expressions="0" title="Center" tooltip="Center of a circle"/>
84             <sketch-2dpoint_selector id="ArcStartPoint" accept_expressions="0" title="Start point" tooltip="Start point"/>
85             <sketch-2dpoint_selector id="ArcEndPoint" accept_expressions="0" title="End point" tooltip="End point"/>
86             <validator id="GeomValidators_Different" parameters="ArcCenter,ArcStartPoint,ArcEndPoint"/>
87           </box>
88           <box id="ThreePoints" title="Three points on arc" icon=":icons/arc_3pt_32x32.png">
89             <sketch-2dpoint_selector id="ArcStartPoint" accept_expressions="0" title="Start point" tooltip="Start point"/>
90             <sketch-2dpoint_selector id="ArcEndPoint" accept_expressions="0" title="End point" tooltip="End point"/>
91             <sketch-2dpoint_selector id="ArcPassedPoint" accept_expressions="0" title="Passed point" tooltip="Passed point"/>
92             <validator id="GeomValidators_Different" parameters="ArcStartPoint,ArcEndPoint,ArcPassedPoint"/>
93           </box>
94           <box id="Tangent" title="Tangent with edge" icon=":icons/arc_tang_32x32.png">
95             <sketch_shape_selector id="ArcTangentPoint" label="Start point" tooltip="Select point on line" shape_types="vertex">
96               <validator id="SketchPlugin_ArcTangentPoint" parameters="" />
97             </sketch_shape_selector>
98             <sketch-2dpoint_selector id="ArcEndPoint" accept_expressions="0" title="End point" tooltip="End point"/>
99           </box>
100         </toolbox>
101         <doublevalue id="ArcRadius" accept_expressions="0" label="Radius:" default="computed" icon=":icons/radius.png" tooltip="Set radius" obligatory="0">
102           <validator id="GeomValidators_Positive"/>
103         </doublevalue>
104         <doublevalue id="ArcAngle" label="Angle:" icon=":icons/angle.png" tooltip="Set angle" default="90" use_reset="false" obligatory="0"/>
105         <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0"/>
106       </feature>
107     </group>
108
109     <group id="Macro">
110       <!--  SketchConstraintFillet  -->
111       <feature id="SketchConstraintFillet" title="Fillet" tooltip="Create constraint defining fillet between two objects" icon=":icons/fillet.png">
112         <!--<sketch_shape_selector id="ConstraintEntityA"
113             label="Point" tooltip="Select point for fillet (should be shared by two entities only)" shape_types="vertex">
114           <validator id="SketchPlugin_FilletVertexValidator"/>
115         </sketch_shape_selector>-->
116         <sketch_multi_selector id="ConstraintEntityA"
117             label="Points:"
118             tooltip="Select points for fillets"
119             type_choice="Vertices">
120           <validator id="SketchPlugin_FilletVertexValidator"/>
121         </sketch_multi_selector>
122         <doublevalue label="Radius" tooltip="Fillet arc radius" id="ConstraintValue" accept_expressions="0" min="0" use_reset="false">
123           <validator id="GeomValidators_Positive"/>
124         </doublevalue>
125         <validator id="PartSet_FilletSelection"/>
126       </feature>
127     </group>
128       
129     <group id="Constraints">
130     <!--  SketchConstraintDistance  -->
131       <feature
132         id="SketchConstraintDistance"
133         title="Distance"
134         tooltip="Set fixed distance from a point to an object"
135         icon=":icons/distance.png">
136         <label title="Select objects for distance definition. Following objects can be accepted: point, line or arc end point, center of circle or arc."/>
137         <sketch_shape_selector
138               id="ConstraintEntityA"
139               label="First object"
140               tooltip="Select point, line end point, line, center of circle or arc."
141               shape_types="edge vertex">
142           <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
143           <validator id="PartSet_DifferentObjects"/>
144           <validator id="GeomValidators_ShapeType" parameters="vertex,line"/>
145         </sketch_shape_selector>
146         <sketch_shape_selector 
147           id="ConstraintEntityB" 
148           label="Second object" 
149           tooltip="Select point, line end point, line, center of circle or arc." 
150           shape_types="edge vertex">
151           <validator id="PartSet_DifferentObjects"/>
152           <validator id="SketchPlugin_DistanceAttr" parameters="ConstraintEntityA"/>
153           <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
154           <validator id="GeomValidators_ShapeType" parameters="vertex,line"/>
155         </sketch_shape_selector>
156         <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt"  default="computed" internal="1" obligatory="0"/>
157         
158         <doublevalue_editor label="Value" tooltip="Distance" id="ConstraintValue" default="computed" min="0">
159           <validator id="GeomValidators_Positive"/>
160         </doublevalue_editor>
161         
162         <validator id="PartSet_DistanceSelection"/>
163       </feature>
164       
165     <!--  SketchConstraintLength  -->      
166       <feature id="SketchConstraintLength" title="Length" tooltip="Set fixed length of a line segment" icon=":icons/length.png">
167         <label title="Select a line on which to calculate length" tooltip="Select a line on which to calculate length"/>
168         <shape_selector id="ConstraintEntityA" label="Line" tooltip="Select an line" shape_types="edge" >
169           <validator id="GeomValidators_ShapeType" parameters="line"/>
170         </shape_selector>
171         <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
172         <doublevalue_editor label="Value" tooltip="Length" id="ConstraintValue" default="computed">
173           <validator id="GeomValidators_Positive"/>
174         </doublevalue_editor>
175         <validator id="PartSet_LengthSelection"/>
176       </feature>
177       
178     <!--  SketchConstraintRadius  -->
179       <feature id="SketchConstraintRadius" title="Radius" tooltip="Set fixed radius of a circle or an arc" icon=":icons/radius_constr.png">
180         <label title="Select a circle or an arc on which to calculate radius" tooltip="Select a circle or an arc on which to calculate radius"/>
181         <shape_selector id="ConstraintEntityA" label="Circle or Arc" tooltip="Select a circle or an arc" 
182             shape_types="edge">
183             <validator id="GeomValidators_ShapeType" parameters="circle"/>
184         </shape_selector>
185         <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt"  default="computed" internal="1" obligatory="0"/>
186         <doublevalue_editor label="Value" tooltip="Radius" id="ConstraintValue" default="computed">
187           <validator id="GeomValidators_Positive"/>
188         </doublevalue_editor>
189         <validator id="PartSet_RadiusSelection"/>
190       </feature>
191
192       <!--  SketchConstraintAngle  -->
193       <feature id="SketchConstraintAngle" title="Angle" tooltip="Set fixed angle between two line segments" icon=":icons/angle_constr.png">
194         <sketch_shape_selector id="ConstraintEntityA" label="Line 1" tooltip="Select an line" shape_types="edge" >
195           <validator id="GeomValidators_ShapeType" parameters="line"/>
196           <validator id="PartSet_DifferentObjects"/>
197           <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
198         </sketch_shape_selector>
199         <sketch_shape_selector id="ConstraintEntityB" label="Line 2" tooltip="Select an line" shape_types="edge" >
200           <validator id="GeomValidators_ShapeType" parameters="line"/>
201           <validator id="PartSet_DifferentObjects"/>
202           <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
203         </sketch_shape_selector>
204         <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt"  default="computed" internal="1" obligatory="0"/>
205         <doublevalue_editor label="Value" tooltip="Angle" id="ConstraintValue" default="computed" min="0" max="180" />
206         <validator id="PartSet_AngleSelection"/>
207       </feature>
208
209       <!--  SketchConstraintParallel  -->
210       <feature id="SketchConstraintParallel" title="Parallel" tooltip="Create constraint defining two parallel lines" icon=":icons/parallel.png">
211         <sketch_shape_selector id="ConstraintEntityA" 
212             label="First line" tooltip="Select a line" shape_types="edge">
213           <validator id="GeomValidators_ShapeType" parameters="line"/>
214           <validator id="PartSet_DifferentObjects"/>
215           <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
216         </sketch_shape_selector>
217         
218         <sketch_shape_selector id="ConstraintEntityB" label="Second line" tooltip="Select a line" 
219             shape_types="edge">
220             <validator id="GeomValidators_ShapeType" parameters="line"/>
221             <validator id="PartSet_DifferentObjects"/>
222             <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
223         </sketch_shape_selector>
224         <validator id="PartSet_ParallelSelection"/>
225       </feature>
226       
227     <!--  SketchConstraintPerpendicular  -->
228       <feature id="SketchConstraintPerpendicular" title="Perpendicular" 
229         tooltip="Create constraint defining two perpendicular lines" 
230         icon=":icons/perpendicular.png">
231         <sketch_shape_selector id="ConstraintEntityA" 
232             label="First line" tooltip="Select an line" 
233             shape_types="edge">
234           <validator id="PartSet_DifferentObjects"/>
235           <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
236             <validator id="GeomValidators_ShapeType" parameters="line"/>
237         </sketch_shape_selector>
238         
239         <sketch_shape_selector id="ConstraintEntityB" 
240             label="Second line" tooltip="Select an line" 
241             shape_types="edge">
242             <validator id="PartSet_DifferentObjects"/>
243           <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
244             <validator id="GeomValidators_ShapeType" parameters="line"/>
245         </sketch_shape_selector>
246         <validator id="PartSet_PerpendicularSelection"/>
247       </feature>
248
249       <!--  SketchConstraintCoincidence  -->
250       <feature id="SketchConstraintCoincidence" title="Coincident" tooltip="Create constraint for the coincidence of two points or point on line or circle" icon=":icons/coincedence.png">
251         <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex edge">
252           <validator id="PartSet_DifferentObjects"/>
253           <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
254         </sketch_shape_selector>
255         <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex edge">
256           <validator id="PartSet_DifferentObjects"/>
257           <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
258           <validator id="SketchPlugin_CoincidenceAttr" parameters="ConstraintEntityA"/>
259         </sketch_shape_selector>
260         <validator id="PartSet_CoincidentSelection"/>
261       </feature>
262
263       <!--  SketchConstraintRigid  -->
264       <feature id="SketchConstraintRigid" title="Fixed" tooltip="Fix an object" icon=":icons/fixed.png">
265         <sketch_shape_selector id="ConstraintEntityA" label="Object"
266                         tooltip="Select point, line end point, line, center of circle or arc."
267                         shape_types="edge vertex">
268           <validator id="GeomValidators_ShapeType" parameters="vertex,line,circle"/>
269           <validator id="SketchPlugin_NotFixed"/>
270         </sketch_shape_selector>
271         <validator id="PartSet_RigidSelection"/>
272       </feature>
273
274       <!--  SketchConstraintHorizontal  -->
275       <feature id="SketchConstraintHorizontal" title="Horizontal" tooltip="Create constraint defining horizontal line" icon=":icons/horisontal.png">
276         <sketch_shape_selector id="ConstraintEntityA" 
277             label="Line" tooltip="Select a line" shape_types="edge" use_external="false">
278             <validator id="GeomValidators_ShapeType" parameters="line"/>
279         </sketch_shape_selector>
280         <validator id="PartSet_HVDirSelection"/>
281       </feature>
282       
283     <!--  SketchConstraintVertical  -->
284       <feature id="SketchConstraintVertical" title="Vertical" tooltip="Create constraint defining vertical line" icon=":icons/vertical.png">
285         <sketch_shape_selector id="ConstraintEntityA" 
286             label="Line" tooltip="Select a line" shape_types="edge" use_external="false">
287             <validator id="GeomValidators_ShapeType" parameters="line"/>
288         </sketch_shape_selector>
289         <validator id="PartSet_HVDirSelection"/>
290       </feature>
291       
292     <!--  SketchConstraintEqual  -->
293       <feature id="SketchConstraintEqual" title="Equal"
294         tooltip="Create constraint defining equal lengths of two lines or line and arc or equal radii of two arcs or two circles or arc and circle"
295         icon=":icons/equal.png">
296         <sketch_shape_selector id="ConstraintEntityA" 
297             label="First object" tooltip="Select line, circle or arc" shape_types="edge">
298           <validator id="PartSet_DifferentObjects"/>
299           <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
300         </sketch_shape_selector>
301         
302         <sketch_shape_selector id="ConstraintEntityB"
303             label="Second object" tooltip="Select line, circle or arc" shape_types="edge">
304           <validator id="SketchPlugin_EqualAttr" parameters="ConstraintEntityA"/>
305           <validator id="PartSet_DifferentObjects"/>
306           <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
307         </sketch_shape_selector>
308         <validator id="PartSet_EqualSelection"/>
309       </feature>
310       
311     <!--  SketchConstraintTangent  -->
312       <feature id="SketchConstraintTangent" title="Tangent" tooltip="Create constraint defining tangency of two objects with common coincident point" icon=":icons/tangent.png">
313         <sketch_shape_selector id="ConstraintEntityA" 
314             label="First object" tooltip="Select line or arc" shape_types="edge">
315           <validator id="SketchPlugin_TangentAttr" parameters="ConstraintEntityB"/>
316           <validator id="PartSet_DifferentObjects"/>
317         </sketch_shape_selector>
318         
319         <sketch_shape_selector id="ConstraintEntityB"
320             label="Second object" tooltip="Select line or arc" shape_types="edge">
321           <validator id="SketchPlugin_TangentAttr" parameters="ConstraintEntityA"/>
322           <validator id="PartSet_DifferentObjects"/>
323         </sketch_shape_selector>
324         <validator id="PartSet_TangentSelection"/>
325       </feature>
326       
327     <!--  SketchConstraintCollinear  -->
328       <feature id="SketchConstraintCollinear" title="Collinear" tooltip="Create constraint defining collinearity of two lines" icon=":icons/collinear.png">
329         <sketch_shape_selector id="ConstraintEntityA" 
330             label="First line" tooltip="Select a line" shape_types="edge">
331           <validator id="GeomValidators_ShapeType" parameters="line"/>
332           <validator id="PartSet_DifferentObjects"/>
333         </sketch_shape_selector>
334         
335         <sketch_shape_selector id="ConstraintEntityB"
336             label="Second line" tooltip="Select a line" shape_types="edge">
337           <validator id="GeomValidators_ShapeType" parameters="line"/>
338           <validator id="PartSet_DifferentObjects"/>
339         </sketch_shape_selector>
340         <validator id="PartSet_CollinearSelection"/>
341       </feature>
342
343       <!--  SketchConstraintMiddle  -->
344       <feature id="SketchConstraintMiddle" title="Middle point" tooltip="Create constraint for setting middle point on a line" icon=":icons/middlepoint.png">
345         <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex edge">
346           <validator id="PartSet_DifferentObjects"/>
347           <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
348           <validator id="SketchPlugin_MiddlePointAttr" parameters="ConstraintEntityB"/>
349         </sketch_shape_selector>
350         <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex edge">
351           <validator id="PartSet_DifferentObjects"/>
352           <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
353           <validator id="SketchPlugin_MiddlePointAttr" parameters="ConstraintEntityA"/>
354         </sketch_shape_selector>
355         <validator id="PartSet_MiddlePointSelection"/>
356       </feature>
357          
358     </group>
359     
360     <group id="Edit">
361       <!--  SketchConstraintMirror  -->
362       <feature
363         id="SketchConstraintMirror"
364         title="Mirror" icon=":icons/mirror.png"
365         tooltip="Create constraint, mirroring group of objects">
366         <sketch_shape_selector id="ConstraintEntityA"
367             label="Mirror line" tooltip="Select mirror line" shape_types="edge">
368             <validator id="GeomValidators_ShapeType" parameters="line"/>
369         </sketch_shape_selector>
370         <sketch_multi_selector id="ConstraintMirrorList"
371             label="Segments:"
372             tooltip="Select list of mirroring objects"
373             type_choice="Edges"
374             use_external="true">
375             <validator id="SketchPlugin_MirrorAttr" />
376         </sketch_multi_selector>
377       </feature>
378       
379       <!--  SketchMultiTranslation  -->
380       <feature
381         id="SketchMultiTranslation"
382         title="Translation" icon=":icons/translate.png"
383         tooltip="Multiple translation">
384         <sketch_multi_selector id="MultiTranslationList"
385             label="Segments:"
386             tooltip="Select list of translating objects"
387             type_choice="Edges"
388             use_external="true">
389           <validator id="SketchPlugin_CopyValidator" />
390         </sketch_multi_selector>
391         <toolbox id="ValueType">
392           <box id="SingleValue" title="Single value" icon=":icons/translate_32x32.png">
393             <groupbox title="Direction">
394               <sketch_shape_selector
395                     id="MultiTranslationStartPoint"
396                     label="Start point"
397                     tooltip="Start point of translation"
398                     shape_types="vertex">
399                 <validator id="PartSet_DifferentObjects"/>
400                 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
401               </sketch_shape_selector>
402               <sketch_shape_selector
403                     id="MultiTranslationEndPoint"
404                     label="End point"
405                     tooltip="Final point of translation"
406                     shape_types="vertex">
407                 <validator id="PartSet_DifferentObjects"/>
408                 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
409               </sketch_shape_selector>
410             </groupbox>
411           </box>
412           <box id="FullValue" title="Full value" icon=":icons/translate_full_32x32.png">
413             <groupbox title="Direction">
414               <sketch_shape_selector
415                     id="MultiTranslationStartPoint"
416                     label="Start point"
417                     tooltip="Start point of translation"
418                     shape_types="vertex">
419                 <validator id="PartSet_DifferentObjects"/>
420                 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
421               </sketch_shape_selector>
422               <sketch_shape_selector
423                     id="MultiTranslationEndPoint"
424                     label="End point"
425                     tooltip="Final point of translation"
426                     shape_types="vertex">
427                 <validator id="PartSet_DifferentObjects"/>
428                 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
429               </sketch_shape_selector>
430             </groupbox>
431           </box>
432         </toolbox>
433         <integervalue id="MultiTranslationObjects"
434             label="Total number of objects"
435             tooltip="Total number of objects"
436             default="2" min="2" use_reset="false">
437           <validator id="GeomValidators_Positive"/>
438         </integervalue>
439       </feature>
440
441       <!--  SketchMultiRotation  -->
442       <feature
443         id="SketchMultiRotation"
444         title="Rotation" icon=":icons/rotate.png"
445         tooltip="Multiple rotation">
446         <sketch_multi_selector id="MultiRotationList"
447             label="Segments:"
448             tooltip="Select list of rotating objects"
449             type_choice="Edges"
450             use_external="true">
451           <validator id="SketchPlugin_CopyValidator" />
452         </sketch_multi_selector>
453         <sketch_shape_selector
454               id="MultiRotationCenter"
455               label="Center of rotation"
456               tooltip="Center of rotation"
457               shape_types="vertex">
458           <validator id="GeomValidators_ShapeType" parameters="vertex"/>
459         </sketch_shape_selector>
460         <toolbox id="AngleType">
461           <box id="SingleAngle" title="Single angle" icon=":icons/angle_up_32x32.png">
462             <doublevalue id="MultiRotationAngle"
463                          label="Angle"
464                          icon=":icons/angle.png"
465                          tooltip="Rotation angle"
466                          default="90" use_reset="false"/>
467           </box>
468           <box id="FullAngle" title="Full angle" icon=":icons/angle_up_full_32x32.png">
469             <doublevalue id="MultiRotationAngle"
470                          label="Angle"
471                          icon=":icons/angle.png"
472                          tooltip="Rotation angle"
473                          default="90" use_reset="false"/>
474           </box>
475         </toolbox>
476         <integervalue id="MultiRotationObjects"
477             label="Total number of objects"
478             tooltip="Total number of objects" 
479             default="2" min="2" use_reset="false">
480           <validator id="GeomValidators_Positive"/>
481         </integervalue>
482       </feature>
483     </group>
484   </workbench>
485 </plugin>