]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Add sketch operations help pages.
authormzn <mzn@opencascade.com>
Fri, 14 Sep 2018 15:16:31 +0000 (18:16 +0300)
committermzn <mzn@opencascade.com>
Fri, 14 Sep 2018 15:16:31 +0000 (18:16 +0300)
59 files changed:
src/SketchPlugin/doc/SketchPlugin.rst
src/SketchPlugin/doc/TUI_fillet.rst [new file with mode: 0644]
src/SketchPlugin/doc/TUI_intersection.rst [new file with mode: 0644]
src/SketchPlugin/doc/TUI_mirror.rst [new file with mode: 0644]
src/SketchPlugin/doc/TUI_projection.rst [new file with mode: 0644]
src/SketchPlugin/doc/TUI_rotation.rst [new file with mode: 0644]
src/SketchPlugin/doc/TUI_split.rst [new file with mode: 0644]
src/SketchPlugin/doc/TUI_translation.rst [new file with mode: 0644]
src/SketchPlugin/doc/TUI_trim.rst [new file with mode: 0644]
src/SketchPlugin/doc/examples/fillet.py [new file with mode: 0644]
src/SketchPlugin/doc/examples/intersection.py [new file with mode: 0644]
src/SketchPlugin/doc/examples/mirror.py [new file with mode: 0644]
src/SketchPlugin/doc/examples/projection.py [new file with mode: 0644]
src/SketchPlugin/doc/examples/rotation.py [new file with mode: 0644]
src/SketchPlugin/doc/examples/split.py [new file with mode: 0644]
src/SketchPlugin/doc/examples/translation.py [new file with mode: 0644]
src/SketchPlugin/doc/examples/trim.py [new file with mode: 0644]
src/SketchPlugin/doc/examples/vertical.py
src/SketchPlugin/doc/filletFeature.rst
src/SketchPlugin/doc/images/AngularCopy.png [deleted file]
src/SketchPlugin/doc/images/Fillet.png
src/SketchPlugin/doc/images/Fillet_panel.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Fillet_res.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Intersection.png
src/SketchPlugin/doc/images/Intersection_panel.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Intersection_res.png [new file with mode: 0644]
src/SketchPlugin/doc/images/LinearCopy.png [deleted file]
src/SketchPlugin/doc/images/Linear_panel.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Linear_res.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Mirror.png
src/SketchPlugin/doc/images/Mirror_panel.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Mirror_res.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Projection.png
src/SketchPlugin/doc/images/Projection_panel.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Projection_res.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Rotation_panel.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Rotation_res.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Sketch_underconstrained - Copy.png [deleted file]
src/SketchPlugin/doc/images/Split.png
src/SketchPlugin/doc/images/Split_panel.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Split_res.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Split_segment_sel.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Trim.png
src/SketchPlugin/doc/images/Trim_panel.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Trim_res.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Trim_segment_sel.png [new file with mode: 0644]
src/SketchPlugin/doc/images/angle_up_32x32.png [new file with mode: 0644]
src/SketchPlugin/doc/images/angle_up_full_32x32.png [new file with mode: 0644]
src/SketchPlugin/doc/images/rotate.png [new file with mode: 0644]
src/SketchPlugin/doc/images/translate.png [new file with mode: 0644]
src/SketchPlugin/doc/images/translate_32x32.png [new file with mode: 0644]
src/SketchPlugin/doc/images/translate_full_32x32.png [new file with mode: 0644]
src/SketchPlugin/doc/intersectionFeature.rst
src/SketchPlugin/doc/mirrorFeature.rst
src/SketchPlugin/doc/projectionFeature.rst
src/SketchPlugin/doc/rotationFeature.rst
src/SketchPlugin/doc/splitFeature.rst
src/SketchPlugin/doc/translationFeature.rst
src/SketchPlugin/doc/trimFeature.rst

index 44c20219546170b23fb945c11b499484b6c9b7ac..b4e10c536ca184de1aa48d2605d8eafb150138d8 100644 (file)
@@ -141,14 +141,16 @@ The plug-in includes the following constraints:
 Operations
 ----------
 
+The plug-in includes the following operations:
+
 .. toctree::
    :maxdepth: 1
 
    filletFeature.rst
    splitFeature.rst
    trimFeature.rst
+   projectionFeature.rst
    intersectionFeature.rst
    mirrorFeature.rst
-   projectionFeature.rst
-   rotationFeature.rst
    translationFeature.rst
+   rotationFeature.rst
diff --git a/src/SketchPlugin/doc/TUI_fillet.rst b/src/SketchPlugin/doc/TUI_fillet.rst
new file mode 100644 (file)
index 0000000..a533910
--- /dev/null
@@ -0,0 +1,11 @@
+
+  .. _tui_create_fillet:
+
+Create Fillet
+=============
+
+.. literalinclude:: examples/fillet.py
+    :linenos:
+    :language: python
+
+:download:`Download this script <examples/fillet.py>`
diff --git a/src/SketchPlugin/doc/TUI_intersection.rst b/src/SketchPlugin/doc/TUI_intersection.rst
new file mode 100644 (file)
index 0000000..88ad752
--- /dev/null
@@ -0,0 +1,11 @@
+
+  .. _tui_create_intersection:
+
+Create Intersection
+===================
+
+.. literalinclude:: examples/intersection.py
+    :linenos:
+    :language: python
+
+:download:`Download this script <examples/intersection.py>`
diff --git a/src/SketchPlugin/doc/TUI_mirror.rst b/src/SketchPlugin/doc/TUI_mirror.rst
new file mode 100644 (file)
index 0000000..e1c5042
--- /dev/null
@@ -0,0 +1,11 @@
+
+  .. _tui_create_mirror:
+
+Create Mirror copy
+==================
+
+.. literalinclude:: examples/mirror.py
+    :linenos:
+    :language: python
+
+:download:`Download this script <examples/mirror.py>`
diff --git a/src/SketchPlugin/doc/TUI_projection.rst b/src/SketchPlugin/doc/TUI_projection.rst
new file mode 100644 (file)
index 0000000..6fa3f84
--- /dev/null
@@ -0,0 +1,11 @@
+
+  .. _tui_create_projection:
+
+Create Projection
+=================
+
+.. literalinclude:: examples/projection.py
+    :linenos:
+    :language: python
+
+:download:`Download this script <examples/projection.py>`
diff --git a/src/SketchPlugin/doc/TUI_rotation.rst b/src/SketchPlugin/doc/TUI_rotation.rst
new file mode 100644 (file)
index 0000000..5186a41
--- /dev/null
@@ -0,0 +1,11 @@
+
+  .. _tui_create_rotation:
+
+Create Angular copy
+===================
+
+.. literalinclude:: examples/rotation.py
+    :linenos:
+    :language: python
+
+:download:`Download this script <examples/rotation.py>`
diff --git a/src/SketchPlugin/doc/TUI_split.rst b/src/SketchPlugin/doc/TUI_split.rst
new file mode 100644 (file)
index 0000000..b78f82e
--- /dev/null
@@ -0,0 +1,11 @@
+
+  .. _tui_create_split:
+
+Create Split
+============
+
+.. literalinclude:: examples/split.py
+    :linenos:
+    :language: python
+
+:download:`Download this script <examples/split.py>`
diff --git a/src/SketchPlugin/doc/TUI_translation.rst b/src/SketchPlugin/doc/TUI_translation.rst
new file mode 100644 (file)
index 0000000..7273d3b
--- /dev/null
@@ -0,0 +1,11 @@
+
+  .. _tui_create_translation:
+
+Create Linear copy
+==================
+
+.. literalinclude:: examples/translation.py
+    :linenos:
+    :language: python
+
+:download:`Download this script <examples/translation.py>`
diff --git a/src/SketchPlugin/doc/TUI_trim.rst b/src/SketchPlugin/doc/TUI_trim.rst
new file mode 100644 (file)
index 0000000..90f3552
--- /dev/null
@@ -0,0 +1,11 @@
+
+  .. _tui_create_trim:
+
+Create Trim
+===========
+
+.. literalinclude:: examples/trim.py
+    :linenos:
+    :language: python
+
+:download:`Download this script <examples/trim.py>`
diff --git a/src/SketchPlugin/doc/examples/fillet.py b/src/SketchPlugin/doc/examples/fillet.py
new file mode 100644 (file)
index 0000000..2527561
--- /dev/null
@@ -0,0 +1,15 @@
+# -*- coding: utf-8 -*-
+
+from salome.shaper import model
+
+model.begin()
+partSet = model.moduleDocument()
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
+SketchLine_1 = Sketch_1.addLine(7, 46, 63, 20)
+SketchLine_2 = Sketch_1.addLine(63, 20, 55, 85)
+SketchConstraintCoincidence_1 = Sketch_1.setCoincident(SketchLine_1.endPoint(), SketchLine_2.startPoint())
+Fillet_1 = Sketch_1.setFillet(SketchLine_1.endPoint())
+model.do()
+model.end()
diff --git a/src/SketchPlugin/doc/examples/intersection.py b/src/SketchPlugin/doc/examples/intersection.py
new file mode 100644 (file)
index 0000000..1ce5843
--- /dev/null
@@ -0,0 +1,18 @@
+# -*- coding: utf-8 -*-
+
+from salome.shaper import model
+
+model.begin()
+partSet = model.moduleDocument()
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+
+Point_2 = model.addPoint(Part_1_doc, 10, 10, -10)
+Point_3 = model.addPoint(Part_1_doc, 70, 70, 50)
+Polyline_1 = model.addPolyline3D(Part_1_doc, [model.selection("VERTEX", "Point_1"), model.selection("VERTEX", "Point_2")], False)
+
+Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
+SketchIntersectionPoint_1 = Sketch_1.addIntersectionPoint(model.selection("EDGE", "Polyline_1_1/Edge_1"), True)
+
+model.do()
+model.end()
diff --git a/src/SketchPlugin/doc/examples/mirror.py b/src/SketchPlugin/doc/examples/mirror.py
new file mode 100644 (file)
index 0000000..a5d8c19
--- /dev/null
@@ -0,0 +1,17 @@
+# -*- coding: utf-8 -*-
+
+from salome.shaper import model
+
+model.begin()
+partSet = model.moduleDocument()
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+
+Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
+SketchCircle_1 = Sketch_1.addCircle(25, 25, 11)
+SketchLine_1 = Sketch_1.addLine(9, 78, 78, 9)
+
+SketchConstraintMirror_1 = Sketch_1.addMirror(SketchLine_1.result(), [SketchCircle_1.results()[1]])
+
+model.do()
+model.end()
\ No newline at end of file
diff --git a/src/SketchPlugin/doc/examples/projection.py b/src/SketchPlugin/doc/examples/projection.py
new file mode 100644 (file)
index 0000000..3b485c0
--- /dev/null
@@ -0,0 +1,18 @@
+# -*- coding: utf-8 -*-
+
+from salome.shaper import model
+
+model.begin()
+partSet = model.moduleDocument()
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+
+Point_2 = model.addPoint(Part_1_doc, 10, 10, -10)
+Point_3 = model.addPoint(Part_1_doc, 70, 70, 50)
+Polyline_1 = model.addPolyline3D(Part_1_doc, [model.selection("VERTEX", "Point_1"), model.selection("VERTEX", "Point_2")], False)
+
+Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
+SketchIntersectionPoint_1 = Sketch_1.addProjection(model.selection("EDGE", "Polyline_1_1/Edge_1"), True)
+
+model.do()
+model.end()
diff --git a/src/SketchPlugin/doc/examples/rotation.py b/src/SketchPlugin/doc/examples/rotation.py
new file mode 100644 (file)
index 0000000..88210d0
--- /dev/null
@@ -0,0 +1,18 @@
+# -*- coding: utf-8 -*-
+
+from salome.shaper import model
+
+model.begin()
+partSet = model.moduleDocument()
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+
+Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
+SketchPoint_1 = Sketch_1.addPoint(45, 45)
+SketchCircle_1 = Sketch_1.addCircle(35, 25, 8)
+
+SketchMultiRotation_1 = Sketch_1.addRotation([SketchCircle_1.results()[1]], SketchPoint_1.coordinates(), 270, 4, True)
+[SketchCircle_2, SketchCircle_3, SketchCircle_4] = SketchMultiRotation_1.rotated()
+
+model.do()
+model.end()
diff --git a/src/SketchPlugin/doc/examples/split.py b/src/SketchPlugin/doc/examples/split.py
new file mode 100644 (file)
index 0000000..78c9dda
--- /dev/null
@@ -0,0 +1,25 @@
+# -*- coding: utf-8 -*-
+
+from salome.shaper import model
+from salome.shaper import geom
+
+model.begin()
+partSet = model.moduleDocument()
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
+
+SketchCircle_1 = Sketch_1.addCircle(44, 44, 29)
+
+SketchPoint_1 = Sketch_1.addPoint(15, 44)
+SketchConstraintCoincidence_1 = Sketch_1.setCoincident(SketchPoint_1.coordinates(), SketchCircle_1.results()[1])
+SketchPoint_2 = Sketch_1.addPoint(44, 73)
+SketchConstraintCoincidence_2 = Sketch_1.setCoincident(SketchPoint_2.coordinates(), SketchCircle_1.results()[1])
+SketchPoint_3 = Sketch_1.addPoint(64, 23)
+SketchConstraintCoincidence_3 = Sketch_1.setCoincident(SketchPoint_3.coordinates(), SketchCircle_1.results()[1])
+
+GeomPoint = geom.Pnt2d(22, 65)
+Sketch_1.addSplit(SketchCircle_1, GeomPoint)
+
+model.do()
+model.end()
diff --git a/src/SketchPlugin/doc/examples/translation.py b/src/SketchPlugin/doc/examples/translation.py
new file mode 100644 (file)
index 0000000..f5b1497
--- /dev/null
@@ -0,0 +1,19 @@
+# -*- coding: utf-8 -*-
+
+from salome.shaper import model
+
+model.begin()
+partSet = model.moduleDocument()
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+
+Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
+SketchCircle_1 = Sketch_1.addCircle(12, 12, 6.5)
+SketchPoint_1 = Sketch_1.addPoint(13, 50)
+SketchPoint_2 = Sketch_1.addPoint(30, 70)
+
+SketchMultiTranslation_1 = Sketch_1.addTranslation([SketchCircle_1.results()[1]], SketchPoint_1.coordinates(), SketchPoint_2.coordinates(), 4)
+[SketchCircle_2, SketchCircle_3, SketchCircle_4] = SketchMultiTranslation_1.translated()
+
+model.do()
+model.end()
\ No newline at end of file
diff --git a/src/SketchPlugin/doc/examples/trim.py b/src/SketchPlugin/doc/examples/trim.py
new file mode 100644 (file)
index 0000000..a3ba96b
--- /dev/null
@@ -0,0 +1,23 @@
+# -*- coding: utf-8 -*-
+
+from salome.shaper import model
+from salome.shaper import geom
+
+model.begin()
+partSet = model.moduleDocument()
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
+
+SketchCircle_1 = Sketch_1.addCircle(40, 45, 30)
+
+SketchPoint_1 = Sketch_1.addPoint(20, 70)
+SketchConstraintCoincidence_1 = Sketch_1.setCoincident(SketchPoint_1.coordinates(), SketchCircle_1.results()[1])
+
+SketchLine_1 = Sketch_1.addLine(17, 7, 80, 70)
+
+GeomPoint = geom.Pnt2d(47, 75)
+Sketch_1.addTrim(SketchCircle_1, GeomPoint)
+
+model.do()
+model.end()
index 70038dc8de566e5607206d20575056c32aba4910..e54a6d4c5ee9fc8446d368783db5403fdb90093f 100644 (file)
@@ -10,4 +10,4 @@ Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
 SketchLine_1 = Sketch_1.addLine(15.5, 14.5, 71.0, 62.8)
 SketchConstraintVertical_1 = Sketch_1.setVertical(SketchLine_1.result())
 model.do()
-model.end()
+model.end()
\ No newline at end of file
index ea7850060489d2e1add25b77933058e697eb11b7..313406530828620f9480e16a5e82d556eef77bf6 100644 (file)
@@ -2,9 +2,53 @@
 Fillet
 ======
 
+| The Fillet operation rounds the corner formed by intersection of two sketch elements in a coincident point.
+| The operation trims the elements at the intersection and creates a tangent arc between them.
 
-.. image:: images/Fillet.png
+To create Fillet in the active Sketch:
+
+#. select in the Main Menu *Sketch - > Fillet* item  or
+#. click **Fillet** button in Sketch toolbar:
+
+.. image:: images/fillet.png
+   :align: center
+
+.. centered::
+   **Fillet**  button
+
+Property panel:
+
+.. image:: images/Fillet_panel.png
   :align: center
 
 .. centered::
-  Create a fillet
+   Fillet
+
+Input fields:
+
+- **Point** is the coincident point of two intersecting lines (or a line and an arc) selected in the view.
+
+After the point is selected Fillet preview appears in the view.
+
+**TUI Command**:
+
+- *Sketch_1.setFillet(Point)*
+
+  **Arguments**: coincident point
+
+- *Sketch_1.setFilletWithRadius(Point, Radius)*
+
+  **Arguments**: coincident point and fillet radius
+
+Result
+""""""
+
+Created Fillet appears in the view.
+
+.. image:: images/Fillet_res.png
+          :align: center
+
+.. centered::
+   Fillet created
+
+**See Also** a sample TUI Script of a :ref:`tui_create_fillet` operation.
\ No newline at end of file
diff --git a/src/SketchPlugin/doc/images/AngularCopy.png b/src/SketchPlugin/doc/images/AngularCopy.png
deleted file mode 100644 (file)
index 8796314..0000000
Binary files a/src/SketchPlugin/doc/images/AngularCopy.png and /dev/null differ
index 8abbb81401aa1f0c3dbbf08cd7f6ae2394ccd08d..05e9b2abd1765659360ecdea1d5a61071bcc7200 100644 (file)
Binary files a/src/SketchPlugin/doc/images/Fillet.png and b/src/SketchPlugin/doc/images/Fillet.png differ
diff --git a/src/SketchPlugin/doc/images/Fillet_panel.png b/src/SketchPlugin/doc/images/Fillet_panel.png
new file mode 100644 (file)
index 0000000..866b314
Binary files /dev/null and b/src/SketchPlugin/doc/images/Fillet_panel.png differ
diff --git a/src/SketchPlugin/doc/images/Fillet_res.png b/src/SketchPlugin/doc/images/Fillet_res.png
new file mode 100644 (file)
index 0000000..82933a8
Binary files /dev/null and b/src/SketchPlugin/doc/images/Fillet_res.png differ
index 9382871e12a875b10d24957eb0b7614d712bab07..5dc34484f39f873049bd86c181eb4f17fa7efe14 100644 (file)
Binary files a/src/SketchPlugin/doc/images/Intersection.png and b/src/SketchPlugin/doc/images/Intersection.png differ
diff --git a/src/SketchPlugin/doc/images/Intersection_panel.png b/src/SketchPlugin/doc/images/Intersection_panel.png
new file mode 100644 (file)
index 0000000..6819892
Binary files /dev/null and b/src/SketchPlugin/doc/images/Intersection_panel.png differ
diff --git a/src/SketchPlugin/doc/images/Intersection_res.png b/src/SketchPlugin/doc/images/Intersection_res.png
new file mode 100644 (file)
index 0000000..b63473d
Binary files /dev/null and b/src/SketchPlugin/doc/images/Intersection_res.png differ
diff --git a/src/SketchPlugin/doc/images/LinearCopy.png b/src/SketchPlugin/doc/images/LinearCopy.png
deleted file mode 100644 (file)
index d92cd64..0000000
Binary files a/src/SketchPlugin/doc/images/LinearCopy.png and /dev/null differ
diff --git a/src/SketchPlugin/doc/images/Linear_panel.png b/src/SketchPlugin/doc/images/Linear_panel.png
new file mode 100644 (file)
index 0000000..e123452
Binary files /dev/null and b/src/SketchPlugin/doc/images/Linear_panel.png differ
diff --git a/src/SketchPlugin/doc/images/Linear_res.png b/src/SketchPlugin/doc/images/Linear_res.png
new file mode 100644 (file)
index 0000000..38b7f30
Binary files /dev/null and b/src/SketchPlugin/doc/images/Linear_res.png differ
index a74beaa168227eab709018c8377e0d4bb11a9875..01c7ef4f6ea9ad5396d8d1d82d5f176c91fcef5d 100644 (file)
Binary files a/src/SketchPlugin/doc/images/Mirror.png and b/src/SketchPlugin/doc/images/Mirror.png differ
diff --git a/src/SketchPlugin/doc/images/Mirror_panel.png b/src/SketchPlugin/doc/images/Mirror_panel.png
new file mode 100644 (file)
index 0000000..6324825
Binary files /dev/null and b/src/SketchPlugin/doc/images/Mirror_panel.png differ
diff --git a/src/SketchPlugin/doc/images/Mirror_res.png b/src/SketchPlugin/doc/images/Mirror_res.png
new file mode 100644 (file)
index 0000000..5304353
Binary files /dev/null and b/src/SketchPlugin/doc/images/Mirror_res.png differ
index 403cc74fcd1b4026daa715d7d5b9d0bfd72b39c8..aa59f69640da24ba88f30989d8c5edb782999531 100644 (file)
Binary files a/src/SketchPlugin/doc/images/Projection.png and b/src/SketchPlugin/doc/images/Projection.png differ
diff --git a/src/SketchPlugin/doc/images/Projection_panel.png b/src/SketchPlugin/doc/images/Projection_panel.png
new file mode 100644 (file)
index 0000000..349ad73
Binary files /dev/null and b/src/SketchPlugin/doc/images/Projection_panel.png differ
diff --git a/src/SketchPlugin/doc/images/Projection_res.png b/src/SketchPlugin/doc/images/Projection_res.png
new file mode 100644 (file)
index 0000000..07e63b9
Binary files /dev/null and b/src/SketchPlugin/doc/images/Projection_res.png differ
diff --git a/src/SketchPlugin/doc/images/Rotation_panel.png b/src/SketchPlugin/doc/images/Rotation_panel.png
new file mode 100644 (file)
index 0000000..aa279e1
Binary files /dev/null and b/src/SketchPlugin/doc/images/Rotation_panel.png differ
diff --git a/src/SketchPlugin/doc/images/Rotation_res.png b/src/SketchPlugin/doc/images/Rotation_res.png
new file mode 100644 (file)
index 0000000..17cfbd2
Binary files /dev/null and b/src/SketchPlugin/doc/images/Rotation_res.png differ
diff --git a/src/SketchPlugin/doc/images/Sketch_underconstrained - Copy.png b/src/SketchPlugin/doc/images/Sketch_underconstrained - Copy.png
deleted file mode 100644 (file)
index 852396f..0000000
Binary files a/src/SketchPlugin/doc/images/Sketch_underconstrained - Copy.png and /dev/null differ
index 871ce3b4c77c7a2e598f2fa2a78a9a2939b0e827..f3f3ff486e4cfc7a83bdebf8404a681db2682f18 100644 (file)
Binary files a/src/SketchPlugin/doc/images/Split.png and b/src/SketchPlugin/doc/images/Split.png differ
diff --git a/src/SketchPlugin/doc/images/Split_panel.png b/src/SketchPlugin/doc/images/Split_panel.png
new file mode 100644 (file)
index 0000000..a941fe3
Binary files /dev/null and b/src/SketchPlugin/doc/images/Split_panel.png differ
diff --git a/src/SketchPlugin/doc/images/Split_res.png b/src/SketchPlugin/doc/images/Split_res.png
new file mode 100644 (file)
index 0000000..4032cb2
Binary files /dev/null and b/src/SketchPlugin/doc/images/Split_res.png differ
diff --git a/src/SketchPlugin/doc/images/Split_segment_sel.png b/src/SketchPlugin/doc/images/Split_segment_sel.png
new file mode 100644 (file)
index 0000000..2e8f33a
Binary files /dev/null and b/src/SketchPlugin/doc/images/Split_segment_sel.png differ
index ac76466666b6f54a824904177f312f52b63b375a..9a5a2592e8e9d03893cb028b219a100dd344fe37 100644 (file)
Binary files a/src/SketchPlugin/doc/images/Trim.png and b/src/SketchPlugin/doc/images/Trim.png differ
diff --git a/src/SketchPlugin/doc/images/Trim_panel.png b/src/SketchPlugin/doc/images/Trim_panel.png
new file mode 100644 (file)
index 0000000..a356ab4
Binary files /dev/null and b/src/SketchPlugin/doc/images/Trim_panel.png differ
diff --git a/src/SketchPlugin/doc/images/Trim_res.png b/src/SketchPlugin/doc/images/Trim_res.png
new file mode 100644 (file)
index 0000000..a36a0d1
Binary files /dev/null and b/src/SketchPlugin/doc/images/Trim_res.png differ
diff --git a/src/SketchPlugin/doc/images/Trim_segment_sel.png b/src/SketchPlugin/doc/images/Trim_segment_sel.png
new file mode 100644 (file)
index 0000000..7cec3d2
Binary files /dev/null and b/src/SketchPlugin/doc/images/Trim_segment_sel.png differ
diff --git a/src/SketchPlugin/doc/images/angle_up_32x32.png b/src/SketchPlugin/doc/images/angle_up_32x32.png
new file mode 100644 (file)
index 0000000..b8194b8
Binary files /dev/null and b/src/SketchPlugin/doc/images/angle_up_32x32.png differ
diff --git a/src/SketchPlugin/doc/images/angle_up_full_32x32.png b/src/SketchPlugin/doc/images/angle_up_full_32x32.png
new file mode 100644 (file)
index 0000000..3fc714c
Binary files /dev/null and b/src/SketchPlugin/doc/images/angle_up_full_32x32.png differ
diff --git a/src/SketchPlugin/doc/images/rotate.png b/src/SketchPlugin/doc/images/rotate.png
new file mode 100644 (file)
index 0000000..fd51d76
Binary files /dev/null and b/src/SketchPlugin/doc/images/rotate.png differ
diff --git a/src/SketchPlugin/doc/images/translate.png b/src/SketchPlugin/doc/images/translate.png
new file mode 100644 (file)
index 0000000..5ecdb51
Binary files /dev/null and b/src/SketchPlugin/doc/images/translate.png differ
diff --git a/src/SketchPlugin/doc/images/translate_32x32.png b/src/SketchPlugin/doc/images/translate_32x32.png
new file mode 100644 (file)
index 0000000..20391da
Binary files /dev/null and b/src/SketchPlugin/doc/images/translate_32x32.png differ
diff --git a/src/SketchPlugin/doc/images/translate_full_32x32.png b/src/SketchPlugin/doc/images/translate_full_32x32.png
new file mode 100644 (file)
index 0000000..1fd53d9
Binary files /dev/null and b/src/SketchPlugin/doc/images/translate_full_32x32.png differ
index f0998acaff04c2caffb2af4d270f1183defb1225..0a648d095ef082cedf085ba7fe5890e2d0a3588c 100644 (file)
@@ -2,9 +2,52 @@
 Intersection
 ============
 
+| The Intersection operation creates intersection of a 3D edge and the sketch plane.
+| The result of intersection is a point.
 
-.. image:: images/Intersection.png
+To create Intersection in the active Sketch:
+
+#. select in the Main Menu *Sketch - > Intersection* item  or
+#. click **Intersection** button in Sketch toolbar:
+
+.. image:: images/intersection.png
+   :align: center
+
+.. centered::
+   **Intersection**  button
+
+Property panel:
+
+.. image:: images/Intersection_panel.png
   :align: center
 
 .. centered::
-  Create an intersection
+   Intersection
+
+Input fields:
+
+- **Object** is the 3D edge to intersect with the sketch plane.
+- **Include into the sketch result** option defines whether to include the intersection point into the sketch result.
+
+**TUI Command**:
+
+- *Sketch_1.addIntersectionPoint(Edge, IncludeIntoResult)*
+
+  **Arguments**: Edge and include into the result flag
+
+- *Sketch_1.addIntersectionPoint(EdgeName, IncludeIntoResult)*
+
+  **Arguments**: Edge name and include into the result flag
+
+Result
+""""""
+
+Created Intersection appears in the view.
+
+.. image:: images/Intersection_res.png
+          :align: center
+
+.. centered::
+   Intersection created (purple point)
+
+**See Also** a sample TUI Script of a :ref:`tui_create_intersection` operation.
index 5910ebaf7342d7ff084069a0d65768581f021536..cf577cf7e09135315023c28b24fb93c6046f465a 100644 (file)
@@ -1,10 +1,49 @@
 
-Mirror
-======
+Mirror copy
+===========
 
+Mirror copy operation mirrors sketch entities across a line.
 
-.. image:: images/Mirror.png
+To create Mirror copy in the active Sketch:
+
+#. select in the Main Menu *Sketch - > Mirror copy* item  or
+#. click **Mirror copy** button in Sketch toolbar:
+
+.. image:: images/mirror.png
+   :align: center
+
+.. centered::
+   **Mirror copy**  button
+
+Property panel:
+
+.. image:: images/Mirror_panel.png
   :align: center
 
 .. centered::
-  Create a mirror
+   Mirror copy
+
+Input fields:
+
+- **Mirror line** is the mirror line selected in the view.
+- **Segments** is the list of segments (lines, circles, arcs) selected in the view.
+
+**TUI Command**: *Sketch_1.addMirror(MirrorLine, Objects)*
+
+**Arguments**:   Mirror line and a list of objects
+
+Result
+""""""
+
+Created Mirror copy appears in the view.
+
+| The original and a mirror copy objects are marked with the special sign.
+| Copy object is drawn with a thinner line.
+
+.. image:: images/Mirror_res.png
+          :align: center
+
+.. centered::
+   Mirror copy created
+
+**See Also** a sample TUI Script of a :ref:`tui_create_mirror` operation.
\ No newline at end of file
index 27f83721ecb8a36222f4f0b5a0b851303b30d25c..03d281ae6e47d86a58f56df45b48f0d1c654d0b3 100644 (file)
@@ -2,9 +2,52 @@
 Projection
 ==========
 
+| The Projection operation creates projection of 3D edge or vertex onto the sketch plane.
+| The result of projection is a line.
 
-.. image:: images/Projection.png
+To create Projection in the active Sketch:
+
+#. select in the Main Menu *Sketch - > Projection* item  or
+#. click **Projection** button in Sketch toolbar:
+
+.. image:: images/projection.png
+   :align: center
+
+.. centered::
+   **Projection**  button
+
+Property panel:
+
+.. image:: images/Projection_panel.png
   :align: center
 
 .. centered::
-  Create a projection
+   Projection
+
+Input fields:
+
+- **Object** is the 3D object (edge or vertex) to project onto the sketch plane.
+- **Include into the sketch result** option defines whether to include the projection line into the sketch result.
+
+**TUI Command**:
+
+- *Sketch_1.addProjection(EdgeOrVertex, IncludeIntoResult)*
+
+  **Arguments**: edge or vertex and include into the result flag
+
+- *Sketch_1.addProjection(EdgeOrVertexName, IncludeIntoResult)*
+
+  **Arguments**: edge or vertex name and include into the result flag
+
+Result
+""""""
+
+Created Projection appears in the view.
+
+.. image:: images/Projection_res.png
+          :align: center
+
+.. centered::
+   Projection created (purple line)
+
+**See Also** a sample TUI Script of a :ref:`tui_create_projection` operation.
\ No newline at end of file
index db5b219dbeff5f8ce5ee6d3e1b2e058a2a9cefa3..592417d0403f562e57476db0c9e1812a17cebb9c 100644 (file)
@@ -2,9 +2,62 @@
 Angular copy
 ============
 
+Angular copy operation creates one or multiple copies of the skecth entities by rotation relative to a specified center point.
 
-.. image:: images/AngularCopy.png
+To create Angular copy in the active Sketch:
+
+#. select in the Main Menu *Sketch - > Angular copy* item  or
+#. click **Angular copy** button in Sketch toolbar:
+
+.. image:: images/rotate.png
+   :align: center
+
+.. centered::
+   **Angular copy**  button
+
+Property panel:
+
+.. image:: images/Rotation_panel.png
   :align: center
 
 .. centered::
-  Create an angular copy
+   Angular copy
+
+Input fields:
+
+- **Segments** is the list of segments (lines, circles, arcs) selected in the view.
+- **Center of rotation** is the center point selected in the view.
+- **Full angle/Single angle** option:
+
+  .. image:: images/angle_up_full_32x32.png
+     :align: left
+  **Full angle**: angle step of rotation is equal to the defined angle divided by the number of copies (total number minus one).
+
+  .. image:: images/angle_up_full_32x32.png
+     :align: left
+  **Single angle**: angle step of rotation is equal to the defined angle.
+
+- **Angle** is the angle of rotation.
+- **Reversed** defines rotation direction. If checked - in clockwise direction, otherwise - in a counterclockwise direction.
+- **Total number of objects** is the total number of objects including the original one.
+
+
+**TUI Command**: *Sketch_1.addRotation(Objects, CenterPoint, Angle, NumberOfObjects, FullValue, Reversed)*
+
+**Arguments**:   list of objects + center point + angle + number of objects + full value flag + reversed flag
+
+Result
+""""""
+
+Created Angular copy appears in the view.
+
+| The original and an angular copy objects are marked with the special sign.
+| Copy objects are drawn with a thinner line.
+
+.. image:: images/Rotation_res.png
+          :align: center
+
+.. centered::
+   Angular copy created
+
+**See Also** a sample TUI Script of a :ref:`tui_create_rotation` operation.
index 1f3beaf1ea071c07c230a2f9e8a4c784af4e0018..19680abf0bedba823ee543765160cd80f9e6d4ec 100644 (file)
@@ -2,9 +2,54 @@
 Split
 =====
 
+| The Split operation splits sketch curve into multiple segments.
+| The curve should have points lying on it.
+| Open curves (line or arc) require one or more points to split with; closed curves (circle) require two or more points.
 
-.. image:: images/Split.png
+To create Split in the active Sketch:
+
+#. select in the Main Menu *Sketch - > Split* item  or
+#. click **Split** button in Sketch toolbar:
+
+.. image:: images/split.png
+   :align: center
+
+.. centered::
+   **Split**  button
+
+Property panel:
+
+.. image:: images/Split_panel.png
   :align: center
 
 .. centered::
-  Split a line
+   Split
+
+Input fields:
+
+- **Segment** is used to select a segment to be split off in the view.
+
+The selected segment is highlighted in the view:
+
+.. image:: images/Split_segment_sel.png
+   :align: center
+
+.. centered::
+   The segment to split off
+
+**TUI Command**: *Sketch_1.addSplit(Feature, PositionPoint)*
+
+**Arguments**:   feature (line, arc or circle) and position point (a point on or closest to the segment to split off)
+
+Result
+""""""
+
+Created Split appears in the view.
+
+.. image:: images/Split_res.png
+          :align: center
+
+.. centered::
+   Split created
+
+**See Also** a sample TUI Script of a :ref:`tui_create_split` operation.
\ No newline at end of file
index 90b89ce66dcb07dd53be5404cf4e936b6242a030..6221fd8236aeeb6bf06bbe9c661d2407cef19cd1 100644 (file)
@@ -2,9 +2,60 @@
 Linear copy
 ===========
 
+Linear copy operation creates one or multiple copies of the skecth entities along a vector defined by two points.
 
-.. image:: images/LinearCopy.png
+To create Linear copy in the active Sketch:
+
+#. select in the Main Menu *Sketch - > Linear copy* item  or
+#. click **Linear copy** button in Sketch toolbar:
+
+.. image:: images/translate.png
+   :align: center
+
+.. centered::
+   **Linear copy**  button
+
+Property panel:
+
+.. image:: images/Linear_panel.png
   :align: center
 
 .. centered::
-  Create a linear copy
+   Linear copy
+
+Input fields:
+
+- **Segments** is the list of segments (lines, circles, arcs) selected in the view.
+- **Single value/Full value** option:
+
+  .. image:: images/translate_32x32.png
+     :align: left
+  **Single value**: step of translation is equal to the distance between the start and the end point.
+
+  .. image:: images/translate_full_32x32.png
+     :align: left
+  **Full value**: distance from the originals to the farthest copies is equal to the distance between the start and the end point.
+- **Start point** is the initial point of translation vector.
+- **End point** is the terminal point of translation vector.
+- **Total number of objects** is the total number of objects including the original one.
+
+
+**TUI Command**: *Sketch_1.addTranslation(Objects, Point1, Point2, NumberOfObjects, FullValue)*
+
+**Arguments**:   list of objects + start and end points + number of objects + full value flag
+
+Result
+""""""
+
+Created Linear copy appears in the view.
+
+| The original and a linear copy objects are marked with the special sign.
+| Copy objects are drawn with a thinner line.
+
+.. image:: images/Linear_res.png
+          :align: center
+
+.. centered::
+   Linear copy created
+
+**See Also** a sample TUI Script of a :ref:`tui_create_translation` operation.
index 8ed75213589fd7408755e3772912c62b84f50113..bb08e517abb70c9e8ac7199907f9191d40bd884f 100644 (file)
@@ -2,9 +2,54 @@
 Trim
 ====
 
+| The Trim operation trims away the specified segment of the curve.
+| The curve should have points lying on it or intersections with other curves.
+| Open curves (line or arc) require one or more points; closed curves (circle) require two or more points.
 
-.. image:: images/Trim.png
+To create Trim in the active Sketch:
+
+#. select in the Main Menu *Sketch - > Trim* item  or
+#. click **Trim** button in Sketch toolbar:
+
+.. image:: images/trim.png
+   :align: center
+
+.. centered::
+   **Trim**  button
+
+Property panel:
+
+.. image:: images/Trim_panel.png
   :align: center
 
 .. centered::
-  Trim a line
+   Trim
+
+Input fields:
+
+- **Segment** is used to select a segment to remove in the view.
+
+The selected segment is highlighted in the view:
+
+.. image:: images/Trim_segment_sel.png
+   :align: center
+
+.. centered::
+   The segment to remove
+
+**TUI Command**: *Sketch_1.addTrim(Feature, PositionPoint)*
+
+**Arguments**:   feature (line, arc or circle) and position point (a point on or closest to the segment to remove)
+
+Result
+""""""
+
+Created Trim appears in the view.
+
+.. image:: images/Trim_res.png
+          :align: center
+
+.. centered::
+   Trim created
+
+**See Also** a sample TUI Script of a :ref:`tui_create_trim` operation.