X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPrimitivesPlugin%2Fdoc%2FsphereFeature.rst;h=d7e1067a308e38404733190a213504ab7ccc4b94;hb=bcd96990e1fca77402d522bc8b095ebfa1091894;hp=cb731b3c2430ab34cedab56fa7e64c6f6e63f115;hpb=1e2eaa713f139d2617c80eba9ede62d4e9976bb7;p=modules%2Fshaper.git diff --git a/src/PrimitivesPlugin/doc/sphereFeature.rst b/src/PrimitivesPlugin/doc/sphereFeature.rst index cb731b3c2..d7e1067a3 100644 --- a/src/PrimitivesPlugin/doc/sphereFeature.rst +++ b/src/PrimitivesPlugin/doc/sphereFeature.rst @@ -2,9 +2,45 @@ Sphere ====== +Sphere feature creates a sphere solid. + +To create a Sphere in the active part: + +#. select in the Main Menu *Primitives - > Sphere* item or +#. click **Sphere** button in the toolbar + +.. image:: images/Sphere_button.png + :align: center + +.. centered:: + **Sphere** button + +The following property panel appears. .. image:: images/Sphere.png :align: center .. centered:: - Create a sphere + Sphere property panel + +Input fields: + +- **Point** defines the center of the sphere selected in 3D OCC viewer or object browser; +- **Radius** defines the radius. + +**TUI Command**: *model.addSphere(Part_doc, Point, Radius)*. + +**Arguments**: Part + 1 vertex + 1 real value (radius). + +Result +"""""" + +An example is shown below. + +.. image:: images/Sphere_res.png + :align: center + +.. centered:: + Sphere created + +**See Also** a sample TUI Script of :ref:`tui_create_sphere` operation.