X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2Fdoc%2FtangentFeature.rst;h=b4ca71dd530c098c11d620aebb86768e9f85678a;hb=0fcd69345a4dfdb31e252574c68bc70e123999e8;hp=2ddc42082ce77b32342992cf3135d3839dcbcc13;hpb=c5ec43297b55923e1cf2ee39978bf42d733ee465;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/doc/tangentFeature.rst b/src/SketchPlugin/doc/tangentFeature.rst index 2ddc42082..b4ca71dd5 100644 --- a/src/SketchPlugin/doc/tangentFeature.rst +++ b/src/SketchPlugin/doc/tangentFeature.rst @@ -1,3 +1,46 @@ +.. |tangent.icon| image:: images/tangent.png Tangent constraint ================== + +Tangent constraint fixes a circle (or an arc) and a line so that a line is tangent to a circle (or an arc). + +To create a Tangent in the active Sketch: + +#. select in the Main Menu *Sketch - > Tangent* item or +#. click |tangent.icon| **Tangent** button in Sketch toolbar: + +Property panel: + +.. image:: images/Tangent_panel.png + :align: center + +Input fields: + +- **First object** is a line, a circle or an arc selected in the view. +- **Second object** is a line, a circle or an arc selected in the view. + +Note that one of two objects should be a line. + +After the objects are selected, a special sign will be added close to the tangency point in the view. + +**TUI Command**: + +.. py:function:: Sketch_1.setTangent(Line, CircleOrArc) + + :param object: A line. + :param object: A circle or an arc. + :return: Result object. + +Result +"""""" + +Created Tangent constraint appears in the view. + +.. image:: images/Tangent_res.png + :align: center + +.. centered:: + Created tangent constraint + +**See Also** a sample TUI Script of :ref:`tui_create_tangent` operation.