2 <workbench id="Sketch">
3 <group id="Linear geometry">
6 nested="SketchPoint SketchIntersectionPoint SketchLine
7 SketchCircle SketchMacroCircle SketchArc SketchMacroArc
8 SketchEllipse SketchMacroEllipse SketchEllipticArc SketchMacroEllipticArc
11 SketchConstraintLength SketchConstraintRadius SketchConstraintDistance SketchConstraintDistanceHorizontal SketchConstraintDistanceVertical
12 SketchConstraintParallel SketchConstraintPerpendicular
13 SketchConstraintRigid SketchConstraintHorizontal SketchConstraintVertical
14 SketchConstraintEqual SketchConstraintTangent
15 SketchFillet SketchSplit SketchTrim
16 SketchConstraintCoincidence SketchConstraintCoincidenceInternal
17 SketchConstraintMirror SketchConstraintAngle
18 SketchMultiRotation SketchMultiTranslation
19 SketchConstraintCollinear SketchConstraintMiddle"
20 when_nested="accept abort"
22 tooltip="Create sketch"
23 icon="icons/Sketch/sketch.png"
24 helpfile="SketchPlugin.html">
25 <sketch-start-label id="External" geometrical_selection="true" title="Select a plane on which to create a sketch" tooltip="Select a plane on which to create a sketch">
26 <validator id="GeomValidators_Face" parameters="plane"/>
28 <undo_label id="SolverError" isHTML="true" />
29 <validator id="SketchPlugin_SolverErrorValidator"/>
33 <feature id="SketchPoint" title="Point" tooltip="Create point" icon="icons/Sketch/point.png"
34 helpfile="pointFeature.html">
35 <sketch-2dpoint_selector id="PointCoordinates" accept_expressions="0" title="Point" tooltip="Point coordinates"
36 enable_value="enable_by_preferences"/>
37 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
41 <feature id="SketchLine" title="Line" tooltip="Create line" icon="icons/Sketch/line.png"
42 helpfile="lineFeature.html">
43 <sketch-2dpoint_selector id="StartPoint" accept_expressions="0" title="Start point" tooltip="Start point coordinates"
44 enable_value="enable_by_preferences"/>
45 <sketch-2dpoint_selector id="EndPoint" accept_expressions="0" title="End point" tooltip="End point coordinates"
46 enable_value="enable_by_preferences"/>
47 <labelvalue id="LineLength" accept_expressions="0" label="Length" default="computed" icon="icons/Sketch/distance_value.png"
48 tooltip="Line length" obligatory="0" enable_value="false"/>
49 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
50 <validator id="GeomValidators_Different" parameters="StartPoint,EndPoint"/>
53 <group id="Conical geometry">
54 <!-- SketchCircle is a hidden feature. It is created inside SketchMacroCircle. -->
55 <feature id="SketchCircle"
57 tooltip="Create circle"
58 icon="icons/Sketch/circle.png"
60 <sketch-2dpoint_selector id="circle_center"
62 tooltip="Center coordinates"
63 accept_expressions="0"
64 enable_value="enable_by_preferences"/>
65 <labelvalue id="circle_radius"
66 icon="icons/Sketch/radius.png"
70 accept_expressions="0"
71 enable_value="enable_by_preferences">
73 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
75 <!-- SketchMacroCircle -->
76 <feature id="SketchMacroCircle"
77 icon="icons/Sketch/circle.png"
79 tooltip="Create circle"
80 helpfile="circleFeature.html">
81 <toolbox id="circle_type" modified_in_edit="edit_circle_type">
82 <box id="circle_type_by_center_and_passed_points"
83 icon="icons/Sketch/circle_pt_rad_32x32.png"
84 title="Center and passed points">
85 <sketch-2dpoint_selector id="center_point"
86 reference_attribute="center_point_ref"
88 tooltip="Center point coordinates"
89 accept_expressions="0"
90 enable_value="enable_by_preferences"/>
91 <sketch-2dpoint_selector id="passed_point"
92 reference_attribute="passed_point_ref"
94 tooltip="Passed point coordinates"
95 accept_expressions="0"
96 enable_value="enable_by_preferences">
97 <validator id="SketchPlugin_CirclePassedPointValidator"/>
98 </sketch-2dpoint_selector>
99 <validator id="GeomValidators_Different" parameters="center_point_ref,passed_point_ref"/>
101 <box id="circle_type_by_three_points"
102 icon="icons/Sketch/circle_3pt_32x32.png"
103 title="Three points">
104 <sketch-2dpoint_selector id="first_point"
105 reference_attribute="first_point_ref"
107 tooltip="First point"
108 accept_expressions="0"
109 enable_value="enable_by_preferences"/>
110 <sketch-2dpoint_selector id="second_point"
111 reference_attribute="second_point_ref"
113 tooltip="Second point"
114 accept_expressions="0"
115 enable_value="enable_by_preferences">
116 <validator id="SketchPlugin_DifferentReference" parameters="first_point_ref,second_point_ref"/>
117 </sketch-2dpoint_selector>
118 <sketch-2dpoint_selector id="third_point"
119 reference_attribute="third_point_ref"
121 tooltip="Third point"
122 accept_expressions="0"
123 enable_value="enable_by_preferences">
124 <validator id="SketchPlugin_DifferentReference" parameters="first_point_ref,second_point_ref,third_point_ref"/>
125 <validator id="SketchPlugin_ThirdPointValidator" parameters="third_point_ref"/>
126 </sketch-2dpoint_selector>
127 <validator id="GeomValidators_Different" parameters="first_point_ref,second_point_ref,third_point_ref"/>
130 <labelvalue id="circle_radius"
131 icon="icons/Sketch/radius.png"
135 accept_expressions="0"
137 enable_value="enable_by_preferences">
139 <boolvalue id="Auxiliary"
140 tooltip="Construction element"
144 change_visual_attributes="true"/>
148 <feature id="SketchArc"
149 icon="icons/Sketch/arc.png"
153 <sketch-2dpoint_selector id="center_point"
155 tooltip="Center of a circle"
156 accept_expressions="0"
157 enable_value="enable_by_preferences"/>
158 <sketch-2dpoint_selector id="start_point"
160 tooltip="Start point"
161 accept_expressions="0"
162 enable_value="enable_by_preferences"/>
163 <sketch-2dpoint_selector id="end_point"
166 accept_expressions="0"
167 enable_value="enable_by_preferences"/>
168 <validator id="GeomValidators_Different" parameters="center_point,start_point,end_point"/>
169 <labelvalue id="radius"
170 icon="icons/Sketch/radius.png"
173 accept_expressions="0"
177 enable_value="enable_by_preferences">
179 <labelvalue id="angle"
180 icon="icons/Sketch/angle.png"
186 enable_value="enable_by_preferences"/>
187 <boolvalue id="Auxiliary"
189 tooltip="Construction element"
192 change_visual_attributes="true"/>
195 <!-- SketchMacroArc -->
200 icon="icons/Sketch/arc.png"
201 helpfile="arcFeature.html">
202 <toolbox id="arc_type" modified_in_edit="edit_arc_type">
203 <box id="by_center_and_points"
204 icon="icons/Sketch/arc_base_32x32.png"
205 title="Center and two points">
206 <sketch-2dpoint_selector id="center_point"
207 reference_attribute="center_point_ref"
209 tooltip="Center of a circle"
210 accept_expressions="0"
211 enable_value="enable_by_preferences" />
212 <sketch-2dpoint_selector id="start_point_1"
213 reference_attribute="start_point_ref"
215 tooltip="Start point"
216 accept_expressions="0"
217 enable_value="enable_by_preferences"/>
218 <sketch-2dpoint_selector id="end_point_1"
219 reference_attribute="end_point_ref"
222 accept_expressions="0"
223 enable_value="enable_by_preferences">
224 <validator id="SketchPlugin_ArcEndPointValidator" parameters="end_point_ref"/>
225 <validator id="SketchPlugin_ArcEndPointIntersectionValidator" parameters="end_point_ref"/>
226 </sketch-2dpoint_selector>
227 <validator id="GeomValidators_Different" parameters="center_point,start_point_1,end_point_1"/>
229 <box id="by_three_points"
230 icon="icons/Sketch/arc_3pt_32x32.png"
231 title="Three points on arc">
232 <sketch-2dpoint_selector id="start_point_2"
233 reference_attribute="start_point_ref"
235 tooltip="Start point"
236 accept_expressions="0"
237 enable_value="enable_by_preferences"/>
238 <sketch-2dpoint_selector id="end_point_2"
239 reference_attribute="end_point_ref"
242 accept_expressions="0"
243 enable_value="enable_by_preferences">
244 <validator id="GeomValidators_Different" parameters="start_point_2,end_point_2"/>
245 <validator id="SketchPlugin_DifferentPointReference" parameters="start_point_ref,end_point_ref"/>
246 </sketch-2dpoint_selector>
247 <sketch-2dpoint_selector id="passed_point"
248 reference_attribute="passed_point_ref"
250 tooltip="Passed point"
251 accept_expressions="0"
252 enable_value="enable_by_preferences">
253 <validator id="SketchPlugin_DifferentReference" parameters="start_point_ref,end_point_ref,passed_point_ref"/>
254 <validator id="SketchPlugin_ThirdPointValidator" parameters="passed_point_ref"/>
255 </sketch-2dpoint_selector>
256 <validator id="GeomValidators_Different" parameters="start_point_2,end_point_2,passed_point"/>
258 <box id="by_tangent_edge"
259 icon="icons/Sketch/arc_tang_32x32.png"
260 title="Tangent with edge">
261 <sketch_shape_selector id="tangent_point"
262 label="Tangent point"
263 tooltip="Select point on line"
264 shape_types="vertex">
265 <validator id="SketchPlugin_ArcTangentPoint"/>
266 </sketch_shape_selector>
267 <sketch-2dpoint_selector id="end_point_3"
268 reference_attribute="end_point_ref"
271 accept_expressions="0"
272 enable_value="enable_by_preferences">
273 <validator id="SketchPlugin_ArcEndPointValidator" parameters="end_point_ref"/>
274 </sketch-2dpoint_selector>
276 <box id="by_transversal_line"
277 icon="icons/Sketch/arc_perp_32x32.png"
278 title="Perpendicular to line">
279 <sketch_shape_selector id="transversal_point"
280 label="Point on the perpendicular line"
281 tooltip="Select point on line"
282 shape_types="vertex">
283 <validator id="SketchPlugin_ArcTransversalPoint"/>
284 </sketch_shape_selector>
285 <sketch-2dpoint_selector id="end_point_4"
286 reference_attribute="end_point_ref"
289 accept_expressions="0"
290 enable_value="enable_by_preferences">
291 <validator id="SketchPlugin_ArcEndPointValidator" parameters="end_point_ref"/>
292 </sketch-2dpoint_selector>
295 <labelvalue id="radius"
296 icon="icons/Sketch/radius.png"
299 accept_expressions="0"
303 enable_value="enable_by_preferences">
305 <labelvalue id="angle"
306 icon="icons/Sketch/angle.png"
312 enable_value="enable_by_preferences"/>
313 <boolvalue id="Auxiliary"
315 tooltip="Construction element"
318 change_visual_attributes="true"/>
321 <!-- SketchFillet -->
322 <feature id="SketchFillet"
324 tooltip="Create constraint defining fillet between two connected segments"
325 icon="icons/Sketch/fillet.png"
326 helpfile="filletFeature.html">
327 <sketch_shape_selector id="fillet_point"
329 tooltip="Select point for fillet (should be shared by two entities only)"
330 shape_types="vertex">
331 <validator id="SketchPlugin_FilletVertexValidator"/>
332 </sketch_shape_selector>
333 <!--<validator id="PartSet_FilletSelection"/>-->
336 <!-- SketchEllipse is a hidden feature. It is created inside SketchMacroEllipse. -->
337 <feature id="SketchEllipse"
339 tooltip="Create ellipse"
340 icon="icons/Sketch/ellipse.png"
342 <sketch-2dpoint_selector id="ellipse_center"
344 tooltip="Center coordinates"
345 accept_expressions="0"
346 enable_value="enable_by_preferences"/>
347 <sketch-2dpoint_selector id="ellipse_first_focus"
349 tooltip="Focus coordinates"
350 accept_expressions="0"
351 enable_value="enable_by_preferences"/>
352 <sketch-2dpoint_selector id="ellipse_second_focus"
354 tooltip="Focus coordinates"
355 accept_expressions="0"
356 enable_value="enable_by_preferences"/>
357 <sketch-2dpoint_selector id="ellipse_major_axis_start_point"
358 title="Major axis start"
359 tooltip="Coordinates of point on negative direction of major axis"
360 accept_expressions="0"
361 enable_value="enable_by_preferences"/>
362 <sketch-2dpoint_selector id="ellipse_major_axis_end_point"
363 title="Major axis end"
364 tooltip="Coordinates of point on positive direction of major axis"
365 accept_expressions="0"
366 enable_value="enable_by_preferences"/>
367 <sketch-2dpoint_selector id="ellipse_minor_axis_start_point"
368 title="Minor axis start"
369 tooltip="Coordinates of point on negative direction of minor axis"
370 accept_expressions="0"
371 enable_value="enable_by_preferences"/>
372 <sketch-2dpoint_selector id="ellipse_minor_axis_end_point"
373 title="Minor axis end"
374 tooltip="Coordinates of point on positive direction of minor axis"
375 accept_expressions="0"
376 enable_value="enable_by_preferences"/>
377 <labelvalue id="ellipse_major_radius"
378 icon="icons/Sketch/radius_major.png"
380 tooltip="Set major radius"
382 accept_expressions="0"
383 enable_value="enable_by_preferences">
385 <labelvalue id="ellipse_minor_radius"
386 icon="icons/Sketch/radius_minor.png"
388 tooltip="Set minor radius"
390 accept_expressions="0"
391 enable_value="enable_by_preferences">
393 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
395 <!-- SketchMacroEllipse -->
396 <feature id="SketchMacroEllipse"
397 icon="icons/Sketch/ellipse.png"
399 tooltip="Create ellipse"
400 helpfile="ellipseFeature.html">
401 <toolbox id="ellipse_type" modified_in_edit="edit_ellipse_type">
402 <box id="by_center_axis_point"
403 icon="icons/Sketch/ellipse_cent_rad_32x32.png"
404 title="Center, major semi-axis and passing point">
405 <sketch-2dpoint_selector id="first_point"
406 reference_attribute="first_point_ref"
408 tooltip="Center point coordinates"
409 accept_expressions="0"
410 enable_value="enable_by_preferences"/>
411 <sketch-2dpoint_selector id="second_point"
412 reference_attribute="second_point_ref"
413 title="Major axis point"
414 tooltip="Major axis point coordinates"
415 accept_expressions="0"
416 enable_value="enable_by_preferences"/>
417 <sketch-2dpoint_selector id="passed_point"
418 reference_attribute="passed_point_ref"
420 tooltip="Passed point coordinates"
421 accept_expressions="0"
422 enable_value="enable_by_preferences"/>
424 <box id="by_major_axis_and_point"
425 icon="icons/Sketch/ellipse_axes_32x32.png"
426 title="Major axis and passing point">
427 <sketch-2dpoint_selector id="first_point_1"
428 reference_attribute="first_point_ref_1"
429 title="Major axis start point"
430 tooltip="Major axis start point coordinates"
431 accept_expressions="0"
432 enable_value="enable_by_preferences"/>
433 <sketch-2dpoint_selector id="second_point_1"
434 reference_attribute="second_point_ref_1"
435 title="Major axis end point"
436 tooltip="Major axis end point coordinates"
437 accept_expressions="0"
438 enable_value="enable_by_preferences"/>
439 <sketch-2dpoint_selector id="passed_point_1"
440 reference_attribute="passed_point_ref_1"
442 tooltip="Passed point coordinates"
443 accept_expressions="0"
444 enable_value="enable_by_preferences"/>
447 <labelvalue id="major_radius"
448 icon="icons/Sketch/radius_major.png"
450 tooltip="Set major radius"
452 accept_expressions="0"
454 enable_value="enable_by_preferences">
456 <labelvalue id="minor_radius"
457 icon="icons/Sketch/radius_minor.png"
459 tooltip="Set minor radius"
461 accept_expressions="0"
463 enable_value="enable_by_preferences">
465 <boolvalue id="Auxiliary"
466 tooltip="Construction element"
470 change_visual_attributes="true"/>
473 <!-- SketchEllipticArc is a hidden feature. It is created inside SketchMacroEllipse. -->
474 <feature id="SketchEllipticArc"
476 tooltip="Create elliptic arc"
477 icon="icons/Sketch/elliptic_arc.png"
479 <sketch-2dpoint_selector id="ellipse_center"
481 tooltip="Center coordinates"
482 accept_expressions="0"
483 enable_value="enable_by_preferences"/>
484 <sketch-2dpoint_selector id="ellipse_first_focus"
486 tooltip="Focus coordinates"
487 accept_expressions="0"
488 enable_value="enable_by_preferences"/>
489 <sketch-2dpoint_selector id="ellipse_second_focus"
491 tooltip="Focus coordinates"
492 accept_expressions="0"
493 enable_value="enable_by_preferences"/>
494 <sketch-2dpoint_selector id="ellipse_major_axis_start_point"
495 title="Major axis start"
496 tooltip="Coordinates of point on negative direction of major axis"
497 accept_expressions="0"
498 enable_value="enable_by_preferences"/>
499 <sketch-2dpoint_selector id="ellipse_major_axis_end_point"
500 title="Major axis end"
501 tooltip="Coordinates of point on positive direction of major axis"
502 accept_expressions="0"
503 enable_value="enable_by_preferences"/>
504 <sketch-2dpoint_selector id="ellipse_minor_axis_start_point"
505 title="Minor axis start"
506 tooltip="Coordinates of point on negative direction of minor axis"
507 accept_expressions="0"
508 enable_value="enable_by_preferences"/>
509 <sketch-2dpoint_selector id="ellipse_minor_axis_end_point"
510 title="Minor axis end"
511 tooltip="Coordinates of point on positive direction of minor axis"
512 accept_expressions="0"
513 enable_value="enable_by_preferences"/>
514 <sketch-2dpoint_selector id="start_point"
516 tooltip="Arc start point coordinates"
517 accept_expressions="0"
518 enable_value="enable_by_preferences"/>
519 <sketch-2dpoint_selector id="end_point"
521 tooltip="Arc end point coordinates"
522 accept_expressions="0"
523 enable_value="enable_by_preferences"/>
524 <labelvalue id="ellipse_major_radius"
525 icon="icons/Sketch/radius_major.png"
527 tooltip="Set major radius"
529 accept_expressions="0"
530 enable_value="enable_by_preferences">
532 <labelvalue id="ellipse_minor_radius"
533 icon="icons/Sketch/radius_minor.png"
535 tooltip="Set minor radius"
537 accept_expressions="0"
538 enable_value="enable_by_preferences">
540 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
542 <!-- SketchMacroEllipticArc -->
543 <feature id="SketchMacroEllipticArc"
544 icon="icons/Sketch/elliptic_arc.png"
546 tooltip="Create elliptic arc"
547 helpfile="ellipseFeature.html">
548 <sketch-2dpoint_selector id="center"
549 reference_attribute="center_ref"
551 tooltip="Center point coordinates"
552 accept_expressions="0"
553 enable_value="enable_by_preferences"/>
554 <sketch-2dpoint_selector id="major_axis_point"
555 reference_attribute="major_axis_point_ref"
556 title="Major axis point"
557 tooltip="Major axis point coordinates"
558 accept_expressions="0"
559 enable_value="enable_by_preferences"/>
560 <sketch-2dpoint_selector id="start_point"
561 reference_attribute="start_point_ref"
563 tooltip="Arc start point coordinates"
564 accept_expressions="0"
565 enable_value="enable_by_preferences"/>
566 <sketch-2dpoint_selector id="end_point"
567 reference_attribute="end_point_ref"
569 tooltip="Arc end point coordinates"
570 accept_expressions="0"
571 enable_value="enable_by_preferences"/>
572 <labelvalue id="major_radius"
573 icon="icons/Sketch/radius_major.png"
575 tooltip="Set major radius"
577 accept_expressions="0"
579 enable_value="enable_by_preferences">
581 <labelvalue id="minor_radius"
582 icon="icons/Sketch/radius_minor.png"
584 tooltip="Set minor radius"
586 accept_expressions="0"
588 enable_value="enable_by_preferences">
590 <boolvalue id="Auxiliary"
591 tooltip="Construction element"
595 change_visual_attributes="true"/>
599 <group id="Segmentation">
601 <feature id="SketchSplit" title="Split"
602 tooltip="Cut selected segment arc or circle on existing coincident points"
603 icon="icons/Sketch/split.png"
604 helpfile="splitFeature.html">
605 <sketch_feature_point_selector
607 selection_attributes="SelectedObject SelectedPoint PreviewObject PreviewPoint"
609 tooltip="Select segment for split"
611 use_external="false">
612 <validator id="SketchPlugin_SplitValidator"/>
613 </sketch_feature_point_selector>
614 <validator id="PartSet_SplitSelection"/>
617 <feature id="SketchTrim" title="Trim"
618 tooltip="Trim selected segment arc or circle on intersection points nearest to the graphic selection"
619 icon="icons/Sketch/trim.png"
620 helpfile="trimFeature.html">
621 <sketch_feature_point_selector
623 selection_attributes="SelectedObject SelectedPoint PreviewObject PreviewPoint"
625 tooltip="Select segment for trim"
627 use_external="false">
628 <validator id="SketchPlugin_TrimValidator"/>
629 </sketch_feature_point_selector>
630 <validator id="PartSet_SplitSelection"/>
634 <group id="Projection">
635 <!-- Projected feature -->
637 id="SketchProjection"
639 tooltip="Project feature onto sketch plane"
640 icon="icons/Sketch/projection.png"
641 helpfile="projectionFeature.html">
642 <sketch_shape_selector
645 tooltip="Select external edge or vertex."
646 shape_types="edge vertex"
648 can_create_external="false"
649 use_sketch_plane="false">
650 <validator id="SketchPlugin_ProjectionValidator"/>
651 </sketch_shape_selector>
652 <boolvalue id="IncludeToResult" label="Include into the sketch result" default="true" tooltip="Include projected feature into the sketch result"
653 change_visual_attributes="true"/>
654 <validator id="PartSet_ProjectionSelection"/>
657 <!-- Intersection Point -->
659 id="SketchIntersectionPoint"
661 tooltip="Intersect edge with sketch plane"
662 icon="icons/Sketch/intersection.png"
663 helpfile="intersectionFeature.html">
664 <sketch_shape_selector
667 tooltip="Select external edge."
670 can_create_external="false"
671 use_sketch_plane="false">
672 <validator id="SketchPlugin_IntersectionValidator"/>
673 </sketch_shape_selector>
674 <boolvalue id="IncludeToResult" label="Include into the sketch result" default="true" tooltip="Include projected feature into the sketch result"
675 change_visual_attributes="true"/>
676 <validator id="PartSet_IntersectionSelection"/>
680 <group id="Replication">
681 <!-- SketchConstraintMirror -->
683 id="SketchConstraintMirror"
684 title="Mirror copy" icon="icons/Sketch/mirror.png"
685 tooltip="Create constraint, mirroring group of objects"
686 helpfile="mirrorFeature.html">
687 <sketch_shape_selector id="ConstraintEntityA"
688 label="Mirror line" tooltip="Select mirror line" shape_types="edge">
689 <validator id="GeomValidators_ShapeType" parameters="line"/>
690 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityC"/>
691 </sketch_shape_selector>
692 <sketch_multi_selector id="ConstraintMirrorList"
694 tooltip="Select list of objects to be mirrored"
698 <validator id="SketchPlugin_MirrorAttr" />
699 </sketch_multi_selector>
700 <validator id="PartSet_MultyTranslationSelection" />
703 <!-- SketchMultiTranslation -->
705 id="SketchMultiTranslation"
706 title="Linear copy" icon="icons/Sketch/translate.png"
707 tooltip="Copy objects and move"
708 helpfile="translationFeature.html">
709 <sketch_multi_selector id="MultiTranslationList"
711 tooltip="Select list of objects to be translated"
715 <validator id="SketchPlugin_CopyValidator" />
716 </sketch_multi_selector>
717 <toolbox id="ValueType">
718 <box id="SingleValue" title="Single value" icon="icons/Sketch/translate_32x32.png">
719 <groupbox title="Direction">
720 <sketch_shape_selector
721 id="MultiTranslationStartPoint"
723 tooltip="Start point of translation"
724 shape_types="vertex">
725 <validator id="PartSet_DifferentObjects"/>
726 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
727 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
728 </sketch_shape_selector>
729 <sketch_shape_selector
730 id="MultiTranslationEndPoint"
732 tooltip="Final point of translation"
733 shape_types="vertex">
734 <validator id="PartSet_DifferentObjects"/>
735 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
736 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
737 </sketch_shape_selector>
740 <box id="FullValue" title="Full value" icon="icons/Sketch/translate_full_32x32.png">
741 <groupbox title="Direction">
742 <sketch_shape_selector
743 id="MultiTranslationStartPoint"
745 tooltip="Start point of translation"
746 shape_types="vertex">
747 <validator id="PartSet_DifferentObjects"/>
748 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
749 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
750 </sketch_shape_selector>
751 <sketch_shape_selector
752 id="MultiTranslationEndPoint"
754 tooltip="Final point of translation"
755 shape_types="vertex">
756 <validator id="PartSet_DifferentObjects"/>
757 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
758 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
759 </sketch_shape_selector>
763 <integervalue id="MultiTranslationObjects"
764 label="Total number of objects"
765 tooltip="Total number of objects"
766 default="2" min="2" use_reset="false">
767 <validator id="GeomValidators_Positive" parameters="1"/>
769 <validator id="PartSet_MultyTranslationSelection" />
772 <!-- SketchMultiRotation -->
774 id="SketchMultiRotation"
775 title="Angular copy" icon="icons/Sketch/rotate.png"
776 tooltip="Copy objects and rotate"
777 helpfile="rotationFeature.html">
778 <sketch_multi_selector id="MultiRotationList"
780 tooltip="Select list of objects to be rotated"
784 <validator id="SketchPlugin_CopyValidator" />
785 </sketch_multi_selector>
786 <sketch_shape_selector
787 id="MultiRotationCenter"
788 label="Center of rotation"
789 tooltip="Center of rotation"
790 shape_types="vertex">
791 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
792 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
793 </sketch_shape_selector>
794 <toolbox id="AngleType">
795 <box id="FullAngle" title="Full angle" icon="icons/Sketch/angle_up_full_32x32.png">
796 <doublevalue id="MultiRotationAngle"
798 icon="icons/Sketch/angle.png"
799 tooltip="Rotation angle"
800 default="360" min="0" max="360"
802 <validator id="SketchPlugin_MultiRotationAngleValidator" />
804 <boolvalue id="MultiRotationReversed"
806 tooltip="Reverse angular copy"
810 <box id="SingleAngle" title="Single angle" icon="icons/Sketch/angle_up_32x32.png">
811 <doublevalue id="MultiRotationAngle"
813 icon="icons/Sketch/angle.png"
814 tooltip="Rotation angle"
815 default="90" min="0" max="360"
817 <validator id="SketchPlugin_MultiRotationAngleValidator" />
819 <boolvalue id="MultiRotationReversed"
821 tooltip="Reverse angular copy"
826 <integervalue id="MultiRotationObjects"
827 label="Total number of objects"
828 tooltip="Total number of objects"
829 default="4" min="2" use_reset="false">
830 <validator id="GeomValidators_Positive" parameters="1"/>
832 <validator id="PartSet_MultyTranslationSelection" />
836 <group id="Dimensional constraints">
837 <!-- SketchConstraintDistance -->
839 id="SketchConstraintDistance"
841 tooltip="Set fixed distance from a point to an object"
842 icon="icons/Sketch/distance.png"
843 helpfile="distanceFeature.html">
844 <label title="Select objects for distance definition. Following objects can be accepted: point, line or arc end point, center of circle or arc."/>
845 <sketch_shape_selector
846 id="ConstraintEntityA"
848 tooltip="Select point, line end point, line, center of circle or arc."
849 shape_types="edge vertex">
850 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
851 <validator id="PartSet_DifferentObjects"/>
852 <validator id="GeomValidators_ShapeType" parameters="vertex,line"/>
853 </sketch_shape_selector>
854 <sketch_shape_selector
855 id="ConstraintEntityB"
856 label="Second object"
857 tooltip="Select point, line end point, line, center of circle or arc."
858 shape_types="edge vertex">
859 <validator id="PartSet_DifferentObjects"/>
860 <validator id="SketchPlugin_DistanceAttr" parameters="ConstraintEntityA"/>
861 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
862 <validator id="GeomValidators_ShapeType" parameters="vertex,line"/>
863 </sketch_shape_selector>
864 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
866 <doublevalue_editor label="Value" tooltip="Distance" id="ConstraintValue" default="computed" min="0">
867 <validator id="GeomValidators_Positive" parameters="-1.e-10"/>
868 </doublevalue_editor>
870 <module_choice id="LocationType"
871 widget_type="radiobuttons"
872 buttons_dir="horizontal"
873 label="Text location"
874 tooltip="Relative location of the text"
875 string_list="Left Automatic Right"
876 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
880 <boolvalue id="SignedDistance" label="Keep orientation" default="true" tooltip="Keep distance orientation" obligatory="0"/>
881 <validator id="PartSet_DistanceSelection"/>
884 <!-- SketchConstraintDistanceHorizontal -->
886 id="SketchConstraintDistanceHorizontal"
887 title="Horizontal Distance"
888 tooltip="Set horizontal distance between two points"
889 icon="icons/Sketch/distance_h.png"
890 helpfile="horizontalDistFeature.html">
891 <label title="Select points for distance definition."/>
892 <sketch_shape_selector
893 id="ConstraintEntityA"
895 tooltip="Select point."
896 shape_types="vertex">
897 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
898 <validator id="PartSet_DifferentObjects"/>
899 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
900 </sketch_shape_selector>
901 <sketch_shape_selector
902 id="ConstraintEntityB"
904 tooltip="Select point."
905 shape_types="vertex">
906 <validator id="PartSet_DifferentObjects"/>
907 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
908 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
909 </sketch_shape_selector>
910 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
912 <doublevalue_editor label="Value" tooltip="Distance" id="DistanceValue" default="computed" min="0">
913 <validator id="GeomValidators_Positive" parameters="-1.e-10"/>
914 </doublevalue_editor>
916 <module_choice id="LocationType"
917 widget_type="radiobuttons"
918 buttons_dir="horizontal"
919 label="Text location"
920 tooltip="Relative location of the text"
921 string_list="Left Automatic Right"
922 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
926 <validator id="PartSet_DistanceSelection"/>
929 <!-- SketchConstraintDistanceVertical -->
931 id="SketchConstraintDistanceVertical"
932 title="Vertical Distance"
933 tooltip="Set vertical distance between two points"
934 icon="icons/Sketch/distance_v.png"
935 helpfile="verticalDistFeature.html">
936 <label title="Select points for distance definition."/>
937 <sketch_shape_selector
938 id="ConstraintEntityA"
940 tooltip="Select point."
941 shape_types="vertex">
942 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
943 <validator id="PartSet_DifferentObjects"/>
944 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
945 </sketch_shape_selector>
946 <sketch_shape_selector
947 id="ConstraintEntityB"
949 tooltip="Select point."
950 shape_types="vertex">
951 <validator id="PartSet_DifferentObjects"/>
952 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
953 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
954 </sketch_shape_selector>
955 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
957 <doublevalue_editor label="Value" tooltip="Distance" id="DistanceValue" default="computed" min="0">
958 <validator id="GeomValidators_Positive" parameters="-1.e-10"/>
959 </doublevalue_editor>
961 <module_choice id="LocationType"
962 widget_type="radiobuttons"
963 buttons_dir="horizontal"
964 label="Text location"
965 tooltip="Relative location of the text"
966 string_list="Left Automatic Right"
967 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
971 <validator id="PartSet_DistanceSelection"/>
974 <!-- SketchConstraintLength -->
975 <feature id="SketchConstraintLength" title="Length" tooltip="Set fixed length of a line segment" icon="icons/Sketch/length.png"
976 helpfile="lengthFeature.html">
977 <label title="Select a line on which to calculate length" tooltip="Select a line on which to calculate length"/>
978 <shape_selector id="ConstraintEntityA" label="Line" tooltip="Select a line" shape_types="edge" >
979 <validator id="GeomValidators_ShapeType" parameters="line"/>
980 <validator id="SketchPlugin_SketchFeatureValidator"/>
982 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
983 <doublevalue_editor label="Value" tooltip="Length" id="ConstraintValue" default="computed">
984 <validator id="GeomValidators_Positive"/>
985 </doublevalue_editor>
986 <module_choice id="LocationType"
987 widget_type="radiobuttons"
988 buttons_dir="horizontal"
989 label="Text location"
990 tooltip="Relative location of the text"
991 string_list="Left Automatic Right"
992 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
995 <validator id="PartSet_LengthSelection"/>
998 <!-- SketchConstraintAngle -->
999 <feature id="SketchConstraintAngle" title="Angle" tooltip="Set fixed angle between two line segments" icon="icons/Sketch/angle_constr.png"
1000 helpfile="angleFeature.html">
1001 <sketch_feature_point_selector
1002 id="ConstraintEntityA"
1003 selection_attributes="ConstraintEntityA SelectedPointA"
1005 tooltip="Select a line"
1007 use_external="true">
1008 <validator id="GeomValidators_ShapeType" parameters="line"/>
1009 <validator id="PartSet_DifferentObjects"/>
1010 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1011 </sketch_feature_point_selector>
1012 <sketch_feature_point_selector
1013 id="ConstraintEntityB"
1014 selection_attributes="ConstraintEntityB SelectedPointB"
1016 tooltip="Select a line"
1018 use_external="true">
1019 <validator id="GeomValidators_ShapeType" parameters="line"/>
1020 <validator id="PartSet_DifferentObjects"/>
1021 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1022 </sketch_feature_point_selector>
1023 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1024 <doublevalue_editor label="Value" tooltip="Angle" id="AngleValue" default="computed" min="0" max="360" />
1025 <validator id="PartSet_AngleSelection"/>
1026 <module_choice id="AngleType"
1027 widget_type="radiobuttons"
1028 buttons_dir="horizontal"
1030 tooltip="Type of angle"
1031 string_list="Direct Supplementary Additional"
1032 icons_list="icons/Sketch/angle_direct.png icons/Sketch/angle_complementary.png icons/Sketch/angle_backward.png"
1036 <module_choice id="LocationType"
1037 widget_type="radiobuttons"
1038 buttons_dir="horizontal"
1039 label="Text location"
1040 tooltip="Relative location of the text"
1041 string_list="Left Automatic Right"
1042 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1048 <!-- SketchConstraintRadius -->
1049 <feature id="SketchConstraintRadius" title="Radius" tooltip="Set fixed radius of a circle or an arc" icon="icons/Sketch/radius_constr.png"
1050 helpfile="radiusFeature.html">
1051 <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"/>
1052 <shape_selector id="ConstraintEntityA" label="Circle or Arc" tooltip="Select a circle or an arc"
1054 <validator id="GeomValidators_ShapeType" parameters="circle"/>
1056 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1057 <doublevalue_editor label="Value" tooltip="Radius" id="ConstraintValue" default="computed">
1058 <validator id="GeomValidators_Positive"/>
1059 </doublevalue_editor>
1061 <module_choice id="LocationType"
1062 widget_type="radiobuttons"
1063 buttons_dir="horizontal"
1064 label="Text location"
1065 tooltip="Relative location of the text"
1066 string_list="Left Automatic Right"
1067 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1071 <validator id="PartSet_RadiusSelection"/>
1076 <group id="Geometrical constraints">
1078 <!-- SketchConstraintHorizontal -->
1079 <feature id="SketchConstraintHorizontal" title="Horizontal" tooltip="Create constraint defining horizontal line" icon="icons/Sketch/horisontal.png"
1080 helpfile="horizontalFeature.html">
1081 <sketch_shape_selector id="ConstraintEntityA"
1082 label="Line" tooltip="Select a line" shape_types="edge" use_external="false">
1083 <validator id="GeomValidators_ShapeType" parameters="line"/>
1084 <validator id="SketchPlugin_HasNoConstraint" parameters="SketchConstraintHorizontal,SketchConstraintVertical"/>
1085 </sketch_shape_selector>
1086 <validator id="PartSet_HVDirSelection"/>
1089 <!-- SketchConstraintVertical -->
1090 <feature id="SketchConstraintVertical" title="Vertical" tooltip="Create constraint defining vertical line" icon="icons/Sketch/vertical.png"
1091 helpfile="verticalFeature.html">
1092 <sketch_shape_selector id="ConstraintEntityA"
1093 label="Line" tooltip="Select a line" shape_types="edge" use_external="false">
1094 <validator id="GeomValidators_ShapeType" parameters="line"/>
1095 <validator id="SketchPlugin_HasNoConstraint" parameters="SketchConstraintHorizontal,SketchConstraintVertical"/>
1096 </sketch_shape_selector>
1097 <validator id="PartSet_HVDirSelection"/>
1100 <!-- SketchConstraintRigid -->
1101 <feature id="SketchConstraintRigid" title="Fixed" tooltip="Fix an object" icon="icons/Sketch/fixed.png"
1102 helpfile="rigidFeature.html">
1103 <sketch_shape_selector id="ConstraintEntityA" label="Object"
1104 tooltip="Select point, curve or its boundary point."
1105 shape_types="edge vertex">
1106 <validator id="GeomValidators_ShapeType" parameters="vertex,edge"/>
1107 <validator id="SketchPlugin_NotFixed"/>
1108 </sketch_shape_selector>
1109 <validator id="PartSet_RigidSelection"/>
1112 <!-- SketchConstraintParallel -->
1113 <feature id="SketchConstraintParallel" title="Parallel" tooltip="Create constraint defining two parallel lines"
1114 icon="icons/Sketch/parallel.png" helpfile="parallelFeature.html">
1115 <sketch_shape_selector id="ConstraintEntityA"
1116 label="First line" tooltip="Select a line" shape_types="edge">
1117 <validator id="GeomValidators_ShapeType" parameters="line"/>
1118 <validator id="PartSet_DifferentObjects"/>
1119 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1120 </sketch_shape_selector>
1122 <sketch_shape_selector id="ConstraintEntityB" label="Second line" tooltip="Select a line"
1124 <validator id="GeomValidators_ShapeType" parameters="line"/>
1125 <validator id="PartSet_DifferentObjects"/>
1126 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1127 </sketch_shape_selector>
1128 <validator id="PartSet_ParallelSelection"/>
1131 <!-- SketchConstraintPerpendicular -->
1132 <feature id="SketchConstraintPerpendicular" title="Perpendicular"
1133 tooltip="Create constraint defining two orthogonal objects"
1134 icon="icons/Sketch/perpendicular.png"
1135 helpfile="perpendicularFeature.html">
1136 <sketch_shape_selector id="ConstraintEntityA"
1137 label="First object" tooltip="Select line or arc"
1139 <validator id="PartSet_DifferentObjects"/>
1140 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1141 <validator id="SketchPlugin_PerpendicularAttr" parameters="ConstraintEntityB"/>
1142 <validator id="GeomValidators_ShapeType" parameters="edge"/>
1143 </sketch_shape_selector>
1145 <sketch_shape_selector id="ConstraintEntityB"
1146 label="Second object" tooltip="Select line or arc"
1148 <validator id="PartSet_DifferentObjects"/>
1149 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1150 <validator id="SketchPlugin_PerpendicularAttr" parameters="ConstraintEntityA"/>
1151 <validator id="GeomValidators_ShapeType" parameters="edge"/>
1152 </sketch_shape_selector>
1153 <validator id="PartSet_PerpendicularSelection"/>
1156 <!-- SketchConstraintTangent -->
1157 <feature id="SketchConstraintTangent" title="Tangent" tooltip="Create constraint defining tangency of two segments with common coincident point" icon="icons/Sketch/tangent.png"
1158 helpfile="tangentFeature.html">
1159 <sketch_shape_selector id="ConstraintEntityA"
1160 label="First object" tooltip="Select line or arc" shape_types="edge">
1161 <validator id="SketchPlugin_TangentAttr" parameters="ConstraintEntityB"/>
1162 <validator id="PartSet_DifferentObjects"/>
1163 </sketch_shape_selector>
1165 <sketch_shape_selector id="ConstraintEntityB"
1166 label="Second object" tooltip="Select line or arc" shape_types="edge">
1167 <validator id="SketchPlugin_TangentAttr" parameters="ConstraintEntityA"/>
1168 <validator id="PartSet_DifferentObjects"/>
1169 </sketch_shape_selector>
1170 <validator id="PartSet_TangentSelection"/>
1173 <!-- SketchConstraintCoincidence -->
1174 <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"
1175 helpfile="coincedenceFeature.html">
1176 <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex edge">
1177 <validator id="PartSet_DifferentObjects"/>
1178 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1179 </sketch_shape_selector>
1180 <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex edge">
1181 <validator id="PartSet_DifferentObjects"/>
1182 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1183 <validator id="SketchPlugin_CoincidenceAttr" parameters="ConstraintEntityA"/>
1184 </sketch_shape_selector>
1185 <validator id="PartSet_CoincidentSelection"/>
1187 <!-- SketchConstraintCoincidenceInternal -->
1188 <feature id="SketchConstraintCoincidenceInternal" title="Internal Coincidence" tooltip="Internal coincidence" icon="icons/Sketch/coincedence.png"
1189 helpfile="coincedenceFeature.html" internal="1">
1190 <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex">
1191 <validator id="PartSet_DifferentObjects"/>
1192 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1193 </sketch_shape_selector>
1194 <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex">
1195 <validator id="PartSet_DifferentObjects"/>
1196 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1197 <validator id="SketchPlugin_CoincidenceAttr" parameters="ConstraintEntityA"/>
1198 </sketch_shape_selector>
1199 <validator id="PartSet_CoincidentSelection"/>
1202 <!-- SketchConstraintMiddle -->
1203 <feature id="SketchConstraintMiddle" title="Middle point" tooltip="Create constraint for setting middle point on a line"
1204 icon="icons/Sketch/middlepoint.png"
1205 helpfile="middleFeature.html">
1206 <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex edge">
1207 <validator id="PartSet_DifferentObjects"/>
1208 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1209 <validator id="SketchPlugin_MiddlePointAttr" parameters="ConstraintEntityB"/>
1210 </sketch_shape_selector>
1211 <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex edge">
1212 <validator id="PartSet_DifferentObjects"/>
1213 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1214 <validator id="SketchPlugin_MiddlePointAttr" parameters="ConstraintEntityA"/>
1215 </sketch_shape_selector>
1216 <validator id="PartSet_MiddlePointSelection"/>
1219 <!-- SketchConstraintEqual -->
1220 <feature id="SketchConstraintEqual" title="Equal"
1221 tooltip="Create constraint defining equal lengths of two lines or line and arc or equal radiuses of two arcs or two circles or arc and circle"
1222 icon="icons/Sketch/equal.png"
1223 helpfile="equalFeature.html">
1224 <sketch_shape_selector id="ConstraintEntityA"
1225 label="First object" tooltip="Select edge" shape_types="edge">
1226 <validator id="PartSet_DifferentObjects"/>
1227 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1228 </sketch_shape_selector>
1230 <sketch_shape_selector id="ConstraintEntityB"
1231 label="Second object" tooltip="Select edge" shape_types="edge">
1232 <validator id="SketchPlugin_EqualAttr" parameters="ConstraintEntityA"/>
1233 <validator id="PartSet_DifferentObjects"/>
1234 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1235 </sketch_shape_selector>
1236 <validator id="PartSet_EqualSelection"/>
1239 <!-- SketchConstraintCollinear -->
1240 <feature id="SketchConstraintCollinear" title="Collinear" tooltip="Create constraint defining collinearity of two lines"
1241 icon="icons/Sketch/collinear.png"
1242 helpfile="collinearFeature.html">
1243 <sketch_shape_selector id="ConstraintEntityA"
1244 label="First line" tooltip="Select a line" shape_types="edge">
1245 <validator id="GeomValidators_ShapeType" parameters="line"/>
1246 <validator id="PartSet_DifferentObjects"/>
1247 </sketch_shape_selector>
1249 <sketch_shape_selector id="ConstraintEntityB"
1250 label="Second line" tooltip="Select a line" shape_types="edge">
1251 <validator id="GeomValidators_ShapeType" parameters="line"/>
1252 <validator id="PartSet_DifferentObjects"/>
1253 </sketch_shape_selector>
1254 <validator id="PartSet_CollinearSelection"/>