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 SketchMacroBSplinePeriodic SketchBSplinePeriodic
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"/>
424 <validator id="GeomValidators_Different" parameters="first_point,second_point,passed_point"/>
425 <validator id="SketchPlugin_DifferentPointReference" parameters="first_point_ref,second_point_ref"/>
427 <box id="by_major_axis_and_point"
428 icon="icons/Sketch/ellipse_axes_32x32.png"
429 title="Major axis and passing point">
430 <sketch-2dpoint_selector id="first_point_1"
431 reference_attribute="first_point_ref_1"
432 title="Major axis start point"
433 tooltip="Major axis start point coordinates"
434 accept_expressions="0"
435 enable_value="enable_by_preferences"/>
436 <sketch-2dpoint_selector id="second_point_1"
437 reference_attribute="second_point_ref_1"
438 title="Major axis end point"
439 tooltip="Major axis end point coordinates"
440 accept_expressions="0"
441 enable_value="enable_by_preferences"/>
442 <sketch-2dpoint_selector id="passed_point_1"
443 reference_attribute="passed_point_ref_1"
445 tooltip="Passed point coordinates"
446 accept_expressions="0"
447 enable_value="enable_by_preferences"/>
448 <validator id="GeomValidators_Different" parameters="first_point_1,second_point_1,passed_point_1"/>
449 <validator id="SketchPlugin_DifferentPointReference" parameters="first_point_ref_1,second_point_ref_1"/>
452 <labelvalue id="major_radius"
453 icon="icons/Sketch/radius_major.png"
455 tooltip="Set major radius"
457 accept_expressions="0"
459 enable_value="enable_by_preferences">
461 <labelvalue id="minor_radius"
462 icon="icons/Sketch/radius_minor.png"
464 tooltip="Set minor radius"
466 accept_expressions="0"
468 enable_value="enable_by_preferences">
470 <boolvalue id="Auxiliary"
471 tooltip="Construction element"
475 change_visual_attributes="true"/>
478 <!-- SketchEllipticArc is a hidden feature. It is created inside SketchMacroEllipse. -->
479 <feature id="SketchEllipticArc"
481 tooltip="Create elliptic arc"
482 icon="icons/Sketch/elliptic_arc.png"
484 <sketch-2dpoint_selector id="ellipse_center"
486 tooltip="Center coordinates"
487 accept_expressions="0"
488 enable_value="enable_by_preferences"/>
489 <sketch-2dpoint_selector id="ellipse_first_focus"
491 tooltip="Focus coordinates"
492 accept_expressions="0"
493 enable_value="enable_by_preferences"/>
494 <sketch-2dpoint_selector id="ellipse_second_focus"
496 tooltip="Focus coordinates"
497 accept_expressions="0"
498 enable_value="enable_by_preferences"/>
499 <sketch-2dpoint_selector id="ellipse_major_axis_start_point"
500 title="Major axis start"
501 tooltip="Coordinates of point on negative direction of major axis"
502 accept_expressions="0"
503 enable_value="enable_by_preferences"/>
504 <sketch-2dpoint_selector id="ellipse_major_axis_end_point"
505 title="Major axis end"
506 tooltip="Coordinates of point on positive direction of major axis"
507 accept_expressions="0"
508 enable_value="enable_by_preferences"/>
509 <sketch-2dpoint_selector id="ellipse_minor_axis_start_point"
510 title="Minor axis start"
511 tooltip="Coordinates of point on negative direction of minor axis"
512 accept_expressions="0"
513 enable_value="enable_by_preferences"/>
514 <sketch-2dpoint_selector id="ellipse_minor_axis_end_point"
515 title="Minor axis end"
516 tooltip="Coordinates of point on positive direction of minor axis"
517 accept_expressions="0"
518 enable_value="enable_by_preferences"/>
519 <sketch-2dpoint_selector id="start_point"
521 tooltip="Arc start point coordinates"
522 accept_expressions="0"
523 enable_value="enable_by_preferences"/>
524 <sketch-2dpoint_selector id="end_point"
526 tooltip="Arc end point coordinates"
527 accept_expressions="0"
528 enable_value="enable_by_preferences"/>
529 <labelvalue id="ellipse_major_radius"
530 icon="icons/Sketch/radius_major.png"
532 tooltip="Set major radius"
534 accept_expressions="0"
535 enable_value="enable_by_preferences">
537 <labelvalue id="ellipse_minor_radius"
538 icon="icons/Sketch/radius_minor.png"
540 tooltip="Set minor radius"
542 accept_expressions="0"
543 enable_value="enable_by_preferences">
545 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
547 <!-- SketchMacroEllipticArc -->
548 <feature id="SketchMacroEllipticArc"
549 icon="icons/Sketch/elliptic_arc.png"
551 tooltip="Create elliptic arc"
552 helpfile="ellipseFeature.html">
553 <sketch-2dpoint_selector id="center"
554 reference_attribute="center_ref"
556 tooltip="Center point coordinates"
557 accept_expressions="0"
558 enable_value="enable_by_preferences"/>
559 <sketch-2dpoint_selector id="major_axis_point"
560 reference_attribute="major_axis_point_ref"
561 title="Major axis point"
562 tooltip="Major axis point coordinates"
563 accept_expressions="0"
564 enable_value="enable_by_preferences"/>
565 <sketch-2dpoint_selector id="start_point"
566 reference_attribute="start_point_ref"
568 tooltip="Arc start point coordinates"
569 accept_expressions="0"
570 enable_value="enable_by_preferences"/>
571 <sketch-2dpoint_selector id="end_point"
572 reference_attribute="end_point_ref"
574 tooltip="Arc end point coordinates"
575 accept_expressions="0"
576 enable_value="enable_by_preferences"/>
577 <labelvalue id="major_radius"
578 icon="icons/Sketch/radius_major.png"
580 tooltip="Set major radius"
582 accept_expressions="0"
584 enable_value="enable_by_preferences">
586 <labelvalue id="minor_radius"
587 icon="icons/Sketch/radius_minor.png"
589 tooltip="Set minor radius"
591 accept_expressions="0"
593 enable_value="enable_by_preferences">
595 <boolvalue id="Auxiliary"
596 tooltip="Construction element"
600 change_visual_attributes="true"/>
601 <validator id="GeomValidators_Different" parameters="center,major_axis_point"/>
602 <validator id="SketchPlugin_DifferentPointReference" parameters="center_ref,major_axis_point_ref"/>
603 <validator id="GeomValidators_Different" parameters="start_point,end_point"/>
604 <validator id="SketchPlugin_DifferentPointReference" parameters="start_point_ref,end_point_ref"/>
608 <group id="Parametric curves">
609 <!-- SketchBSpline is a hidden feature. It is created inside SketchMacroBSpline. -->
610 <feature id="SketchBSpline"
612 tooltip="Create B-spline curve"
613 icon="icons/Sketch/bspline.png"
614 helpfile="bsplineFeature.html"
616 <bspline-panel id="poles"
618 title="Poles and weights"
619 tooltip="B-spline poles and weights"
620 enable_value="enable_by_preferences">
621 <validator id="SketchPlugin_BSplineValidator"/>
623 <boolvalue id="Auxiliary"
626 tooltip="Construction element"
628 change_visual_attributes="true"/>
631 <!-- SketchBSplinePeriodic is a hidden feature. It is created inside SketchMacroBSplinePeriodic. -->
632 <feature id="SketchBSplinePeriodic"
633 title="Periodic B-spline"
634 tooltip="Create periodic B-spline curve"
635 icon="icons/Sketch/bspline_p.png"
636 helpfile="bsplineFeature.html"
638 <bspline-panel id="poles"
640 title="Poles and weights"
641 tooltip="B-spline poles and weights"
642 enable_value="enable_by_preferences">
643 <validator id="SketchPlugin_BSplineValidator"/>
645 <boolvalue id="Auxiliary"
648 tooltip="Construction element"
650 change_visual_attributes="true"/>
653 <!-- SketchMacroBSpline -->
654 <feature id="SketchMacroBSpline"
656 tooltip="Create B-spline curve"
657 icon="icons/Sketch/bspline.png"
658 helpfile="bsplineFeature.html">
659 <sketch-bspline_selector id="poles"
661 reference_attribute="poles_ref"
663 tooltip="B-spline poles"
664 enable_value="enable_by_preferences">
665 <validator id="SketchPlugin_BSplineValidator"/>
666 </sketch-bspline_selector>
667 <boolvalue id="need_control_poly"
668 label="Create control polygon"
670 tooltip="Specify if the control polygon should be created"/>
671 <boolvalue id="Auxiliary"
674 tooltip="Construction element"
676 change_visual_attributes="true"/>
679 <!-- SketchMacroBSplinePeriodic -->
680 <feature id="SketchMacroBSplinePeriodic"
681 title="Periodic B-spline"
682 tooltip="Create periodic B-spline curve"
683 icon="icons/Sketch/bspline_p.png"
684 helpfile="bsplineFeature.html">
685 <sketch-bspline_selector id="poles"
687 reference_attribute="poles_ref"
689 tooltip="B-spline poles"
690 enable_value="enable_by_preferences">
691 <validator id="SketchPlugin_BSplineValidator"/>
692 </sketch-bspline_selector>
693 <boolvalue id="need_control_poly"
694 label="Create control polygon"
696 tooltip="Specify if the control polygon should be created"/>
697 <boolvalue id="Auxiliary"
700 tooltip="Construction element"
702 change_visual_attributes="true"/>
706 <group id="Segmentation">
708 <feature id="SketchSplit" title="Split"
709 tooltip="Cut selected segment arc or circle on existing coincident points"
710 icon="icons/Sketch/split.png"
711 helpfile="splitFeature.html">
712 <sketch_feature_point_selector
714 selection_attributes="SelectedObject SelectedPoint PreviewObject PreviewPoint"
716 tooltip="Select segment for split"
718 use_external="false">
719 <validator id="SketchPlugin_SplitValidator"/>
720 </sketch_feature_point_selector>
721 <validator id="PartSet_SplitSelection"/>
724 <feature id="SketchTrim" title="Trim"
725 tooltip="Trim selected segment arc or circle on intersection points nearest to the graphic selection"
726 icon="icons/Sketch/trim.png"
727 helpfile="trimFeature.html">
728 <sketch_feature_point_selector
730 selection_attributes="SelectedObject SelectedPoint PreviewObject PreviewPoint"
732 tooltip="Select segment for trim"
734 use_external="false">
735 <validator id="SketchPlugin_TrimValidator"/>
736 </sketch_feature_point_selector>
737 <validator id="PartSet_SplitSelection"/>
741 <group id="Projection">
742 <!-- Projected feature -->
744 id="SketchProjection"
746 tooltip="Project feature onto sketch plane"
747 icon="icons/Sketch/projection.png"
748 helpfile="projectionFeature.html">
749 <sketch_shape_selector
752 tooltip="Select external edge or vertex."
753 shape_types="edge vertex"
755 can_create_external="false"
756 use_sketch_plane="false">
757 <validator id="SketchPlugin_ProjectionValidator"/>
758 </sketch_shape_selector>
759 <boolvalue id="IncludeToResult" label="Include into the sketch result" default="true" tooltip="Include projected feature into the sketch result"
760 change_visual_attributes="true"/>
761 <validator id="PartSet_ProjectionSelection"/>
764 <!-- Intersection Point -->
766 id="SketchIntersectionPoint"
768 tooltip="Intersect edge with sketch plane"
769 icon="icons/Sketch/intersection.png"
770 helpfile="intersectionFeature.html">
771 <sketch_shape_selector
774 tooltip="Select external edge."
777 can_create_external="false"
778 use_sketch_plane="false">
779 <validator id="SketchPlugin_IntersectionValidator"/>
780 </sketch_shape_selector>
781 <boolvalue id="IncludeToResult" label="Include into the sketch result" default="true" tooltip="Include projected feature into the sketch result"
782 change_visual_attributes="true"/>
783 <validator id="PartSet_IntersectionSelection"/>
787 <group id="Replication">
788 <!-- SketchConstraintMirror -->
790 id="SketchConstraintMirror"
791 title="Mirror copy" icon="icons/Sketch/mirror.png"
792 tooltip="Create constraint, mirroring group of objects"
793 helpfile="mirrorFeature.html">
794 <sketch_shape_selector id="ConstraintEntityA"
795 label="Mirror line" tooltip="Select mirror line" shape_types="edge">
796 <validator id="GeomValidators_ShapeType" parameters="line"/>
797 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityC"/>
798 </sketch_shape_selector>
799 <sketch_multi_selector id="ConstraintMirrorList"
801 tooltip="Select list of objects to be mirrored"
805 <validator id="SketchPlugin_MirrorAttr" />
806 </sketch_multi_selector>
807 <validator id="PartSet_MultyTranslationSelection" />
810 <!-- SketchMultiTranslation -->
812 id="SketchMultiTranslation"
813 title="Linear copy" icon="icons/Sketch/translate.png"
814 tooltip="Copy objects and move"
815 helpfile="translationFeature.html">
816 <sketch_multi_selector id="MultiTranslationList"
818 tooltip="Select list of objects to be translated"
822 <validator id="SketchPlugin_CopyValidator" />
823 </sketch_multi_selector>
824 <toolbox id="ValueType">
825 <box id="SingleValue" title="Single value" icon="icons/Sketch/translate_32x32.png">
826 <groupbox title="Direction">
827 <sketch_shape_selector
828 id="MultiTranslationStartPoint"
830 tooltip="Start point of translation"
831 shape_types="vertex">
832 <validator id="PartSet_DifferentObjects"/>
833 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
834 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
835 </sketch_shape_selector>
836 <sketch_shape_selector
837 id="MultiTranslationEndPoint"
839 tooltip="Final point of translation"
840 shape_types="vertex">
841 <validator id="PartSet_DifferentObjects"/>
842 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
843 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
844 </sketch_shape_selector>
847 <box id="FullValue" title="Full value" icon="icons/Sketch/translate_full_32x32.png">
848 <groupbox title="Direction">
849 <sketch_shape_selector
850 id="MultiTranslationStartPoint"
852 tooltip="Start point of translation"
853 shape_types="vertex">
854 <validator id="PartSet_DifferentObjects"/>
855 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
856 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
857 </sketch_shape_selector>
858 <sketch_shape_selector
859 id="MultiTranslationEndPoint"
861 tooltip="Final point of translation"
862 shape_types="vertex">
863 <validator id="PartSet_DifferentObjects"/>
864 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
865 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
866 </sketch_shape_selector>
870 <integervalue id="MultiTranslationObjects"
871 label="Total number of objects"
872 tooltip="Total number of objects"
873 default="2" min="2" use_reset="false">
874 <validator id="GeomValidators_Positive" parameters="1"/>
876 <validator id="PartSet_MultyTranslationSelection" />
879 <!-- SketchMultiRotation -->
881 id="SketchMultiRotation"
882 title="Angular copy" icon="icons/Sketch/rotate.png"
883 tooltip="Copy objects and rotate"
884 helpfile="rotationFeature.html">
885 <sketch_multi_selector id="MultiRotationList"
887 tooltip="Select list of objects to be rotated"
891 <validator id="SketchPlugin_CopyValidator" />
892 </sketch_multi_selector>
893 <sketch_shape_selector
894 id="MultiRotationCenter"
895 label="Center of rotation"
896 tooltip="Center of rotation"
897 shape_types="vertex">
898 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
899 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
900 </sketch_shape_selector>
901 <toolbox id="AngleType">
902 <box id="FullAngle" title="Full angle" icon="icons/Sketch/angle_up_full_32x32.png">
903 <doublevalue id="MultiRotationAngle"
905 icon="icons/Sketch/angle.png"
906 tooltip="Rotation angle"
907 default="360" min="0" max="360"
909 <validator id="SketchPlugin_MultiRotationAngleValidator" />
911 <boolvalue id="MultiRotationReversed"
913 tooltip="Reverse angular copy"
917 <box id="SingleAngle" title="Single angle" icon="icons/Sketch/angle_up_32x32.png">
918 <doublevalue id="MultiRotationAngle"
920 icon="icons/Sketch/angle.png"
921 tooltip="Rotation angle"
922 default="90" min="0" max="360"
924 <validator id="SketchPlugin_MultiRotationAngleValidator" />
926 <boolvalue id="MultiRotationReversed"
928 tooltip="Reverse angular copy"
933 <integervalue id="MultiRotationObjects"
934 label="Total number of objects"
935 tooltip="Total number of objects"
936 default="4" min="2" use_reset="false">
937 <validator id="GeomValidators_Positive" parameters="1"/>
939 <validator id="PartSet_MultyTranslationSelection" />
943 <group id="Dimensional constraints">
944 <!-- SketchConstraintDistance -->
946 id="SketchConstraintDistance"
948 tooltip="Set fixed distance from a point to an object"
949 icon="icons/Sketch/distance.png"
950 helpfile="distanceFeature.html">
951 <label title="Select objects for distance definition. Following objects can be accepted: point, line or arc end point, center of circle or arc."/>
952 <sketch_shape_selector
953 id="ConstraintEntityA"
955 tooltip="Select point, line end point, line, center of circle or arc."
956 shape_types="edge vertex">
957 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
958 <validator id="PartSet_DifferentObjects"/>
959 <validator id="GeomValidators_ShapeType" parameters="vertex,line"/>
960 </sketch_shape_selector>
961 <sketch_shape_selector
962 id="ConstraintEntityB"
963 label="Second object"
964 tooltip="Select point, line end point, line, center of circle or arc."
965 shape_types="edge vertex">
966 <validator id="PartSet_DifferentObjects"/>
967 <validator id="SketchPlugin_DistanceAttr" parameters="ConstraintEntityA"/>
968 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
969 <validator id="GeomValidators_ShapeType" parameters="vertex,line"/>
970 </sketch_shape_selector>
971 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
973 <doublevalue_editor label="Value" tooltip="Distance" id="ConstraintValue" default="computed" min="0">
974 <validator id="GeomValidators_Positive" parameters="-1.e-10"/>
975 </doublevalue_editor>
977 <module_choice id="LocationType"
978 widget_type="radiobuttons"
979 buttons_dir="horizontal"
980 label="Text location"
981 tooltip="Relative location of the text"
982 string_list="Left Automatic Right"
983 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
987 <boolvalue id="SignedDistance" label="Keep orientation" default="true" tooltip="Keep distance orientation" obligatory="0"/>
988 <validator id="PartSet_DistanceSelection"/>
991 <!-- SketchConstraintDistanceHorizontal -->
993 id="SketchConstraintDistanceHorizontal"
994 title="Horizontal Distance"
995 tooltip="Set horizontal distance between two points"
996 icon="icons/Sketch/distance_h.png"
997 helpfile="horizontalDistFeature.html">
998 <label title="Select points for distance definition."/>
999 <sketch_shape_selector
1000 id="ConstraintEntityA"
1002 tooltip="Select point."
1003 shape_types="vertex">
1004 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1005 <validator id="PartSet_DifferentObjects"/>
1006 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
1007 </sketch_shape_selector>
1008 <sketch_shape_selector
1009 id="ConstraintEntityB"
1010 label="Second point"
1011 tooltip="Select point."
1012 shape_types="vertex">
1013 <validator id="PartSet_DifferentObjects"/>
1014 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1015 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
1016 </sketch_shape_selector>
1017 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1019 <doublevalue_editor label="Value" tooltip="Distance" id="DistanceValue" default="computed" min="0">
1020 <validator id="GeomValidators_Positive" parameters="-1.e-10"/>
1021 </doublevalue_editor>
1023 <module_choice id="LocationType"
1024 widget_type="radiobuttons"
1025 buttons_dir="horizontal"
1026 label="Text location"
1027 tooltip="Relative location of the text"
1028 string_list="Left Automatic Right"
1029 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1033 <validator id="PartSet_DistanceSelection"/>
1036 <!-- SketchConstraintDistanceVertical -->
1038 id="SketchConstraintDistanceVertical"
1039 title="Vertical Distance"
1040 tooltip="Set vertical distance between two points"
1041 icon="icons/Sketch/distance_v.png"
1042 helpfile="verticalDistFeature.html">
1043 <label title="Select points for distance definition."/>
1044 <sketch_shape_selector
1045 id="ConstraintEntityA"
1047 tooltip="Select point."
1048 shape_types="vertex">
1049 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1050 <validator id="PartSet_DifferentObjects"/>
1051 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
1052 </sketch_shape_selector>
1053 <sketch_shape_selector
1054 id="ConstraintEntityB"
1055 label="Second point"
1056 tooltip="Select point."
1057 shape_types="vertex">
1058 <validator id="PartSet_DifferentObjects"/>
1059 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1060 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
1061 </sketch_shape_selector>
1062 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1064 <doublevalue_editor label="Value" tooltip="Distance" id="DistanceValue" default="computed" min="0">
1065 <validator id="GeomValidators_Positive" parameters="-1.e-10"/>
1066 </doublevalue_editor>
1068 <module_choice id="LocationType"
1069 widget_type="radiobuttons"
1070 buttons_dir="horizontal"
1071 label="Text location"
1072 tooltip="Relative location of the text"
1073 string_list="Left Automatic Right"
1074 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1078 <validator id="PartSet_DistanceSelection"/>
1081 <!-- SketchConstraintLength -->
1082 <feature id="SketchConstraintLength" title="Length" tooltip="Set fixed length of a line segment" icon="icons/Sketch/length.png"
1083 helpfile="lengthFeature.html">
1084 <label title="Select a line on which to calculate length" tooltip="Select a line on which to calculate length"/>
1085 <shape_selector id="ConstraintEntityA" label="Line" tooltip="Select a line" shape_types="edge" >
1086 <validator id="GeomValidators_ShapeType" parameters="line"/>
1087 <validator id="SketchPlugin_SketchFeatureValidator"/>
1089 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1090 <doublevalue_editor label="Value" tooltip="Length" id="ConstraintValue" default="computed">
1091 <validator id="GeomValidators_Positive"/>
1092 </doublevalue_editor>
1093 <module_choice id="LocationType"
1094 widget_type="radiobuttons"
1095 buttons_dir="horizontal"
1096 label="Text location"
1097 tooltip="Relative location of the text"
1098 string_list="Left Automatic Right"
1099 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1102 <validator id="PartSet_LengthSelection"/>
1105 <!-- SketchConstraintAngle -->
1106 <feature id="SketchConstraintAngle" title="Angle" tooltip="Set fixed angle between two line segments" icon="icons/Sketch/angle_constr.png"
1107 helpfile="angleFeature.html">
1108 <sketch_feature_point_selector
1109 id="ConstraintEntityA"
1110 selection_attributes="ConstraintEntityA SelectedPointA"
1112 tooltip="Select a line"
1114 use_external="true">
1115 <validator id="GeomValidators_ShapeType" parameters="line"/>
1116 <validator id="PartSet_DifferentObjects"/>
1117 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1118 </sketch_feature_point_selector>
1119 <sketch_feature_point_selector
1120 id="ConstraintEntityB"
1121 selection_attributes="ConstraintEntityB SelectedPointB"
1123 tooltip="Select a line"
1125 use_external="true">
1126 <validator id="GeomValidators_ShapeType" parameters="line"/>
1127 <validator id="PartSet_DifferentObjects"/>
1128 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1129 </sketch_feature_point_selector>
1130 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1131 <doublevalue_editor label="Value" tooltip="Angle" id="AngleValue" default="computed" min="0" max="360" />
1132 <validator id="PartSet_AngleSelection"/>
1133 <module_choice id="AngleType"
1134 widget_type="radiobuttons"
1135 buttons_dir="horizontal"
1137 tooltip="Type of angle"
1138 string_list="Direct Supplementary Additional"
1139 icons_list="icons/Sketch/angle_direct.png icons/Sketch/angle_complementary.png icons/Sketch/angle_backward.png"
1143 <module_choice id="LocationType"
1144 widget_type="radiobuttons"
1145 buttons_dir="horizontal"
1146 label="Text location"
1147 tooltip="Relative location of the text"
1148 string_list="Left Automatic Right"
1149 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1155 <!-- SketchConstraintRadius -->
1156 <feature id="SketchConstraintRadius" title="Radius" tooltip="Set fixed radius of a circle or an arc" icon="icons/Sketch/radius_constr.png"
1157 helpfile="radiusFeature.html">
1158 <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"/>
1159 <shape_selector id="ConstraintEntityA" label="Circle or Arc" tooltip="Select a circle or an arc"
1161 <validator id="GeomValidators_ShapeType" parameters="circle"/>
1163 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1164 <doublevalue_editor label="Value" tooltip="Radius" id="ConstraintValue" default="computed">
1165 <validator id="GeomValidators_Positive"/>
1166 </doublevalue_editor>
1168 <module_choice id="LocationType"
1169 widget_type="radiobuttons"
1170 buttons_dir="horizontal"
1171 label="Text location"
1172 tooltip="Relative location of the text"
1173 string_list="Left Automatic Right"
1174 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1178 <validator id="PartSet_RadiusSelection"/>
1183 <group id="Geometrical constraints">
1185 <!-- SketchConstraintHorizontal -->
1186 <feature id="SketchConstraintHorizontal" title="Horizontal" tooltip="Create constraint defining horizontal line" icon="icons/Sketch/horisontal.png"
1187 helpfile="horizontalFeature.html">
1188 <sketch_shape_selector id="ConstraintEntityA"
1189 label="Line" tooltip="Select a line" shape_types="edge" use_external="false">
1190 <validator id="GeomValidators_ShapeType" parameters="line"/>
1191 <validator id="SketchPlugin_HasNoConstraint" parameters="SketchConstraintHorizontal,SketchConstraintVertical"/>
1192 </sketch_shape_selector>
1193 <validator id="PartSet_HVDirSelection"/>
1196 <!-- SketchConstraintVertical -->
1197 <feature id="SketchConstraintVertical" title="Vertical" tooltip="Create constraint defining vertical line" icon="icons/Sketch/vertical.png"
1198 helpfile="verticalFeature.html">
1199 <sketch_shape_selector id="ConstraintEntityA"
1200 label="Line" tooltip="Select a line" shape_types="edge" use_external="false">
1201 <validator id="GeomValidators_ShapeType" parameters="line"/>
1202 <validator id="SketchPlugin_HasNoConstraint" parameters="SketchConstraintHorizontal,SketchConstraintVertical"/>
1203 </sketch_shape_selector>
1204 <validator id="PartSet_HVDirSelection"/>
1207 <!-- SketchConstraintRigid -->
1208 <feature id="SketchConstraintRigid" title="Fixed" tooltip="Fix an object" icon="icons/Sketch/fixed.png"
1209 helpfile="rigidFeature.html">
1210 <sketch_shape_selector id="ConstraintEntityA" label="Object"
1211 tooltip="Select point, curve or its boundary point."
1212 shape_types="edge vertex">
1213 <validator id="GeomValidators_ShapeType" parameters="vertex,edge"/>
1214 <validator id="SketchPlugin_NotFixed"/>
1215 </sketch_shape_selector>
1216 <validator id="PartSet_RigidSelection"/>
1219 <!-- SketchConstraintParallel -->
1220 <feature id="SketchConstraintParallel" title="Parallel" tooltip="Create constraint defining two parallel lines"
1221 icon="icons/Sketch/parallel.png" helpfile="parallelFeature.html">
1222 <sketch_shape_selector id="ConstraintEntityA"
1223 label="First line" tooltip="Select a line" shape_types="edge">
1224 <validator id="GeomValidators_ShapeType" parameters="line"/>
1225 <validator id="PartSet_DifferentObjects"/>
1226 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1227 </sketch_shape_selector>
1229 <sketch_shape_selector id="ConstraintEntityB" label="Second line" tooltip="Select a line"
1231 <validator id="GeomValidators_ShapeType" parameters="line"/>
1232 <validator id="PartSet_DifferentObjects"/>
1233 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1234 </sketch_shape_selector>
1235 <validator id="PartSet_ParallelSelection"/>
1238 <!-- SketchConstraintPerpendicular -->
1239 <feature id="SketchConstraintPerpendicular" title="Perpendicular"
1240 tooltip="Create constraint defining two orthogonal objects"
1241 icon="icons/Sketch/perpendicular.png"
1242 helpfile="perpendicularFeature.html">
1243 <sketch_shape_selector id="ConstraintEntityA"
1244 label="First object" tooltip="Select line or arc"
1246 <validator id="PartSet_DifferentObjects"/>
1247 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1248 <validator id="SketchPlugin_PerpendicularAttr" parameters="ConstraintEntityB"/>
1249 <validator id="GeomValidators_ShapeType" parameters="edge"/>
1250 </sketch_shape_selector>
1252 <sketch_shape_selector id="ConstraintEntityB"
1253 label="Second object" tooltip="Select line or arc"
1255 <validator id="PartSet_DifferentObjects"/>
1256 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1257 <validator id="SketchPlugin_PerpendicularAttr" parameters="ConstraintEntityA"/>
1258 <validator id="GeomValidators_ShapeType" parameters="edge"/>
1259 </sketch_shape_selector>
1260 <validator id="PartSet_PerpendicularSelection"/>
1263 <!-- SketchConstraintTangent -->
1264 <feature id="SketchConstraintTangent" title="Tangent" tooltip="Create constraint defining tangency of two segments with common coincident point" icon="icons/Sketch/tangent.png"
1265 helpfile="tangentFeature.html">
1266 <sketch_shape_selector id="ConstraintEntityA"
1267 label="First object" tooltip="Select line or arc" shape_types="edge">
1268 <validator id="SketchPlugin_TangentAttr" parameters="ConstraintEntityB"/>
1269 <validator id="PartSet_DifferentObjects"/>
1270 </sketch_shape_selector>
1272 <sketch_shape_selector id="ConstraintEntityB"
1273 label="Second object" tooltip="Select line or arc" shape_types="edge">
1274 <validator id="SketchPlugin_TangentAttr" parameters="ConstraintEntityA"/>
1275 <validator id="PartSet_DifferentObjects"/>
1276 </sketch_shape_selector>
1277 <validator id="PartSet_TangentSelection"/>
1280 <!-- SketchConstraintCoincidence -->
1281 <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"
1282 helpfile="coincedenceFeature.html">
1283 <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex edge">
1284 <validator id="PartSet_DifferentObjects"/>
1285 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1286 </sketch_shape_selector>
1287 <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex edge">
1288 <validator id="PartSet_DifferentObjects"/>
1289 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1290 <validator id="SketchPlugin_CoincidenceAttr" parameters="ConstraintEntityA"/>
1291 </sketch_shape_selector>
1292 <validator id="PartSet_CoincidentSelection"/>
1294 <!-- SketchConstraintCoincidenceInternal -->
1295 <feature id="SketchConstraintCoincidenceInternal" title="Internal Coincidence" tooltip="Internal coincidence" icon="icons/Sketch/coincedence.png"
1296 helpfile="coincedenceFeature.html" internal="1">
1297 <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex">
1298 <validator id="PartSet_DifferentObjects"/>
1299 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1300 </sketch_shape_selector>
1301 <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex">
1302 <validator id="PartSet_DifferentObjects"/>
1303 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1304 <validator id="SketchPlugin_CoincidenceAttr" parameters="ConstraintEntityA"/>
1305 </sketch_shape_selector>
1306 <validator id="PartSet_CoincidentSelection"/>
1309 <!-- SketchConstraintMiddle -->
1310 <feature id="SketchConstraintMiddle" title="Middle point" tooltip="Create constraint for setting middle point on a line"
1311 icon="icons/Sketch/middlepoint.png"
1312 helpfile="middleFeature.html">
1313 <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex edge">
1314 <validator id="PartSet_DifferentObjects"/>
1315 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1316 <validator id="SketchPlugin_MiddlePointAttr" parameters="ConstraintEntityB"/>
1317 </sketch_shape_selector>
1318 <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex edge">
1319 <validator id="PartSet_DifferentObjects"/>
1320 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1321 <validator id="SketchPlugin_MiddlePointAttr" parameters="ConstraintEntityA"/>
1322 </sketch_shape_selector>
1323 <validator id="PartSet_MiddlePointSelection"/>
1326 <!-- SketchConstraintEqual -->
1327 <feature id="SketchConstraintEqual" title="Equal"
1328 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"
1329 icon="icons/Sketch/equal.png"
1330 helpfile="equalFeature.html">
1331 <sketch_shape_selector id="ConstraintEntityA"
1332 label="First object" tooltip="Select edge" shape_types="edge">
1333 <validator id="SketchPlugin_EqualAttr" parameters="ConstraintEntityB"/>
1334 <validator id="PartSet_DifferentObjects"/>
1335 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1336 </sketch_shape_selector>
1338 <sketch_shape_selector id="ConstraintEntityB"
1339 label="Second object" tooltip="Select edge" shape_types="edge">
1340 <validator id="SketchPlugin_EqualAttr" parameters="ConstraintEntityA"/>
1341 <validator id="PartSet_DifferentObjects"/>
1342 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1343 </sketch_shape_selector>
1344 <validator id="PartSet_EqualSelection"/>
1347 <!-- SketchConstraintCollinear -->
1348 <feature id="SketchConstraintCollinear" title="Collinear" tooltip="Create constraint defining collinearity of two lines"
1349 icon="icons/Sketch/collinear.png"
1350 helpfile="collinearFeature.html">
1351 <sketch_shape_selector id="ConstraintEntityA"
1352 label="First line" tooltip="Select a line" shape_types="edge">
1353 <validator id="GeomValidators_ShapeType" parameters="line"/>
1354 <validator id="PartSet_DifferentObjects"/>
1355 </sketch_shape_selector>
1357 <sketch_shape_selector id="ConstraintEntityB"
1358 label="Second line" tooltip="Select a line" shape_types="edge">
1359 <validator id="GeomValidators_ShapeType" parameters="line"/>
1360 <validator id="PartSet_DifferentObjects"/>
1361 </sketch_shape_selector>
1362 <validator id="PartSet_CollinearSelection"/>