Salome HOME
Corrections for the user's manual from the English language point of view
[modules/shaper.git] / src / PrimitivesPlugin / doc / sphereFeature.rst
1
2 Sphere
3 ======
4
5 Sphere feature creates a sphere solid.
6
7 To create a Sphere in the active part:
8
9 #. select in the Main Menu *Primitives - > Sphere* item  or
10 #. click **Sphere** button in the toolbar
11
12 .. image:: images/Sphere_button.png
13    :align: center
14
15 .. centered::
16    **Sphere** button 
17
18 The following property panel appears.
19
20 .. image:: images/Sphere.png
21   :align: center
22
23 .. centered::
24    Sphere property panel
25    
26 Input fields:
27
28 - **Point** defines the center of the sphere selected in 3D OCC  viewer or object browser; 
29 - **Radius** defines the radius.
30   
31 **TUI Command**: *model.addSphere(Part_doc, Point, Radius)*.
32
33 **Arguments**:  Part + 1 vertex + 1 real value (radius).
34
35 Result
36 """"""
37
38 An example is shown below.
39
40 .. image:: images/Sphere_res.png
41            :align: center
42                    
43 .. centered::
44    Sphere created  
45
46 **See Also** a sample TUI Script of :ref:`tui_create_sphere` operation.