2 <workbench id="Sketch">
3 <group id="Linear geometry">
6 nested="SketchPoint SketchIntersectionPoint SketchLine
7 SketchCircle SketchMacroCircle SketchArc SketchMacroArc
8 SketchEllipse SketchMacroEllipse SketchEllipticArc SketchMacroEllipticArc
9 SketchBSpline SketchMacroBSpline
12 SketchConstraintLength SketchConstraintRadius SketchConstraintDistance SketchConstraintDistanceHorizontal SketchConstraintDistanceVertical
13 SketchConstraintParallel SketchConstraintPerpendicular
14 SketchConstraintRigid SketchConstraintHorizontal SketchConstraintVertical
15 SketchConstraintEqual SketchConstraintTangent
16 SketchFillet SketchSplit SketchTrim
17 SketchConstraintCoincidence SketchConstraintCoincidenceInternal
18 SketchConstraintMirror SketchConstraintAngle
19 SketchMultiRotation SketchMultiTranslation
20 SketchConstraintCollinear SketchConstraintMiddle"
21 when_nested="accept abort"
23 tooltip="Create sketch"
24 icon="icons/Sketch/sketch.png"
25 helpfile="SketchPlugin.html">
26 <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">
27 <validator id="GeomValidators_Face" parameters="plane"/>
29 <undo_label id="SolverError" isHTML="true" />
30 <validator id="SketchPlugin_SolverErrorValidator"/>
34 <feature id="SketchPoint" title="Point" tooltip="Create point" icon="icons/Sketch/point.png"
35 helpfile="pointFeature.html">
36 <sketch-2dpoint_selector id="PointCoordinates" accept_expressions="0" title="Point" tooltip="Point coordinates"
37 enable_value="enable_by_preferences"/>
38 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
42 <feature id="SketchLine" title="Line" tooltip="Create line" icon="icons/Sketch/line.png"
43 helpfile="lineFeature.html">
44 <sketch-2dpoint_selector id="StartPoint" accept_expressions="0" title="Start point" tooltip="Start point coordinates"
45 enable_value="enable_by_preferences"/>
46 <sketch-2dpoint_selector id="EndPoint" accept_expressions="0" title="End point" tooltip="End point coordinates"
47 enable_value="enable_by_preferences"/>
48 <labelvalue id="LineLength" accept_expressions="0" label="Length" default="computed" icon="icons/Sketch/distance_value.png"
49 tooltip="Line length" obligatory="0" enable_value="false"/>
50 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
51 <validator id="GeomValidators_Different" parameters="StartPoint,EndPoint"/>
54 <group id="Conical geometry">
55 <!-- SketchCircle is a hidden feature. It is created inside SketchMacroCircle. -->
56 <feature id="SketchCircle"
58 tooltip="Create circle"
59 icon="icons/Sketch/circle.png"
61 <sketch-2dpoint_selector id="circle_center"
63 tooltip="Center coordinates"
64 accept_expressions="0"
65 enable_value="enable_by_preferences"/>
66 <labelvalue id="circle_radius"
67 icon="icons/Sketch/radius.png"
71 accept_expressions="0"
72 enable_value="enable_by_preferences">
74 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
76 <!-- SketchMacroCircle -->
77 <feature id="SketchMacroCircle"
78 icon="icons/Sketch/circle.png"
80 tooltip="Create circle"
81 helpfile="circleFeature.html">
82 <toolbox id="circle_type" modified_in_edit="edit_circle_type">
83 <box id="circle_type_by_center_and_passed_points"
84 icon="icons/Sketch/circle_pt_rad_32x32.png"
85 title="Center and passed points">
86 <sketch-2dpoint_selector id="center_point"
87 reference_attribute="center_point_ref"
89 tooltip="Center point coordinates"
90 accept_expressions="0"
91 enable_value="enable_by_preferences"/>
92 <sketch-2dpoint_selector id="passed_point"
93 reference_attribute="passed_point_ref"
95 tooltip="Passed point coordinates"
96 accept_expressions="0"
97 enable_value="enable_by_preferences">
98 <validator id="SketchPlugin_CirclePassedPointValidator"/>
99 </sketch-2dpoint_selector>
100 <validator id="GeomValidators_Different" parameters="center_point_ref,passed_point_ref"/>
102 <box id="circle_type_by_three_points"
103 icon="icons/Sketch/circle_3pt_32x32.png"
104 title="Three points">
105 <sketch-2dpoint_selector id="first_point"
106 reference_attribute="first_point_ref"
108 tooltip="First point"
109 accept_expressions="0"
110 enable_value="enable_by_preferences"/>
111 <sketch-2dpoint_selector id="second_point"
112 reference_attribute="second_point_ref"
114 tooltip="Second point"
115 accept_expressions="0"
116 enable_value="enable_by_preferences">
117 <validator id="SketchPlugin_DifferentReference" parameters="first_point_ref,second_point_ref"/>
118 </sketch-2dpoint_selector>
119 <sketch-2dpoint_selector id="third_point"
120 reference_attribute="third_point_ref"
122 tooltip="Third point"
123 accept_expressions="0"
124 enable_value="enable_by_preferences">
125 <validator id="SketchPlugin_DifferentReference" parameters="first_point_ref,second_point_ref,third_point_ref"/>
126 <validator id="SketchPlugin_ThirdPointValidator" parameters="third_point_ref"/>
127 </sketch-2dpoint_selector>
128 <validator id="GeomValidators_Different" parameters="first_point_ref,second_point_ref,third_point_ref"/>
131 <labelvalue id="circle_radius"
132 icon="icons/Sketch/radius.png"
136 accept_expressions="0"
138 enable_value="enable_by_preferences">
140 <boolvalue id="Auxiliary"
141 tooltip="Construction element"
145 change_visual_attributes="true"/>
149 <feature id="SketchArc"
150 icon="icons/Sketch/arc.png"
154 <sketch-2dpoint_selector id="center_point"
156 tooltip="Center of a circle"
157 accept_expressions="0"
158 enable_value="enable_by_preferences"/>
159 <sketch-2dpoint_selector id="start_point"
161 tooltip="Start point"
162 accept_expressions="0"
163 enable_value="enable_by_preferences"/>
164 <sketch-2dpoint_selector id="end_point"
167 accept_expressions="0"
168 enable_value="enable_by_preferences"/>
169 <validator id="GeomValidators_Different" parameters="center_point,start_point,end_point"/>
170 <labelvalue id="radius"
171 icon="icons/Sketch/radius.png"
174 accept_expressions="0"
178 enable_value="enable_by_preferences">
180 <labelvalue id="angle"
181 icon="icons/Sketch/angle.png"
187 enable_value="enable_by_preferences"/>
188 <boolvalue id="Auxiliary"
190 tooltip="Construction element"
193 change_visual_attributes="true"/>
196 <!-- SketchMacroArc -->
201 icon="icons/Sketch/arc.png"
202 helpfile="arcFeature.html">
203 <toolbox id="arc_type" modified_in_edit="edit_arc_type">
204 <box id="by_center_and_points"
205 icon="icons/Sketch/arc_base_32x32.png"
206 title="Center and two points">
207 <sketch-2dpoint_selector id="center_point"
208 reference_attribute="center_point_ref"
210 tooltip="Center of a circle"
211 accept_expressions="0"
212 enable_value="enable_by_preferences" />
213 <sketch-2dpoint_selector id="start_point_1"
214 reference_attribute="start_point_ref"
216 tooltip="Start point"
217 accept_expressions="0"
218 enable_value="enable_by_preferences"/>
219 <sketch-2dpoint_selector id="end_point_1"
220 reference_attribute="end_point_ref"
223 accept_expressions="0"
224 enable_value="enable_by_preferences">
225 <validator id="SketchPlugin_ArcEndPointValidator" parameters="end_point_ref"/>
226 <validator id="SketchPlugin_ArcEndPointIntersectionValidator" parameters="end_point_ref"/>
227 </sketch-2dpoint_selector>
228 <validator id="GeomValidators_Different" parameters="center_point,start_point_1,end_point_1"/>
230 <box id="by_three_points"
231 icon="icons/Sketch/arc_3pt_32x32.png"
232 title="Three points on arc">
233 <sketch-2dpoint_selector id="start_point_2"
234 reference_attribute="start_point_ref"
236 tooltip="Start point"
237 accept_expressions="0"
238 enable_value="enable_by_preferences"/>
239 <sketch-2dpoint_selector id="end_point_2"
240 reference_attribute="end_point_ref"
243 accept_expressions="0"
244 enable_value="enable_by_preferences">
245 <validator id="GeomValidators_Different" parameters="start_point_2,end_point_2"/>
246 <validator id="SketchPlugin_DifferentPointReference" parameters="start_point_ref,end_point_ref"/>
247 </sketch-2dpoint_selector>
248 <sketch-2dpoint_selector id="passed_point"
249 reference_attribute="passed_point_ref"
251 tooltip="Passed point"
252 accept_expressions="0"
253 enable_value="enable_by_preferences">
254 <validator id="SketchPlugin_DifferentReference" parameters="start_point_ref,end_point_ref,passed_point_ref"/>
255 <validator id="SketchPlugin_ThirdPointValidator" parameters="passed_point_ref"/>
256 </sketch-2dpoint_selector>
257 <validator id="GeomValidators_Different" parameters="start_point_2,end_point_2,passed_point"/>
259 <box id="by_tangent_edge"
260 icon="icons/Sketch/arc_tang_32x32.png"
261 title="Tangent with edge">
262 <sketch_shape_selector id="tangent_point"
263 label="Tangent point"
264 tooltip="Select point on line"
265 shape_types="vertex">
266 <validator id="SketchPlugin_ArcTangentPoint"/>
267 </sketch_shape_selector>
268 <sketch-2dpoint_selector id="end_point_3"
269 reference_attribute="end_point_ref"
272 accept_expressions="0"
273 enable_value="enable_by_preferences">
274 <validator id="SketchPlugin_ArcEndPointValidator" parameters="end_point_ref"/>
275 </sketch-2dpoint_selector>
277 <box id="by_transversal_line"
278 icon="icons/Sketch/arc_perp_32x32.png"
279 title="Perpendicular to line">
280 <sketch_shape_selector id="transversal_point"
281 label="Point on the perpendicular line"
282 tooltip="Select point on line"
283 shape_types="vertex">
284 <validator id="SketchPlugin_ArcTransversalPoint"/>
285 </sketch_shape_selector>
286 <sketch-2dpoint_selector id="end_point_4"
287 reference_attribute="end_point_ref"
290 accept_expressions="0"
291 enable_value="enable_by_preferences">
292 <validator id="SketchPlugin_ArcEndPointValidator" parameters="end_point_ref"/>
293 </sketch-2dpoint_selector>
296 <labelvalue id="radius"
297 icon="icons/Sketch/radius.png"
300 accept_expressions="0"
304 enable_value="enable_by_preferences">
306 <labelvalue id="angle"
307 icon="icons/Sketch/angle.png"
313 enable_value="enable_by_preferences"/>
314 <boolvalue id="Auxiliary"
316 tooltip="Construction element"
319 change_visual_attributes="true"/>
322 <!-- SketchFillet -->
323 <feature id="SketchFillet"
325 tooltip="Create constraint defining fillet between two connected segments"
326 icon="icons/Sketch/fillet.png"
327 helpfile="filletFeature.html">
328 <sketch_shape_selector id="fillet_point"
330 tooltip="Select point for fillet (should be shared by two entities only)"
331 shape_types="vertex">
332 <validator id="SketchPlugin_FilletVertexValidator"/>
333 </sketch_shape_selector>
334 <!--<validator id="PartSet_FilletSelection"/>-->
337 <!-- SketchEllipse is a hidden feature. It is created inside SketchMacroEllipse. -->
338 <feature id="SketchEllipse"
340 tooltip="Create ellipse"
341 icon="icons/Sketch/ellipse.png"
343 <sketch-2dpoint_selector id="ellipse_center"
345 tooltip="Center coordinates"
346 accept_expressions="0"
347 enable_value="enable_by_preferences"/>
348 <sketch-2dpoint_selector id="ellipse_first_focus"
350 tooltip="Focus coordinates"
351 accept_expressions="0"
352 enable_value="enable_by_preferences"/>
353 <sketch-2dpoint_selector id="ellipse_second_focus"
355 tooltip="Focus coordinates"
356 accept_expressions="0"
357 enable_value="enable_by_preferences"/>
358 <sketch-2dpoint_selector id="ellipse_major_axis_start_point"
359 title="Major axis start"
360 tooltip="Coordinates of point on negative direction of major axis"
361 accept_expressions="0"
362 enable_value="enable_by_preferences"/>
363 <sketch-2dpoint_selector id="ellipse_major_axis_end_point"
364 title="Major axis end"
365 tooltip="Coordinates of point on positive direction of major axis"
366 accept_expressions="0"
367 enable_value="enable_by_preferences"/>
368 <sketch-2dpoint_selector id="ellipse_minor_axis_start_point"
369 title="Minor axis start"
370 tooltip="Coordinates of point on negative direction of minor axis"
371 accept_expressions="0"
372 enable_value="enable_by_preferences"/>
373 <sketch-2dpoint_selector id="ellipse_minor_axis_end_point"
374 title="Minor axis end"
375 tooltip="Coordinates of point on positive direction of minor axis"
376 accept_expressions="0"
377 enable_value="enable_by_preferences"/>
378 <labelvalue id="ellipse_major_radius"
379 icon="icons/Sketch/radius_major.png"
381 tooltip="Set major radius"
383 accept_expressions="0"
384 enable_value="enable_by_preferences">
386 <labelvalue id="ellipse_minor_radius"
387 icon="icons/Sketch/radius_minor.png"
389 tooltip="Set minor radius"
391 accept_expressions="0"
392 enable_value="enable_by_preferences">
394 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
396 <!-- SketchMacroEllipse -->
397 <feature id="SketchMacroEllipse"
398 icon="icons/Sketch/ellipse.png"
400 tooltip="Create ellipse"
401 helpfile="ellipseFeature.html">
402 <toolbox id="ellipse_type" modified_in_edit="edit_ellipse_type">
403 <box id="by_center_axis_point"
404 icon="icons/Sketch/ellipse_cent_rad_32x32.png"
405 title="Center, major semi-axis and passing point">
406 <sketch-2dpoint_selector id="first_point"
407 reference_attribute="first_point_ref"
409 tooltip="Center point coordinates"
410 accept_expressions="0"
411 enable_value="enable_by_preferences"/>
412 <sketch-2dpoint_selector id="second_point"
413 reference_attribute="second_point_ref"
414 title="Major axis point"
415 tooltip="Major axis point coordinates"
416 accept_expressions="0"
417 enable_value="enable_by_preferences"/>
418 <sketch-2dpoint_selector id="passed_point"
419 reference_attribute="passed_point_ref"
421 tooltip="Passed point coordinates"
422 accept_expressions="0"
423 enable_value="enable_by_preferences"/>
425 <box id="by_major_axis_and_point"
426 icon="icons/Sketch/ellipse_axes_32x32.png"
427 title="Major axis and passing point">
428 <sketch-2dpoint_selector id="first_point_1"
429 reference_attribute="first_point_ref_1"
430 title="Major axis start point"
431 tooltip="Major axis start point coordinates"
432 accept_expressions="0"
433 enable_value="enable_by_preferences"/>
434 <sketch-2dpoint_selector id="second_point_1"
435 reference_attribute="second_point_ref_1"
436 title="Major axis end point"
437 tooltip="Major axis end point coordinates"
438 accept_expressions="0"
439 enable_value="enable_by_preferences"/>
440 <sketch-2dpoint_selector id="passed_point_1"
441 reference_attribute="passed_point_ref_1"
443 tooltip="Passed point coordinates"
444 accept_expressions="0"
445 enable_value="enable_by_preferences"/>
448 <labelvalue id="major_radius"
449 icon="icons/Sketch/radius_major.png"
451 tooltip="Set major radius"
453 accept_expressions="0"
455 enable_value="enable_by_preferences">
457 <labelvalue id="minor_radius"
458 icon="icons/Sketch/radius_minor.png"
460 tooltip="Set minor radius"
462 accept_expressions="0"
464 enable_value="enable_by_preferences">
466 <boolvalue id="Auxiliary"
467 tooltip="Construction element"
471 change_visual_attributes="true"/>
474 <!-- SketchEllipticArc is a hidden feature. It is created inside SketchMacroEllipse. -->
475 <feature id="SketchEllipticArc"
477 tooltip="Create elliptic arc"
478 icon="icons/Sketch/elliptic_arc.png"
480 <sketch-2dpoint_selector id="ellipse_center"
482 tooltip="Center coordinates"
483 accept_expressions="0"
484 enable_value="enable_by_preferences"/>
485 <sketch-2dpoint_selector id="ellipse_first_focus"
487 tooltip="Focus coordinates"
488 accept_expressions="0"
489 enable_value="enable_by_preferences"/>
490 <sketch-2dpoint_selector id="ellipse_second_focus"
492 tooltip="Focus coordinates"
493 accept_expressions="0"
494 enable_value="enable_by_preferences"/>
495 <sketch-2dpoint_selector id="ellipse_major_axis_start_point"
496 title="Major axis start"
497 tooltip="Coordinates of point on negative direction of major axis"
498 accept_expressions="0"
499 enable_value="enable_by_preferences"/>
500 <sketch-2dpoint_selector id="ellipse_major_axis_end_point"
501 title="Major axis end"
502 tooltip="Coordinates of point on positive direction of major axis"
503 accept_expressions="0"
504 enable_value="enable_by_preferences"/>
505 <sketch-2dpoint_selector id="ellipse_minor_axis_start_point"
506 title="Minor axis start"
507 tooltip="Coordinates of point on negative direction of minor axis"
508 accept_expressions="0"
509 enable_value="enable_by_preferences"/>
510 <sketch-2dpoint_selector id="ellipse_minor_axis_end_point"
511 title="Minor axis end"
512 tooltip="Coordinates of point on positive direction of minor axis"
513 accept_expressions="0"
514 enable_value="enable_by_preferences"/>
515 <sketch-2dpoint_selector id="start_point"
517 tooltip="Arc start point coordinates"
518 accept_expressions="0"
519 enable_value="enable_by_preferences"/>
520 <sketch-2dpoint_selector id="end_point"
522 tooltip="Arc end point coordinates"
523 accept_expressions="0"
524 enable_value="enable_by_preferences"/>
525 <labelvalue id="ellipse_major_radius"
526 icon="icons/Sketch/radius_major.png"
528 tooltip="Set major radius"
530 accept_expressions="0"
531 enable_value="enable_by_preferences">
533 <labelvalue id="ellipse_minor_radius"
534 icon="icons/Sketch/radius_minor.png"
536 tooltip="Set minor radius"
538 accept_expressions="0"
539 enable_value="enable_by_preferences">
541 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
543 <!-- SketchMacroEllipticArc -->
544 <feature id="SketchMacroEllipticArc"
545 icon="icons/Sketch/elliptic_arc.png"
547 tooltip="Create elliptic arc"
548 helpfile="ellipseFeature.html">
549 <sketch-2dpoint_selector id="center"
550 reference_attribute="center_ref"
552 tooltip="Center point coordinates"
553 accept_expressions="0"
554 enable_value="enable_by_preferences"/>
555 <sketch-2dpoint_selector id="major_axis_point"
556 reference_attribute="major_axis_point_ref"
557 title="Major axis point"
558 tooltip="Major axis point coordinates"
559 accept_expressions="0"
560 enable_value="enable_by_preferences"/>
561 <sketch-2dpoint_selector id="start_point"
562 reference_attribute="start_point_ref"
564 tooltip="Arc start point coordinates"
565 accept_expressions="0"
566 enable_value="enable_by_preferences"/>
567 <sketch-2dpoint_selector id="end_point"
568 reference_attribute="end_point_ref"
570 tooltip="Arc end point coordinates"
571 accept_expressions="0"
572 enable_value="enable_by_preferences"/>
573 <labelvalue id="major_radius"
574 icon="icons/Sketch/radius_major.png"
576 tooltip="Set major radius"
578 accept_expressions="0"
580 enable_value="enable_by_preferences">
582 <labelvalue id="minor_radius"
583 icon="icons/Sketch/radius_minor.png"
585 tooltip="Set minor radius"
587 accept_expressions="0"
589 enable_value="enable_by_preferences">
591 <boolvalue id="Auxiliary"
592 tooltip="Construction element"
596 change_visual_attributes="true"/>
600 <group id="Parametric curves">
601 <!-- SketchBSpline is a hidden feature. It is created inside SketchMacroBSpline. -->
602 <feature id="SketchBSpline"
604 tooltip="Create B-spline curve"
605 icon="icons/Sketch/bspline.png"
606 helpfile="bsplineFeature.html"
608 <sketch-bspline_selector id="poles"
610 title="Poles and weights"
611 tooltip="B-spline poles and weights"
612 enable_value="enable_by_preferences">
613 <validator id="SketchPlugin_BSplineValidator"/>
614 </sketch-bspline_selector>
615 <boolvalue id="Auxiliary"
618 tooltip="Construction element"
620 change_visual_attributes="true"/>
623 <!-- SketchMacroBSpline -->
624 <feature id="SketchMacroBSpline"
626 tooltip="Create B-spline curve"
627 icon="icons/Sketch/bspline.png"
628 helpfile="bsplineFeature.html">
629 <sketch-bspline_selector id="poles"
631 reference_attribute="poles_ref"
632 title="Poles and weights"
633 tooltip="B-spline poles and weights"
634 enable_value="enable_by_preferences">
635 <validator id="SketchPlugin_BSplineValidator"/>
636 </sketch-bspline_selector>
637 <boolvalue id="Auxiliary"
640 tooltip="Construction element"
642 change_visual_attributes="true"/>
646 <group id="Segmentation">
648 <feature id="SketchSplit" title="Split"
649 tooltip="Cut selected segment arc or circle on existing coincident points"
650 icon="icons/Sketch/split.png"
651 helpfile="splitFeature.html">
652 <sketch_feature_point_selector
654 selection_attributes="SelectedObject SelectedPoint PreviewObject PreviewPoint"
656 tooltip="Select segment for split"
658 use_external="false">
659 <validator id="SketchPlugin_SplitValidator"/>
660 </sketch_feature_point_selector>
661 <validator id="PartSet_SplitSelection"/>
664 <feature id="SketchTrim" title="Trim"
665 tooltip="Trim selected segment arc or circle on intersection points nearest to the graphic selection"
666 icon="icons/Sketch/trim.png"
667 helpfile="trimFeature.html">
668 <sketch_feature_point_selector
670 selection_attributes="SelectedObject SelectedPoint PreviewObject PreviewPoint"
672 tooltip="Select segment for trim"
674 use_external="false">
675 <validator id="SketchPlugin_TrimValidator"/>
676 </sketch_feature_point_selector>
677 <validator id="PartSet_SplitSelection"/>
681 <group id="Projection">
682 <!-- Projected feature -->
684 id="SketchProjection"
686 tooltip="Project feature onto sketch plane"
687 icon="icons/Sketch/projection.png"
688 helpfile="projectionFeature.html">
689 <sketch_shape_selector
692 tooltip="Select external edge or vertex."
693 shape_types="edge vertex"
695 can_create_external="false"
696 use_sketch_plane="false">
697 <validator id="SketchPlugin_ProjectionValidator"/>
698 </sketch_shape_selector>
699 <boolvalue id="IncludeToResult" label="Include into the sketch result" default="true" tooltip="Include projected feature into the sketch result"
700 change_visual_attributes="true"/>
701 <validator id="PartSet_ProjectionSelection"/>
704 <!-- Intersection Point -->
706 id="SketchIntersectionPoint"
708 tooltip="Intersect edge with sketch plane"
709 icon="icons/Sketch/intersection.png"
710 helpfile="intersectionFeature.html">
711 <sketch_shape_selector
714 tooltip="Select external edge."
717 can_create_external="false"
718 use_sketch_plane="false">
719 <validator id="SketchPlugin_IntersectionValidator"/>
720 </sketch_shape_selector>
721 <boolvalue id="IncludeToResult" label="Include into the sketch result" default="true" tooltip="Include projected feature into the sketch result"
722 change_visual_attributes="true"/>
723 <validator id="PartSet_IntersectionSelection"/>
727 <group id="Replication">
728 <!-- SketchConstraintMirror -->
730 id="SketchConstraintMirror"
731 title="Mirror copy" icon="icons/Sketch/mirror.png"
732 tooltip="Create constraint, mirroring group of objects"
733 helpfile="mirrorFeature.html">
734 <sketch_shape_selector id="ConstraintEntityA"
735 label="Mirror line" tooltip="Select mirror line" shape_types="edge">
736 <validator id="GeomValidators_ShapeType" parameters="line"/>
737 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityC"/>
738 </sketch_shape_selector>
739 <sketch_multi_selector id="ConstraintMirrorList"
741 tooltip="Select list of objects to be mirrored"
745 <validator id="SketchPlugin_MirrorAttr" />
746 </sketch_multi_selector>
747 <validator id="PartSet_MultyTranslationSelection" />
750 <!-- SketchMultiTranslation -->
752 id="SketchMultiTranslation"
753 title="Linear copy" icon="icons/Sketch/translate.png"
754 tooltip="Copy objects and move"
755 helpfile="translationFeature.html">
756 <sketch_multi_selector id="MultiTranslationList"
758 tooltip="Select list of objects to be translated"
762 <validator id="SketchPlugin_CopyValidator" />
763 </sketch_multi_selector>
764 <toolbox id="ValueType">
765 <box id="SingleValue" title="Single value" icon="icons/Sketch/translate_32x32.png">
766 <groupbox title="Direction">
767 <sketch_shape_selector
768 id="MultiTranslationStartPoint"
770 tooltip="Start point of translation"
771 shape_types="vertex">
772 <validator id="PartSet_DifferentObjects"/>
773 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
774 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
775 </sketch_shape_selector>
776 <sketch_shape_selector
777 id="MultiTranslationEndPoint"
779 tooltip="Final point of translation"
780 shape_types="vertex">
781 <validator id="PartSet_DifferentObjects"/>
782 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
783 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
784 </sketch_shape_selector>
787 <box id="FullValue" title="Full value" icon="icons/Sketch/translate_full_32x32.png">
788 <groupbox title="Direction">
789 <sketch_shape_selector
790 id="MultiTranslationStartPoint"
792 tooltip="Start point of translation"
793 shape_types="vertex">
794 <validator id="PartSet_DifferentObjects"/>
795 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
796 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
797 </sketch_shape_selector>
798 <sketch_shape_selector
799 id="MultiTranslationEndPoint"
801 tooltip="Final point of translation"
802 shape_types="vertex">
803 <validator id="PartSet_DifferentObjects"/>
804 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
805 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
806 </sketch_shape_selector>
810 <integervalue id="MultiTranslationObjects"
811 label="Total number of objects"
812 tooltip="Total number of objects"
813 default="2" min="2" use_reset="false">
814 <validator id="GeomValidators_Positive" parameters="1"/>
816 <validator id="PartSet_MultyTranslationSelection" />
819 <!-- SketchMultiRotation -->
821 id="SketchMultiRotation"
822 title="Angular copy" icon="icons/Sketch/rotate.png"
823 tooltip="Copy objects and rotate"
824 helpfile="rotationFeature.html">
825 <sketch_multi_selector id="MultiRotationList"
827 tooltip="Select list of objects to be rotated"
831 <validator id="SketchPlugin_CopyValidator" />
832 </sketch_multi_selector>
833 <sketch_shape_selector
834 id="MultiRotationCenter"
835 label="Center of rotation"
836 tooltip="Center of rotation"
837 shape_types="vertex">
838 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
839 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
840 </sketch_shape_selector>
841 <toolbox id="AngleType">
842 <box id="FullAngle" title="Full angle" icon="icons/Sketch/angle_up_full_32x32.png">
843 <doublevalue id="MultiRotationAngle"
845 icon="icons/Sketch/angle.png"
846 tooltip="Rotation angle"
847 default="360" min="0" max="360"
849 <validator id="SketchPlugin_MultiRotationAngleValidator" />
851 <boolvalue id="MultiRotationReversed"
853 tooltip="Reverse angular copy"
857 <box id="SingleAngle" title="Single angle" icon="icons/Sketch/angle_up_32x32.png">
858 <doublevalue id="MultiRotationAngle"
860 icon="icons/Sketch/angle.png"
861 tooltip="Rotation angle"
862 default="90" min="0" max="360"
864 <validator id="SketchPlugin_MultiRotationAngleValidator" />
866 <boolvalue id="MultiRotationReversed"
868 tooltip="Reverse angular copy"
873 <integervalue id="MultiRotationObjects"
874 label="Total number of objects"
875 tooltip="Total number of objects"
876 default="4" min="2" use_reset="false">
877 <validator id="GeomValidators_Positive" parameters="1"/>
879 <validator id="PartSet_MultyTranslationSelection" />
883 <group id="Dimensional constraints">
884 <!-- SketchConstraintDistance -->
886 id="SketchConstraintDistance"
888 tooltip="Set fixed distance from a point to an object"
889 icon="icons/Sketch/distance.png"
890 helpfile="distanceFeature.html">
891 <label title="Select objects for distance definition. Following objects can be accepted: point, line or arc end point, center of circle or arc."/>
892 <sketch_shape_selector
893 id="ConstraintEntityA"
895 tooltip="Select point, line end point, line, center of circle or arc."
896 shape_types="edge vertex">
897 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
898 <validator id="PartSet_DifferentObjects"/>
899 <validator id="GeomValidators_ShapeType" parameters="vertex,line"/>
900 </sketch_shape_selector>
901 <sketch_shape_selector
902 id="ConstraintEntityB"
903 label="Second object"
904 tooltip="Select point, line end point, line, center of circle or arc."
905 shape_types="edge vertex">
906 <validator id="PartSet_DifferentObjects"/>
907 <validator id="SketchPlugin_DistanceAttr" parameters="ConstraintEntityA"/>
908 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
909 <validator id="GeomValidators_ShapeType" parameters="vertex,line"/>
910 </sketch_shape_selector>
911 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
913 <doublevalue_editor label="Value" tooltip="Distance" id="ConstraintValue" default="computed" min="0">
914 <validator id="GeomValidators_Positive" parameters="-1.e-10"/>
915 </doublevalue_editor>
917 <module_choice id="LocationType"
918 widget_type="radiobuttons"
919 buttons_dir="horizontal"
920 label="Text location"
921 tooltip="Relative location of the text"
922 string_list="Left Automatic Right"
923 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
927 <boolvalue id="SignedDistance" label="Keep orientation" default="true" tooltip="Keep distance orientation" obligatory="0"/>
928 <validator id="PartSet_DistanceSelection"/>
931 <!-- SketchConstraintDistanceHorizontal -->
933 id="SketchConstraintDistanceHorizontal"
934 title="Horizontal Distance"
935 tooltip="Set horizontal distance between two points"
936 icon="icons/Sketch/distance_h.png"
937 helpfile="horizontalDistFeature.html">
938 <label title="Select points for distance definition."/>
939 <sketch_shape_selector
940 id="ConstraintEntityA"
942 tooltip="Select point."
943 shape_types="vertex">
944 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
945 <validator id="PartSet_DifferentObjects"/>
946 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
947 </sketch_shape_selector>
948 <sketch_shape_selector
949 id="ConstraintEntityB"
951 tooltip="Select point."
952 shape_types="vertex">
953 <validator id="PartSet_DifferentObjects"/>
954 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
955 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
956 </sketch_shape_selector>
957 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
959 <doublevalue_editor label="Value" tooltip="Distance" id="DistanceValue" default="computed" min="0">
960 <validator id="GeomValidators_Positive" parameters="-1.e-10"/>
961 </doublevalue_editor>
963 <module_choice id="LocationType"
964 widget_type="radiobuttons"
965 buttons_dir="horizontal"
966 label="Text location"
967 tooltip="Relative location of the text"
968 string_list="Left Automatic Right"
969 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
973 <validator id="PartSet_DistanceSelection"/>
976 <!-- SketchConstraintDistanceVertical -->
978 id="SketchConstraintDistanceVertical"
979 title="Vertical Distance"
980 tooltip="Set vertical distance between two points"
981 icon="icons/Sketch/distance_v.png"
982 helpfile="verticalDistFeature.html">
983 <label title="Select points for distance definition."/>
984 <sketch_shape_selector
985 id="ConstraintEntityA"
987 tooltip="Select point."
988 shape_types="vertex">
989 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
990 <validator id="PartSet_DifferentObjects"/>
991 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
992 </sketch_shape_selector>
993 <sketch_shape_selector
994 id="ConstraintEntityB"
996 tooltip="Select point."
997 shape_types="vertex">
998 <validator id="PartSet_DifferentObjects"/>
999 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1000 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
1001 </sketch_shape_selector>
1002 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1004 <doublevalue_editor label="Value" tooltip="Distance" id="DistanceValue" default="computed" min="0">
1005 <validator id="GeomValidators_Positive" parameters="-1.e-10"/>
1006 </doublevalue_editor>
1008 <module_choice id="LocationType"
1009 widget_type="radiobuttons"
1010 buttons_dir="horizontal"
1011 label="Text location"
1012 tooltip="Relative location of the text"
1013 string_list="Left Automatic Right"
1014 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1018 <validator id="PartSet_DistanceSelection"/>
1021 <!-- SketchConstraintLength -->
1022 <feature id="SketchConstraintLength" title="Length" tooltip="Set fixed length of a line segment" icon="icons/Sketch/length.png"
1023 helpfile="lengthFeature.html">
1024 <label title="Select a line on which to calculate length" tooltip="Select a line on which to calculate length"/>
1025 <shape_selector id="ConstraintEntityA" label="Line" tooltip="Select a line" shape_types="edge" >
1026 <validator id="GeomValidators_ShapeType" parameters="line"/>
1027 <validator id="SketchPlugin_SketchFeatureValidator"/>
1029 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1030 <doublevalue_editor label="Value" tooltip="Length" id="ConstraintValue" default="computed">
1031 <validator id="GeomValidators_Positive"/>
1032 </doublevalue_editor>
1033 <module_choice id="LocationType"
1034 widget_type="radiobuttons"
1035 buttons_dir="horizontal"
1036 label="Text location"
1037 tooltip="Relative location of the text"
1038 string_list="Left Automatic Right"
1039 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1042 <validator id="PartSet_LengthSelection"/>
1045 <!-- SketchConstraintAngle -->
1046 <feature id="SketchConstraintAngle" title="Angle" tooltip="Set fixed angle between two line segments" icon="icons/Sketch/angle_constr.png"
1047 helpfile="angleFeature.html">
1048 <sketch_feature_point_selector
1049 id="ConstraintEntityA"
1050 selection_attributes="ConstraintEntityA SelectedPointA"
1052 tooltip="Select a line"
1054 use_external="true">
1055 <validator id="GeomValidators_ShapeType" parameters="line"/>
1056 <validator id="PartSet_DifferentObjects"/>
1057 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1058 </sketch_feature_point_selector>
1059 <sketch_feature_point_selector
1060 id="ConstraintEntityB"
1061 selection_attributes="ConstraintEntityB SelectedPointB"
1063 tooltip="Select a line"
1065 use_external="true">
1066 <validator id="GeomValidators_ShapeType" parameters="line"/>
1067 <validator id="PartSet_DifferentObjects"/>
1068 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1069 </sketch_feature_point_selector>
1070 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1071 <doublevalue_editor label="Value" tooltip="Angle" id="AngleValue" default="computed" min="0" max="360" />
1072 <validator id="PartSet_AngleSelection"/>
1073 <module_choice id="AngleType"
1074 widget_type="radiobuttons"
1075 buttons_dir="horizontal"
1077 tooltip="Type of angle"
1078 string_list="Direct Complementary Additional"
1079 icons_list="icons/Sketch/angle_direct.png icons/Sketch/angle_complementary.png icons/Sketch/angle_backward.png"
1083 <module_choice id="LocationType"
1084 widget_type="radiobuttons"
1085 buttons_dir="horizontal"
1086 label="Text location"
1087 tooltip="Relative location of the text"
1088 string_list="Left Automatic Right"
1089 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1095 <!-- SketchConstraintRadius -->
1096 <feature id="SketchConstraintRadius" title="Radius" tooltip="Set fixed radius of a circle or an arc" icon="icons/Sketch/radius_constr.png"
1097 helpfile="radiusFeature.html">
1098 <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"/>
1099 <shape_selector id="ConstraintEntityA" label="Circle or Arc" tooltip="Select a circle or an arc"
1101 <validator id="GeomValidators_ShapeType" parameters="circle"/>
1103 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1104 <doublevalue_editor label="Value" tooltip="Radius" id="ConstraintValue" default="computed">
1105 <validator id="GeomValidators_Positive"/>
1106 </doublevalue_editor>
1108 <module_choice id="LocationType"
1109 widget_type="radiobuttons"
1110 buttons_dir="horizontal"
1111 label="Text location"
1112 tooltip="Relative location of the text"
1113 string_list="Left Automatic Right"
1114 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1118 <validator id="PartSet_RadiusSelection"/>
1123 <group id="Geometrical constraints">
1125 <!-- SketchConstraintHorizontal -->
1126 <feature id="SketchConstraintHorizontal" title="Horizontal" tooltip="Create constraint defining horizontal line" icon="icons/Sketch/horisontal.png"
1127 helpfile="horizontalFeature.html">
1128 <sketch_shape_selector id="ConstraintEntityA"
1129 label="Line" tooltip="Select a line" shape_types="edge" use_external="false">
1130 <validator id="GeomValidators_ShapeType" parameters="line"/>
1131 <validator id="SketchPlugin_HasNoConstraint" parameters="SketchConstraintHorizontal,SketchConstraintVertical"/>
1132 </sketch_shape_selector>
1133 <validator id="PartSet_HVDirSelection"/>
1136 <!-- SketchConstraintVertical -->
1137 <feature id="SketchConstraintVertical" title="Vertical" tooltip="Create constraint defining vertical line" icon="icons/Sketch/vertical.png"
1138 helpfile="verticalFeature.html">
1139 <sketch_shape_selector id="ConstraintEntityA"
1140 label="Line" tooltip="Select a line" shape_types="edge" use_external="false">
1141 <validator id="GeomValidators_ShapeType" parameters="line"/>
1142 <validator id="SketchPlugin_HasNoConstraint" parameters="SketchConstraintHorizontal,SketchConstraintVertical"/>
1143 </sketch_shape_selector>
1144 <validator id="PartSet_HVDirSelection"/>
1147 <!-- SketchConstraintRigid -->
1148 <feature id="SketchConstraintRigid" title="Fixed" tooltip="Fix an object" icon="icons/Sketch/fixed.png"
1149 helpfile="rigidFeature.html">
1150 <sketch_shape_selector id="ConstraintEntityA" label="Object"
1151 tooltip="Select point, curve or its boundary point."
1152 shape_types="edge vertex">
1153 <validator id="GeomValidators_ShapeType" parameters="vertex,edge"/>
1154 <validator id="SketchPlugin_NotFixed"/>
1155 </sketch_shape_selector>
1156 <validator id="PartSet_RigidSelection"/>
1159 <!-- SketchConstraintParallel -->
1160 <feature id="SketchConstraintParallel" title="Parallel" tooltip="Create constraint defining two parallel lines"
1161 icon="icons/Sketch/parallel.png" helpfile="parallelFeature.html">
1162 <sketch_shape_selector id="ConstraintEntityA"
1163 label="First line" tooltip="Select a line" shape_types="edge">
1164 <validator id="GeomValidators_ShapeType" parameters="line"/>
1165 <validator id="PartSet_DifferentObjects"/>
1166 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1167 </sketch_shape_selector>
1169 <sketch_shape_selector id="ConstraintEntityB" label="Second line" tooltip="Select a line"
1171 <validator id="GeomValidators_ShapeType" parameters="line"/>
1172 <validator id="PartSet_DifferentObjects"/>
1173 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1174 </sketch_shape_selector>
1175 <validator id="PartSet_ParallelSelection"/>
1178 <!-- SketchConstraintPerpendicular -->
1179 <feature id="SketchConstraintPerpendicular" title="Perpendicular"
1180 tooltip="Create constraint defining two orthogonal objects"
1181 icon="icons/Sketch/perpendicular.png"
1182 helpfile="perpendicularFeature.html">
1183 <sketch_shape_selector id="ConstraintEntityA"
1184 label="First object" tooltip="Select line or arc"
1186 <validator id="PartSet_DifferentObjects"/>
1187 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1188 <validator id="SketchPlugin_PerpendicularAttr" parameters="ConstraintEntityB"/>
1189 <validator id="GeomValidators_ShapeType" parameters="edge"/>
1190 </sketch_shape_selector>
1192 <sketch_shape_selector id="ConstraintEntityB"
1193 label="Second object" tooltip="Select line or arc"
1195 <validator id="PartSet_DifferentObjects"/>
1196 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1197 <validator id="SketchPlugin_PerpendicularAttr" parameters="ConstraintEntityA"/>
1198 <validator id="GeomValidators_ShapeType" parameters="edge"/>
1199 </sketch_shape_selector>
1200 <validator id="PartSet_PerpendicularSelection"/>
1203 <!-- SketchConstraintTangent -->
1204 <feature id="SketchConstraintTangent" title="Tangent" tooltip="Create constraint defining tangency of two segments with common coincident point" icon="icons/Sketch/tangent.png"
1205 helpfile="tangentFeature.html">
1206 <sketch_shape_selector id="ConstraintEntityA"
1207 label="First object" tooltip="Select line or arc" shape_types="edge">
1208 <validator id="SketchPlugin_TangentAttr" parameters="ConstraintEntityB"/>
1209 <validator id="PartSet_DifferentObjects"/>
1210 </sketch_shape_selector>
1212 <sketch_shape_selector id="ConstraintEntityB"
1213 label="Second object" tooltip="Select line or arc" shape_types="edge">
1214 <validator id="SketchPlugin_TangentAttr" parameters="ConstraintEntityA"/>
1215 <validator id="PartSet_DifferentObjects"/>
1216 </sketch_shape_selector>
1217 <validator id="PartSet_TangentSelection"/>
1220 <!-- SketchConstraintCoincidence -->
1221 <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"
1222 helpfile="coincedenceFeature.html">
1223 <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex edge">
1224 <validator id="PartSet_DifferentObjects"/>
1225 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1226 </sketch_shape_selector>
1227 <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex edge">
1228 <validator id="PartSet_DifferentObjects"/>
1229 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1230 <validator id="SketchPlugin_CoincidenceAttr" parameters="ConstraintEntityA"/>
1231 </sketch_shape_selector>
1232 <validator id="PartSet_CoincidentSelection"/>
1234 <!-- SketchConstraintCoincidenceInternal -->
1235 <feature id="SketchConstraintCoincidenceInternal" title="Internal Coincidence" tooltip="Internal coincidence" icon="icons/Sketch/coincedence.png"
1236 helpfile="coincedenceFeature.html" internal="1">
1237 <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex">
1238 <validator id="PartSet_DifferentObjects"/>
1239 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1240 </sketch_shape_selector>
1241 <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex">
1242 <validator id="PartSet_DifferentObjects"/>
1243 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1244 <validator id="SketchPlugin_CoincidenceAttr" parameters="ConstraintEntityA"/>
1245 </sketch_shape_selector>
1246 <validator id="PartSet_CoincidentSelection"/>
1249 <!-- SketchConstraintMiddle -->
1250 <feature id="SketchConstraintMiddle" title="Middle point" tooltip="Create constraint for setting middle point on a line"
1251 icon="icons/Sketch/middlepoint.png"
1252 helpfile="middleFeature.html">
1253 <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex edge">
1254 <validator id="PartSet_DifferentObjects"/>
1255 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1256 <validator id="SketchPlugin_MiddlePointAttr" parameters="ConstraintEntityB"/>
1257 </sketch_shape_selector>
1258 <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex edge">
1259 <validator id="PartSet_DifferentObjects"/>
1260 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1261 <validator id="SketchPlugin_MiddlePointAttr" parameters="ConstraintEntityA"/>
1262 </sketch_shape_selector>
1263 <validator id="PartSet_MiddlePointSelection"/>
1266 <!-- SketchConstraintEqual -->
1267 <feature id="SketchConstraintEqual" title="Equal"
1268 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"
1269 icon="icons/Sketch/equal.png"
1270 helpfile="equalFeature.html">
1271 <sketch_shape_selector id="ConstraintEntityA"
1272 label="First object" tooltip="Select edge" shape_types="edge">
1273 <validator id="PartSet_DifferentObjects"/>
1274 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1275 </sketch_shape_selector>
1277 <sketch_shape_selector id="ConstraintEntityB"
1278 label="Second object" tooltip="Select edge" shape_types="edge">
1279 <validator id="SketchPlugin_EqualAttr" parameters="ConstraintEntityA"/>
1280 <validator id="PartSet_DifferentObjects"/>
1281 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1282 </sketch_shape_selector>
1283 <validator id="PartSet_EqualSelection"/>
1286 <!-- SketchConstraintCollinear -->
1287 <feature id="SketchConstraintCollinear" title="Collinear" tooltip="Create constraint defining collinearity of two lines"
1288 icon="icons/Sketch/collinear.png"
1289 helpfile="collinearFeature.html">
1290 <sketch_shape_selector id="ConstraintEntityA"
1291 label="First line" tooltip="Select a line" shape_types="edge">
1292 <validator id="GeomValidators_ShapeType" parameters="line"/>
1293 <validator id="PartSet_DifferentObjects"/>
1294 </sketch_shape_selector>
1296 <sketch_shape_selector id="ConstraintEntityB"
1297 label="Second line" tooltip="Select a line" shape_types="edge">
1298 <validator id="GeomValidators_ShapeType" parameters="line"/>
1299 <validator id="PartSet_DifferentObjects"/>
1300 </sketch_shape_selector>
1301 <validator id="PartSet_CollinearSelection"/>