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 <sketch-2dpoint_selector id="circle_rotate"
70 tooltip="Rotate coordinates"
71 accept_expressions="0"
72 enable_value="enable_by_preferences"/>
73 <labelvalue id="circle_radius"
74 icon="icons/Sketch/radius.png"
78 accept_expressions="0"
79 enable_value="enable_by_preferences">
81 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
83 <!-- SketchMacroCircle -->
84 <feature id="SketchMacroCircle"
85 icon="icons/Sketch/circle.png"
87 tooltip="Create circle"
88 helpfile="circleFeature.html">
89 <toolbox id="circle_type" modified_in_edit="edit_circle_type">
90 <box id="circle_type_by_center_and_passed_points"
91 icon="icons/Sketch/circle_pt_rad_32x32.png"
92 title="Center and passed points">
93 <sketch-2dpoint_selector id="center_point"
94 reference_attribute="center_point_ref"
96 tooltip="Center point coordinates"
97 accept_expressions="0"
98 enable_value="enable_by_preferences"/>
99 <sketch-2dpoint_selector id="passed_point"
100 reference_attribute="passed_point_ref"
102 tooltip="Passed point coordinates"
103 accept_expressions="0"
104 enable_value="enable_by_preferences">
105 <validator id="SketchPlugin_CirclePassedPointValidator"/>
106 </sketch-2dpoint_selector>
107 <sketch-2dpoint_selector id="rotate_point"
108 reference_attribute="rotate_point_ref"
110 tooltip="Rotate point coordinates"
111 accept_expressions="0"
112 enable_value="enable_by_preferences"/>
113 <validator id="GeomValidators_Different" parameters="center_point_ref,passed_point_ref"/>
114 <validator id="GeomValidators_Different" parameters="center_point_ref,rotate_point_ref"/>
116 <box id="circle_type_by_three_points"
117 icon="icons/Sketch/circle_3pt_32x32.png"
118 title="Three points">
119 <sketch-2dpoint_selector id="first_point"
120 reference_attribute="first_point_ref"
122 tooltip="First point"
123 accept_expressions="0"
124 enable_value="enable_by_preferences"/>
125 <sketch-2dpoint_selector id="second_point"
126 reference_attribute="second_point_ref"
128 tooltip="Second point"
129 accept_expressions="0"
130 enable_value="enable_by_preferences">
131 <validator id="SketchPlugin_DifferentReference" parameters="first_point_ref,second_point_ref"/>
132 </sketch-2dpoint_selector>
133 <sketch-2dpoint_selector id="third_point"
134 reference_attribute="third_point_ref"
136 tooltip="Third point"
137 accept_expressions="0"
138 enable_value="enable_by_preferences">
139 <validator id="SketchPlugin_DifferentReference" parameters="first_point_ref,second_point_ref,third_point_ref"/>
140 <validator id="SketchPlugin_ThirdPointValidator" parameters="third_point_ref"/>
141 </sketch-2dpoint_selector>
142 <sketch-2dpoint_selector id="rotate_point"
143 reference_attribute="rotate_point_ref"
145 tooltip="Rotate point coordinates"
146 accept_expressions="0"
147 enable_value="enable_by_preferences"/>
148 <validator id="GeomValidators_Different" parameters="first_point_ref,second_point_ref,third_point_ref"/>
151 <labelvalue id="circle_radius"
152 icon="icons/Sketch/radius.png"
156 accept_expressions="0"
158 enable_value="enable_by_preferences">
160 <boolvalue id="Auxiliary"
161 tooltip="Construction element"
165 change_visual_attributes="true"/>
169 <feature id="SketchArc"
170 icon="icons/Sketch/arc.png"
174 <sketch-2dpoint_selector id="center_point"
176 tooltip="Center of a circle"
177 accept_expressions="0"
178 enable_value="enable_by_preferences"/>
179 <sketch-2dpoint_selector id="start_point"
181 tooltip="Start point"
182 accept_expressions="0"
183 enable_value="enable_by_preferences"/>
184 <sketch-2dpoint_selector id="end_point"
187 accept_expressions="0"
188 enable_value="enable_by_preferences"/>
189 <validator id="GeomValidators_Different" parameters="center_point,start_point,end_point"/>
190 <labelvalue id="radius"
191 icon="icons/Sketch/radius.png"
194 accept_expressions="0"
198 enable_value="enable_by_preferences">
200 <labelvalue id="angle"
201 icon="icons/Sketch/angle.png"
207 enable_value="enable_by_preferences"/>
208 <boolvalue id="Auxiliary"
210 tooltip="Construction element"
213 change_visual_attributes="true"/>
216 <!-- SketchMacroArc -->
221 icon="icons/Sketch/arc.png"
222 helpfile="arcFeature.html">
223 <toolbox id="arc_type" modified_in_edit="edit_arc_type">
224 <box id="by_center_and_points"
225 icon="icons/Sketch/arc_base_32x32.png"
226 title="Center and two points">
227 <sketch-2dpoint_selector id="center_point"
228 reference_attribute="center_point_ref"
230 tooltip="Center of a circle"
231 accept_expressions="0"
232 enable_value="enable_by_preferences" />
233 <sketch-2dpoint_selector id="start_point_1"
234 reference_attribute="start_point_ref"
236 tooltip="Start point"
237 accept_expressions="0"
238 enable_value="enable_by_preferences"/>
239 <sketch-2dpoint_selector id="end_point_1"
240 reference_attribute="end_point_ref"
243 accept_expressions="0"
244 enable_value="enable_by_preferences">
245 <validator id="SketchPlugin_ArcEndPointValidator" parameters="end_point_ref"/>
246 <validator id="SketchPlugin_ArcEndPointIntersectionValidator" parameters="end_point_ref"/>
247 </sketch-2dpoint_selector>
248 <validator id="GeomValidators_Different" parameters="center_point,start_point_1,end_point_1"/>
250 <box id="by_three_points"
251 icon="icons/Sketch/arc_3pt_32x32.png"
252 title="Three points on arc">
253 <sketch-2dpoint_selector id="start_point_2"
254 reference_attribute="start_point_ref"
256 tooltip="Start point"
257 accept_expressions="0"
258 enable_value="enable_by_preferences"/>
259 <sketch-2dpoint_selector id="end_point_2"
260 reference_attribute="end_point_ref"
263 accept_expressions="0"
264 enable_value="enable_by_preferences">
265 <validator id="GeomValidators_Different" parameters="start_point_2,end_point_2"/>
266 <validator id="SketchPlugin_DifferentPointReference" parameters="start_point_ref,end_point_ref"/>
267 </sketch-2dpoint_selector>
268 <sketch-2dpoint_selector id="passed_point"
269 reference_attribute="passed_point_ref"
271 tooltip="Passed point"
272 accept_expressions="0"
273 enable_value="enable_by_preferences">
274 <validator id="SketchPlugin_DifferentReference" parameters="start_point_ref,end_point_ref,passed_point_ref"/>
275 <validator id="SketchPlugin_ThirdPointValidator" parameters="passed_point_ref"/>
276 </sketch-2dpoint_selector>
277 <validator id="GeomValidators_Different" parameters="start_point_2,end_point_2,passed_point"/>
279 <box id="by_tangent_edge"
280 icon="icons/Sketch/arc_tang_32x32.png"
281 title="Tangent with edge">
282 <sketch_shape_selector id="tangent_point"
283 label="Tangent point"
284 tooltip="Select point on line"
285 shape_types="vertex">
286 <validator id="SketchPlugin_ArcTangentPoint"/>
287 </sketch_shape_selector>
288 <sketch-2dpoint_selector id="end_point_3"
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>
297 <box id="by_transversal_line"
298 icon="icons/Sketch/arc_perp_32x32.png"
299 title="Perpendicular to line">
300 <sketch_shape_selector id="transversal_point"
301 label="Point on the perpendicular line"
302 tooltip="Select point on line"
303 shape_types="vertex">
304 <validator id="SketchPlugin_ArcTransversalPoint"/>
305 </sketch_shape_selector>
306 <sketch-2dpoint_selector id="end_point_4"
307 reference_attribute="end_point_ref"
310 accept_expressions="0"
311 enable_value="enable_by_preferences">
312 <validator id="SketchPlugin_ArcEndPointValidator" parameters="end_point_ref"/>
313 </sketch-2dpoint_selector>
316 <labelvalue id="radius"
317 icon="icons/Sketch/radius.png"
320 accept_expressions="0"
324 enable_value="enable_by_preferences">
326 <labelvalue id="angle"
327 icon="icons/Sketch/angle.png"
333 enable_value="enable_by_preferences"/>
334 <boolvalue id="Auxiliary"
336 tooltip="Construction element"
339 change_visual_attributes="true"/>
342 <!-- SketchFillet -->
343 <feature id="SketchFillet"
345 tooltip="Create constraint defining fillet between two connected segments"
346 icon="icons/Sketch/fillet.png"
347 helpfile="filletFeature.html">
348 <sketch_shape_selector id="fillet_point"
350 tooltip="Select point for fillet (should be shared by two entities only)"
351 shape_types="vertex">
352 <validator id="SketchPlugin_FilletVertexValidator"/>
353 </sketch_shape_selector>
354 <!--<validator id="PartSet_FilletSelection"/>-->
357 <!-- SketchEllipse is a hidden feature. It is created inside SketchMacroEllipse. -->
358 <feature id="SketchEllipse"
360 tooltip="Create ellipse"
361 icon="icons/Sketch/ellipse.png"
363 <sketch-2dpoint_selector id="ellipse_center"
365 tooltip="Center coordinates"
366 accept_expressions="0"
367 enable_value="enable_by_preferences"/>
368 <sketch-2dpoint_selector id="ellipse_first_focus"
370 tooltip="Focus coordinates"
371 accept_expressions="0"
372 enable_value="enable_by_preferences"/>
373 <sketch-2dpoint_selector id="ellipse_second_focus"
375 tooltip="Focus coordinates"
376 accept_expressions="0"
377 enable_value="enable_by_preferences"/>
378 <sketch-2dpoint_selector id="ellipse_major_axis_start_point"
379 title="Major axis start"
380 tooltip="Coordinates of point on negative direction of major axis"
381 accept_expressions="0"
382 enable_value="enable_by_preferences"/>
383 <sketch-2dpoint_selector id="ellipse_major_axis_end_point"
384 title="Major axis end"
385 tooltip="Coordinates of point on positive direction of major axis"
386 accept_expressions="0"
387 enable_value="enable_by_preferences"/>
388 <sketch-2dpoint_selector id="ellipse_minor_axis_start_point"
389 title="Minor axis start"
390 tooltip="Coordinates of point on negative direction of minor axis"
391 accept_expressions="0"
392 enable_value="enable_by_preferences"/>
393 <sketch-2dpoint_selector id="ellipse_minor_axis_end_point"
394 title="Minor axis end"
395 tooltip="Coordinates of point on positive direction of minor axis"
396 accept_expressions="0"
397 enable_value="enable_by_preferences"/>
398 <labelvalue id="ellipse_major_radius"
399 icon="icons/Sketch/radius_major.png"
401 tooltip="Set major radius"
403 accept_expressions="0"
404 enable_value="enable_by_preferences">
406 <labelvalue id="ellipse_minor_radius"
407 icon="icons/Sketch/radius_minor.png"
409 tooltip="Set minor radius"
411 accept_expressions="0"
412 enable_value="enable_by_preferences">
414 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
416 <!-- SketchMacroEllipse -->
417 <feature id="SketchMacroEllipse"
418 icon="icons/Sketch/ellipse.png"
420 tooltip="Create ellipse"
421 helpfile="ellipseFeature.html">
422 <toolbox id="ellipse_type" modified_in_edit="edit_ellipse_type">
423 <box id="by_center_axis_point"
424 icon="icons/Sketch/ellipse_cent_rad_32x32.png"
425 title="Center, major semi-axis and passing point">
426 <sketch-2dpoint_selector id="first_point"
427 reference_attribute="first_point_ref"
429 tooltip="Center point coordinates"
430 accept_expressions="0"
431 enable_value="enable_by_preferences"/>
432 <sketch-2dpoint_selector id="second_point"
433 reference_attribute="second_point_ref"
434 title="Major axis point"
435 tooltip="Major axis point coordinates"
436 accept_expressions="0"
437 enable_value="enable_by_preferences"/>
438 <sketch-2dpoint_selector id="passed_point"
439 reference_attribute="passed_point_ref"
441 tooltip="Passed point coordinates"
442 accept_expressions="0"
443 enable_value="enable_by_preferences"/>
444 <validator id="GeomValidators_Different" parameters="first_point,second_point,passed_point"/>
445 <validator id="SketchPlugin_DifferentPointReference" parameters="first_point_ref,second_point_ref"/>
447 <box id="by_major_axis_and_point"
448 icon="icons/Sketch/ellipse_axes_32x32.png"
449 title="Major axis and passing point">
450 <sketch-2dpoint_selector id="first_point_1"
451 reference_attribute="first_point_ref_1"
452 title="Major axis start point"
453 tooltip="Major axis start point coordinates"
454 accept_expressions="0"
455 enable_value="enable_by_preferences"/>
456 <sketch-2dpoint_selector id="second_point_1"
457 reference_attribute="second_point_ref_1"
458 title="Major axis end point"
459 tooltip="Major axis end point coordinates"
460 accept_expressions="0"
461 enable_value="enable_by_preferences"/>
462 <sketch-2dpoint_selector id="passed_point_1"
463 reference_attribute="passed_point_ref_1"
465 tooltip="Passed point coordinates"
466 accept_expressions="0"
467 enable_value="enable_by_preferences"/>
468 <validator id="GeomValidators_Different" parameters="first_point_1,second_point_1,passed_point_1"/>
469 <validator id="SketchPlugin_DifferentPointReference" parameters="first_point_ref_1,second_point_ref_1"/>
472 <labelvalue id="major_radius"
473 icon="icons/Sketch/radius_major.png"
475 tooltip="Set major radius"
477 accept_expressions="0"
479 enable_value="enable_by_preferences">
481 <labelvalue id="minor_radius"
482 icon="icons/Sketch/radius_minor.png"
484 tooltip="Set minor radius"
486 accept_expressions="0"
488 enable_value="enable_by_preferences">
490 <boolvalue id="Auxiliary"
491 tooltip="Construction element"
495 change_visual_attributes="true"/>
498 <!-- SketchEllipticArc is a hidden feature. It is created inside SketchMacroEllipse. -->
499 <feature id="SketchEllipticArc"
501 tooltip="Create elliptic arc"
502 icon="icons/Sketch/elliptic_arc.png"
504 <sketch-2dpoint_selector id="ellipse_center"
506 tooltip="Center coordinates"
507 accept_expressions="0"
508 enable_value="enable_by_preferences"/>
509 <sketch-2dpoint_selector id="ellipse_first_focus"
511 tooltip="Focus coordinates"
512 accept_expressions="0"
513 enable_value="enable_by_preferences"/>
514 <sketch-2dpoint_selector id="ellipse_second_focus"
516 tooltip="Focus coordinates"
517 accept_expressions="0"
518 enable_value="enable_by_preferences"/>
519 <sketch-2dpoint_selector id="ellipse_major_axis_start_point"
520 title="Major axis start"
521 tooltip="Coordinates of point on negative direction of major axis"
522 accept_expressions="0"
523 enable_value="enable_by_preferences"/>
524 <sketch-2dpoint_selector id="ellipse_major_axis_end_point"
525 title="Major axis end"
526 tooltip="Coordinates of point on positive direction of major axis"
527 accept_expressions="0"
528 enable_value="enable_by_preferences"/>
529 <sketch-2dpoint_selector id="ellipse_minor_axis_start_point"
530 title="Minor axis start"
531 tooltip="Coordinates of point on negative direction of minor axis"
532 accept_expressions="0"
533 enable_value="enable_by_preferences"/>
534 <sketch-2dpoint_selector id="ellipse_minor_axis_end_point"
535 title="Minor axis end"
536 tooltip="Coordinates of point on positive direction of minor axis"
537 accept_expressions="0"
538 enable_value="enable_by_preferences"/>
539 <sketch-2dpoint_selector id="start_point"
541 tooltip="Arc start point coordinates"
542 accept_expressions="0"
543 enable_value="enable_by_preferences"/>
544 <sketch-2dpoint_selector id="end_point"
546 tooltip="Arc end point coordinates"
547 accept_expressions="0"
548 enable_value="enable_by_preferences"/>
549 <labelvalue id="ellipse_major_radius"
550 icon="icons/Sketch/radius_major.png"
552 tooltip="Set major radius"
554 accept_expressions="0"
555 enable_value="enable_by_preferences">
557 <labelvalue id="ellipse_minor_radius"
558 icon="icons/Sketch/radius_minor.png"
560 tooltip="Set minor radius"
562 accept_expressions="0"
563 enable_value="enable_by_preferences">
565 <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0" change_visual_attributes="true"/>
567 <!-- SketchMacroEllipticArc -->
568 <feature id="SketchMacroEllipticArc"
569 icon="icons/Sketch/elliptic_arc.png"
571 tooltip="Create elliptic arc"
572 helpfile="ellipseFeature.html">
573 <sketch-2dpoint_selector id="center"
574 reference_attribute="center_ref"
576 tooltip="Center point coordinates"
577 accept_expressions="0"
578 enable_value="enable_by_preferences"/>
579 <sketch-2dpoint_selector id="major_axis_point"
580 reference_attribute="major_axis_point_ref"
581 title="Major axis point"
582 tooltip="Major axis point coordinates"
583 accept_expressions="0"
584 enable_value="enable_by_preferences"/>
585 <sketch-2dpoint_selector id="start_point"
586 reference_attribute="start_point_ref"
588 tooltip="Arc start point coordinates"
589 accept_expressions="0"
590 enable_value="enable_by_preferences"/>
591 <sketch-2dpoint_selector id="end_point"
592 reference_attribute="end_point_ref"
594 tooltip="Arc end point coordinates"
595 accept_expressions="0"
596 enable_value="enable_by_preferences"/>
597 <labelvalue id="major_radius"
598 icon="icons/Sketch/radius_major.png"
600 tooltip="Set major radius"
602 accept_expressions="0"
604 enable_value="enable_by_preferences">
606 <labelvalue id="minor_radius"
607 icon="icons/Sketch/radius_minor.png"
609 tooltip="Set minor radius"
611 accept_expressions="0"
613 enable_value="enable_by_preferences">
615 <boolvalue id="Auxiliary"
616 tooltip="Construction element"
620 change_visual_attributes="true"/>
621 <validator id="GeomValidators_Different" parameters="center,major_axis_point"/>
622 <validator id="SketchPlugin_DifferentPointReference" parameters="center_ref,major_axis_point_ref"/>
623 <validator id="GeomValidators_Different" parameters="start_point,end_point"/>
624 <validator id="SketchPlugin_DifferentPointReference" parameters="start_point_ref,end_point_ref"/>
628 <group id="Parametric curves">
629 <!-- SketchBSpline is a hidden feature. It is created inside SketchMacroBSpline. -->
630 <feature id="SketchBSpline"
632 tooltip="Create B-spline curve"
633 icon="icons/Sketch/bspline.png"
634 helpfile="bsplineFeature.html"
636 <bspline-panel id="poles"
638 title="Poles and weights"
639 tooltip="B-spline poles and weights"
640 enable_value="enable_by_preferences">
641 <validator id="SketchPlugin_BSplineValidator"/>
643 <boolvalue id="Auxiliary"
646 tooltip="Construction element"
648 change_visual_attributes="true"/>
651 <!-- SketchBSplinePeriodic is a hidden feature. It is created inside SketchMacroBSplinePeriodic. -->
652 <feature id="SketchBSplinePeriodic"
653 title="Periodic B-spline"
654 tooltip="Create periodic B-spline curve"
655 icon="icons/Sketch/bspline_p.png"
656 helpfile="bsplineFeature.html"
658 <bspline-panel id="poles"
660 title="Poles and weights"
661 tooltip="B-spline poles and weights"
662 enable_value="enable_by_preferences">
663 <validator id="SketchPlugin_BSplineValidator"/>
665 <boolvalue id="Auxiliary"
668 tooltip="Construction element"
670 change_visual_attributes="true"/>
673 <!-- SketchMacroBSpline -->
674 <feature id="SketchMacroBSpline"
676 tooltip="Create B-spline curve"
677 icon="icons/Sketch/bspline.png"
678 helpfile="bsplineFeature.html">
679 <sketch-bspline_selector id="poles"
681 reference_attribute="poles_ref"
683 tooltip="B-spline poles"
684 enable_value="enable_by_preferences">
685 <validator id="SketchPlugin_BSplineValidator"/>
686 </sketch-bspline_selector>
687 <boolvalue id="need_control_poly"
688 label="Create control polygon"
690 tooltip="Specify if the control polygon should be created"/>
691 <boolvalue id="Auxiliary"
694 tooltip="Construction element"
696 change_visual_attributes="true"/>
699 <!-- SketchMacroBSplinePeriodic -->
700 <feature id="SketchMacroBSplinePeriodic"
701 title="Periodic B-spline"
702 tooltip="Create periodic B-spline curve"
703 icon="icons/Sketch/bspline_p.png"
704 helpfile="bsplineFeature.html">
705 <sketch-bspline_selector id="poles"
707 reference_attribute="poles_ref"
709 tooltip="B-spline poles"
710 enable_value="enable_by_preferences">
711 <validator id="SketchPlugin_BSplineValidator"/>
712 </sketch-bspline_selector>
713 <boolvalue id="need_control_poly"
714 label="Create control polygon"
716 tooltip="Specify if the control polygon should be created"/>
717 <boolvalue id="Auxiliary"
720 tooltip="Construction element"
722 change_visual_attributes="true"/>
725 <!-- Curve fitting -->
726 <feature id="SketchCurveFitting"
727 title="Curve fitting"
728 tooltip="Create curve passing through the points"
729 icon="icons/Sketch/curvefitting.png"
730 helpfile="curveFittingFeature.html">
731 <sketch_multi_selector id="points"
733 tooltip="Select points for curve fitting"
734 shape_types="Vertices"
737 </sketch_multi_selector>
739 <case id="interpolation_type" title="Interpolation"/>
740 <case id="approximation_type" title="Approximation">
741 <doublevalue id="precision"
743 tooltip="Maximal distance from selected points to the curve"
747 <validator id="GeomValidators_Positive" parameters="0"/>
751 <boolvalue id="need_control_poly"
752 label="Create control polygon"
754 tooltip="Specify if the control polygon should be created"/>
755 <optionalbox id="periodic"
757 tooltip="Make curve periodic"
760 enable_on_check="false"
762 <boolvalue id="closed"
765 tooltip="Make curve closed, but not periodic"
768 <boolvalue id="Auxiliary"
771 tooltip="Construction element"
773 change_visual_attributes="true"/>
774 <validator id="SketchPlugin_CurveFittingValidator"/>
775 <action id="reorder_points"
776 label="Reorder points"
777 tooltip="Sort selected points to minimize the distance heighbors"/>
781 <group id="Segmentation">
783 <feature id="SketchSplit" title="Split"
784 tooltip="Cut selected segment arc or circle on existing coincident points"
785 icon="icons/Sketch/split.png"
786 helpfile="splitFeature.html">
787 <sketch_feature_point_selector
789 selection_attributes="SelectedObject SelectedPoint PreviewObject PreviewPoint"
791 tooltip="Select segment for split"
793 use_external="false">
794 <validator id="SketchPlugin_SplitValidator"/>
795 </sketch_feature_point_selector>
796 <validator id="PartSet_SplitSelection"/>
799 <feature id="SketchTrim" title="Trim"
800 tooltip="Trim selected segment arc or circle on intersection points nearest to the graphic selection"
801 icon="icons/Sketch/trim.png"
802 helpfile="trimFeature.html">
803 <sketch_feature_point_selector
805 selection_attributes="SelectedObject SelectedPoint PreviewObject PreviewPoint"
807 tooltip="Select segment for trim"
809 use_external="false">
810 <validator id="SketchPlugin_TrimValidator"/>
811 </sketch_feature_point_selector>
812 <validator id="PartSet_SplitSelection"/>
816 <group id="Projection">
817 <!-- Projected feature -->
819 id="SketchProjection"
821 tooltip="Project feature onto sketch plane"
822 icon="icons/Sketch/projection.png"
823 helpfile="projectionFeature.html">
824 <sketch_shape_selector
827 tooltip="Select external edge or vertex."
828 shape_types="edge vertex"
830 can_create_external="false"
831 use_sketch_plane="false">
832 <validator id="SketchPlugin_ProjectionValidator"/>
833 </sketch_shape_selector>
834 <radiobox id="keep_reference"
835 align_subs="vertical">
837 title="Keep reference to the original shape"
838 tooltip="The reference to the original curve is stored. So it can be changed later.">
839 <boolvalue id="IncludeToResult"
840 label="Include into the sketch result"
842 tooltip="Include projected feature into the sketch result"
843 change_visual_attributes="true"/>
846 title="Break connection with the original shape"
847 tooltip="A sketch entity will be created without connection to the selected shape.">
848 <boolvalue id="make_fixed"
849 label="Make projected curve fixed"
851 tooltip="Assign the Fixed constraint to the result of projection"/>
854 <validator id="PartSet_ProjectionSelection"/>
857 <!-- Intersection Point -->
859 id="SketchIntersectionPoint"
861 tooltip="Intersect edge with sketch plane"
862 icon="icons/Sketch/intersection.png"
863 helpfile="intersectionFeature.html">
864 <sketch_shape_selector
867 tooltip="Select external edge."
870 can_create_external="false"
871 use_sketch_plane="false">
872 <validator id="SketchPlugin_IntersectionValidator"/>
873 </sketch_shape_selector>
874 <boolvalue id="IncludeToResult" label="Include into the sketch result" default="true" tooltip="Include projected feature into the sketch result"
875 change_visual_attributes="true"/>
876 <validator id="PartSet_IntersectionSelection"/>
880 <group id="Replication">
881 <!-- SketchConstraintMirror -->
883 id="SketchConstraintMirror"
884 title="Mirror copy" icon="icons/Sketch/mirror.png"
885 tooltip="Create constraint, mirroring group of objects"
886 helpfile="mirrorFeature.html">
887 <sketch_shape_selector id="ConstraintEntityA"
888 label="Mirror line" tooltip="Select mirror line" shape_types="edge">
889 <validator id="GeomValidators_ShapeType" parameters="line"/>
890 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityC,ConstraintEntityB"/>
891 </sketch_shape_selector>
892 <sketch_multi_selector id="ConstraintMirrorList"
894 tooltip="Select list of objects to be mirrored"
898 <validator id="SketchPlugin_MirrorAttr" />
899 </sketch_multi_selector>
900 <validator id="PartSet_MultyTranslationSelection" />
903 <!-- SketchMultiTranslation -->
905 id="SketchMultiTranslation"
906 title="Linear copy" icon="icons/Sketch/translate.png"
907 tooltip="Copy objects and move"
908 helpfile="translationFeature.html">
909 <sketch_multi_selector id="MultiTranslationList"
911 tooltip="Select list of objects to be translated"
915 <validator id="SketchPlugin_CopyValidator" />
916 </sketch_multi_selector>
917 <toolbox id="ValueType">
918 <box id="SingleValue" title="Single value" icon="icons/Sketch/translate_32x32.png">
919 <groupbox title="Direction">
920 <sketch_shape_selector
921 id="MultiTranslationStartPoint"
923 tooltip="Start point of translation"
924 shape_types="vertex">
925 <validator id="PartSet_DifferentObjects"/>
926 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
927 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB,ConstraintEntityA"/>
928 </sketch_shape_selector>
929 <sketch_shape_selector
930 id="MultiTranslationEndPoint"
932 tooltip="Final point of translation"
933 shape_types="vertex">
934 <validator id="PartSet_DifferentObjects"/>
935 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
936 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB,ConstraintEntityA"/>
937 </sketch_shape_selector>
940 <box id="FullValue" title="Full value" icon="icons/Sketch/translate_full_32x32.png">
941 <groupbox title="Direction">
942 <sketch_shape_selector
943 id="MultiTranslationStartPoint"
945 tooltip="Start point of translation"
946 shape_types="vertex">
947 <validator id="PartSet_DifferentObjects"/>
948 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
949 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB,ConstraintEntityA"/>
950 </sketch_shape_selector>
951 <sketch_shape_selector
952 id="MultiTranslationEndPoint"
954 tooltip="Final point of translation"
955 shape_types="vertex">
956 <validator id="PartSet_DifferentObjects"/>
957 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
958 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB,ConstraintEntityA"/>
959 </sketch_shape_selector>
963 <integervalue id="MultiTranslationObjects"
964 label="Total number of objects"
965 tooltip="Total number of objects"
966 default="2" min="2" use_reset="false">
967 <validator id="GeomValidators_Positive" parameters="1"/>
969 <validator id="PartSet_MultyTranslationSelection" />
972 <!-- SketchMultiRotation -->
974 id="SketchMultiRotation"
975 title="Angular copy" icon="icons/Sketch/rotate.png"
976 tooltip="Copy objects and rotate"
977 helpfile="rotationFeature.html">
978 <sketch_multi_selector id="MultiRotationList"
980 tooltip="Select list of objects to be rotated"
984 <validator id="SketchPlugin_CopyValidator" />
985 </sketch_multi_selector>
986 <sketch_shape_selector
987 id="MultiRotationCenter"
988 label="Center of rotation"
989 tooltip="Center of rotation"
990 shape_types="vertex">
991 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
992 <validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityB,ConstraintEntityA"/>
993 </sketch_shape_selector>
994 <toolbox id="AngleType">
995 <box id="FullAngle" title="Full angle" icon="icons/Sketch/angle_up_full_32x32.png">
996 <doublevalue id="MultiRotationAngle"
998 icon="icons/Sketch/angle.png"
999 tooltip="Rotation angle"
1000 default="360" min="0" max="360"
1002 <validator id="SketchPlugin_MultiRotationAngleValidator" />
1004 <boolvalue id="MultiRotationReversed"
1006 tooltip="Reverse angular copy"
1010 <box id="SingleAngle" title="Single angle" icon="icons/Sketch/angle_up_32x32.png">
1011 <doublevalue id="MultiRotationAngle"
1013 icon="icons/Sketch/angle.png"
1014 tooltip="Rotation angle"
1015 default="90" min="0" max="360"
1017 <validator id="SketchPlugin_MultiRotationAngleValidator" />
1019 <boolvalue id="MultiRotationReversed"
1021 tooltip="Reverse angular copy"
1026 <integervalue id="MultiRotationObjects"
1027 label="Total number of objects"
1028 tooltip="Total number of objects"
1029 default="4" min="2" use_reset="false">
1030 <validator id="GeomValidators_Positive" parameters="1"/>
1032 <validator id="PartSet_MultyTranslationSelection" />
1035 <!-- Offset curve -->
1036 <feature id="SketchOffset"
1038 tooltip="Offset a curve to a distance"
1039 icon="icons/Sketch/offset.png"
1040 helpfile="offsetFeature.html">
1041 <toolbox id="offset_joint">
1042 <box id="KeepDistance"
1043 icon="icons/Sketch/offset_keep_distance_32x32.png"
1044 title="Keep distance"/>
1046 icon="icons/Sketch/offset_arcs_32x32.png"
1049 icon="icons/Sketch/offset_lines_32x32.png"
1052 <sketch_multi_selector id="segments"
1054 tooltip="Select edges to offset"
1058 <validator id="SketchPlugin_CopyValidator" />
1059 </sketch_multi_selector>
1060 <doublevalue id="offset_value"
1061 label="Offset value"
1062 tooltip="Offset value"
1063 default="1" min="0.000001"
1065 <validator id="GeomValidators_Positive" parameters="1e-07"/>
1067 <boolvalue id="reversed"
1069 tooltip="Reverse the offset"
1072 <boolvalue id="approx"
1073 label="Approx by segments and arcs"
1074 tooltip="Approx by segments and arcs"
1077 <action id="add_wire"
1079 tooltip="Add the list of segments composing a wire with the selected items through the coincidence by boundary points"/>
1083 <group id="Dimensional constraints">
1084 <!-- SketchConstraintDistance -->
1086 id="SketchConstraintDistance"
1088 tooltip="Set fixed distance from a point to an object"
1089 icon="icons/Sketch/distance.png"
1090 helpfile="distanceFeature.html">
1091 <label title="Select objects for distance definition. Following objects can be accepted: point, line or arc end point, center of circle or arc."/>
1092 <sketch_shape_selector
1093 id="ConstraintEntityA"
1094 label="First object"
1095 tooltip="Select point, line end point, line, center of circle or arc."
1096 shape_types="edge vertex">
1097 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1098 <validator id="PartSet_DifferentObjects"/>
1099 <validator id="GeomValidators_ShapeType" parameters="vertex,line"/>
1100 </sketch_shape_selector>
1101 <sketch_shape_selector
1102 id="ConstraintEntityB"
1103 label="Second object"
1104 tooltip="Select point, line end point, line, center of circle or arc."
1105 shape_types="edge vertex">
1106 <validator id="PartSet_DifferentObjects"/>
1107 <validator id="SketchPlugin_DistanceAttr" parameters="ConstraintEntityA"/>
1108 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1109 <validator id="GeomValidators_ShapeType" parameters="vertex,line"/>
1110 </sketch_shape_selector>
1111 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1113 <doublevalue_editor label="Value" tooltip="Distance" id="ConstraintValue" default="computed" min="0">
1114 <validator id="GeomValidators_Positive" parameters="-1.e-10"/>
1115 </doublevalue_editor>
1117 <module_choice id="LocationType"
1118 widget_type="radiobuttons"
1119 buttons_dir="horizontal"
1120 label="Text location"
1121 tooltip="Relative location of the text"
1122 string_list="Left Automatic Right"
1123 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1127 <boolvalue id="SignedDistance" label="Keep orientation" default="true" tooltip="Keep distance orientation" obligatory="0"/>
1128 <validator id="PartSet_DistanceSelection"/>
1131 <!-- SketchConstraintDistanceHorizontal -->
1133 id="SketchConstraintDistanceHorizontal"
1134 title="Horizontal Distance"
1135 tooltip="Set horizontal distance between two points"
1136 icon="icons/Sketch/distance_h.png"
1137 helpfile="horizontalDistFeature.html">
1138 <label title="Select points for distance definition."/>
1139 <sketch_shape_selector
1140 id="ConstraintEntityA"
1142 tooltip="Select point."
1143 shape_types="vertex">
1144 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1145 <validator id="PartSet_DifferentObjects"/>
1146 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
1147 </sketch_shape_selector>
1148 <sketch_shape_selector
1149 id="ConstraintEntityB"
1150 label="Second point"
1151 tooltip="Select point."
1152 shape_types="vertex">
1153 <validator id="PartSet_DifferentObjects"/>
1154 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1155 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
1156 </sketch_shape_selector>
1157 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1159 <doublevalue_editor label="Value" tooltip="Distance" id="DistanceValue" default="computed" min="0">
1160 <validator id="GeomValidators_Positive" parameters="-1.e-10"/>
1161 </doublevalue_editor>
1163 <module_choice id="LocationType"
1164 widget_type="radiobuttons"
1165 buttons_dir="horizontal"
1166 label="Text location"
1167 tooltip="Relative location of the text"
1168 string_list="Left Automatic Right"
1169 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1173 <validator id="PartSet_DistanceSelection"/>
1176 <!-- SketchConstraintDistanceVertical -->
1178 id="SketchConstraintDistanceVertical"
1179 title="Vertical Distance"
1180 tooltip="Set vertical distance between two points"
1181 icon="icons/Sketch/distance_v.png"
1182 helpfile="verticalDistFeature.html">
1183 <label title="Select points for distance definition."/>
1184 <sketch_shape_selector
1185 id="ConstraintEntityA"
1187 tooltip="Select point."
1188 shape_types="vertex">
1189 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1190 <validator id="PartSet_DifferentObjects"/>
1191 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
1192 </sketch_shape_selector>
1193 <sketch_shape_selector
1194 id="ConstraintEntityB"
1195 label="Second point"
1196 tooltip="Select point."
1197 shape_types="vertex">
1198 <validator id="PartSet_DifferentObjects"/>
1199 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1200 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
1201 </sketch_shape_selector>
1202 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1204 <doublevalue_editor label="Value" tooltip="Distance" id="DistanceValue" default="computed" min="0">
1205 <validator id="GeomValidators_Positive" parameters="-1.e-10"/>
1206 </doublevalue_editor>
1208 <module_choice id="LocationType"
1209 widget_type="radiobuttons"
1210 buttons_dir="horizontal"
1211 label="Text location"
1212 tooltip="Relative location of the text"
1213 string_list="Left Automatic Right"
1214 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1218 <validator id="PartSet_DistanceSelection"/>
1221 <!-- SketchConstraintLength -->
1222 <feature id="SketchConstraintLength" title="Length" tooltip="Set fixed length of a line segment" icon="icons/Sketch/length.png"
1223 helpfile="lengthFeature.html">
1224 <label title="Select a line on which to calculate length" tooltip="Select a line on which to calculate length"/>
1225 <shape_selector id="ConstraintEntityA" label="Line" tooltip="Select a line" shape_types="edge" >
1226 <validator id="GeomValidators_ShapeType" parameters="line"/>
1227 <validator id="SketchPlugin_SketchFeatureValidator"/>
1229 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1230 <doublevalue_editor label="Value" tooltip="Length" id="ConstraintValue" default="computed">
1231 <validator id="GeomValidators_Positive"/>
1232 </doublevalue_editor>
1233 <module_choice id="LocationType"
1234 widget_type="radiobuttons"
1235 buttons_dir="horizontal"
1236 label="Text location"
1237 tooltip="Relative location of the text"
1238 string_list="Left Automatic Right"
1239 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1242 <validator id="PartSet_LengthSelection"/>
1245 <!-- SketchConstraintAngle -->
1246 <feature id="SketchConstraintAngle" title="Angle" tooltip="Set fixed angle between two line segments" icon="icons/Sketch/angle_constr.png"
1247 helpfile="angleFeature.html">
1248 <sketch_feature_point_selector
1249 id="ConstraintEntityA"
1250 selection_attributes="ConstraintEntityA SelectedPointA"
1252 tooltip="Select a line"
1254 use_external="true">
1255 <validator id="GeomValidators_ShapeType" parameters="line"/>
1256 <validator id="PartSet_DifferentObjects"/>
1257 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1258 </sketch_feature_point_selector>
1259 <sketch_feature_point_selector
1260 id="ConstraintEntityB"
1261 selection_attributes="ConstraintEntityB SelectedPointB"
1263 tooltip="Select a line"
1265 use_external="true">
1266 <validator id="GeomValidators_ShapeType" parameters="line"/>
1267 <validator id="PartSet_DifferentObjects"/>
1268 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1269 </sketch_feature_point_selector>
1270 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1271 <doublevalue_editor label="Value" tooltip="Angle" id="AngleValue" default="computed" min="0" max="360" />
1272 <validator id="PartSet_AngleSelection"/>
1273 <module_choice id="AngleType"
1274 widget_type="radiobuttons"
1275 buttons_dir="horizontal"
1277 tooltip="Type of angle"
1278 string_list="Direct Supplementary Additional"
1279 icons_list="icons/Sketch/angle_direct.png icons/Sketch/angle_complementary.png icons/Sketch/angle_backward.png"
1283 <module_choice id="LocationType"
1284 widget_type="radiobuttons"
1285 buttons_dir="horizontal"
1286 label="Text location"
1287 tooltip="Relative location of the text"
1288 string_list="Left Automatic Right"
1289 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1295 <!-- SketchConstraintRadius -->
1296 <feature id="SketchConstraintRadius" title="Radius" tooltip="Set fixed radius of a circle or an arc" icon="icons/Sketch/radius_constr.png"
1297 helpfile="radiusFeature.html">
1298 <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"/>
1299 <shape_selector id="ConstraintEntityA" label="Circle or Arc" tooltip="Select a circle or an arc"
1301 <validator id="GeomValidators_ShapeType" parameters="circle"/>
1303 <sketch-2dpoint_flyout_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
1304 <doublevalue_editor label="Value" tooltip="Radius" id="ConstraintValue" default="computed">
1305 <validator id="GeomValidators_Positive"/>
1306 </doublevalue_editor>
1308 <module_choice id="LocationType"
1309 widget_type="radiobuttons"
1310 buttons_dir="horizontal"
1311 label="Text location"
1312 tooltip="Relative location of the text"
1313 string_list="Left Automatic Right"
1314 icons_list="icons/Sketch/location_left.png icons/Sketch/location_automatic.png icons/Sketch/location_right.png"
1318 <validator id="PartSet_RadiusSelection"/>
1323 <group id="Geometrical constraints">
1325 <!-- SketchConstraintHorizontal -->
1326 <feature id="SketchConstraintHorizontal" title="Horizontal" tooltip="Create constraint defining horizontal line" icon="icons/Sketch/horisontal.png"
1327 helpfile="horizontalFeature.html">
1328 <sketch_shape_selector id="ConstraintEntityA"
1329 label="Line" tooltip="Select a line" shape_types="edge" use_external="false">
1330 <validator id="GeomValidators_ShapeType" parameters="line"/>
1331 <validator id="SketchPlugin_HasNoConstraint" parameters="SketchConstraintHorizontal,SketchConstraintVertical"/>
1332 </sketch_shape_selector>
1333 <validator id="PartSet_HVDirSelection"/>
1336 <!-- SketchConstraintVertical -->
1337 <feature id="SketchConstraintVertical" title="Vertical" tooltip="Create constraint defining vertical line" icon="icons/Sketch/vertical.png"
1338 helpfile="verticalFeature.html">
1339 <sketch_shape_selector id="ConstraintEntityA"
1340 label="Line" tooltip="Select a line" shape_types="edge" use_external="false">
1341 <validator id="GeomValidators_ShapeType" parameters="line"/>
1342 <validator id="SketchPlugin_HasNoConstraint" parameters="SketchConstraintHorizontal,SketchConstraintVertical"/>
1343 </sketch_shape_selector>
1344 <validator id="PartSet_HVDirSelection"/>
1347 <!-- SketchConstraintRigid -->
1348 <feature id="SketchConstraintRigid" title="Fixed" tooltip="Fix an object" icon="icons/Sketch/fixed.png"
1349 helpfile="rigidFeature.html">
1350 <sketch_shape_selector id="ConstraintEntityA" label="Object"
1351 tooltip="Select point, curve or its boundary point."
1352 shape_types="edge vertex">
1353 <validator id="GeomValidators_ShapeType" parameters="vertex,edge"/>
1354 <validator id="SketchPlugin_NotFixed"/>
1355 </sketch_shape_selector>
1356 <validator id="PartSet_RigidSelection"/>
1359 <!-- SketchConstraintParallel -->
1360 <feature id="SketchConstraintParallel" title="Parallel" tooltip="Create constraint defining two parallel lines"
1361 icon="icons/Sketch/parallel.png" helpfile="parallelFeature.html">
1362 <sketch_shape_selector id="ConstraintEntityA"
1363 label="First line" tooltip="Select a line" shape_types="edge">
1364 <validator id="GeomValidators_ShapeType" parameters="line"/>
1365 <validator id="PartSet_DifferentObjects"/>
1366 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1367 </sketch_shape_selector>
1369 <sketch_shape_selector id="ConstraintEntityB" label="Second line" tooltip="Select a line"
1371 <validator id="GeomValidators_ShapeType" parameters="line"/>
1372 <validator id="PartSet_DifferentObjects"/>
1373 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1374 </sketch_shape_selector>
1375 <validator id="PartSet_ParallelSelection"/>
1378 <!-- SketchConstraintPerpendicular -->
1379 <feature id="SketchConstraintPerpendicular" title="Perpendicular"
1380 tooltip="Create constraint defining two orthogonal objects"
1381 icon="icons/Sketch/perpendicular.png"
1382 helpfile="perpendicularFeature.html">
1383 <sketch_shape_selector id="ConstraintEntityA"
1384 label="First object" tooltip="Select line or arc"
1386 <validator id="PartSet_DifferentObjects"/>
1387 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1388 <validator id="SketchPlugin_PerpendicularAttr" parameters="ConstraintEntityB"/>
1389 <validator id="GeomValidators_ShapeType" parameters="edge"/>
1390 </sketch_shape_selector>
1392 <sketch_shape_selector id="ConstraintEntityB"
1393 label="Second object" tooltip="Select line or arc"
1395 <validator id="PartSet_DifferentObjects"/>
1396 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1397 <validator id="SketchPlugin_PerpendicularAttr" parameters="ConstraintEntityA"/>
1398 <validator id="GeomValidators_ShapeType" parameters="edge"/>
1399 </sketch_shape_selector>
1400 <validator id="PartSet_PerpendicularSelection"/>
1403 <!-- SketchConstraintTangent -->
1404 <feature id="SketchConstraintTangent" title="Tangent" tooltip="Create constraint defining tangency of two segments with common coincident point" icon="icons/Sketch/tangent.png"
1405 helpfile="tangentFeature.html">
1406 <sketch_shape_selector id="ConstraintEntityA"
1407 label="First object" tooltip="Select line or arc" shape_types="edge">
1408 <validator id="SketchPlugin_TangentAttr" parameters="ConstraintEntityB"/>
1409 <validator id="PartSet_DifferentObjects"/>
1410 </sketch_shape_selector>
1412 <sketch_shape_selector id="ConstraintEntityB"
1413 label="Second object" tooltip="Select line or arc" shape_types="edge">
1414 <validator id="SketchPlugin_TangentAttr" parameters="ConstraintEntityA"/>
1415 <validator id="PartSet_DifferentObjects"/>
1416 </sketch_shape_selector>
1417 <validator id="PartSet_TangentSelection"/>
1420 <!-- SketchConstraintCoincidence -->
1421 <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"
1422 helpfile="coincedenceFeature.html">
1423 <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex edge">
1424 <validator id="PartSet_DifferentObjects"/>
1425 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1426 </sketch_shape_selector>
1427 <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex edge">
1428 <validator id="PartSet_DifferentObjects"/>
1429 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1430 <validator id="SketchPlugin_CoincidenceAttr" parameters="ConstraintEntityA"/>
1431 </sketch_shape_selector>
1432 <validator id="PartSet_CoincidentSelection"/>
1434 <!-- SketchConstraintCoincidenceInternal -->
1435 <feature id="SketchConstraintCoincidenceInternal" title="Internal Coincidence" tooltip="Internal coincidence" icon="icons/Sketch/coincedence.png"
1436 helpfile="coincedenceFeature.html" internal="1">
1437 <sketch_shape_selector id="ConstraintEntityA" label="First object" tooltip="Select a first object" shape_types="vertex">
1438 <validator id="PartSet_DifferentObjects"/>
1439 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1440 </sketch_shape_selector>
1441 <sketch_shape_selector id="ConstraintEntityB" label="Second object" tooltip="Select a second object" shape_types="vertex">
1442 <validator id="PartSet_DifferentObjects"/>
1443 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1444 <validator id="SketchPlugin_CoincidenceAttr" parameters="ConstraintEntityA"/>
1445 </sketch_shape_selector>
1446 <validator id="PartSet_CoincidentSelection"/>
1449 <!-- SketchConstraintMiddle -->
1450 <feature id="SketchConstraintMiddle" title="Middle point" tooltip="Create constraint for setting middle point on a line"
1451 icon="icons/Sketch/middlepoint.png"
1452 helpfile="middleFeature.html">
1453 <toolbox id="middle_type">
1454 <box id="middle_type_by_line_and_point"
1455 icon="icons/Sketch/middlepoint.png"
1456 title="Line and point">
1457 <sketch_shape_selector id="ConstraintEntityA"
1458 label="First object"
1459 tooltip="Select a first object"
1460 shape_types="vertex edge"
1461 use_external="true">
1462 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1463 <validator id="SketchPlugin_MiddlePointAttr" parameters="ConstraintEntityB"/>
1464 </sketch_shape_selector>
1465 <sketch_shape_selector id="ConstraintEntityB"
1466 label="Second object"
1467 tooltip="Select a second object"
1468 shape_types="vertex edge"
1469 use_external="true">
1470 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1471 <validator id="SketchPlugin_MiddlePointAttr" parameters="ConstraintEntityA"/>
1472 </sketch_shape_selector>
1474 <box id="middle_type_by_line"
1475 icon="icons/Sketch/middlepoint_obj.png"
1477 <sketch_shape_selector id="ConstraintEntityA"
1479 tooltip="Select a first object"
1481 use_external="true">
1482 </sketch_shape_selector>
1485 <validator id="PartSet_MiddlePointSelection"/>
1488 <!-- SketchConstraintEqual -->
1489 <feature id="SketchConstraintEqual" title="Equal"
1490 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"
1491 icon="icons/Sketch/equal.png"
1492 helpfile="equalFeature.html">
1493 <sketch_shape_selector id="ConstraintEntityA"
1494 label="First object" tooltip="Select edge" shape_types="edge">
1495 <validator id="SketchPlugin_EqualAttr" parameters="ConstraintEntityB"/>
1496 <validator id="PartSet_DifferentObjects"/>
1497 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityB"/>
1498 </sketch_shape_selector>
1500 <sketch_shape_selector id="ConstraintEntityB"
1501 label="Second object" tooltip="Select edge" shape_types="edge">
1502 <validator id="SketchPlugin_EqualAttr" parameters="ConstraintEntityA"/>
1503 <validator id="PartSet_DifferentObjects"/>
1504 <validator id="SketchPlugin_ExternalValidator" parameters="ConstraintEntityA"/>
1505 </sketch_shape_selector>
1506 <validator id="PartSet_EqualSelection"/>
1509 <!-- SketchConstraintCollinear -->
1510 <feature id="SketchConstraintCollinear" title="Collinear" tooltip="Create constraint defining collinearity of two lines"
1511 icon="icons/Sketch/collinear.png"
1512 helpfile="collinearFeature.html">
1513 <sketch_shape_selector id="ConstraintEntityA"
1514 label="First line" tooltip="Select a line" shape_types="edge">
1515 <validator id="GeomValidators_ShapeType" parameters="line"/>
1516 <validator id="PartSet_DifferentObjects"/>
1517 </sketch_shape_selector>
1519 <sketch_shape_selector id="ConstraintEntityB"
1520 label="Second line" tooltip="Select a line" shape_types="edge">
1521 <validator id="GeomValidators_ShapeType" parameters="line"/>
1522 <validator id="PartSet_DifferentObjects"/>
1523 </sketch_shape_selector>
1524 <validator id="PartSet_CollinearSelection"/>