1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
4 <workbench id="Sketch">
5 <group id="Linear geometry">
8 nested="SketchPoint SketchIntersectionPoint SketchLine SketchCircle SketchArc SketchRectangle SketchProjection SketchConstraintLength SketchConstraintRadius SketchConstraintDistance SketchConstraintParallel SketchConstraintPerpendicular SketchConstraintRigid SketchConstraintHorizontal SketchConstraintVertical SketchConstraintEqual SketchConstraintTangent SketchConstraintFillet SketchConstraintCoincidence SketchConstraintMirror SketchConstraintAngle SketchMultiRotation SketchMultiTranslation SketchConstraintCollinear SketchConstraintMiddle"
9 when_nested="accept abort"
11 tooltip="Create sketch"
12 icon="icons/Sketch/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"/>
16 <label id="SolverDOF"/>
17 <label id="SolverError" styleSheet="color : red; font : bold"/>
18 <validator id="SketchPlugin_SolverErrorValidator"/>
22 <feature id="SketchPoint" title="Point" tooltip="Create point" icon="icons/Sketch/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"/>
28 <feature id="SketchLine" title="Line" tooltip="Create line" icon="icons/Sketch/line.png">
29 <sketch-2dpoint_selector id="StartPoint" accept_expressions="0" title="Start point" tooltip="Start point coordinates" previous_feature_param="EndPoint"/>
30 <sketch-2dpoint_selector id="EndPoint" accept_expressions="0" title="End point" tooltip="End point coordinates"/>
31 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0"/>
32 <validator id="GeomValidators_Different" parameters="StartPoint,EndPoint"/>
35 <group id="Circular geometry">
40 tooltip="Create circle"
41 icon="icons/Sketch/circle.png">
42 <toolbox id="CircleType">
43 <box id="CenterRadius" title="Center and radius" icon="icons/Sketch/circle_pt_rad_32x32.png">
44 <sketch-2dpoint_selector id="CircleCenter" accept_expressions="0" title="Center" tooltip="Center coordinates"/>
45 <point2ddistance id="CircleRadius" accept_expressions="0" first_point="CircleCenter" label="Radius:" min="0" step="1.0" default="0" icon="icons/Sketch/radius.png" tooltip="Set radius">
46 <validator id="GeomValidators_Positive"/>
49 <box id="ThreePoints" title="Three points" icon="icons/Sketch/circle_3pt_32x32.png">
50 <sketch-2dpoint_selector id="FirstPoint" accept_expressions="0" title="First point" tooltip="First point"/>
51 <sketch-2dpoint_selector id="SecondPoint" accept_expressions="0" title="Second point" tooltip="Second point"/>
52 <sketch-2dpoint_selector id="ThirdPoint" accept_expressions="0" title="Third point" tooltip="Third point"/>
55 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0"/>
63 icon="icons/Sketch/arc.png">
64 <toolbox id="ArcType">
65 <box id="CenterStartEnd" title="Center and two points" icon="icons/Sketch/arc_base_32x32.png">
66 <sketch-2dpoint_selector id="ArcCenter" accept_expressions="0" title="Center" tooltip="Center of a circle"/>
67 <sketch-2dpoint_selector id="ArcStartPoint" accept_expressions="0" title="Start point" tooltip="Start point"/>
68 <sketch-2dpoint_selector id="ArcEndPoint" accept_expressions="0" title="End point" tooltip="End point"/>
69 <validator id="GeomValidators_Different" parameters="ArcCenter,ArcStartPoint,ArcEndPoint"/>
71 <box id="ThreePoints" title="Three points on arc" icon="icons/Sketch/arc_3pt_32x32.png">
72 <sketch-2dpoint_selector id="ArcStartPoint" accept_expressions="0" title="Start point" tooltip="Start point"/>
73 <sketch-2dpoint_selector id="ArcEndPoint" accept_expressions="0" title="End point" tooltip="End point"/>
74 <sketch-2dpoint_selector id="ArcPassedPoint" accept_expressions="0" title="Passed point" tooltip="Passed point"/>
75 <validator id="GeomValidators_Different" parameters="ArcStartPoint,ArcEndPoint,ArcPassedPoint"/>
77 <box id="Tangent" title="Tangent with edge" icon="icons/Sketch/arc_tang_32x32.png">
78 <sketch_shape_selector id="ArcTangentPoint" label="Start point" tooltip="Select point on line" shape_types="vertex">
79 <validator id="SketchPlugin_ArcTangentPoint" parameters="" />
80 </sketch_shape_selector>
81 <sketch-2dpoint_selector id="ArcEndPoint" accept_expressions="0" title="End point" tooltip="End point"/>
84 <doublevalue id="ArcRadius" accept_expressions="0" label="Radius:" default="computed" icon="icons/Sketch/radius.png" tooltip="Set radius" obligatory="0">
85 <validator id="GeomValidators_Positive"/>
87 <doublevalue id="ArcAngle" label="Angle:" icon="icons/Sketch/angle.png" tooltip="Set angle" default="90" use_reset="false" obligatory="0"/>
88 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0"/>
91 <!-- SketchConstraintFillet -->
92 <feature id="SketchConstraintFillet" title="Fillet" tooltip="Create constraint defining fillet between two objects" icon="icons/Sketch/fillet.png">
93 <!--<sketch_shape_selector id="ConstraintEntityA"
94 label="Point" tooltip="Select point for fillet (should be shared by two entities only)" shape_types="vertex">
95 <validator id="SketchPlugin_FilletVertexValidator"/>
96 </sketch_shape_selector>-->
97 <sketch_multi_selector id="ConstraintEntityA"
99 tooltip="Select points for fillets"
100 type_choice="Vertices"
102 <validator id="SketchPlugin_FilletVertexValidator"/>
103 </sketch_multi_selector>
104 <doublevalue label="Radius" tooltip="Fillet arc radius" id="ConstraintValue" accept_expressions="0" min="0" use_reset="false">
105 <validator id="GeomValidators_Positive"/>
107 <validator id="PartSet_FilletSelection"/>
111 <group id="Projection">
112 <!-- Intersection Point -->
114 id="SketchIntersectionPoint"
115 title="Intersection Point"
116 tooltip="Create intersection point"
117 icon="icons/Sketch/intersection_point.png">
118 <sketch_shape_selector
121 tooltip="Select external line."
124 use_sketch_plane="false">
125 <validator id="GeomValidators_ShapeType" parameters="line"/>
126 <validator id="SketchPlugin_IntersectionValidator"/>
127 </sketch_shape_selector>
128 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0"/>
131 <!-- Projected feature -->
133 id="SketchProjection"
135 tooltip="Project feature onto sketch plane"
136 icon="icons/Sketch/projection.png">
137 <sketch_shape_selector
140 tooltip="Select external edge."
143 use_sketch_plane="false">
144 <validator id="SketchPlugin_ProjectionValidator"/>
145 </sketch_shape_selector>
146 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0"/>
150 <group id="Replication">
151 <!-- SketchConstraintMirror -->
153 id="SketchConstraintMirror"
154 title="Mirror" icon="icons/Sketch/mirror.png"
155 tooltip="Create constraint, mirroring group of objects">
156 <sketch_shape_selector id="ConstraintEntityA"
157 label="Mirror line" tooltip="Select mirror line" shape_types="edge">
158 <validator id="GeomValidators_ShapeType" parameters="line"/>
159 </sketch_shape_selector>
160 <sketch_multi_selector id="ConstraintMirrorList"
162 tooltip="Select list of mirroring objects"
166 <validator id="SketchPlugin_MirrorAttr" />
167 </sketch_multi_selector>
170 <!-- SketchMultiTranslation -->
172 id="SketchMultiTranslation"
173 title="Translation" icon="icons/Sketch/translate.png"
174 tooltip="Multiple translation">
175 <sketch_multi_selector id="MultiTranslationList"
177 tooltip="Select list of translating objects"
181 <validator id="SketchPlugin_CopyValidator" />
182 </sketch_multi_selector>
183 <toolbox id="ValueType">
184 <box id="SingleValue" title="Single value" icon="icons/Sketch/translate_32x32.png">
185 <groupbox title="Direction">
186 <sketch_shape_selector
187 id="MultiTranslationStartPoint"
189 tooltip="Start point of translation"
190 shape_types="vertex">
191 <validator id="PartSet_DifferentObjects"/>
192 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
193 </sketch_shape_selector>
194 <sketch_shape_selector
195 id="MultiTranslationEndPoint"
197 tooltip="Final point of translation"
198 shape_types="vertex">
199 <validator id="PartSet_DifferentObjects"/>
200 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
201 </sketch_shape_selector>
204 <box id="FullValue" title="Full value" icon="icons/Sketch/translate_full_32x32.png">
205 <groupbox title="Direction">
206 <sketch_shape_selector
207 id="MultiTranslationStartPoint"
209 tooltip="Start point of translation"
210 shape_types="vertex">
211 <validator id="PartSet_DifferentObjects"/>
212 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
213 </sketch_shape_selector>
214 <sketch_shape_selector
215 id="MultiTranslationEndPoint"
217 tooltip="Final point of translation"
218 shape_types="vertex">
219 <validator id="PartSet_DifferentObjects"/>
220 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
221 </sketch_shape_selector>
225 <integervalue id="MultiTranslationObjects"
226 label="Total number of objects"
227 tooltip="Total number of objects"
228 default="2" min="2" use_reset="false">
229 <validator id="GeomValidators_Positive"/>
233 <!-- SketchMultiRotation -->
235 id="SketchMultiRotation"
236 title="Rotation" icon="icons/Sketch/rotate.png"
237 tooltip="Multiple rotation">
238 <sketch_multi_selector id="MultiRotationList"
240 tooltip="Select list of rotating objects"
244 <validator id="SketchPlugin_CopyValidator" />
245 </sketch_multi_selector>
246 <sketch_shape_selector
247 id="MultiRotationCenter"
248 label="Center of rotation"
249 tooltip="Center of rotation"
250 shape_types="vertex">
251 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
252 </sketch_shape_selector>
253 <toolbox id="AngleType">
254 <box id="SingleAngle" title="Single angle" icon="icons/Sketch/angle_up_32x32.png">
255 <doublevalue id="MultiRotationAngle"
257 icon="icons/Sketch/angle.png"
258 tooltip="Rotation angle"
259 default="90" use_reset="false"/>
261 <box id="FullAngle" title="Full angle" icon="icons/Sketch/angle_up_full_32x32.png">
262 <doublevalue id="MultiRotationAngle"
264 icon="icons/Sketch/angle.png"
265 tooltip="Rotation angle"
266 default="90" use_reset="false"/>
269 <integervalue id="MultiRotationObjects"
270 label="Total number of objects"
271 tooltip="Total number of objects"
272 default="2" min="2" use_reset="false">
273 <validator id="GeomValidators_Positive"/>
278 <group id="Dimensional constraints">
279 <!-- SketchConstraintDistance -->
281 id="SketchConstraintDistance"
283 tooltip="Set fixed distance from a point to an object"
284 icon="icons/Sketch/distance.png">
285 <label title="Select objects for distance definition. Following objects can be accepted: point, line or arc end point, center of circle or arc."/>
286 <sketch_shape_selector
287 id="ConstraintEntityA"
289 tooltip="Select point, line end point, line, center of circle or arc."
290 shape_types="edge vertex">
291 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
292 <validator id="PartSet_DifferentObjects"/>
293 <validator id="GeomValidators_ShapeType" parameters="vertex,line"/>
294 </sketch_shape_selector>
295 <sketch_shape_selector
296 id="ConstraintEntityB"
297 label="Second object"
298 tooltip="Select point, line end point, line, center of circle or arc."
299 shape_types="edge vertex">
300 <validator id="PartSet_DifferentObjects"/>
301 <validator id="SketchPlugin_DistanceAttr" parameters="ConstraintEntityA"/>
302 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
303 <validator id="GeomValidators_ShapeType" parameters="vertex,line"/>
304 </sketch_shape_selector>
305 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
307 <doublevalue_editor label="Value" tooltip="Distance" id="ConstraintValue" default="computed" min="0">
308 <validator id="GeomValidators_Positive"/>
309 </doublevalue_editor>
311 <validator id="PartSet_DistanceSelection"/>
314 <!-- SketchConstraintLength -->
315 <feature id="SketchConstraintLength" title="Length" tooltip="Set fixed length of a line segment" icon="icons/Sketch/length.png">
316 <label title="Select a line on which to calculate length" tooltip="Select a line on which to calculate length"/>
317 <shape_selector id="ConstraintEntityA" label="Line" tooltip="Select an line" shape_types="edge" >
318 <validator id="GeomValidators_ShapeType" parameters="line"/>
320 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
321 <doublevalue_editor label="Value" tooltip="Length" id="ConstraintValue" default="computed">
322 <validator id="GeomValidators_Positive"/>
323 </doublevalue_editor>
324 <validator id="PartSet_LengthSelection"/>
327 <!-- SketchConstraintAngle -->
328 <feature id="SketchConstraintAngle" title="Angle" tooltip="Set fixed angle between two line segments" icon="icons/Sketch/angle_constr.png">
329 <sketch_shape_selector id="ConstraintEntityA" label="Line 1" tooltip="Select an line" shape_types="edge" >
330 <validator id="GeomValidators_ShapeType" parameters="line"/>
331 <validator id="PartSet_DifferentObjects"/>
332 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
333 </sketch_shape_selector>
334 <sketch_shape_selector id="ConstraintEntityB" label="Line 2" tooltip="Select an line" shape_types="edge" >
335 <validator id="GeomValidators_ShapeType" parameters="line"/>
336 <validator id="PartSet_DifferentObjects"/>
337 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
338 </sketch_shape_selector>
339 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
340 <doublevalue_editor label="Value" tooltip="Angle" id="AngleValue" default="computed" min="0" max="360" />
341 <validator id="PartSet_AngleSelection"/>
342 <module_choice id="AngleType"
343 widget_type="radiobuttons"
344 buttons_dir="horizontal"
346 tooltip="Type of angle"
347 string_list="Direct Complementary Additional"
348 icons_list="icons/Sketch/angle_direct.png icons/Sketch/angle_complementary.png icons/Sketch/angle_backward.png"
353 <!-- SketchConstraintRadius -->
354 <feature id="SketchConstraintRadius" title="Radius" tooltip="Set fixed radius of a circle or an arc" icon="icons/Sketch/radius_constr.png">
355 <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"/>
356 <shape_selector id="ConstraintEntityA" label="Circle or Arc" tooltip="Select a circle or an arc"
358 <validator id="GeomValidators_ShapeType" parameters="circle"/>
360 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
361 <doublevalue_editor label="Value" tooltip="Radius" id="ConstraintValue" default="computed">
362 <validator id="GeomValidators_Positive"/>
363 </doublevalue_editor>
364 <validator id="PartSet_RadiusSelection"/>
369 <group id="Geometrical constraints">
371 <!-- SketchConstraintHorizontal -->
372 <feature id="SketchConstraintHorizontal" title="Horizontal" tooltip="Create constraint defining horizontal line" icon="icons/Sketch/horisontal.png">
373 <sketch_shape_selector id="ConstraintEntityA"
374 label="Line" tooltip="Select a line" shape_types="edge" use_external="false">
375 <validator id="GeomValidators_ShapeType" parameters="line"/>
376 </sketch_shape_selector>
377 <validator id="PartSet_HVDirSelection"/>
380 <!-- SketchConstraintVertical -->
381 <feature id="SketchConstraintVertical" title="Vertical" tooltip="Create constraint defining vertical line" icon="icons/Sketch/vertical.png">
382 <sketch_shape_selector id="ConstraintEntityA"
383 label="Line" tooltip="Select a line" shape_types="edge" use_external="false">
384 <validator id="GeomValidators_ShapeType" parameters="line"/>
385 </sketch_shape_selector>
386 <validator id="PartSet_HVDirSelection"/>
389 <!-- SketchConstraintRigid -->
390 <feature id="SketchConstraintRigid" title="Fixed" tooltip="Fix an object" icon="icons/Sketch/fixed.png">
391 <sketch_shape_selector id="ConstraintEntityA" label="Object"
392 tooltip="Select point, line end point, line, center of circle or arc."
393 shape_types="edge vertex">
394 <validator id="GeomValidators_ShapeType" parameters="vertex,line,circle"/>
395 <validator id="SketchPlugin_NotFixed"/>
396 </sketch_shape_selector>
397 <validator id="PartSet_RigidSelection"/>
400 <!-- SketchConstraintParallel -->
401 <feature id="SketchConstraintParallel" title="Parallel" tooltip="Create constraint defining two parallel lines"
402 icon="icons/Sketch/parallel.png">
403 <sketch_shape_selector id="ConstraintEntityA"
404 label="First line" tooltip="Select a line" shape_types="edge">
405 <validator id="GeomValidators_ShapeType" parameters="line"/>
406 <validator id="PartSet_DifferentObjects"/>
407 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
408 </sketch_shape_selector>
410 <sketch_shape_selector id="ConstraintEntityB" label="Second line" tooltip="Select a line"
412 <validator id="GeomValidators_ShapeType" parameters="line"/>
413 <validator id="PartSet_DifferentObjects"/>
414 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
415 </sketch_shape_selector>
416 <validator id="PartSet_ParallelSelection"/>
419 <!-- SketchConstraintPerpendicular -->
420 <feature id="SketchConstraintPerpendicular" title="Perpendicular"
421 tooltip="Create constraint defining two perpendicular lines"
422 icon="icons/Sketch/perpendicular.png">
423 <sketch_shape_selector id="ConstraintEntityA"
424 label="First line" tooltip="Select an line"
426 <validator id="PartSet_DifferentObjects"/>
427 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
428 <validator id="GeomValidators_ShapeType" parameters="line"/>
429 </sketch_shape_selector>
431 <sketch_shape_selector id="ConstraintEntityB"
432 label="Second line" tooltip="Select an line"
434 <validator id="PartSet_DifferentObjects"/>
435 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
436 <validator id="GeomValidators_ShapeType" parameters="line"/>
437 </sketch_shape_selector>
438 <validator id="PartSet_PerpendicularSelection"/>
441 <!-- SketchConstraintTangent -->
442 <feature id="SketchConstraintTangent" title="Tangent" tooltip="Create constraint defining tangency of two objects with common coincident point" icon="icons/Sketch/tangent.png">
443 <sketch_shape_selector id="ConstraintEntityA"
444 label="First object" tooltip="Select line or arc" shape_types="edge">
445 <validator id="SketchPlugin_TangentAttr" parameters="ConstraintEntityB"/>
446 <validator id="PartSet_DifferentObjects"/>
447 </sketch_shape_selector>
449 <sketch_shape_selector id="ConstraintEntityB"
450 label="Second object" tooltip="Select line or arc" shape_types="edge">
451 <validator id="SketchPlugin_TangentAttr" parameters="ConstraintEntityA"/>
452 <validator id="PartSet_DifferentObjects"/>
453 </sketch_shape_selector>
454 <validator id="PartSet_TangentSelection"/>
457 <!-- SketchConstraintCoincidence -->
458 <feature id="SketchConstraintCoincidence" title="Coincident" tooltip="Create constraint for the coincidence of two points or point on line or circle" icon="icons/Sketch/coincedence.png">
459 <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex edge">
460 <validator id="PartSet_DifferentObjects"/>
461 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
462 </sketch_shape_selector>
463 <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex edge">
464 <validator id="PartSet_DifferentObjects"/>
465 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
466 <validator id="SketchPlugin_CoincidenceAttr" parameters="ConstraintEntityA"/>
467 </sketch_shape_selector>
468 <validator id="PartSet_CoincidentSelection"/>
471 <!-- SketchConstraintMiddle -->
472 <feature id="SketchConstraintMiddle" title="Middle point" tooltip="Create constraint for setting middle point on a line" icon="icons/Sketch/middlepoint.png">
473 <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex edge">
474 <validator id="PartSet_DifferentObjects"/>
475 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
476 <validator id="SketchPlugin_MiddlePointAttr" parameters="ConstraintEntityB"/>
477 </sketch_shape_selector>
478 <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex edge">
479 <validator id="PartSet_DifferentObjects"/>
480 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
481 <validator id="SketchPlugin_MiddlePointAttr" parameters="ConstraintEntityA"/>
482 </sketch_shape_selector>
483 <validator id="PartSet_MiddlePointSelection"/>
486 <!-- SketchConstraintEqual -->
487 <feature id="SketchConstraintEqual" title="Equal"
488 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"
489 icon="icons/Sketch/equal.png">
490 <sketch_shape_selector id="ConstraintEntityA"
491 label="First object" tooltip="Select line, circle or arc" shape_types="edge">
492 <validator id="PartSet_DifferentObjects"/>
493 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
494 </sketch_shape_selector>
496 <sketch_shape_selector id="ConstraintEntityB"
497 label="Second object" tooltip="Select line, circle or arc" shape_types="edge">
498 <validator id="SketchPlugin_EqualAttr" parameters="ConstraintEntityA"/>
499 <validator id="PartSet_DifferentObjects"/>
500 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
501 </sketch_shape_selector>
502 <validator id="PartSet_EqualSelection"/>
505 <!-- SketchConstraintCollinear -->
507 <feature id="SketchConstraintCollinear" title="Collinear" tooltip="Create constraint defining collinearity of two lines" icon="icons/Sketch/collinear.png">
508 <sketch_shape_selector id="ConstraintEntityA"
509 label="First line" tooltip="Select a line" shape_types="edge">
510 <validator id="GeomValidators_ShapeType" parameters="line"/>
511 <validator id="PartSet_DifferentObjects"/>
512 </sketch_shape_selector>
514 <sketch_shape_selector id="ConstraintEntityB"
515 label="Second line" tooltip="Select a line" shape_types="edge">
516 <validator id="GeomValidators_ShapeType" parameters="line"/>
517 <validator id="PartSet_DifferentObjects"/>
518 </sketch_shape_selector>
519 <validator id="PartSet_CollinearSelection"/>