Back to index

salome-smesh  6.5.0
Variables
SMESH_Sphere Namespace Reference

Variables

int Radius = 100
int Dist = 2
float Factor = 2.5
int Angle90 = 2
int NbSeg = 10
list PointsList = []
list ShapesList = []
tuple P0 = MakeVertex(0., 0., 0.)
tuple P1 = MakeVertex(-Dist, -Dist, -Dist)
tuple P2 = MakeVertex(-Dist, -Dist, Dist)
tuple P3 = MakeVertex(-Dist, Dist, Dist)
tuple P4 = MakeVertex(-Dist, Dist, -Dist)
tuple VZ = MakeVectorDXDYDZ(0., 0., 1.)
tuple PolyLine = MakePolyline(PointsList)
tuple Face1 = MakeFace(PolyLine, 1)
tuple Face2 = MakeScaleTransform(Face1, P0, Factor)
tuple Face3 = MakeScaleTransform(Face1, P0, -1.)
tuple Sphere = MakeSphereR(Radius)
tuple Block = MakeHexa2Faces(Face1, Face2)
tuple Cube = MakeHexa2Faces(Face1, Face3)
tuple Common1 = MakeBoolean(Sphere, Block, 1)
tuple Common2 = MakeRotation(Common1, VZ, Angle90)
tuple MultiBlock1 = MakeMultiTransformation1D(Common1, 20, -1, 3)
tuple MultiBlock2 = MakeMultiTransformation1D(Common2, 30, -1, 3)
tuple Compound = MakeCompound(ShapesList)
tuple Result = MakeGlueFaces(Compound, 0.1)
tuple Id_Sphere = addToStudy(Sphere, "Sphere")
tuple Id_Cube = addToStudy(Cube, "Cube")
tuple Id_Common1 = addToStudy(Common1, "Common1")
tuple Id_Common2 = addToStudy(Common2, "Common2")
tuple Id_MultiBlock1 = addToStudy(MultiBlock1, "MultiBlock1")
tuple Id_MultiBlock2 = addToStudy(MultiBlock2, "MultiBlock2")
tuple Id_Result = addToStudy(Result, "Result")
tuple my_hexa = smesh.Mesh(Result, "Sphere_Mesh")
tuple algo = my_hexa.Segment()

Variable Documentation

tuple SMESH_Sphere.algo = my_hexa.Segment()

Definition at line 109 of file SMESH_Sphere.py.

Definition at line 45 of file SMESH_Sphere.py.

tuple SMESH_Sphere.Block = MakeHexa2Faces(Face1, Face2)

Definition at line 76 of file SMESH_Sphere.py.

tuple SMESH_Sphere.Common1 = MakeBoolean(Sphere, Block, 1)

Definition at line 79 of file SMESH_Sphere.py.

tuple SMESH_Sphere.Common2 = MakeRotation(Common1, VZ, Angle90)

Definition at line 80 of file SMESH_Sphere.py.

tuple SMESH_Sphere.Compound = MakeCompound(ShapesList)

Definition at line 89 of file SMESH_Sphere.py.

tuple SMESH_Sphere.Cube = MakeHexa2Faces(Face1, Face3)

Definition at line 77 of file SMESH_Sphere.py.

Definition at line 43 of file SMESH_Sphere.py.

tuple SMESH_Sphere.Face1 = MakeFace(PolyLine, 1)

Definition at line 69 of file SMESH_Sphere.py.

tuple SMESH_Sphere.Face2 = MakeScaleTransform(Face1, P0, Factor)

Definition at line 70 of file SMESH_Sphere.py.

tuple SMESH_Sphere.Face3 = MakeScaleTransform(Face1, P0, -1.)

Definition at line 71 of file SMESH_Sphere.py.

float SMESH_Sphere.Factor = 2.5

Definition at line 44 of file SMESH_Sphere.py.

tuple SMESH_Sphere.Id_Common1 = addToStudy(Common1, "Common1")

Definition at line 97 of file SMESH_Sphere.py.

tuple SMESH_Sphere.Id_Common2 = addToStudy(Common2, "Common2")

Definition at line 98 of file SMESH_Sphere.py.

tuple SMESH_Sphere.Id_Cube = addToStudy(Cube, "Cube")

Definition at line 95 of file SMESH_Sphere.py.

tuple SMESH_Sphere.Id_MultiBlock1 = addToStudy(MultiBlock1, "MultiBlock1")

Definition at line 100 of file SMESH_Sphere.py.

tuple SMESH_Sphere.Id_MultiBlock2 = addToStudy(MultiBlock2, "MultiBlock2")

Definition at line 101 of file SMESH_Sphere.py.

tuple SMESH_Sphere.Id_Result = addToStudy(Result, "Result")

Definition at line 103 of file SMESH_Sphere.py.

tuple SMESH_Sphere.Id_Sphere = addToStudy(Sphere, "Sphere")

Definition at line 94 of file SMESH_Sphere.py.

tuple SMESH_Sphere.MultiBlock1 = MakeMultiTransformation1D(Common1, 20, -1, 3)

Definition at line 82 of file SMESH_Sphere.py.

tuple SMESH_Sphere.MultiBlock2 = MakeMultiTransformation1D(Common2, 30, -1, 3)

Definition at line 83 of file SMESH_Sphere.py.

tuple SMESH_Sphere.my_hexa = smesh.Mesh(Result, "Sphere_Mesh")

Definition at line 108 of file SMESH_Sphere.py.

Definition at line 46 of file SMESH_Sphere.py.

tuple SMESH_Sphere.P0 = MakeVertex(0., 0., 0.)

Definition at line 52 of file SMESH_Sphere.py.

tuple SMESH_Sphere.P1 = MakeVertex(-Dist, -Dist, -Dist)

Definition at line 53 of file SMESH_Sphere.py.

tuple SMESH_Sphere.P2 = MakeVertex(-Dist, -Dist, Dist)

Definition at line 54 of file SMESH_Sphere.py.

tuple SMESH_Sphere.P3 = MakeVertex(-Dist, Dist, Dist)

Definition at line 55 of file SMESH_Sphere.py.

tuple SMESH_Sphere.P4 = MakeVertex(-Dist, Dist, -Dist)

Definition at line 56 of file SMESH_Sphere.py.

Definition at line 48 of file SMESH_Sphere.py.

tuple SMESH_Sphere.PolyLine = MakePolyline(PointsList)

Definition at line 67 of file SMESH_Sphere.py.

Definition at line 42 of file SMESH_Sphere.py.

tuple SMESH_Sphere.Result = MakeGlueFaces(Compound, 0.1)

Definition at line 91 of file SMESH_Sphere.py.

Definition at line 49 of file SMESH_Sphere.py.

tuple SMESH_Sphere.Sphere = MakeSphereR(Radius)

Definition at line 74 of file SMESH_Sphere.py.

tuple SMESH_Sphere.VZ = MakeVectorDXDYDZ(0., 0., 1.)

Definition at line 58 of file SMESH_Sphere.py.