Salome HOME
Sketch's arcs and circles were added. Constraints for parallel/perpendicular lines...
[modules/shaper.git] / src / SketchPlugin / plugin-Sketch.xml
index 489bf53e63972674f8dd8ee6996a7a8c623496fa..ca3ced4778a3cff67d1d3ab51b8ce15a5004f59f 100644 (file)
@@ -1,14 +1,28 @@
 <plugin>
   <workbench id="Sketch">
     <group id="Basic">
-      <feature id="Sketch" text="New sketch" tooltip="Create a new sketch or edit an existing sketch" icon=":icons/sketch.png">
-        <label text="Select a plane on which to create a sketch" tooltip="Select a plane on which to create a sketch"/> 
+      <feature id="Sketch" nested="SketchLine" title="New sketch" tooltip="Create a new sketch or edit an existing sketch" icon=":icons/sketch.png">
+        <label title="Select a plane on which to create a sketch" tooltip="Select a plane on which to create a sketch"/> 
       <!--icon=":pictures/x_point.png"-->
       </feature>
-      <feature id="SketchLine" text="Line" tooltip="Create a new line" icon=":icons/line.png">
+      <feature id="SketchPoint" title="Point" tooltip="Create a new point" icon=":icons/point.png" internal="1"/>
+      <feature id="SketchLine" title="Line" tooltip="Create a new line" icon=":icons/line.png">
         <point_selector id="StartPoint" title="Start point" tooltip="Start point of the line"/>
         <point_selector id="EndPoint" title="End point" tooltip="End point of the line"/>
       </feature>
+      <feature id="SketchCircle" title="Circle" tooltip="Create a new circle" icon="" internal="1">
+        <point_selector id="CircleCenter" title="Center" tooltip="Center of the circle"/>
+      </feature>
+      <feature id="SketchArc" title="Arc" tooltip="Create a new arc of a circle" icon="" internal="1">
+        <point_selector id="ArcCenter" title="Center" tooltip="Center of the arc"/>
+        <point_selector id="ArcStartPoint" title="Start point" tooltip="Start point of the arc"/>
+        <point_selector id="ArcEndPoint" title="End point" tooltip="End point of the arc"/>
+      </feature>
+      <feature id="SketchConstraintCoincidence" title="Points coincidence" tooltip="Create constraint for the coincidence of two points" internal="1"/>
+      <feature id="SketchConstraintDistance" title="Distance between objects" tooltip="Create constraint for the distance from a point to an object" internal="1"/>
+      <feature id="SketchConstraintDiameter" title="Diameter of a circle" tooltip="Create constraint for the given diameter of a circle" internal="1"/>
+      <feature id="SketchConstraintParallel" title="Parallelism of a lines" tooltip="Create constraint defining two parallel lines" internal="1"/>
+      <feature id="SketchConstraintPerpendicular" title="Orthgonality of a lines" tooltip="Create constraint defining two perpendicular lines" internal="1"/>
     </group>
   </workbench>
 </plugin>