Back to index

salome-geom  6.5.0
Variables
GEOM_moteur Namespace Reference

Variables

tuple geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
tuple myBuilder = salome.myStudy.NewBuilder()
int PosX = 0
int PosY = 0
int PosZ = 0
int NbBranches = 7
int HauteurT = 70
int Angle1 = 2
int Angle2 = 2
int HauteurR = 3
int Ep = 10
int DExtExt = 6
 DExtInt = DExtExt-Ep
int DIntExt = 3
int DIntInt = 4
tuple EpRot = DIntExt*math.sin(Angle2)
tuple Pos1C = PosX+DIntExt*math.cos(Angle2)
tuple Pos1S = PosY+DIntExt*math.sin(Angle2)
int PosCour = 4
float PosRot = 0.9
tuple BasicOp = geom.GetIBasicOperations(salome.myStudyId)
tuple OO = BasicOp.MakePointXYZ(0, 0, 0)
tuple P0 = BasicOp.MakePointXYZ(0, 0, 1)
tuple P1 = BasicOp.MakePointXYZ(PosX, PosY, PosZ)
tuple P2 = BasicOp.MakePointXYZ(PosX, PosY, PosZ + Ep)
tuple P3 = BasicOp.MakePointXYZ(PosX, PosY, PosCour)
tuple P4 = BasicOp.MakePointXYZ(PosX, PosY, PosCour + Ep)
tuple P5 = BasicOp.MakePointXYZ(PosX, PosY, PosRot)
tuple P6 = BasicOp.MakePointXYZ(Pos1C, Pos1S, PosZ)
tuple P7 = BasicOp.MakePointXYZ(PosX + DExtExt, Pos1S, PosZ)
tuple P8 = BasicOp.MakePointXYZ(Pos1C, Pos1S, PosZ + HauteurT)
tuple V1 = BasicOp.MakeVectorTwoPnt(OO,P0)
tuple V2 = BasicOp.MakeVectorTwoPnt(P1,P2)
tuple V3 = BasicOp.MakeVectorTwoPnt(P6,P8)
tuple C0 = geompy.MakeCylinder(P1, V1, DIntInt, PosCour + Ep - PosZ)
tuple C01 = geompy.MakeCylinder(P1, V1, DIntExt, PosCour + Ep - PosZ)
tuple Cylindre = geompy.MakeBoolean(C01, C0, 2)
tuple B1 = BasicOp.MakeVectorTwoPnt(P6, P7)
tuple B2 = geompy.MakePrismVecH(B1, V1, HauteurT)
tuple S0 = geompy.MakeRevolution(B2, V3, Angle1)
list CoupeList = []
int Ind = 1
tuple S = geompy.MakeRotation(S0, V2, Ind * Angle1)
tuple Coupe1 = geompy.MakeCompound(CoupeList)
tuple C1 = geompy.MakeCylinder(P1, V1, DExtExt, HauteurT)
tuple C2 = geompy.MakeCylinder(P2, V1, DExtInt, HauteurT)
tuple C3 = geompy.MakeBoolean(C1, C2, 2)
tuple C31 = geompy.MakeBoolean(C3, C0, 2)
tuple Couronne1 = geompy.MakeBoolean(C31, Coupe1, 2)
tuple C4 = geompy.MakeCylinder(P3, V1, DExtExt, PosZ + HauteurT - PosCour)
tuple C5 = geompy.MakeCylinder(P4, V1, DExtInt, HauteurT)
tuple Coupe2 = geompy.MakeRotation(Coupe1, V2, Angle2)
tuple C6 = geompy.MakeBoolean(C4, C5, 2)
tuple C61 = geompy.MakeBoolean(C6, C0, 2)
tuple Couronne2 = geompy.MakeBoolean(C61, Coupe2, 2)
tuple C9 = geompy.MakeCylinder(P5, V1, DIntExt, HauteurR)
tuple C10 = geompy.MakeCylinder(P5, V1, DIntExt / 4, 2 * HauteurR)
list Rotor1List = []
tuple Rotor1 = geompy.MakeCompound(Rotor1List)
tuple Id_Rotor1 = geompy.addToStudy(Rotor1, "Rotor1")
tuple D0 = geompy.MakeBox(2 * Pos1C - PosX, -Pos1S + 2 * PosY, PosRot, 2 * Pos1C + EpRot - PosX, Pos1S, PosRot + EpRot / 2)
list Rotor2List = []
tuple R = geompy.MakeRotation(D0, V2, Ind * Angle1)
tuple Rotor2 = geompy.MakeCompound(Rotor2List)
tuple Id_Rotor2 = geompy.addToStudy(Rotor2, "Rotor2")
tuple Rotor3 = geompy.MakeRotation(Rotor2, V2, Angle2)
tuple Id_Rotor3 = geompy.addToStudy(Rotor3, "Rotor3")
list StatorList = []
tuple Stator = geompy.MakeCompound(StatorList)
tuple Id_Stator = geompy.addToStudy(Stator, "Stator")

Variable Documentation

Definition at line 45 of file GEOM_moteur.py.

Definition at line 46 of file GEOM_moteur.py.

tuple GEOM_moteur.B1 = BasicOp.MakeVectorTwoPnt(P6, P7)

Definition at line 84 of file GEOM_moteur.py.

tuple GEOM_moteur.B2 = geompy.MakePrismVecH(B1, V1, HauteurT)

Definition at line 85 of file GEOM_moteur.py.

tuple GEOM_moteur.BasicOp = geom.GetIBasicOperations(salome.myStudyId)

Definition at line 60 of file GEOM_moteur.py.

tuple GEOM_moteur.C0 = geompy.MakeCylinder(P1, V1, DIntInt, PosCour + Ep - PosZ)

Definition at line 78 of file GEOM_moteur.py.

tuple GEOM_moteur.C01 = geompy.MakeCylinder(P1, V1, DIntExt, PosCour + Ep - PosZ)

Definition at line 79 of file GEOM_moteur.py.

tuple GEOM_moteur.C1 = geompy.MakeCylinder(P1, V1, DExtExt, HauteurT)

Definition at line 98 of file GEOM_moteur.py.

tuple GEOM_moteur.C10 = geompy.MakeCylinder(P5, V1, DIntExt / 4, 2 * HauteurR)

Definition at line 116 of file GEOM_moteur.py.

tuple GEOM_moteur.C2 = geompy.MakeCylinder(P2, V1, DExtInt, HauteurT)

Definition at line 99 of file GEOM_moteur.py.

tuple GEOM_moteur.C3 = geompy.MakeBoolean(C1, C2, 2)

Definition at line 100 of file GEOM_moteur.py.

tuple GEOM_moteur.C31 = geompy.MakeBoolean(C3, C0, 2)

Definition at line 101 of file GEOM_moteur.py.

tuple GEOM_moteur.C4 = geompy.MakeCylinder(P3, V1, DExtExt, PosZ + HauteurT - PosCour)

Definition at line 106 of file GEOM_moteur.py.

tuple GEOM_moteur.C5 = geompy.MakeCylinder(P4, V1, DExtInt, HauteurT)

Definition at line 107 of file GEOM_moteur.py.

tuple GEOM_moteur.C6 = geompy.MakeBoolean(C4, C5, 2)

Definition at line 109 of file GEOM_moteur.py.

tuple GEOM_moteur.C61 = geompy.MakeBoolean(C6, C0, 2)

Definition at line 110 of file GEOM_moteur.py.

tuple GEOM_moteur.C9 = geompy.MakeCylinder(P5, V1, DIntExt, HauteurR)

Definition at line 115 of file GEOM_moteur.py.

tuple GEOM_moteur.Coupe1 = geompy.MakeCompound(CoupeList)

Definition at line 94 of file GEOM_moteur.py.

tuple GEOM_moteur.Coupe2 = geompy.MakeRotation(Coupe1, V2, Angle2)

Definition at line 108 of file GEOM_moteur.py.

Definition at line 87 of file GEOM_moteur.py.

tuple GEOM_moteur.Couronne1 = geompy.MakeBoolean(C31, Coupe1, 2)

Definition at line 102 of file GEOM_moteur.py.

tuple GEOM_moteur.Couronne2 = geompy.MakeBoolean(C61, Coupe2, 2)

Definition at line 111 of file GEOM_moteur.py.

tuple GEOM_moteur.Cylindre = geompy.MakeBoolean(C01, C0, 2)

Definition at line 80 of file GEOM_moteur.py.

tuple GEOM_moteur.D0 = geompy.MakeBox(2 * Pos1C - PosX, -Pos1S + 2 * PosY, PosRot, 2 * Pos1C + EpRot - PosX, Pos1S, PosRot + EpRot / 2)

Definition at line 124 of file GEOM_moteur.py.

Definition at line 49 of file GEOM_moteur.py.

Definition at line 50 of file GEOM_moteur.py.

Definition at line 51 of file GEOM_moteur.py.

Definition at line 52 of file GEOM_moteur.py.

int GEOM_moteur.Ep = 10

Definition at line 48 of file GEOM_moteur.py.

tuple GEOM_moteur.EpRot = DIntExt*math.sin(Angle2)

Definition at line 53 of file GEOM_moteur.py.

tuple GEOM_moteur.geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")

Definition at line 34 of file GEOM_moteur.py.

Definition at line 47 of file GEOM_moteur.py.

Definition at line 42 of file GEOM_moteur.py.

tuple GEOM_moteur.Id_Rotor1 = geompy.addToStudy(Rotor1, "Rotor1")

Definition at line 121 of file GEOM_moteur.py.

tuple GEOM_moteur.Id_Rotor2 = geompy.addToStudy(Rotor2, "Rotor2")

Definition at line 133 of file GEOM_moteur.py.

tuple GEOM_moteur.Id_Rotor3 = geompy.addToStudy(Rotor3, "Rotor3")

Definition at line 137 of file GEOM_moteur.py.

tuple GEOM_moteur.Id_Stator = geompy.addToStudy(Stator, "Stator")

Definition at line 145 of file GEOM_moteur.py.

int GEOM_moteur.Ind = 1

Definition at line 89 of file GEOM_moteur.py.

tuple GEOM_moteur.myBuilder = salome.myStudy.NewBuilder()

Definition at line 35 of file GEOM_moteur.py.

Definition at line 41 of file GEOM_moteur.py.

tuple GEOM_moteur.OO = BasicOp.MakePointXYZ(0, 0, 0)

Definition at line 61 of file GEOM_moteur.py.

tuple GEOM_moteur.P0 = BasicOp.MakePointXYZ(0, 0, 1)

Definition at line 62 of file GEOM_moteur.py.

tuple GEOM_moteur.P1 = BasicOp.MakePointXYZ(PosX, PosY, PosZ)

Definition at line 63 of file GEOM_moteur.py.

tuple GEOM_moteur.P2 = BasicOp.MakePointXYZ(PosX, PosY, PosZ + Ep)

Definition at line 64 of file GEOM_moteur.py.

tuple GEOM_moteur.P3 = BasicOp.MakePointXYZ(PosX, PosY, PosCour)

Definition at line 65 of file GEOM_moteur.py.

tuple GEOM_moteur.P4 = BasicOp.MakePointXYZ(PosX, PosY, PosCour + Ep)

Definition at line 66 of file GEOM_moteur.py.

tuple GEOM_moteur.P5 = BasicOp.MakePointXYZ(PosX, PosY, PosRot)

Definition at line 67 of file GEOM_moteur.py.

tuple GEOM_moteur.P6 = BasicOp.MakePointXYZ(Pos1C, Pos1S, PosZ)

Definition at line 68 of file GEOM_moteur.py.

tuple GEOM_moteur.P7 = BasicOp.MakePointXYZ(PosX + DExtExt, Pos1S, PosZ)

Definition at line 69 of file GEOM_moteur.py.

tuple GEOM_moteur.P8 = BasicOp.MakePointXYZ(Pos1C, Pos1S, PosZ + HauteurT)

Definition at line 70 of file GEOM_moteur.py.

tuple GEOM_moteur.Pos1C = PosX+DIntExt*math.cos(Angle2)

Definition at line 54 of file GEOM_moteur.py.

tuple GEOM_moteur.Pos1S = PosY+DIntExt*math.sin(Angle2)

Definition at line 55 of file GEOM_moteur.py.

Definition at line 56 of file GEOM_moteur.py.

float GEOM_moteur.PosRot = 0.9

Definition at line 57 of file GEOM_moteur.py.

Definition at line 38 of file GEOM_moteur.py.

Definition at line 39 of file GEOM_moteur.py.

Definition at line 40 of file GEOM_moteur.py.

tuple GEOM_moteur.R = geompy.MakeRotation(D0, V2, Ind * Angle1)

Definition at line 129 of file GEOM_moteur.py.

tuple GEOM_moteur.Rotor1 = geompy.MakeCompound(Rotor1List)

Definition at line 120 of file GEOM_moteur.py.

Definition at line 117 of file GEOM_moteur.py.

tuple GEOM_moteur.Rotor2 = geompy.MakeCompound(Rotor2List)

Definition at line 132 of file GEOM_moteur.py.

Definition at line 125 of file GEOM_moteur.py.

tuple GEOM_moteur.Rotor3 = geompy.MakeRotation(Rotor2, V2, Angle2)

Definition at line 136 of file GEOM_moteur.py.

tuple GEOM_moteur.S = geompy.MakeRotation(S0, V2, Ind * Angle1)

Definition at line 91 of file GEOM_moteur.py.

tuple GEOM_moteur.S0 = geompy.MakeRevolution(B2, V3, Angle1)

Definition at line 86 of file GEOM_moteur.py.

tuple GEOM_moteur.Stator = geompy.MakeCompound(StatorList)

Definition at line 144 of file GEOM_moteur.py.

Definition at line 140 of file GEOM_moteur.py.

tuple GEOM_moteur.V1 = BasicOp.MakeVectorTwoPnt(OO,P0)

Definition at line 73 of file GEOM_moteur.py.

tuple GEOM_moteur.V2 = BasicOp.MakeVectorTwoPnt(P1,P2)

Definition at line 74 of file GEOM_moteur.py.

tuple GEOM_moteur.V3 = BasicOp.MakeVectorTwoPnt(P6,P8)

Definition at line 75 of file GEOM_moteur.py.