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="add_construction_point" label="Add construction point" tooltip="Create visible construction point" default="false" obligatory="0" change_visual_attributes="true"/>
77 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
79 <!-- SketchMacroCircle -->
80 <feature id="SketchMacroCircle"
81 icon="icons/Sketch/circle.png"
83 tooltip="Create circle"
84 helpfile="circleFeature.html">
85 <toolbox id="circle_type" modified_in_edit="edit_circle_type">
86 <box id="circle_type_by_center_and_passed_points"
87 icon="icons/Sketch/circle_pt_rad_32x32.png"
88 title="Center and passed points">
89 <sketch-2dpoint_selector id="center_point"
90 reference_attribute="center_point_ref"
92 tooltip="Center point coordinates"
93 accept_expressions="0"
94 enable_value="enable_by_preferences"/>
95 <sketch-2dpoint_selector id="passed_point"
96 reference_attribute="passed_point_ref"
98 tooltip="Passed point coordinates"
99 accept_expressions="0"
100 enable_value="enable_by_preferences">
101 <validator id="SketchPlugin_CirclePassedPointValidator"/>
102 </sketch-2dpoint_selector>
103 <validator id="GeomValidators_Different" parameters="center_point_ref,passed_point_ref"/>
105 <box id="circle_type_by_three_points"
106 icon="icons/Sketch/circle_3pt_32x32.png"
107 title="Three points">
108 <sketch-2dpoint_selector id="first_point"
109 reference_attribute="first_point_ref"
111 tooltip="First point"
112 accept_expressions="0"
113 enable_value="enable_by_preferences"/>
114 <sketch-2dpoint_selector id="second_point"
115 reference_attribute="second_point_ref"
117 tooltip="Second point"
118 accept_expressions="0"
119 enable_value="enable_by_preferences">
120 <validator id="SketchPlugin_DifferentReference" parameters="first_point_ref,second_point_ref"/>
121 </sketch-2dpoint_selector>
122 <sketch-2dpoint_selector id="third_point"
123 reference_attribute="third_point_ref"
125 tooltip="Third point"
126 accept_expressions="0"
127 enable_value="enable_by_preferences">
128 <validator id="SketchPlugin_DifferentReference" parameters="first_point_ref,second_point_ref,third_point_ref"/>
129 <validator id="SketchPlugin_ThirdPointValidator" parameters="third_point_ref"/>
130 </sketch-2dpoint_selector>
133 <labelvalue id="circle_radius"
134 icon="icons/Sketch/radius.png"
138 accept_expressions="0"
140 enable_value="enable_by_preferences">
142 <boolvalue id="add_construction_point"
143 label="Add construction point"
144 tooltip="Create visible construction point"
147 change_visual_attributes="true"/>
148 <boolvalue id="Auxiliary"
149 tooltip="Construction element"
153 change_visual_attributes="true"/>
157 <feature id="SketchArc"
158 icon="icons/Sketch/arc.png"
162 <sketch-2dpoint_selector id="center_point"
164 tooltip="Center of a circle"
165 accept_expressions="0"
166 enable_value="enable_by_preferences"/>
167 <sketch-2dpoint_selector id="start_point"
169 tooltip="Start point"
170 accept_expressions="0"
171 enable_value="enable_by_preferences"/>
172 <sketch-2dpoint_selector id="end_point"
175 accept_expressions="0"
176 enable_value="enable_by_preferences"/>
177 <validator id="GeomValidators_Different" parameters="center_point,start_point,end_point"/>
178 <labelvalue id="radius"
179 icon="icons/Sketch/radius.png"
182 accept_expressions="0"
186 enable_value="enable_by_preferences">
188 <labelvalue id="angle"
189 icon="icons/Sketch/angle.png"
195 enable_value="enable_by_preferences"/>
196 <boolvalue id="Auxiliary"
198 tooltip="Construction element"
201 change_visual_attributes="true"/>
204 <!-- SketchMacroArc -->
209 icon="icons/Sketch/arc.png"
210 helpfile="arcFeature.html">
211 <toolbox id="arc_type" modified_in_edit="edit_arc_type">
212 <box id="by_center_and_points"
213 icon="icons/Sketch/arc_base_32x32.png"
214 title="Center and two points">
215 <sketch-2dpoint_selector id="center_point"
216 reference_attribute="center_point_ref"
218 tooltip="Center of a circle"
219 accept_expressions="0"
220 enable_value="enable_by_preferences" />
221 <sketch-2dpoint_selector id="start_point_1"
222 reference_attribute="start_point_ref"
224 tooltip="Start point"
225 accept_expressions="0"
226 enable_value="enable_by_preferences"/>
227 <sketch-2dpoint_selector id="end_point_1"
228 reference_attribute="end_point_ref"
231 accept_expressions="0"
232 enable_value="enable_by_preferences">
233 <validator id="SketchPlugin_ArcEndPointValidator" parameters="end_point_ref"/>
234 <validator id="SketchPlugin_ArcEndPointIntersectionValidator" parameters="end_point_ref"/>
235 </sketch-2dpoint_selector>
236 <validator id="GeomValidators_Different" parameters="center_point,start_point_1,end_point_1"/>
238 <box id="by_three_points"
239 icon="icons/Sketch/arc_3pt_32x32.png"
240 title="Three points on arc">
241 <sketch-2dpoint_selector id="start_point_2"
242 reference_attribute="start_point_ref"
244 tooltip="Start point"
245 accept_expressions="0"
246 enable_value="enable_by_preferences"/>
247 <sketch-2dpoint_selector id="end_point_2"
248 reference_attribute="end_point_ref"
251 accept_expressions="0"
252 enable_value="enable_by_preferences">
253 <validator id="GeomValidators_Different" parameters="start_point_2,end_point_2"/>
254 <validator id="SketchPlugin_DifferentPointReference" parameters="start_point_ref,end_point_ref"/>
255 </sketch-2dpoint_selector>
256 <sketch-2dpoint_selector id="passed_point"
257 reference_attribute="passed_point_ref"
259 tooltip="Passed point"
260 accept_expressions="0"
261 enable_value="enable_by_preferences">
262 <validator id="SketchPlugin_DifferentReference" parameters="start_point_ref,end_point_ref,passed_point_ref"/>
263 <validator id="SketchPlugin_ThirdPointValidator" parameters="passed_point_ref"/>
264 </sketch-2dpoint_selector>
265 <validator id="GeomValidators_Different" parameters="start_point_2,end_point_2,passed_point"/>
267 <box id="by_tangent_edge"
268 icon="icons/Sketch/arc_tang_32x32.png"
269 title="Tangent with edge">
270 <sketch_shape_selector id="tangent_point"
271 label="Tangent point"
272 tooltip="Select point on line"
273 shape_types="vertex">
274 <validator id="SketchPlugin_ArcTangentPoint"/>
275 </sketch_shape_selector>
276 <sketch-2dpoint_selector id="end_point_3"
277 reference_attribute="end_point_ref"
280 accept_expressions="0"
281 enable_value="enable_by_preferences">
282 <validator id="SketchPlugin_ArcEndPointValidator" parameters="end_point_ref"/>
283 </sketch-2dpoint_selector>
285 <box id="by_transversal_line"
286 icon="icons/Sketch/arc_perp_32x32.png"
287 title="Perpendicular to line">
288 <sketch_shape_selector id="transversal_point"
289 label="Point on the perpendicular line"
290 tooltip="Select point on line"
291 shape_types="vertex">
292 <validator id="SketchPlugin_ArcTransversalPoint"/>
293 </sketch_shape_selector>
294 <sketch-2dpoint_selector id="end_point_4"
295 reference_attribute="end_point_ref"
298 accept_expressions="0"
299 enable_value="enable_by_preferences">
300 <validator id="SketchPlugin_ArcEndPointValidator" parameters="end_point_ref"/>
301 </sketch-2dpoint_selector>
304 <labelvalue id="radius"
305 icon="icons/Sketch/radius.png"
308 accept_expressions="0"
312 enable_value="enable_by_preferences">
314 <labelvalue id="angle"
315 icon="icons/Sketch/angle.png"
321 enable_value="enable_by_preferences"/>
322 <boolvalue id="Auxiliary"
324 tooltip="Construction element"
327 change_visual_attributes="true"/>
330 <!-- SketchFillet -->
331 <feature id="SketchFillet"
333 tooltip="Create constraint defining fillet between two connected segments"
334 icon="icons/Sketch/fillet.png"
335 helpfile="filletFeature.html">
336 <sketch_shape_selector id="fillet_point"
338 tooltip="Select point for fillet (should be shared by two entities only)"
339 shape_types="vertex">
340 <validator id="SketchPlugin_FilletVertexValidator"/>
341 </sketch_shape_selector>
342 <!--<validator id="PartSet_FilletSelection"/>-->
345 <!-- SketchEllipse is a hidden feature. It is created inside SketchMacroEllipse. -->
346 <feature id="SketchEllipse"
348 tooltip="Create ellipse"
349 icon="icons/Sketch/ellipse.png"
351 <sketch-2dpoint_selector id="ellipse_center"
353 tooltip="Center coordinates"
354 accept_expressions="0"
355 enable_value="enable_by_preferences"/>
356 <sketch-2dpoint_selector id="ellipse_first_focus"
358 tooltip="Focus coordinates"
359 accept_expressions="0"
360 enable_value="enable_by_preferences"/>
361 <sketch-2dpoint_selector id="ellipse_second_focus"
363 tooltip="Focus coordinates"
364 accept_expressions="0"
365 enable_value="enable_by_preferences"/>
366 <sketch-2dpoint_selector id="ellipse_major_axis_start_point"
367 title="Major axis start"
368 tooltip="Coordinates of point on negative direction of major axis"
369 accept_expressions="0"
370 enable_value="enable_by_preferences"/>
371 <sketch-2dpoint_selector id="ellipse_major_axis_end_point"
372 title="Major axis end"
373 tooltip="Coordinates of point on positive direction of major axis"
374 accept_expressions="0"
375 enable_value="enable_by_preferences"/>
376 <sketch-2dpoint_selector id="ellipse_minor_axis_start_point"
377 title="Minor axis start"
378 tooltip="Coordinates of point on negative direction of minor axis"
379 accept_expressions="0"
380 enable_value="enable_by_preferences"/>
381 <sketch-2dpoint_selector id="ellipse_minor_axis_end_point"
382 title="Minor axis end"
383 tooltip="Coordinates of point on positive direction of minor axis"
384 accept_expressions="0"
385 enable_value="enable_by_preferences"/>
386 <labelvalue id="ellipse_major_radius"
387 icon="icons/Sketch/radius_major.png"
389 tooltip="Set major radius"
391 accept_expressions="0"
392 enable_value="enable_by_preferences">
394 <labelvalue id="ellipse_minor_radius"
395 icon="icons/Sketch/radius_minor.png"
397 tooltip="Set minor radius"
399 accept_expressions="0"
400 enable_value="enable_by_preferences">
402 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
404 <!-- SketchMacroEllipse -->
405 <feature id="SketchMacroEllipse"
406 icon="icons/Sketch/ellipse.png"
408 tooltip="Create ellipse"
409 helpfile="ellipseFeature.html">
410 <toolbox id="ellipse_type" modified_in_edit="edit_ellipse_type">
411 <box id="by_center_axis_point"
412 icon="icons/Sketch/ellipse_cent_rad_32x32.png"
413 title="Center, major semi-axis and passing point">
414 <sketch-2dpoint_selector id="first_point"
415 reference_attribute="first_point_ref"
417 tooltip="Center point coordinates"
418 accept_expressions="0"
419 enable_value="enable_by_preferences"/>
420 <sketch-2dpoint_selector id="second_point"
421 reference_attribute="second_point_ref"
422 title="Major axis point"
423 tooltip="Major axis point coordinates"
424 accept_expressions="0"
425 enable_value="enable_by_preferences"/>
426 <sketch-2dpoint_selector id="passed_point"
427 reference_attribute="passed_point_ref"
429 tooltip="Passed point coordinates"
430 accept_expressions="0"
431 enable_value="enable_by_preferences"/>
432 <validator id="GeomValidators_Different" parameters="first_point,second_point,passed_point"/>
433 <validator id="SketchPlugin_DifferentPointReference" parameters="first_point_ref,second_point_ref"/>
435 <box id="by_major_axis_and_point"
436 icon="icons/Sketch/ellipse_axes_32x32.png"
437 title="Major axis and passing point">
438 <sketch-2dpoint_selector id="first_point_1"
439 reference_attribute="first_point_ref_1"
440 title="Major axis start point"
441 tooltip="Major axis start point coordinates"
442 accept_expressions="0"
443 enable_value="enable_by_preferences"/>
444 <sketch-2dpoint_selector id="second_point_1"
445 reference_attribute="second_point_ref_1"
446 title="Major axis end point"
447 tooltip="Major axis end point coordinates"
448 accept_expressions="0"
449 enable_value="enable_by_preferences"/>
450 <sketch-2dpoint_selector id="passed_point_1"
451 reference_attribute="passed_point_ref_1"
453 tooltip="Passed point coordinates"
454 accept_expressions="0"
455 enable_value="enable_by_preferences"/>
456 <validator id="GeomValidators_Different" parameters="first_point_1,second_point_1,passed_point_1"/>
457 <validator id="SketchPlugin_DifferentPointReference" parameters="first_point_ref_1,second_point_ref_1"/>
460 <labelvalue id="major_radius"
461 icon="icons/Sketch/radius_major.png"
463 tooltip="Set major radius"
465 accept_expressions="0"
467 enable_value="enable_by_preferences">
469 <labelvalue id="minor_radius"
470 icon="icons/Sketch/radius_minor.png"
472 tooltip="Set minor radius"
474 accept_expressions="0"
476 enable_value="enable_by_preferences">
478 <boolvalue id="Auxiliary"
479 tooltip="Construction element"
483 change_visual_attributes="true"/>
486 <!-- SketchEllipticArc is a hidden feature. It is created inside SketchMacroEllipse. -->
487 <feature id="SketchEllipticArc"
489 tooltip="Create elliptic arc"
490 icon="icons/Sketch/elliptic_arc.png"
492 <sketch-2dpoint_selector id="ellipse_center"
494 tooltip="Center coordinates"
495 accept_expressions="0"
496 enable_value="enable_by_preferences"/>
497 <sketch-2dpoint_selector id="ellipse_first_focus"
499 tooltip="Focus coordinates"
500 accept_expressions="0"
501 enable_value="enable_by_preferences"/>
502 <sketch-2dpoint_selector id="ellipse_second_focus"
504 tooltip="Focus coordinates"
505 accept_expressions="0"
506 enable_value="enable_by_preferences"/>
507 <sketch-2dpoint_selector id="ellipse_major_axis_start_point"
508 title="Major axis start"
509 tooltip="Coordinates of point on negative direction of major axis"
510 accept_expressions="0"
511 enable_value="enable_by_preferences"/>
512 <sketch-2dpoint_selector id="ellipse_major_axis_end_point"
513 title="Major axis end"
514 tooltip="Coordinates of point on positive direction of major axis"
515 accept_expressions="0"
516 enable_value="enable_by_preferences"/>
517 <sketch-2dpoint_selector id="ellipse_minor_axis_start_point"
518 title="Minor axis start"
519 tooltip="Coordinates of point on negative direction of minor axis"
520 accept_expressions="0"
521 enable_value="enable_by_preferences"/>
522 <sketch-2dpoint_selector id="ellipse_minor_axis_end_point"
523 title="Minor axis end"
524 tooltip="Coordinates of point on positive direction of minor axis"
525 accept_expressions="0"
526 enable_value="enable_by_preferences"/>
527 <sketch-2dpoint_selector id="start_point"
529 tooltip="Arc start point coordinates"
530 accept_expressions="0"
531 enable_value="enable_by_preferences"/>
532 <sketch-2dpoint_selector id="end_point"
534 tooltip="Arc end point coordinates"
535 accept_expressions="0"
536 enable_value="enable_by_preferences"/>
537 <labelvalue id="ellipse_major_radius"
538 icon="icons/Sketch/radius_major.png"
540 tooltip="Set major radius"
542 accept_expressions="0"
543 enable_value="enable_by_preferences">
545 <labelvalue id="ellipse_minor_radius"
546 icon="icons/Sketch/radius_minor.png"
548 tooltip="Set minor radius"
550 accept_expressions="0"
551 enable_value="enable_by_preferences">
553 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
555 <!-- SketchMacroEllipticArc -->
556 <feature id="SketchMacroEllipticArc"
557 icon="icons/Sketch/elliptic_arc.png"
559 tooltip="Create elliptic arc"
560 helpfile="ellipseFeature.html">
561 <sketch-2dpoint_selector id="center"
562 reference_attribute="center_ref"
564 tooltip="Center point coordinates"
565 accept_expressions="0"
566 enable_value="enable_by_preferences"/>
567 <sketch-2dpoint_selector id="major_axis_point"
568 reference_attribute="major_axis_point_ref"
569 title="Major axis point"
570 tooltip="Major axis point coordinates"
571 accept_expressions="0"
572 enable_value="enable_by_preferences"/>
573 <sketch-2dpoint_selector id="start_point"
574 reference_attribute="start_point_ref"
576 tooltip="Arc start point coordinates"
577 accept_expressions="0"
578 enable_value="enable_by_preferences"/>
579 <sketch-2dpoint_selector id="end_point"
580 reference_attribute="end_point_ref"
582 tooltip="Arc end point coordinates"
583 accept_expressions="0"
584 enable_value="enable_by_preferences"/>
585 <labelvalue id="major_radius"
586 icon="icons/Sketch/radius_major.png"
588 tooltip="Set major radius"
590 accept_expressions="0"
592 enable_value="enable_by_preferences">
594 <labelvalue id="minor_radius"
595 icon="icons/Sketch/radius_minor.png"
597 tooltip="Set minor radius"
599 accept_expressions="0"
601 enable_value="enable_by_preferences">
603 <boolvalue id="Auxiliary"
604 tooltip="Construction element"
608 change_visual_attributes="true"/>
609 <validator id="GeomValidators_Different" parameters="center,major_axis_point"/>
610 <validator id="SketchPlugin_DifferentPointReference" parameters="center_ref,major_axis_point_ref"/>
611 <validator id="GeomValidators_Different" parameters="start_point,end_point"/>
612 <validator id="SketchPlugin_DifferentPointReference" parameters="start_point_ref,end_point_ref"/>
616 <group id="Parametric curves">
617 <!-- SketchBSpline is a hidden feature. It is created inside SketchMacroBSpline. -->
618 <feature id="SketchBSpline"
620 tooltip="Create B-spline curve"
621 icon="icons/Sketch/bspline.png"
622 helpfile="bsplineFeature.html"
624 <bspline-panel id="poles"
626 title="Poles and weights"
627 tooltip="B-spline poles and weights"
628 enable_value="enable_by_preferences">
629 <validator id="SketchPlugin_BSplineValidator"/>
631 <boolvalue id="Auxiliary"
634 tooltip="Construction element"
636 change_visual_attributes="true"/>
639 <!-- SketchBSplinePeriodic is a hidden feature. It is created inside SketchMacroBSplinePeriodic. -->
640 <feature id="SketchBSplinePeriodic"
641 title="Periodic B-spline"
642 tooltip="Create periodic B-spline curve"
643 icon="icons/Sketch/bspline_p.png"
644 helpfile="bsplineFeature.html"
646 <bspline-panel id="poles"
648 title="Poles and weights"
649 tooltip="B-spline poles and weights"
650 enable_value="enable_by_preferences">
651 <validator id="SketchPlugin_BSplineValidator"/>
653 <boolvalue id="Auxiliary"
656 tooltip="Construction element"
658 change_visual_attributes="true"/>
661 <!-- SketchMacroBSpline -->
662 <feature id="SketchMacroBSpline"
664 tooltip="Create B-spline curve"
665 icon="icons/Sketch/bspline.png"
666 helpfile="bsplineFeature.html">
667 <sketch-bspline_selector id="poles"
669 reference_attribute="poles_ref"
671 tooltip="B-spline poles"
672 enable_value="enable_by_preferences">
673 <validator id="SketchPlugin_BSplineValidator"/>
674 </sketch-bspline_selector>
675 <boolvalue id="need_control_poly"
676 label="Create control polygon"
678 tooltip="Specify if the control polygon should be created"/>
679 <boolvalue id="Auxiliary"
682 tooltip="Construction element"
684 change_visual_attributes="true"/>
687 <!-- SketchMacroBSplinePeriodic -->
688 <feature id="SketchMacroBSplinePeriodic"
689 title="Periodic B-spline"
690 tooltip="Create periodic B-spline curve"
691 icon="icons/Sketch/bspline_p.png"
692 helpfile="bsplineFeature.html">
693 <sketch-bspline_selector id="poles"
695 reference_attribute="poles_ref"
697 tooltip="B-spline poles"
698 enable_value="enable_by_preferences">
699 <validator id="SketchPlugin_BSplineValidator"/>
700 </sketch-bspline_selector>
701 <boolvalue id="need_control_poly"
702 label="Create control polygon"
704 tooltip="Specify if the control polygon should be created"/>
705 <boolvalue id="Auxiliary"
708 tooltip="Construction element"
710 change_visual_attributes="true"/>
713 <!-- Curve fitting -->
714 <feature id="SketchCurveFitting"
715 title="Curve fitting"
716 tooltip="Create curve passing through the points"
717 icon="icons/Sketch/curvefitting.png"
718 helpfile="curveFittingFeature.html">
719 <sketch_multi_selector id="points"
721 tooltip="Select points for curve fitting"
722 shape_types="Vertices"
725 </sketch_multi_selector>
727 <case id="interpolation_type" title="Interpolation"/>
728 <case id="approximation_type" title="Approximation">
729 <doublevalue id="precision"
731 tooltip="Maximal distance from selected points to the curve"
735 <validator id="GeomValidators_Positive" parameters="0"/>
739 <boolvalue id="need_control_poly"
740 label="Create control polygon"
742 tooltip="Specify if the control polygon should be created"/>
743 <optionalbox id="periodic"
745 tooltip="Make curve periodic"
748 enable_on_check="false"
750 <boolvalue id="closed"
753 tooltip="Make curve closed, but not periodic"
756 <boolvalue id="Auxiliary"
759 tooltip="Construction element"
761 change_visual_attributes="true"/>
762 <validator id="SketchPlugin_CurveFittingValidator"/>
763 <action id="reorder_points"
764 label="Reorder points"
765 tooltip="Sort selected points to minimize the distance heighbors"/>
769 <group id="Segmentation">
771 <feature id="SketchSplit" title="Split"
772 tooltip="Cut selected segment arc or circle on existing coincident points"
773 icon="icons/Sketch/split.png"
774 helpfile="splitFeature.html">
775 <sketch_feature_point_selector
777 selection_attributes="SelectedObject SelectedPoint PreviewObject PreviewPoint"
779 tooltip="Select segment for split"
781 use_external="false">
782 <validator id="SketchPlugin_SplitValidator"/>
783 </sketch_feature_point_selector>
784 <validator id="PartSet_SplitSelection"/>
787 <feature id="SketchTrim" title="Trim"
788 tooltip="Trim selected segment arc or circle on intersection points nearest to the graphic selection"
789 icon="icons/Sketch/trim.png"
790 helpfile="trimFeature.html">
791 <sketch_feature_point_selector
793 selection_attributes="SelectedObject SelectedPoint PreviewObject PreviewPoint"
795 tooltip="Select segment for trim"
797 use_external="false">
798 <validator id="SketchPlugin_TrimValidator"/>
799 </sketch_feature_point_selector>
800 <validator id="PartSet_SplitSelection"/>
804 <group id="Projection">
805 <!-- Projected feature -->
807 id="SketchProjection"
809 tooltip="Project feature onto sketch plane"
810 icon="icons/Sketch/projection.png"
811 helpfile="projectionFeature.html">
812 <sketch_shape_selector
815 tooltip="Select external edge or vertex."
816 shape_types="edge vertex"
818 can_create_external="false"
819 use_sketch_plane="false">
820 <validator id="SketchPlugin_ProjectionValidator"/>
821 </sketch_shape_selector>
822 <radiobox id="keep_reference"
823 align_subs="vertical">
825 title="Keep reference to the original shape"
826 tooltip="The reference to the original curve is stored. So it can be changed later.">
827 <boolvalue id="IncludeToResult"
828 label="Include into the sketch result"
830 tooltip="Include projected feature into the sketch result"
831 change_visual_attributes="true"/>
834 title="Break connection with the original shape"
835 tooltip="A sketch entity will be created without connection to the selected shape.">
836 <boolvalue id="make_fixed"
837 label="Make projected curve fixed"
839 tooltip="Assign the Fixed constraint to the result of projection"/>
842 <validator id="PartSet_ProjectionSelection"/>
845 <!-- Intersection Point -->
847 id="SketchIntersectionPoint"
849 tooltip="Intersect edge with sketch plane"
850 icon="icons/Sketch/intersection.png"
851 helpfile="intersectionFeature.html">
852 <sketch_shape_selector
855 tooltip="Select external edge."
858 can_create_external="false"
859 use_sketch_plane="false">
860 <validator id="SketchPlugin_IntersectionValidator"/>
861 </sketch_shape_selector>
862 <boolvalue id="IncludeToResult" label="Include into the sketch result" default="true" tooltip="Include projected feature into the sketch result"
863 change_visual_attributes="true"/>
864 <validator id="PartSet_IntersectionSelection"/>
868 <group id="Replication">
869 <!-- SketchConstraintMirror -->
871 id="SketchConstraintMirror"
872 title="Mirror copy" icon="icons/Sketch/mirror.png"
873 tooltip="Create constraint, mirroring group of objects"
874 helpfile="mirrorFeature.html">
875 <sketch_shape_selector id="ConstraintEntityA"
876 label="Mirror line" tooltip="Select mirror line" shape_types="edge">
877 <validator id="GeomValidators_ShapeType" parameters="line"/>
878 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityC,ConstraintEntityB"/>
879 </sketch_shape_selector>
880 <sketch_multi_selector id="ConstraintMirrorList"
882 tooltip="Select list of objects to be mirrored"
886 <validator id="SketchPlugin_MirrorAttr" />
887 </sketch_multi_selector>
888 <validator id="PartSet_MultyTranslationSelection" />
891 <!-- SketchMultiTranslation -->
893 id="SketchMultiTranslation"
894 title="Linear copy" icon="icons/Sketch/translate.png"
895 tooltip="Copy objects and move"
896 helpfile="translationFeature.html">
897 <sketch_multi_selector id="MultiTranslationList"
899 tooltip="Select list of objects to be translated"
903 <validator id="SketchPlugin_CopyValidator" />
904 </sketch_multi_selector>
905 <toolbox id="ValueType">
906 <box id="SingleValue" title="Single value" icon="icons/Sketch/translate_32x32.png">
907 <groupbox title="Direction">
908 <sketch_shape_selector
909 id="MultiTranslationStartPoint"
911 tooltip="Start point of translation"
912 shape_types="vertex">
913 <validator id="PartSet_DifferentObjects"/>
914 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
915 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB,ConstraintEntityA"/>
916 </sketch_shape_selector>
917 <sketch_shape_selector
918 id="MultiTranslationEndPoint"
920 tooltip="Final point of translation"
921 shape_types="vertex">
922 <validator id="PartSet_DifferentObjects"/>
923 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
924 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB,ConstraintEntityA"/>
925 </sketch_shape_selector>
928 <box id="FullValue" title="Full value" icon="icons/Sketch/translate_full_32x32.png">
929 <groupbox title="Direction">
930 <sketch_shape_selector
931 id="MultiTranslationStartPoint"
933 tooltip="Start point of translation"
934 shape_types="vertex">
935 <validator id="PartSet_DifferentObjects"/>
936 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
937 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB,ConstraintEntityA"/>
938 </sketch_shape_selector>
939 <sketch_shape_selector
940 id="MultiTranslationEndPoint"
942 tooltip="Final point of translation"
943 shape_types="vertex">
944 <validator id="PartSet_DifferentObjects"/>
945 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
946 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB,ConstraintEntityA"/>
947 </sketch_shape_selector>
951 <integervalue id="MultiTranslationObjects"
952 label="Total number of objects"
953 tooltip="Total number of objects"
954 default="2" min="2" use_reset="false">
955 <validator id="GeomValidators_Positive" parameters="1"/>
957 <validator id="PartSet_MultyTranslationSelection" />
960 <!-- SketchMultiRotation -->
962 id="SketchMultiRotation"
963 title="Angular copy" icon="icons/Sketch/rotate.png"
964 tooltip="Copy objects and rotate"
965 helpfile="rotationFeature.html">
966 <sketch_multi_selector id="MultiRotationList"
968 tooltip="Select list of objects to be rotated"
972 <validator id="SketchPlugin_CopyValidator" />
973 </sketch_multi_selector>
974 <sketch_shape_selector
975 id="MultiRotationCenter"
976 label="Center of rotation"
977 tooltip="Center of rotation"
978 shape_types="vertex">
979 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
980 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB,ConstraintEntityA"/>
981 </sketch_shape_selector>
982 <toolbox id="AngleType">
983 <box id="FullAngle" title="Full angle" icon="icons/Sketch/angle_up_full_32x32.png">
984 <doublevalue id="MultiRotationAngle"
986 icon="icons/Sketch/angle.png"
987 tooltip="Rotation angle"
988 default="360" min="0" max="360"
990 <validator id="SketchPlugin_MultiRotationAngleValidator" />
992 <boolvalue id="MultiRotationReversed"
994 tooltip="Reverse angular copy"
998 <box id="SingleAngle" title="Single angle" icon="icons/Sketch/angle_up_32x32.png">
999 <doublevalue id="MultiRotationAngle"
1001 icon="icons/Sketch/angle.png"
1002 tooltip="Rotation angle"
1003 default="90" min="0" max="360"
1005 <validator id="SketchPlugin_MultiRotationAngleValidator" />
1007 <boolvalue id="MultiRotationReversed"
1009 tooltip="Reverse angular copy"
1014 <integervalue id="MultiRotationObjects"
1015 label="Total number of objects"
1016 tooltip="Total number of objects"
1017 default="4" min="2" use_reset="false">
1018 <validator id="GeomValidators_Positive" parameters="1"/>
1020 <validator id="PartSet_MultyTranslationSelection" />
1023 <!-- Offset curve -->
1024 <feature id="SketchOffset"
1026 tooltip="Offset a curve to a distance"
1027 icon="icons/Sketch/offset.png"
1028 helpfile="offsetFeature.html">
1029 <toolbox id="offset_joint">
1030 <box id="KeepDistance"
1031 icon="icons/Sketch/offset_keep_distance_32x32.png"
1032 title="Keep distance"/>
1034 icon="icons/Sketch/offset_arcs_32x32.png"
1037 icon="icons/Sketch/offset_lines_32x32.png"
1040 <sketch_multi_selector id="segments"
1042 tooltip="Select edges to offset"
1046 <validator id="SketchPlugin_CopyValidator" />
1047 </sketch_multi_selector>
1048 <doublevalue id="offset_value"
1049 label="Offset value"
1050 tooltip="Offset value"
1051 default="1" min="0.000001"
1053 <validator id="GeomValidators_Positive" parameters="1e-07"/>
1055 <boolvalue id="reversed"
1057 tooltip="Reverse the offset"
1060 <boolvalue id="approx"
1061 label="Approx by segments and arcs"
1062 tooltip="Approx by segments and arcs"
1065 <action id="add_wire"
1067 tooltip="Add the list of segments composing a wire with the selected items through the coincidence by boundary points"/>
1071 <group id="Dimensional constraints">
1072 <!-- SketchConstraintDistance -->
1074 id="SketchConstraintDistance"
1076 tooltip="Set fixed distance from a point to an object"
1077 icon="icons/Sketch/distance.png"
1078 helpfile="distanceFeature.html">
1079 <label title="Select objects for distance definition. Following objects can be accepted: point, line or arc end point, center of circle or arc."/>
1080 <sketch_shape_selector
1081 id="ConstraintEntityA"
1082 label="First object"
1083 tooltip="Select point, line end point, line, center of circle or arc."
1084 shape_types="edge vertex">
1085 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1086 <validator id="PartSet_DifferentObjects"/>
1087 <validator id="GeomValidators_ShapeType" parameters="vertex,line"/>
1088 </sketch_shape_selector>
1089 <sketch_shape_selector
1090 id="ConstraintEntityB"
1091 label="Second object"
1092 tooltip="Select point, line end point, line, center of circle or arc."
1093 shape_types="edge vertex">
1094 <validator id="PartSet_DifferentObjects"/>
1095 <validator id="SketchPlugin_DistanceAttr" parameters="ConstraintEntityA"/>
1096 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1097 <validator id="GeomValidators_ShapeType" parameters="vertex,line"/>
1098 </sketch_shape_selector>
1099 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1101 <doublevalue_editor label="Value" tooltip="Distance" id="ConstraintValue" default="computed" min="0">
1102 <validator id="GeomValidators_Positive" parameters="-1.e-10"/>
1103 </doublevalue_editor>
1105 <module_choice id="LocationType"
1106 widget_type="radiobuttons"
1107 buttons_dir="horizontal"
1108 label="Text location"
1109 tooltip="Relative location of the text"
1110 string_list="Left Automatic Right"
1111 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1115 <boolvalue id="SignedDistance" label="Keep orientation" default="true" tooltip="Keep distance orientation" obligatory="0"/>
1116 <validator id="PartSet_DistanceSelection"/>
1119 <!-- SketchConstraintDistanceHorizontal -->
1121 id="SketchConstraintDistanceHorizontal"
1122 title="Horizontal Distance"
1123 tooltip="Set horizontal distance between two points"
1124 icon="icons/Sketch/distance_h.png"
1125 helpfile="horizontalDistFeature.html">
1126 <label title="Select points for distance definition."/>
1127 <sketch_shape_selector
1128 id="ConstraintEntityA"
1130 tooltip="Select point."
1131 shape_types="vertex">
1132 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1133 <validator id="PartSet_DifferentObjects"/>
1134 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
1135 </sketch_shape_selector>
1136 <sketch_shape_selector
1137 id="ConstraintEntityB"
1138 label="Second point"
1139 tooltip="Select point."
1140 shape_types="vertex">
1141 <validator id="PartSet_DifferentObjects"/>
1142 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1143 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
1144 </sketch_shape_selector>
1145 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1147 <doublevalue_editor label="Value" tooltip="Distance" id="DistanceValue" default="computed" min="0">
1148 <validator id="GeomValidators_Positive" parameters="-1.e-10"/>
1149 </doublevalue_editor>
1151 <module_choice id="LocationType"
1152 widget_type="radiobuttons"
1153 buttons_dir="horizontal"
1154 label="Text location"
1155 tooltip="Relative location of the text"
1156 string_list="Left Automatic Right"
1157 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1161 <validator id="PartSet_DistanceSelection"/>
1164 <!-- SketchConstraintDistanceVertical -->
1166 id="SketchConstraintDistanceVertical"
1167 title="Vertical Distance"
1168 tooltip="Set vertical distance between two points"
1169 icon="icons/Sketch/distance_v.png"
1170 helpfile="verticalDistFeature.html">
1171 <label title="Select points for distance definition."/>
1172 <sketch_shape_selector
1173 id="ConstraintEntityA"
1175 tooltip="Select point."
1176 shape_types="vertex">
1177 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1178 <validator id="PartSet_DifferentObjects"/>
1179 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
1180 </sketch_shape_selector>
1181 <sketch_shape_selector
1182 id="ConstraintEntityB"
1183 label="Second point"
1184 tooltip="Select point."
1185 shape_types="vertex">
1186 <validator id="PartSet_DifferentObjects"/>
1187 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1188 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
1189 </sketch_shape_selector>
1190 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1192 <doublevalue_editor label="Value" tooltip="Distance" id="DistanceValue" default="computed" min="0">
1193 <validator id="GeomValidators_Positive" parameters="-1.e-10"/>
1194 </doublevalue_editor>
1196 <module_choice id="LocationType"
1197 widget_type="radiobuttons"
1198 buttons_dir="horizontal"
1199 label="Text location"
1200 tooltip="Relative location of the text"
1201 string_list="Left Automatic Right"
1202 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1206 <validator id="PartSet_DistanceSelection"/>
1209 <!-- SketchConstraintLength -->
1210 <feature id="SketchConstraintLength" title="Length" tooltip="Set fixed length of a line segment" icon="icons/Sketch/length.png"
1211 helpfile="lengthFeature.html">
1212 <label title="Select a line on which to calculate length" tooltip="Select a line on which to calculate length"/>
1213 <shape_selector id="ConstraintEntityA" label="Line" tooltip="Select a line" shape_types="edge" >
1214 <validator id="GeomValidators_ShapeType" parameters="line"/>
1215 <validator id="SketchPlugin_SketchFeatureValidator"/>
1217 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1218 <doublevalue_editor label="Value" tooltip="Length" id="ConstraintValue" default="computed">
1219 <validator id="GeomValidators_Positive"/>
1220 </doublevalue_editor>
1221 <module_choice id="LocationType"
1222 widget_type="radiobuttons"
1223 buttons_dir="horizontal"
1224 label="Text location"
1225 tooltip="Relative location of the text"
1226 string_list="Left Automatic Right"
1227 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1230 <validator id="PartSet_LengthSelection"/>
1233 <!-- SketchConstraintAngle -->
1234 <feature id="SketchConstraintAngle" title="Angle" tooltip="Set fixed angle between two line segments" icon="icons/Sketch/angle_constr.png"
1235 helpfile="angleFeature.html">
1236 <sketch_feature_point_selector
1237 id="ConstraintEntityA"
1238 selection_attributes="ConstraintEntityA SelectedPointA"
1240 tooltip="Select a line"
1242 use_external="true">
1243 <validator id="GeomValidators_ShapeType" parameters="line"/>
1244 <validator id="PartSet_DifferentObjects"/>
1245 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1246 </sketch_feature_point_selector>
1247 <sketch_feature_point_selector
1248 id="ConstraintEntityB"
1249 selection_attributes="ConstraintEntityB SelectedPointB"
1251 tooltip="Select a line"
1253 use_external="true">
1254 <validator id="GeomValidators_ShapeType" parameters="line"/>
1255 <validator id="PartSet_DifferentObjects"/>
1256 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1257 </sketch_feature_point_selector>
1258 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1259 <doublevalue_editor label="Value" tooltip="Angle" id="AngleValue" default="computed" min="0" max="360" />
1260 <validator id="PartSet_AngleSelection"/>
1261 <module_choice id="AngleType"
1262 widget_type="radiobuttons"
1263 buttons_dir="horizontal"
1265 tooltip="Type of angle"
1266 string_list="Direct Supplementary Additional"
1267 icons_list="icons/Sketch/angle_direct.png icons/Sketch/angle_complementary.png icons/Sketch/angle_backward.png"
1271 <module_choice id="LocationType"
1272 widget_type="radiobuttons"
1273 buttons_dir="horizontal"
1274 label="Text location"
1275 tooltip="Relative location of the text"
1276 string_list="Left Automatic Right"
1277 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1283 <!-- SketchConstraintRadius -->
1284 <feature id="SketchConstraintRadius" title="Radius" tooltip="Set fixed radius of a circle or an arc" icon="icons/Sketch/radius_constr.png"
1285 helpfile="radiusFeature.html">
1286 <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"/>
1287 <shape_selector id="ConstraintEntityA" label="Circle or Arc" tooltip="Select a circle or an arc"
1289 <validator id="GeomValidators_ShapeType" parameters="circle"/>
1291 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1292 <doublevalue_editor label="Value" tooltip="Radius" id="ConstraintValue" default="computed">
1293 <validator id="GeomValidators_Positive"/>
1294 </doublevalue_editor>
1296 <module_choice id="LocationType"
1297 widget_type="radiobuttons"
1298 buttons_dir="horizontal"
1299 label="Text location"
1300 tooltip="Relative location of the text"
1301 string_list="Left Automatic Right"
1302 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1306 <validator id="PartSet_RadiusSelection"/>
1311 <group id="Geometrical constraints">
1313 <!-- SketchConstraintHorizontal -->
1314 <feature id="SketchConstraintHorizontal" title="Horizontal" tooltip="Create constraint defining horizontal line" icon="icons/Sketch/horisontal.png"
1315 helpfile="horizontalFeature.html">
1316 <sketch_shape_selector id="ConstraintEntityA"
1317 label="Line" tooltip="Select a line" shape_types="edge" use_external="false">
1318 <validator id="GeomValidators_ShapeType" parameters="line"/>
1319 <validator id="SketchPlugin_HasNoConstraint" parameters="SketchConstraintHorizontal,SketchConstraintVertical"/>
1320 </sketch_shape_selector>
1321 <validator id="PartSet_HVDirSelection"/>
1324 <!-- SketchConstraintVertical -->
1325 <feature id="SketchConstraintVertical" title="Vertical" tooltip="Create constraint defining vertical line" icon="icons/Sketch/vertical.png"
1326 helpfile="verticalFeature.html">
1327 <sketch_shape_selector id="ConstraintEntityA"
1328 label="Line" tooltip="Select a line" shape_types="edge" use_external="false">
1329 <validator id="GeomValidators_ShapeType" parameters="line"/>
1330 <validator id="SketchPlugin_HasNoConstraint" parameters="SketchConstraintHorizontal,SketchConstraintVertical"/>
1331 </sketch_shape_selector>
1332 <validator id="PartSet_HVDirSelection"/>
1335 <!-- SketchConstraintRigid -->
1336 <feature id="SketchConstraintRigid" title="Fixed" tooltip="Fix an object" icon="icons/Sketch/fixed.png"
1337 helpfile="rigidFeature.html">
1338 <sketch_shape_selector id="ConstraintEntityA" label="Object"
1339 tooltip="Select point, curve or its boundary point."
1340 shape_types="edge vertex">
1341 <validator id="GeomValidators_ShapeType" parameters="vertex,edge"/>
1342 <validator id="SketchPlugin_NotFixed"/>
1343 </sketch_shape_selector>
1344 <validator id="PartSet_RigidSelection"/>
1347 <!-- SketchConstraintParallel -->
1348 <feature id="SketchConstraintParallel" title="Parallel" tooltip="Create constraint defining two parallel lines"
1349 icon="icons/Sketch/parallel.png" helpfile="parallelFeature.html">
1350 <sketch_shape_selector id="ConstraintEntityA"
1351 label="First line" tooltip="Select a line" shape_types="edge">
1352 <validator id="GeomValidators_ShapeType" parameters="line"/>
1353 <validator id="PartSet_DifferentObjects"/>
1354 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1355 </sketch_shape_selector>
1357 <sketch_shape_selector id="ConstraintEntityB" label="Second line" tooltip="Select a line"
1359 <validator id="GeomValidators_ShapeType" parameters="line"/>
1360 <validator id="PartSet_DifferentObjects"/>
1361 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1362 </sketch_shape_selector>
1363 <validator id="PartSet_ParallelSelection"/>
1366 <!-- SketchConstraintPerpendicular -->
1367 <feature id="SketchConstraintPerpendicular" title="Perpendicular"
1368 tooltip="Create constraint defining two orthogonal objects"
1369 icon="icons/Sketch/perpendicular.png"
1370 helpfile="perpendicularFeature.html">
1371 <sketch_shape_selector id="ConstraintEntityA"
1372 label="First object" tooltip="Select line or arc"
1374 <validator id="PartSet_DifferentObjects"/>
1375 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1376 <validator id="SketchPlugin_PerpendicularAttr" parameters="ConstraintEntityB"/>
1377 <validator id="GeomValidators_ShapeType" parameters="edge"/>
1378 </sketch_shape_selector>
1380 <sketch_shape_selector id="ConstraintEntityB"
1381 label="Second object" tooltip="Select line or arc"
1383 <validator id="PartSet_DifferentObjects"/>
1384 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1385 <validator id="SketchPlugin_PerpendicularAttr" parameters="ConstraintEntityA"/>
1386 <validator id="GeomValidators_ShapeType" parameters="edge"/>
1387 </sketch_shape_selector>
1388 <validator id="PartSet_PerpendicularSelection"/>
1391 <!-- SketchConstraintTangent -->
1392 <feature id="SketchConstraintTangent" title="Tangent" tooltip="Create constraint defining tangency of two segments with common coincident point" icon="icons/Sketch/tangent.png"
1393 helpfile="tangentFeature.html">
1394 <sketch_shape_selector id="ConstraintEntityA"
1395 label="First object" tooltip="Select line or arc" shape_types="edge">
1396 <validator id="SketchPlugin_TangentAttr" parameters="ConstraintEntityB"/>
1397 <validator id="PartSet_DifferentObjects"/>
1398 </sketch_shape_selector>
1400 <sketch_shape_selector id="ConstraintEntityB"
1401 label="Second object" tooltip="Select line or arc" shape_types="edge">
1402 <validator id="SketchPlugin_TangentAttr" parameters="ConstraintEntityA"/>
1403 <validator id="PartSet_DifferentObjects"/>
1404 </sketch_shape_selector>
1405 <validator id="PartSet_TangentSelection"/>
1408 <!-- SketchConstraintCoincidence -->
1409 <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"
1410 helpfile="coincedenceFeature.html">
1411 <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex edge">
1412 <validator id="PartSet_DifferentObjects"/>
1413 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1414 </sketch_shape_selector>
1415 <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex edge">
1416 <validator id="PartSet_DifferentObjects"/>
1417 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1418 <validator id="SketchPlugin_CoincidenceAttr" parameters="ConstraintEntityA"/>
1419 </sketch_shape_selector>
1420 <validator id="PartSet_CoincidentSelection"/>
1422 <!-- SketchConstraintCoincidenceInternal -->
1423 <feature id="SketchConstraintCoincidenceInternal" title="Internal Coincidence" tooltip="Internal coincidence" icon="icons/Sketch/coincedence.png"
1424 helpfile="coincedenceFeature.html" internal="1">
1425 <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex">
1426 <validator id="PartSet_DifferentObjects"/>
1427 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1428 </sketch_shape_selector>
1429 <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex">
1430 <validator id="PartSet_DifferentObjects"/>
1431 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1432 <validator id="SketchPlugin_CoincidenceAttr" parameters="ConstraintEntityA"/>
1433 </sketch_shape_selector>
1434 <validator id="PartSet_CoincidentSelection"/>
1437 <!-- SketchConstraintMiddle -->
1438 <feature id="SketchConstraintMiddle" title="Middle point" tooltip="Create constraint for setting middle point on a line"
1439 icon="icons/Sketch/middlepoint.png"
1440 helpfile="middleFeature.html">
1441 <toolbox id="middle_type">
1442 <box id="middle_type_by_line_and_point"
1443 icon="icons/Sketch/middlepoint.png"
1444 title="Line and point">
1445 <sketch_shape_selector id="ConstraintEntityA"
1446 label="First object"
1447 tooltip="Select a first object"
1448 shape_types="vertex edge"
1449 use_external="true">
1450 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1451 <validator id="SketchPlugin_MiddlePointAttr" parameters="ConstraintEntityB"/>
1452 </sketch_shape_selector>
1453 <sketch_shape_selector id="ConstraintEntityB"
1454 label="Second object"
1455 tooltip="Select a second object"
1456 shape_types="vertex edge"
1457 use_external="true">
1458 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1459 <validator id="SketchPlugin_MiddlePointAttr" parameters="ConstraintEntityA"/>
1460 </sketch_shape_selector>
1462 <box id="middle_type_by_line"
1463 icon="icons/Sketch/middlepoint_obj.png"
1465 <sketch_shape_selector id="ConstraintEntityA"
1467 tooltip="Select a first object"
1469 use_external="true">
1470 </sketch_shape_selector>
1473 <validator id="PartSet_MiddlePointSelection"/>
1476 <!-- SketchConstraintEqual -->
1477 <feature id="SketchConstraintEqual" title="Equal"
1478 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"
1479 icon="icons/Sketch/equal.png"
1480 helpfile="equalFeature.html">
1481 <sketch_shape_selector id="ConstraintEntityA"
1482 label="First object" tooltip="Select edge" shape_types="edge">
1483 <validator id="SketchPlugin_EqualAttr" parameters="ConstraintEntityB"/>
1484 <validator id="PartSet_DifferentObjects"/>
1485 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1486 </sketch_shape_selector>
1488 <sketch_shape_selector id="ConstraintEntityB"
1489 label="Second object" tooltip="Select edge" shape_types="edge">
1490 <validator id="SketchPlugin_EqualAttr" parameters="ConstraintEntityA"/>
1491 <validator id="PartSet_DifferentObjects"/>
1492 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1493 </sketch_shape_selector>
1494 <validator id="PartSet_EqualSelection"/>
1497 <!-- SketchConstraintCollinear -->
1498 <feature id="SketchConstraintCollinear" title="Collinear" tooltip="Create constraint defining collinearity of two lines"
1499 icon="icons/Sketch/collinear.png"
1500 helpfile="collinearFeature.html">
1501 <sketch_shape_selector id="ConstraintEntityA"
1502 label="First line" tooltip="Select a line" shape_types="edge">
1503 <validator id="GeomValidators_ShapeType" parameters="line"/>
1504 <validator id="PartSet_DifferentObjects"/>
1505 </sketch_shape_selector>
1507 <sketch_shape_selector id="ConstraintEntityB"
1508 label="Second line" tooltip="Select a line" shape_types="edge">
1509 <validator id="GeomValidators_ShapeType" parameters="line"/>
1510 <validator id="PartSet_DifferentObjects"/>
1511 </sketch_shape_selector>
1512 <validator id="PartSet_CollinearSelection"/>