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
13 SketchConstraintLength SketchConstraintRadius SketchConstraintDistance SketchConstraintDistanceHorizontal SketchConstraintDistanceVertical
14 SketchConstraintParallel SketchConstraintPerpendicular
15 SketchConstraintRigid SketchConstraintHorizontal SketchConstraintVertical
16 SketchConstraintEqual SketchConstraintTangent
17 SketchFillet SketchSplit SketchTrim
18 SketchConstraintCoincidence SketchConstraintCoincidenceInternal
19 SketchConstraintMirror SketchConstraintAngle
20 SketchMultiRotation SketchMultiTranslation
22 SketchConstraintCollinear SketchConstraintMiddle"
23 when_nested="accept abort"
25 tooltip="Create sketch"
26 icon="icons/Sketch/sketch.png"
27 helpfile="SketchPlugin.html">
28 <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">
29 <validator id="GeomValidators_Face" parameters="plane"/>
31 <undo_label id="SolverError" isHTML="true" />
32 <validator id="SketchPlugin_SolverErrorValidator"/>
36 <feature id="SketchPoint" title="Point" tooltip="Create point" icon="icons/Sketch/point.png"
37 helpfile="pointFeature.html">
38 <sketch-2dpoint_selector id="PointCoordinates" accept_expressions="0" title="Point" tooltip="Point coordinates"
39 enable_value="enable_by_preferences"/>
40 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
44 <feature id="SketchLine" title="Line" tooltip="Create line" icon="icons/Sketch/line.png"
45 helpfile="lineFeature.html">
46 <sketch-2dpoint_selector id="StartPoint" accept_expressions="0" title="Start point" tooltip="Start point coordinates"
47 enable_value="enable_by_preferences"/>
48 <sketch-2dpoint_selector id="EndPoint" accept_expressions="0" title="End point" tooltip="End point coordinates"
49 enable_value="enable_by_preferences"/>
50 <labelvalue id="LineLength" accept_expressions="0" label="Length" default="computed" icon="icons/Sketch/distance_value.png"
51 tooltip="Line length" obligatory="0" enable_value="false"/>
52 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
53 <validator id="GeomValidators_Different" parameters="StartPoint,EndPoint"/>
56 <group id="Conical geometry">
57 <!-- SketchCircle is a hidden feature. It is created inside SketchMacroCircle. -->
58 <feature id="SketchCircle"
60 tooltip="Create circle"
61 icon="icons/Sketch/circle.png"
63 <sketch-2dpoint_selector id="circle_center"
65 tooltip="Center coordinates"
66 accept_expressions="0"
67 enable_value="enable_by_preferences"/>
68 <labelvalue id="circle_radius"
69 icon="icons/Sketch/radius.png"
73 accept_expressions="0"
74 enable_value="enable_by_preferences">
76 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
78 <!-- SketchMacroCircle -->
79 <feature id="SketchMacroCircle"
80 icon="icons/Sketch/circle.png"
82 tooltip="Create circle"
83 helpfile="circleFeature.html">
84 <toolbox id="circle_type" modified_in_edit="edit_circle_type">
85 <box id="circle_type_by_center_and_passed_points"
86 icon="icons/Sketch/circle_pt_rad_32x32.png"
87 title="Center and passed points">
88 <sketch-2dpoint_selector id="center_point"
89 reference_attribute="center_point_ref"
91 tooltip="Center point coordinates"
92 accept_expressions="0"
93 enable_value="enable_by_preferences"/>
94 <sketch-2dpoint_selector id="passed_point"
95 reference_attribute="passed_point_ref"
97 tooltip="Passed point coordinates"
98 accept_expressions="0"
99 enable_value="enable_by_preferences">
100 <validator id="SketchPlugin_CirclePassedPointValidator"/>
101 </sketch-2dpoint_selector>
102 <validator id="GeomValidators_Different" parameters="center_point_ref,passed_point_ref"/>
104 <box id="circle_type_by_three_points"
105 icon="icons/Sketch/circle_3pt_32x32.png"
106 title="Three points">
107 <sketch-2dpoint_selector id="first_point"
108 reference_attribute="first_point_ref"
110 tooltip="First point"
111 accept_expressions="0"
112 enable_value="enable_by_preferences"/>
113 <sketch-2dpoint_selector id="second_point"
114 reference_attribute="second_point_ref"
116 tooltip="Second point"
117 accept_expressions="0"
118 enable_value="enable_by_preferences">
119 <validator id="SketchPlugin_DifferentReference" parameters="first_point_ref,second_point_ref"/>
120 </sketch-2dpoint_selector>
121 <sketch-2dpoint_selector id="third_point"
122 reference_attribute="third_point_ref"
124 tooltip="Third point"
125 accept_expressions="0"
126 enable_value="enable_by_preferences">
127 <validator id="SketchPlugin_DifferentReference" parameters="first_point_ref,second_point_ref,third_point_ref"/>
128 <validator id="SketchPlugin_ThirdPointValidator" parameters="third_point_ref"/>
129 </sketch-2dpoint_selector>
130 <validator id="GeomValidators_Different" parameters="first_point_ref,second_point_ref,third_point_ref"/>
133 <labelvalue id="circle_radius"
134 icon="icons/Sketch/radius.png"
138 accept_expressions="0"
140 enable_value="enable_by_preferences">
142 <boolvalue id="Auxiliary"
143 tooltip="Construction element"
147 change_visual_attributes="true"/>
151 <feature id="SketchArc"
152 icon="icons/Sketch/arc.png"
156 <sketch-2dpoint_selector id="center_point"
158 tooltip="Center of a circle"
159 accept_expressions="0"
160 enable_value="enable_by_preferences"/>
161 <sketch-2dpoint_selector id="start_point"
163 tooltip="Start point"
164 accept_expressions="0"
165 enable_value="enable_by_preferences"/>
166 <sketch-2dpoint_selector id="end_point"
169 accept_expressions="0"
170 enable_value="enable_by_preferences"/>
171 <validator id="GeomValidators_Different" parameters="center_point,start_point,end_point"/>
172 <labelvalue id="radius"
173 icon="icons/Sketch/radius.png"
176 accept_expressions="0"
180 enable_value="enable_by_preferences">
182 <labelvalue id="angle"
183 icon="icons/Sketch/angle.png"
189 enable_value="enable_by_preferences"/>
190 <boolvalue id="Auxiliary"
192 tooltip="Construction element"
195 change_visual_attributes="true"/>
198 <!-- SketchMacroArc -->
203 icon="icons/Sketch/arc.png"
204 helpfile="arcFeature.html">
205 <toolbox id="arc_type" modified_in_edit="edit_arc_type">
206 <box id="by_center_and_points"
207 icon="icons/Sketch/arc_base_32x32.png"
208 title="Center and two points">
209 <sketch-2dpoint_selector id="center_point"
210 reference_attribute="center_point_ref"
212 tooltip="Center of a circle"
213 accept_expressions="0"
214 enable_value="enable_by_preferences" />
215 <sketch-2dpoint_selector id="start_point_1"
216 reference_attribute="start_point_ref"
218 tooltip="Start point"
219 accept_expressions="0"
220 enable_value="enable_by_preferences"/>
221 <sketch-2dpoint_selector id="end_point_1"
222 reference_attribute="end_point_ref"
225 accept_expressions="0"
226 enable_value="enable_by_preferences">
227 <validator id="SketchPlugin_ArcEndPointValidator" parameters="end_point_ref"/>
228 <validator id="SketchPlugin_ArcEndPointIntersectionValidator" parameters="end_point_ref"/>
229 </sketch-2dpoint_selector>
230 <validator id="GeomValidators_Different" parameters="center_point,start_point_1,end_point_1"/>
232 <box id="by_three_points"
233 icon="icons/Sketch/arc_3pt_32x32.png"
234 title="Three points on arc">
235 <sketch-2dpoint_selector id="start_point_2"
236 reference_attribute="start_point_ref"
238 tooltip="Start point"
239 accept_expressions="0"
240 enable_value="enable_by_preferences"/>
241 <sketch-2dpoint_selector id="end_point_2"
242 reference_attribute="end_point_ref"
245 accept_expressions="0"
246 enable_value="enable_by_preferences">
247 <validator id="GeomValidators_Different" parameters="start_point_2,end_point_2"/>
248 <validator id="SketchPlugin_DifferentPointReference" parameters="start_point_ref,end_point_ref"/>
249 </sketch-2dpoint_selector>
250 <sketch-2dpoint_selector id="passed_point"
251 reference_attribute="passed_point_ref"
253 tooltip="Passed point"
254 accept_expressions="0"
255 enable_value="enable_by_preferences">
256 <validator id="SketchPlugin_DifferentReference" parameters="start_point_ref,end_point_ref,passed_point_ref"/>
257 <validator id="SketchPlugin_ThirdPointValidator" parameters="passed_point_ref"/>
258 </sketch-2dpoint_selector>
259 <validator id="GeomValidators_Different" parameters="start_point_2,end_point_2,passed_point"/>
261 <box id="by_tangent_edge"
262 icon="icons/Sketch/arc_tang_32x32.png"
263 title="Tangent with edge">
264 <sketch_shape_selector id="tangent_point"
265 label="Tangent point"
266 tooltip="Select point on line"
267 shape_types="vertex">
268 <validator id="SketchPlugin_ArcTangentPoint"/>
269 </sketch_shape_selector>
270 <sketch-2dpoint_selector id="end_point_3"
271 reference_attribute="end_point_ref"
274 accept_expressions="0"
275 enable_value="enable_by_preferences">
276 <validator id="SketchPlugin_ArcEndPointValidator" parameters="end_point_ref"/>
277 </sketch-2dpoint_selector>
279 <box id="by_transversal_line"
280 icon="icons/Sketch/arc_perp_32x32.png"
281 title="Perpendicular to line">
282 <sketch_shape_selector id="transversal_point"
283 label="Point on the perpendicular line"
284 tooltip="Select point on line"
285 shape_types="vertex">
286 <validator id="SketchPlugin_ArcTransversalPoint"/>
287 </sketch_shape_selector>
288 <sketch-2dpoint_selector id="end_point_4"
289 reference_attribute="end_point_ref"
292 accept_expressions="0"
293 enable_value="enable_by_preferences">
294 <validator id="SketchPlugin_ArcEndPointValidator" parameters="end_point_ref"/>
295 </sketch-2dpoint_selector>
298 <labelvalue id="radius"
299 icon="icons/Sketch/radius.png"
302 accept_expressions="0"
306 enable_value="enable_by_preferences">
308 <labelvalue id="angle"
309 icon="icons/Sketch/angle.png"
315 enable_value="enable_by_preferences"/>
316 <boolvalue id="Auxiliary"
318 tooltip="Construction element"
321 change_visual_attributes="true"/>
324 <!-- SketchFillet -->
325 <feature id="SketchFillet"
327 tooltip="Create constraint defining fillet between two connected segments"
328 icon="icons/Sketch/fillet.png"
329 helpfile="filletFeature.html">
330 <sketch_shape_selector id="fillet_point"
332 tooltip="Select point for fillet (should be shared by two entities only)"
333 shape_types="vertex">
334 <validator id="SketchPlugin_FilletVertexValidator"/>
335 </sketch_shape_selector>
336 <!--<validator id="PartSet_FilletSelection"/>-->
339 <!-- SketchEllipse is a hidden feature. It is created inside SketchMacroEllipse. -->
340 <feature id="SketchEllipse"
342 tooltip="Create ellipse"
343 icon="icons/Sketch/ellipse.png"
345 <sketch-2dpoint_selector id="ellipse_center"
347 tooltip="Center coordinates"
348 accept_expressions="0"
349 enable_value="enable_by_preferences"/>
350 <sketch-2dpoint_selector id="ellipse_first_focus"
352 tooltip="Focus coordinates"
353 accept_expressions="0"
354 enable_value="enable_by_preferences"/>
355 <sketch-2dpoint_selector id="ellipse_second_focus"
357 tooltip="Focus coordinates"
358 accept_expressions="0"
359 enable_value="enable_by_preferences"/>
360 <sketch-2dpoint_selector id="ellipse_major_axis_start_point"
361 title="Major axis start"
362 tooltip="Coordinates of point on negative direction of major axis"
363 accept_expressions="0"
364 enable_value="enable_by_preferences"/>
365 <sketch-2dpoint_selector id="ellipse_major_axis_end_point"
366 title="Major axis end"
367 tooltip="Coordinates of point on positive direction of major axis"
368 accept_expressions="0"
369 enable_value="enable_by_preferences"/>
370 <sketch-2dpoint_selector id="ellipse_minor_axis_start_point"
371 title="Minor axis start"
372 tooltip="Coordinates of point on negative direction of minor axis"
373 accept_expressions="0"
374 enable_value="enable_by_preferences"/>
375 <sketch-2dpoint_selector id="ellipse_minor_axis_end_point"
376 title="Minor axis end"
377 tooltip="Coordinates of point on positive direction of minor axis"
378 accept_expressions="0"
379 enable_value="enable_by_preferences"/>
380 <labelvalue id="ellipse_major_radius"
381 icon="icons/Sketch/radius_major.png"
383 tooltip="Set major radius"
385 accept_expressions="0"
386 enable_value="enable_by_preferences">
388 <labelvalue id="ellipse_minor_radius"
389 icon="icons/Sketch/radius_minor.png"
391 tooltip="Set minor radius"
393 accept_expressions="0"
394 enable_value="enable_by_preferences">
396 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
398 <!-- SketchMacroEllipse -->
399 <feature id="SketchMacroEllipse"
400 icon="icons/Sketch/ellipse.png"
402 tooltip="Create ellipse"
403 helpfile="ellipseFeature.html">
404 <toolbox id="ellipse_type" modified_in_edit="edit_ellipse_type">
405 <box id="by_center_axis_point"
406 icon="icons/Sketch/ellipse_cent_rad_32x32.png"
407 title="Center, major semi-axis and passing point">
408 <sketch-2dpoint_selector id="first_point"
409 reference_attribute="first_point_ref"
411 tooltip="Center point coordinates"
412 accept_expressions="0"
413 enable_value="enable_by_preferences"/>
414 <sketch-2dpoint_selector id="second_point"
415 reference_attribute="second_point_ref"
416 title="Major axis point"
417 tooltip="Major axis point coordinates"
418 accept_expressions="0"
419 enable_value="enable_by_preferences"/>
420 <sketch-2dpoint_selector id="passed_point"
421 reference_attribute="passed_point_ref"
423 tooltip="Passed point coordinates"
424 accept_expressions="0"
425 enable_value="enable_by_preferences"/>
426 <validator id="GeomValidators_Different" parameters="first_point,second_point,passed_point"/>
427 <validator id="SketchPlugin_DifferentPointReference" parameters="first_point_ref,second_point_ref"/>
429 <box id="by_major_axis_and_point"
430 icon="icons/Sketch/ellipse_axes_32x32.png"
431 title="Major axis and passing point">
432 <sketch-2dpoint_selector id="first_point_1"
433 reference_attribute="first_point_ref_1"
434 title="Major axis start point"
435 tooltip="Major axis start point coordinates"
436 accept_expressions="0"
437 enable_value="enable_by_preferences"/>
438 <sketch-2dpoint_selector id="second_point_1"
439 reference_attribute="second_point_ref_1"
440 title="Major axis end point"
441 tooltip="Major axis end point coordinates"
442 accept_expressions="0"
443 enable_value="enable_by_preferences"/>
444 <sketch-2dpoint_selector id="passed_point_1"
445 reference_attribute="passed_point_ref_1"
447 tooltip="Passed point coordinates"
448 accept_expressions="0"
449 enable_value="enable_by_preferences"/>
450 <validator id="GeomValidators_Different" parameters="first_point_1,second_point_1,passed_point_1"/>
451 <validator id="SketchPlugin_DifferentPointReference" parameters="first_point_ref_1,second_point_ref_1"/>
454 <labelvalue id="major_radius"
455 icon="icons/Sketch/radius_major.png"
457 tooltip="Set major radius"
459 accept_expressions="0"
461 enable_value="enable_by_preferences">
463 <labelvalue id="minor_radius"
464 icon="icons/Sketch/radius_minor.png"
466 tooltip="Set minor radius"
468 accept_expressions="0"
470 enable_value="enable_by_preferences">
472 <boolvalue id="Auxiliary"
473 tooltip="Construction element"
477 change_visual_attributes="true"/>
480 <!-- SketchEllipticArc is a hidden feature. It is created inside SketchMacroEllipse. -->
481 <feature id="SketchEllipticArc"
483 tooltip="Create elliptic arc"
484 icon="icons/Sketch/elliptic_arc.png"
486 <sketch-2dpoint_selector id="ellipse_center"
488 tooltip="Center coordinates"
489 accept_expressions="0"
490 enable_value="enable_by_preferences"/>
491 <sketch-2dpoint_selector id="ellipse_first_focus"
493 tooltip="Focus coordinates"
494 accept_expressions="0"
495 enable_value="enable_by_preferences"/>
496 <sketch-2dpoint_selector id="ellipse_second_focus"
498 tooltip="Focus coordinates"
499 accept_expressions="0"
500 enable_value="enable_by_preferences"/>
501 <sketch-2dpoint_selector id="ellipse_major_axis_start_point"
502 title="Major axis start"
503 tooltip="Coordinates of point on negative direction of major axis"
504 accept_expressions="0"
505 enable_value="enable_by_preferences"/>
506 <sketch-2dpoint_selector id="ellipse_major_axis_end_point"
507 title="Major axis end"
508 tooltip="Coordinates of point on positive direction of major axis"
509 accept_expressions="0"
510 enable_value="enable_by_preferences"/>
511 <sketch-2dpoint_selector id="ellipse_minor_axis_start_point"
512 title="Minor axis start"
513 tooltip="Coordinates of point on negative direction of minor axis"
514 accept_expressions="0"
515 enable_value="enable_by_preferences"/>
516 <sketch-2dpoint_selector id="ellipse_minor_axis_end_point"
517 title="Minor axis end"
518 tooltip="Coordinates of point on positive direction of minor axis"
519 accept_expressions="0"
520 enable_value="enable_by_preferences"/>
521 <sketch-2dpoint_selector id="start_point"
523 tooltip="Arc start point coordinates"
524 accept_expressions="0"
525 enable_value="enable_by_preferences"/>
526 <sketch-2dpoint_selector id="end_point"
528 tooltip="Arc end point coordinates"
529 accept_expressions="0"
530 enable_value="enable_by_preferences"/>
531 <labelvalue id="ellipse_major_radius"
532 icon="icons/Sketch/radius_major.png"
534 tooltip="Set major radius"
536 accept_expressions="0"
537 enable_value="enable_by_preferences">
539 <labelvalue id="ellipse_minor_radius"
540 icon="icons/Sketch/radius_minor.png"
542 tooltip="Set minor radius"
544 accept_expressions="0"
545 enable_value="enable_by_preferences">
547 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
549 <!-- SketchMacroEllipticArc -->
550 <feature id="SketchMacroEllipticArc"
551 icon="icons/Sketch/elliptic_arc.png"
553 tooltip="Create elliptic arc"
554 helpfile="ellipseFeature.html">
555 <sketch-2dpoint_selector id="center"
556 reference_attribute="center_ref"
558 tooltip="Center point coordinates"
559 accept_expressions="0"
560 enable_value="enable_by_preferences"/>
561 <sketch-2dpoint_selector id="major_axis_point"
562 reference_attribute="major_axis_point_ref"
563 title="Major axis point"
564 tooltip="Major axis point coordinates"
565 accept_expressions="0"
566 enable_value="enable_by_preferences"/>
567 <sketch-2dpoint_selector id="start_point"
568 reference_attribute="start_point_ref"
570 tooltip="Arc start point coordinates"
571 accept_expressions="0"
572 enable_value="enable_by_preferences"/>
573 <sketch-2dpoint_selector id="end_point"
574 reference_attribute="end_point_ref"
576 tooltip="Arc end point coordinates"
577 accept_expressions="0"
578 enable_value="enable_by_preferences"/>
579 <labelvalue id="major_radius"
580 icon="icons/Sketch/radius_major.png"
582 tooltip="Set major radius"
584 accept_expressions="0"
586 enable_value="enable_by_preferences">
588 <labelvalue id="minor_radius"
589 icon="icons/Sketch/radius_minor.png"
591 tooltip="Set minor radius"
593 accept_expressions="0"
595 enable_value="enable_by_preferences">
597 <boolvalue id="Auxiliary"
598 tooltip="Construction element"
602 change_visual_attributes="true"/>
603 <validator id="GeomValidators_Different" parameters="center,major_axis_point"/>
604 <validator id="SketchPlugin_DifferentPointReference" parameters="center_ref,major_axis_point_ref"/>
605 <validator id="GeomValidators_Different" parameters="start_point,end_point"/>
606 <validator id="SketchPlugin_DifferentPointReference" parameters="start_point_ref,end_point_ref"/>
610 <group id="Parametric curves">
611 <!-- SketchBSpline is a hidden feature. It is created inside SketchMacroBSpline. -->
612 <feature id="SketchBSpline"
614 tooltip="Create B-spline curve"
615 icon="icons/Sketch/bspline.png"
616 helpfile="bsplineFeature.html"
618 <bspline-panel id="poles"
620 title="Poles and weights"
621 tooltip="B-spline poles and weights"
622 enable_value="enable_by_preferences">
623 <validator id="SketchPlugin_BSplineValidator"/>
625 <boolvalue id="Auxiliary"
628 tooltip="Construction element"
630 change_visual_attributes="true"/>
633 <!-- SketchBSplinePeriodic is a hidden feature. It is created inside SketchMacroBSplinePeriodic. -->
634 <feature id="SketchBSplinePeriodic"
635 title="Periodic B-spline"
636 tooltip="Create periodic B-spline curve"
637 icon="icons/Sketch/bspline_p.png"
638 helpfile="bsplineFeature.html"
640 <bspline-panel id="poles"
642 title="Poles and weights"
643 tooltip="B-spline poles and weights"
644 enable_value="enable_by_preferences">
645 <validator id="SketchPlugin_BSplineValidator"/>
647 <boolvalue id="Auxiliary"
650 tooltip="Construction element"
652 change_visual_attributes="true"/>
655 <!-- SketchMacroBSpline -->
656 <feature id="SketchMacroBSpline"
658 tooltip="Create B-spline curve"
659 icon="icons/Sketch/bspline.png"
660 helpfile="bsplineFeature.html">
661 <sketch-bspline_selector id="poles"
663 reference_attribute="poles_ref"
665 tooltip="B-spline poles"
666 enable_value="enable_by_preferences">
667 <validator id="SketchPlugin_BSplineValidator"/>
668 </sketch-bspline_selector>
669 <boolvalue id="need_control_poly"
670 label="Create control polygon"
672 tooltip="Specify if the control polygon should be created"/>
673 <boolvalue id="Auxiliary"
676 tooltip="Construction element"
678 change_visual_attributes="true"/>
681 <!-- SketchMacroBSplinePeriodic -->
682 <feature id="SketchMacroBSplinePeriodic"
683 title="Periodic B-spline"
684 tooltip="Create periodic B-spline curve"
685 icon="icons/Sketch/bspline_p.png"
686 helpfile="bsplineFeature.html">
687 <sketch-bspline_selector id="poles"
689 reference_attribute="poles_ref"
691 tooltip="B-spline poles"
692 enable_value="enable_by_preferences">
693 <validator id="SketchPlugin_BSplineValidator"/>
694 </sketch-bspline_selector>
695 <boolvalue id="need_control_poly"
696 label="Create control polygon"
698 tooltip="Specify if the control polygon should be created"/>
699 <boolvalue id="Auxiliary"
702 tooltip="Construction element"
704 change_visual_attributes="true"/>
707 <!-- Curve fitting -->
708 <feature id="SketchCurveFitting"
709 title="Curve fitting"
710 tooltip="Create curve passing through the points"
711 icon="icons/Sketch/curvefitting.png"
712 helpfile="curveFittingFeature.html">
713 <sketch_multi_selector id="points"
715 tooltip="Select points for curve fitting"
716 shape_types="Vertices"
719 </sketch_multi_selector>
721 <case id="interpolation_type" title="Interpolation"/>
722 <case id="approximation_type" title="Approximation">
723 <doublevalue_editor id="precision"
725 tooltip="Maximal distance from selected points to the curve"
728 <validator id="GeomValidators_Positive" parameters="0"/>
729 </doublevalue_editor>
732 <boolvalue id="need_control_poly"
733 label="Create control polygon"
735 tooltip="Specify if the control polygon should be created"/>
736 <optionalbox id="periodic"
738 tooltip="Make curve periodic"
741 enable_on_check="false"
743 <boolvalue id="closed"
746 tooltip="Make curve closed, but not periodic"
749 <boolvalue id="Auxiliary"
752 tooltip="Construction element"
754 change_visual_attributes="true"/>
755 <validator id="SketchPlugin_CurveFittingValidator"/>
756 <action id="reorder_points"
757 label="Reorder points"
758 tooltip="Sort selected points to minimize the distance heighbors"/>
762 <group id="Segmentation">
764 <feature id="SketchSplit" title="Split"
765 tooltip="Cut selected segment arc or circle on existing coincident points"
766 icon="icons/Sketch/split.png"
767 helpfile="splitFeature.html">
768 <sketch_feature_point_selector
770 selection_attributes="SelectedObject SelectedPoint PreviewObject PreviewPoint"
772 tooltip="Select segment for split"
774 use_external="false">
775 <validator id="SketchPlugin_SplitValidator"/>
776 </sketch_feature_point_selector>
777 <validator id="PartSet_SplitSelection"/>
780 <feature id="SketchTrim" title="Trim"
781 tooltip="Trim selected segment arc or circle on intersection points nearest to the graphic selection"
782 icon="icons/Sketch/trim.png"
783 helpfile="trimFeature.html">
784 <sketch_feature_point_selector
786 selection_attributes="SelectedObject SelectedPoint PreviewObject PreviewPoint"
788 tooltip="Select segment for trim"
790 use_external="false">
791 <validator id="SketchPlugin_TrimValidator"/>
792 </sketch_feature_point_selector>
793 <validator id="PartSet_SplitSelection"/>
797 <group id="Projection">
798 <!-- Projected feature -->
800 id="SketchProjection"
802 tooltip="Project feature onto sketch plane"
803 icon="icons/Sketch/projection.png"
804 helpfile="projectionFeature.html">
805 <sketch_shape_selector
808 tooltip="Select external edge or vertex."
809 shape_types="edge vertex"
811 can_create_external="false"
812 use_sketch_plane="false">
813 <validator id="SketchPlugin_ProjectionValidator"/>
814 </sketch_shape_selector>
815 <boolvalue id="IncludeToResult" label="Include into the sketch result" default="true" tooltip="Include projected feature into the sketch result"
816 change_visual_attributes="true"/>
817 <validator id="PartSet_ProjectionSelection"/>
820 <!-- Intersection Point -->
822 id="SketchIntersectionPoint"
824 tooltip="Intersect edge with sketch plane"
825 icon="icons/Sketch/intersection.png"
826 helpfile="intersectionFeature.html">
827 <sketch_shape_selector
830 tooltip="Select external edge."
833 can_create_external="false"
834 use_sketch_plane="false">
835 <validator id="SketchPlugin_IntersectionValidator"/>
836 </sketch_shape_selector>
837 <boolvalue id="IncludeToResult" label="Include into the sketch result" default="true" tooltip="Include projected feature into the sketch result"
838 change_visual_attributes="true"/>
839 <validator id="PartSet_IntersectionSelection"/>
843 <group id="Replication">
844 <!-- SketchConstraintMirror -->
846 id="SketchConstraintMirror"
847 title="Mirror copy" icon="icons/Sketch/mirror.png"
848 tooltip="Create constraint, mirroring group of objects"
849 helpfile="mirrorFeature.html">
850 <sketch_shape_selector id="ConstraintEntityA"
851 label="Mirror line" tooltip="Select mirror line" shape_types="edge">
852 <validator id="GeomValidators_ShapeType" parameters="line"/>
853 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityC"/>
854 </sketch_shape_selector>
855 <sketch_multi_selector id="ConstraintMirrorList"
857 tooltip="Select list of objects to be mirrored"
861 <validator id="SketchPlugin_MirrorAttr" />
862 </sketch_multi_selector>
863 <validator id="PartSet_MultyTranslationSelection" />
866 <!-- SketchMultiTranslation -->
868 id="SketchMultiTranslation"
869 title="Linear copy" icon="icons/Sketch/translate.png"
870 tooltip="Copy objects and move"
871 helpfile="translationFeature.html">
872 <sketch_multi_selector id="MultiTranslationList"
874 tooltip="Select list of objects to be translated"
878 <validator id="SketchPlugin_CopyValidator" />
879 </sketch_multi_selector>
880 <toolbox id="ValueType">
881 <box id="SingleValue" title="Single value" icon="icons/Sketch/translate_32x32.png">
882 <groupbox title="Direction">
883 <sketch_shape_selector
884 id="MultiTranslationStartPoint"
886 tooltip="Start point of translation"
887 shape_types="vertex">
888 <validator id="PartSet_DifferentObjects"/>
889 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
890 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
891 </sketch_shape_selector>
892 <sketch_shape_selector
893 id="MultiTranslationEndPoint"
895 tooltip="Final point of translation"
896 shape_types="vertex">
897 <validator id="PartSet_DifferentObjects"/>
898 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
899 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
900 </sketch_shape_selector>
903 <box id="FullValue" title="Full value" icon="icons/Sketch/translate_full_32x32.png">
904 <groupbox title="Direction">
905 <sketch_shape_selector
906 id="MultiTranslationStartPoint"
908 tooltip="Start point of translation"
909 shape_types="vertex">
910 <validator id="PartSet_DifferentObjects"/>
911 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
912 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
913 </sketch_shape_selector>
914 <sketch_shape_selector
915 id="MultiTranslationEndPoint"
917 tooltip="Final point of translation"
918 shape_types="vertex">
919 <validator id="PartSet_DifferentObjects"/>
920 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
921 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
922 </sketch_shape_selector>
926 <integervalue id="MultiTranslationObjects"
927 label="Total number of objects"
928 tooltip="Total number of objects"
929 default="2" min="2" use_reset="false">
930 <validator id="GeomValidators_Positive" parameters="1"/>
932 <validator id="PartSet_MultyTranslationSelection" />
935 <!-- SketchMultiRotation -->
937 id="SketchMultiRotation"
938 title="Angular copy" icon="icons/Sketch/rotate.png"
939 tooltip="Copy objects and rotate"
940 helpfile="rotationFeature.html">
941 <sketch_multi_selector id="MultiRotationList"
943 tooltip="Select list of objects to be rotated"
947 <validator id="SketchPlugin_CopyValidator" />
948 </sketch_multi_selector>
949 <sketch_shape_selector
950 id="MultiRotationCenter"
951 label="Center of rotation"
952 tooltip="Center of rotation"
953 shape_types="vertex">
954 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
955 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB"/>
956 </sketch_shape_selector>
957 <toolbox id="AngleType">
958 <box id="FullAngle" title="Full angle" icon="icons/Sketch/angle_up_full_32x32.png">
959 <doublevalue id="MultiRotationAngle"
961 icon="icons/Sketch/angle.png"
962 tooltip="Rotation angle"
963 default="360" min="0" max="360"
965 <validator id="SketchPlugin_MultiRotationAngleValidator" />
967 <boolvalue id="MultiRotationReversed"
969 tooltip="Reverse angular copy"
973 <box id="SingleAngle" title="Single angle" icon="icons/Sketch/angle_up_32x32.png">
974 <doublevalue id="MultiRotationAngle"
976 icon="icons/Sketch/angle.png"
977 tooltip="Rotation angle"
978 default="90" min="0" max="360"
980 <validator id="SketchPlugin_MultiRotationAngleValidator" />
982 <boolvalue id="MultiRotationReversed"
984 tooltip="Reverse angular copy"
989 <integervalue id="MultiRotationObjects"
990 label="Total number of objects"
991 tooltip="Total number of objects"
992 default="4" min="2" use_reset="false">
993 <validator id="GeomValidators_Positive" parameters="1"/>
995 <validator id="PartSet_MultyTranslationSelection" />
998 <!-- Offset curve -->
999 <feature id="SketchOffset"
1001 tooltip="Offset a curve to a distance"
1002 icon="icons/Sketch/offset.png"
1003 helpfile="offsetFeature.html">
1004 <sketch_multi_selector id="segments"
1006 tooltip="Select edges to offset"
1010 </sketch_multi_selector>
1011 <doublevalue id="offset_value"
1012 label="Offset value"
1013 tooltip="Offset value"
1014 default="1" min="0.000001"
1016 <validator id="GeomValidators_Positive" parameters="1e-07"/>
1018 <boolvalue id="reversed"
1020 tooltip="Reverse the offset"
1023 <boolvalue id="Auxiliary"
1025 tooltip="Construction element"
1028 change_visual_attributes="true"/>
1029 <action id="add_wire"
1031 tooltip="Add the list of segments composing a wire with the selected items through the coincidence by boundary points"/>
1035 <group id="Dimensional constraints">
1036 <!-- SketchConstraintDistance -->
1038 id="SketchConstraintDistance"
1040 tooltip="Set fixed distance from a point to an object"
1041 icon="icons/Sketch/distance.png"
1042 helpfile="distanceFeature.html">
1043 <label title="Select objects for distance definition. Following objects can be accepted: point, line or arc end point, center of circle or arc."/>
1044 <sketch_shape_selector
1045 id="ConstraintEntityA"
1046 label="First object"
1047 tooltip="Select point, line end point, line, center of circle or arc."
1048 shape_types="edge vertex">
1049 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1050 <validator id="PartSet_DifferentObjects"/>
1051 <validator id="GeomValidators_ShapeType" parameters="vertex,line"/>
1052 </sketch_shape_selector>
1053 <sketch_shape_selector
1054 id="ConstraintEntityB"
1055 label="Second object"
1056 tooltip="Select point, line end point, line, center of circle or arc."
1057 shape_types="edge vertex">
1058 <validator id="PartSet_DifferentObjects"/>
1059 <validator id="SketchPlugin_DistanceAttr" parameters="ConstraintEntityA"/>
1060 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1061 <validator id="GeomValidators_ShapeType" parameters="vertex,line"/>
1062 </sketch_shape_selector>
1063 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1065 <doublevalue_editor label="Value" tooltip="Distance" id="ConstraintValue" default="computed" min="0">
1066 <validator id="GeomValidators_Positive" parameters="-1.e-10"/>
1067 </doublevalue_editor>
1069 <module_choice id="LocationType"
1070 widget_type="radiobuttons"
1071 buttons_dir="horizontal"
1072 label="Text location"
1073 tooltip="Relative location of the text"
1074 string_list="Left Automatic Right"
1075 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1079 <boolvalue id="SignedDistance" label="Keep orientation" default="true" tooltip="Keep distance orientation" obligatory="0"/>
1080 <validator id="PartSet_DistanceSelection"/>
1083 <!-- SketchConstraintDistanceHorizontal -->
1085 id="SketchConstraintDistanceHorizontal"
1086 title="Horizontal Distance"
1087 tooltip="Set horizontal distance between two points"
1088 icon="icons/Sketch/distance_h.png"
1089 helpfile="horizontalDistFeature.html">
1090 <label title="Select points for distance definition."/>
1091 <sketch_shape_selector
1092 id="ConstraintEntityA"
1094 tooltip="Select point."
1095 shape_types="vertex">
1096 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1097 <validator id="PartSet_DifferentObjects"/>
1098 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
1099 </sketch_shape_selector>
1100 <sketch_shape_selector
1101 id="ConstraintEntityB"
1102 label="Second point"
1103 tooltip="Select point."
1104 shape_types="vertex">
1105 <validator id="PartSet_DifferentObjects"/>
1106 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1107 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
1108 </sketch_shape_selector>
1109 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1111 <doublevalue_editor label="Value" tooltip="Distance" id="DistanceValue" default="computed" min="0">
1112 <validator id="GeomValidators_Positive" parameters="-1.e-10"/>
1113 </doublevalue_editor>
1115 <module_choice id="LocationType"
1116 widget_type="radiobuttons"
1117 buttons_dir="horizontal"
1118 label="Text location"
1119 tooltip="Relative location of the text"
1120 string_list="Left Automatic Right"
1121 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1125 <validator id="PartSet_DistanceSelection"/>
1128 <!-- SketchConstraintDistanceVertical -->
1130 id="SketchConstraintDistanceVertical"
1131 title="Vertical Distance"
1132 tooltip="Set vertical distance between two points"
1133 icon="icons/Sketch/distance_v.png"
1134 helpfile="verticalDistFeature.html">
1135 <label title="Select points for distance definition."/>
1136 <sketch_shape_selector
1137 id="ConstraintEntityA"
1139 tooltip="Select point."
1140 shape_types="vertex">
1141 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1142 <validator id="PartSet_DifferentObjects"/>
1143 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
1144 </sketch_shape_selector>
1145 <sketch_shape_selector
1146 id="ConstraintEntityB"
1147 label="Second point"
1148 tooltip="Select point."
1149 shape_types="vertex">
1150 <validator id="PartSet_DifferentObjects"/>
1151 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1152 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
1153 </sketch_shape_selector>
1154 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1156 <doublevalue_editor label="Value" tooltip="Distance" id="DistanceValue" default="computed" min="0">
1157 <validator id="GeomValidators_Positive" parameters="-1.e-10"/>
1158 </doublevalue_editor>
1160 <module_choice id="LocationType"
1161 widget_type="radiobuttons"
1162 buttons_dir="horizontal"
1163 label="Text location"
1164 tooltip="Relative location of the text"
1165 string_list="Left Automatic Right"
1166 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1170 <validator id="PartSet_DistanceSelection"/>
1173 <!-- SketchConstraintLength -->
1174 <feature id="SketchConstraintLength" title="Length" tooltip="Set fixed length of a line segment" icon="icons/Sketch/length.png"
1175 helpfile="lengthFeature.html">
1176 <label title="Select a line on which to calculate length" tooltip="Select a line on which to calculate length"/>
1177 <shape_selector id="ConstraintEntityA" label="Line" tooltip="Select a line" shape_types="edge" >
1178 <validator id="GeomValidators_ShapeType" parameters="line"/>
1179 <validator id="SketchPlugin_SketchFeatureValidator"/>
1181 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1182 <doublevalue_editor label="Value" tooltip="Length" id="ConstraintValue" default="computed">
1183 <validator id="GeomValidators_Positive"/>
1184 </doublevalue_editor>
1185 <module_choice id="LocationType"
1186 widget_type="radiobuttons"
1187 buttons_dir="horizontal"
1188 label="Text location"
1189 tooltip="Relative location of the text"
1190 string_list="Left Automatic Right"
1191 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1194 <validator id="PartSet_LengthSelection"/>
1197 <!-- SketchConstraintAngle -->
1198 <feature id="SketchConstraintAngle" title="Angle" tooltip="Set fixed angle between two line segments" icon="icons/Sketch/angle_constr.png"
1199 helpfile="angleFeature.html">
1200 <sketch_feature_point_selector
1201 id="ConstraintEntityA"
1202 selection_attributes="ConstraintEntityA SelectedPointA"
1204 tooltip="Select a line"
1206 use_external="true">
1207 <validator id="GeomValidators_ShapeType" parameters="line"/>
1208 <validator id="PartSet_DifferentObjects"/>
1209 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1210 </sketch_feature_point_selector>
1211 <sketch_feature_point_selector
1212 id="ConstraintEntityB"
1213 selection_attributes="ConstraintEntityB SelectedPointB"
1215 tooltip="Select a line"
1217 use_external="true">
1218 <validator id="GeomValidators_ShapeType" parameters="line"/>
1219 <validator id="PartSet_DifferentObjects"/>
1220 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1221 </sketch_feature_point_selector>
1222 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1223 <doublevalue_editor label="Value" tooltip="Angle" id="AngleValue" default="computed" min="0" max="360" />
1224 <validator id="PartSet_AngleSelection"/>
1225 <module_choice id="AngleType"
1226 widget_type="radiobuttons"
1227 buttons_dir="horizontal"
1229 tooltip="Type of angle"
1230 string_list="Direct Supplementary Additional"
1231 icons_list="icons/Sketch/angle_direct.png icons/Sketch/angle_complementary.png icons/Sketch/angle_backward.png"
1235 <module_choice id="LocationType"
1236 widget_type="radiobuttons"
1237 buttons_dir="horizontal"
1238 label="Text location"
1239 tooltip="Relative location of the text"
1240 string_list="Left Automatic Right"
1241 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1247 <!-- SketchConstraintRadius -->
1248 <feature id="SketchConstraintRadius" title="Radius" tooltip="Set fixed radius of a circle or an arc" icon="icons/Sketch/radius_constr.png"
1249 helpfile="radiusFeature.html">
1250 <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"/>
1251 <shape_selector id="ConstraintEntityA" label="Circle or Arc" tooltip="Select a circle or an arc"
1253 <validator id="GeomValidators_ShapeType" parameters="circle"/>
1255 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1256 <doublevalue_editor label="Value" tooltip="Radius" id="ConstraintValue" default="computed">
1257 <validator id="GeomValidators_Positive"/>
1258 </doublevalue_editor>
1260 <module_choice id="LocationType"
1261 widget_type="radiobuttons"
1262 buttons_dir="horizontal"
1263 label="Text location"
1264 tooltip="Relative location of the text"
1265 string_list="Left Automatic Right"
1266 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1270 <validator id="PartSet_RadiusSelection"/>
1275 <group id="Geometrical constraints">
1277 <!-- SketchConstraintHorizontal -->
1278 <feature id="SketchConstraintHorizontal" title="Horizontal" tooltip="Create constraint defining horizontal line" icon="icons/Sketch/horisontal.png"
1279 helpfile="horizontalFeature.html">
1280 <sketch_shape_selector id="ConstraintEntityA"
1281 label="Line" tooltip="Select a line" shape_types="edge" use_external="false">
1282 <validator id="GeomValidators_ShapeType" parameters="line"/>
1283 <validator id="SketchPlugin_HasNoConstraint" parameters="SketchConstraintHorizontal,SketchConstraintVertical"/>
1284 </sketch_shape_selector>
1285 <validator id="PartSet_HVDirSelection"/>
1288 <!-- SketchConstraintVertical -->
1289 <feature id="SketchConstraintVertical" title="Vertical" tooltip="Create constraint defining vertical line" icon="icons/Sketch/vertical.png"
1290 helpfile="verticalFeature.html">
1291 <sketch_shape_selector id="ConstraintEntityA"
1292 label="Line" tooltip="Select a line" shape_types="edge" use_external="false">
1293 <validator id="GeomValidators_ShapeType" parameters="line"/>
1294 <validator id="SketchPlugin_HasNoConstraint" parameters="SketchConstraintHorizontal,SketchConstraintVertical"/>
1295 </sketch_shape_selector>
1296 <validator id="PartSet_HVDirSelection"/>
1299 <!-- SketchConstraintRigid -->
1300 <feature id="SketchConstraintRigid" title="Fixed" tooltip="Fix an object" icon="icons/Sketch/fixed.png"
1301 helpfile="rigidFeature.html">
1302 <sketch_shape_selector id="ConstraintEntityA" label="Object"
1303 tooltip="Select point, curve or its boundary point."
1304 shape_types="edge vertex">
1305 <validator id="GeomValidators_ShapeType" parameters="vertex,edge"/>
1306 <validator id="SketchPlugin_NotFixed"/>
1307 </sketch_shape_selector>
1308 <validator id="PartSet_RigidSelection"/>
1311 <!-- SketchConstraintParallel -->
1312 <feature id="SketchConstraintParallel" title="Parallel" tooltip="Create constraint defining two parallel lines"
1313 icon="icons/Sketch/parallel.png" helpfile="parallelFeature.html">
1314 <sketch_shape_selector id="ConstraintEntityA"
1315 label="First line" tooltip="Select a line" shape_types="edge">
1316 <validator id="GeomValidators_ShapeType" parameters="line"/>
1317 <validator id="PartSet_DifferentObjects"/>
1318 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1319 </sketch_shape_selector>
1321 <sketch_shape_selector id="ConstraintEntityB" label="Second line" tooltip="Select a line"
1323 <validator id="GeomValidators_ShapeType" parameters="line"/>
1324 <validator id="PartSet_DifferentObjects"/>
1325 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1326 </sketch_shape_selector>
1327 <validator id="PartSet_ParallelSelection"/>
1330 <!-- SketchConstraintPerpendicular -->
1331 <feature id="SketchConstraintPerpendicular" title="Perpendicular"
1332 tooltip="Create constraint defining two orthogonal objects"
1333 icon="icons/Sketch/perpendicular.png"
1334 helpfile="perpendicularFeature.html">
1335 <sketch_shape_selector id="ConstraintEntityA"
1336 label="First object" tooltip="Select line or arc"
1338 <validator id="PartSet_DifferentObjects"/>
1339 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1340 <validator id="SketchPlugin_PerpendicularAttr" parameters="ConstraintEntityB"/>
1341 <validator id="GeomValidators_ShapeType" parameters="edge"/>
1342 </sketch_shape_selector>
1344 <sketch_shape_selector id="ConstraintEntityB"
1345 label="Second object" tooltip="Select line or arc"
1347 <validator id="PartSet_DifferentObjects"/>
1348 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1349 <validator id="SketchPlugin_PerpendicularAttr" parameters="ConstraintEntityA"/>
1350 <validator id="GeomValidators_ShapeType" parameters="edge"/>
1351 </sketch_shape_selector>
1352 <validator id="PartSet_PerpendicularSelection"/>
1355 <!-- SketchConstraintTangent -->
1356 <feature id="SketchConstraintTangent" title="Tangent" tooltip="Create constraint defining tangency of two segments with common coincident point" icon="icons/Sketch/tangent.png"
1357 helpfile="tangentFeature.html">
1358 <sketch_shape_selector id="ConstraintEntityA"
1359 label="First object" tooltip="Select line or arc" shape_types="edge">
1360 <validator id="SketchPlugin_TangentAttr" parameters="ConstraintEntityB"/>
1361 <validator id="PartSet_DifferentObjects"/>
1362 </sketch_shape_selector>
1364 <sketch_shape_selector id="ConstraintEntityB"
1365 label="Second object" tooltip="Select line or arc" shape_types="edge">
1366 <validator id="SketchPlugin_TangentAttr" parameters="ConstraintEntityA"/>
1367 <validator id="PartSet_DifferentObjects"/>
1368 </sketch_shape_selector>
1369 <validator id="PartSet_TangentSelection"/>
1372 <!-- SketchConstraintCoincidence -->
1373 <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"
1374 helpfile="coincedenceFeature.html">
1375 <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex edge">
1376 <validator id="PartSet_DifferentObjects"/>
1377 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1378 </sketch_shape_selector>
1379 <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex edge">
1380 <validator id="PartSet_DifferentObjects"/>
1381 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1382 <validator id="SketchPlugin_CoincidenceAttr" parameters="ConstraintEntityA"/>
1383 </sketch_shape_selector>
1384 <validator id="PartSet_CoincidentSelection"/>
1386 <!-- SketchConstraintCoincidenceInternal -->
1387 <feature id="SketchConstraintCoincidenceInternal" title="Internal Coincidence" tooltip="Internal coincidence" icon="icons/Sketch/coincedence.png"
1388 helpfile="coincedenceFeature.html" internal="1">
1389 <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex">
1390 <validator id="PartSet_DifferentObjects"/>
1391 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1392 </sketch_shape_selector>
1393 <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex">
1394 <validator id="PartSet_DifferentObjects"/>
1395 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1396 <validator id="SketchPlugin_CoincidenceAttr" parameters="ConstraintEntityA"/>
1397 </sketch_shape_selector>
1398 <validator id="PartSet_CoincidentSelection"/>
1401 <!-- SketchConstraintMiddle -->
1402 <feature id="SketchConstraintMiddle" title="Middle point" tooltip="Create constraint for setting middle point on a line"
1403 icon="icons/Sketch/middlepoint.png"
1404 helpfile="middleFeature.html">
1405 <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex edge">
1406 <validator id="PartSet_DifferentObjects"/>
1407 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1408 <validator id="SketchPlugin_MiddlePointAttr" parameters="ConstraintEntityB"/>
1409 </sketch_shape_selector>
1410 <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex edge">
1411 <validator id="PartSet_DifferentObjects"/>
1412 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1413 <validator id="SketchPlugin_MiddlePointAttr" parameters="ConstraintEntityA"/>
1414 </sketch_shape_selector>
1415 <validator id="PartSet_MiddlePointSelection"/>
1418 <!-- SketchConstraintEqual -->
1419 <feature id="SketchConstraintEqual" title="Equal"
1420 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"
1421 icon="icons/Sketch/equal.png"
1422 helpfile="equalFeature.html">
1423 <sketch_shape_selector id="ConstraintEntityA"
1424 label="First object" tooltip="Select edge" shape_types="edge">
1425 <validator id="SketchPlugin_EqualAttr" parameters="ConstraintEntityB"/>
1426 <validator id="PartSet_DifferentObjects"/>
1427 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1428 </sketch_shape_selector>
1430 <sketch_shape_selector id="ConstraintEntityB"
1431 label="Second object" tooltip="Select edge" shape_types="edge">
1432 <validator id="SketchPlugin_EqualAttr" parameters="ConstraintEntityA"/>
1433 <validator id="PartSet_DifferentObjects"/>
1434 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1435 </sketch_shape_selector>
1436 <validator id="PartSet_EqualSelection"/>
1439 <!-- SketchConstraintCollinear -->
1440 <feature id="SketchConstraintCollinear" title="Collinear" tooltip="Create constraint defining collinearity of two lines"
1441 icon="icons/Sketch/collinear.png"
1442 helpfile="collinearFeature.html">
1443 <sketch_shape_selector id="ConstraintEntityA"
1444 label="First line" tooltip="Select a line" shape_types="edge">
1445 <validator id="GeomValidators_ShapeType" parameters="line"/>
1446 <validator id="PartSet_DifferentObjects"/>
1447 </sketch_shape_selector>
1449 <sketch_shape_selector id="ConstraintEntityB"
1450 label="Second line" tooltip="Select a line" shape_types="edge">
1451 <validator id="GeomValidators_ShapeType" parameters="line"/>
1452 <validator id="PartSet_DifferentObjects"/>
1453 </sketch_shape_selector>
1454 <validator id="PartSet_CollinearSelection"/>