SALOME documentation central

Sphere


To create a Sphere in the Main Menu select New Entity - > Primitives - > Sphere


There are two algorithms for creation of a Sphere.
The Result of each operation will be a GEOM_Object (SOLID).


Firstly, you can define a Sphere by the Center Point and the Radius.
TUI Command: geompy.MakeSphere(Point, Radius)
Arguments: Name + 1 vertex + 1 value (Radius).

sphere1.png


Secondly, you can define a Sphere with the center at the origin of coordinate system by the Radius.
TUI Command: geompy. MakeSphereR(Radius)
Arguments: Name + 1 value (Radius from the origin).

sphere2.png


NB! The is another way to create aSphere, which is currently accessible only via TUI commands.
You can define the Sphere by the coordinates of the Center Point and its Radius (in this way you don't need to create it in advance).
TUI Command: geompy.MakeSphere(X, Y, Z, Radius)

Example:

spheres.png

Spheres

Our TUI Scripts provide you with useful examples of creation of Primitives.


Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS