X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPrimitivesPlugin%2Fdoc%2FsphereFeature.rst;h=d7e1067a308e38404733190a213504ab7ccc4b94;hb=bcd96990e1fca77402d522bc8b095ebfa1091894;hp=4de1f90be43ae6a247d9a9e44a0c7df1f78a8a4f;hpb=547a3952b37fe76f0d4e031a7d8a943ac6a45bb5;p=modules%2Fshaper.git diff --git a/src/PrimitivesPlugin/doc/sphereFeature.rst b/src/PrimitivesPlugin/doc/sphereFeature.rst index 4de1f90be..d7e1067a3 100644 --- a/src/PrimitivesPlugin/doc/sphereFeature.rst +++ b/src/PrimitivesPlugin/doc/sphereFeature.rst @@ -1,3 +1,46 @@ 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:: + 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.