Package SMESH_demo_hexa2_upd


Variables

int ShapeTypeShell = 3
int ShapeTypeFace = 4
int ShapeTypeEdge = 6
tuple a = math.sqrt(2.)
 ma = -a
int zero = 0
int un = 1
 mun = -un
int demi = 1
tuple Orig = geompy.MakeVertex(zero,zero,zero)
tuple P0 = geompy.MakeVertex(a,a,zero)
tuple P1 = geompy.MakeVertex(zero,demi,zero)
tuple P2 = geompy.MakeVertex(ma,a,zero)
tuple P3 = geompy.MakeVertex(mun,un,zero)
tuple P4 = geompy.MakeVertex(un,un,zero)
tuple P5 = geompy.MakeVertex(zero,zero,un)
tuple arc = geompy.MakeArc(P0,P1,P2)
tuple e1 = geompy.MakeEdge(P2,P3)
tuple e2 = geompy.MakeEdge(P3,P4)
tuple e3 = geompy.MakeEdge(P4,P0)
list list = []
tuple wire = geompy.MakeWire(list)
tuple face = geompy.MakeFace(wire,1)
tuple dir = geompy.MakeVector(Orig,P5)
tuple vol1 = geompy.MakePipe(face,dir)
int angle = 2
tuple vol2 = geompy.MakeRotation(vol1,dir,angle)
tuple vol3 = geompy.MakeRotation(vol2,dir,angle)
tuple vol4 = geompy.MakeRotation(vol3,dir,angle)
list list = []
tuple volComp = geompy.MakeCompound(list)
int tol3d = 1
tuple vol = geompy.MakeGlueFaces(volComp,tol3d)
tuple idVol = geompy.addToStudy(vol,"volume")
tuple subShellList = geompy.SubShapeAllSorted(vol,ShapeTypeShell)
tuple subFaceList = geompy.SubShapeAllSorted(vol,ShapeTypeFace)
tuple subEdgeList = geompy.SubShapeAllSorted(vol,ShapeTypeEdge)
list idSubEdge = []
list edgeZ = []
list idEdgeZ = []
tuple mesh = smesh.Mesh(vol, "meshVolume")
int numberOfSegments = 10
tuple regular1D = mesh.Segment()
int hypNbSeg = 1
tuple quad2D = mesh.Quadrangle()
tuple hexa3D = mesh.Hexahedron()
int numberOfSegmentsZ = 40
tuple algo = mesh.Segment(edgeZ[i])
tuple hyp = algo.NumberOfSegments(numberOfSegmentsZ)
tuple ret = mesh.Compute()
int ShapeTypeShell = 3
int ShapeTypeFace = 4
int ShapeTypeEdge = 6
tuple a = math.sqrt(2.)
 ma = -a
int zero = 0
int un = 1
 mun = -un
int demi = 1
tuple Orig = geompy.MakeVertex(zero,zero,zero)
tuple P0 = geompy.MakeVertex(a,a,zero)
tuple P1 = geompy.MakeVertex(zero,demi,zero)
tuple P2 = geompy.MakeVertex(ma,a,zero)
tuple P3 = geompy.MakeVertex(mun,un,zero)
tuple P4 = geompy.MakeVertex(un,un,zero)
tuple P5 = geompy.MakeVertex(zero,zero,un)
tuple arc = geompy.MakeArc(P0,P1,P2)
tuple e1 = geompy.MakeEdge(P2,P3)
tuple e2 = geompy.MakeEdge(P3,P4)
tuple e3 = geompy.MakeEdge(P4,P0)
list list = []
tuple wire = geompy.MakeWire(list)
tuple face = geompy.MakeFace(wire,1)
tuple dir = geompy.MakeVector(Orig,P5)
tuple vol1 = geompy.MakePipe(face,dir)
int angle = 2
tuple vol2 = geompy.MakeRotation(vol1,dir,angle)
tuple vol3 = geompy.MakeRotation(vol2,dir,angle)
tuple vol4 = geompy.MakeRotation(vol3,dir,angle)
list list = []
tuple volComp = geompy.MakeCompound(list)
int tol3d = 1
tuple vol = geompy.MakeGlueFaces(volComp,tol3d)
tuple idVol = geompy.addToStudy(vol,"volume")
tuple subShellList = geompy.SubShapeAllSorted(vol,ShapeTypeShell)
tuple subFaceList = geompy.SubShapeAllSorted(vol,ShapeTypeFace)
tuple subEdgeList = geompy.SubShapeAllSorted(vol,ShapeTypeEdge)
list idSubEdge = []
list edgeZ = []
list idEdgeZ = []
tuple mesh = smesh.Mesh(vol, "meshVolume")
int numberOfSegments = 10
tuple regular1D = mesh.Segment()
int hypNbSeg = 1
tuple quad2D = mesh.Quadrangle()
tuple hexa3D = mesh.Hexahedron()
int numberOfSegmentsZ = 40
tuple algo = mesh.Segment(edgeZ[i])
tuple hyp = algo.NumberOfSegments(numberOfSegmentsZ)
tuple ret = mesh.Compute()


Variable Documentation

int SMESH_demo_hexa2_upd.ShapeTypeShell = 3 [static]
 

int SMESH_demo_hexa2_upd.ShapeTypeFace = 4 [static]
 

int SMESH_demo_hexa2_upd.ShapeTypeEdge = 6 [static]
 

tuple SMESH_demo_hexa2_upd.a = math.sqrt(2.) [static]
 

SMESH_demo_hexa2_upd.ma = -a [static]
 

int SMESH_demo_hexa2_upd.zero = 0 [static]
 

int SMESH_demo_hexa2_upd.un = 1 [static]
 

SMESH_demo_hexa2_upd.mun = -un [static]
 

int SMESH_demo_hexa2_upd.demi = 1 [static]
 

tuple SMESH_demo_hexa2_upd.Orig = geompy.MakeVertex(zero,zero,zero) [static]
 

tuple SMESH_demo_hexa2_upd.P0 = geompy.MakeVertex(a,a,zero) [static]
 

tuple SMESH_demo_hexa2_upd.P1 = geompy.MakeVertex(zero,demi,zero) [static]
 

tuple SMESH_demo_hexa2_upd.P2 = geompy.MakeVertex(ma,a,zero) [static]
 

tuple SMESH_demo_hexa2_upd.P3 = geompy.MakeVertex(mun,un,zero) [static]
 

tuple SMESH_demo_hexa2_upd.P4 = geompy.MakeVertex(un,un,zero) [static]
 

tuple SMESH_demo_hexa2_upd.P5 = geompy.MakeVertex(zero,zero,un) [static]
 

tuple SMESH_demo_hexa2_upd.arc = geompy.MakeArc(P0,P1,P2) [static]
 

tuple SMESH_demo_hexa2_upd.e1 = geompy.MakeEdge(P2,P3) [static]
 

tuple SMESH_demo_hexa2_upd.e2 = geompy.MakeEdge(P3,P4) [static]
 

tuple SMESH_demo_hexa2_upd.e3 = geompy.MakeEdge(P4,P0) [static]
 

list SMESH_demo_hexa2_upd.list = [] [static]
 

tuple SMESH_demo_hexa2_upd.wire = geompy.MakeWire(list) [static]
 

tuple SMESH_demo_hexa2_upd.face = geompy.MakeFace(wire,1) [static]
 

tuple SMESH_demo_hexa2_upd.dir = geompy.MakeVector(Orig,P5) [static]
 

tuple SMESH_demo_hexa2_upd.vol1 = geompy.MakePipe(face,dir) [static]
 

int SMESH_demo_hexa2_upd.angle = 2 [static]
 

tuple SMESH_demo_hexa2_upd.vol2 = geompy.MakeRotation(vol1,dir,angle) [static]
 

tuple SMESH_demo_hexa2_upd.vol3 = geompy.MakeRotation(vol2,dir,angle) [static]
 

tuple SMESH_demo_hexa2_upd.vol4 = geompy.MakeRotation(vol3,dir,angle) [static]
 

list SMESH_demo_hexa2_upd.list = [] [static]
 

tuple SMESH_demo_hexa2_upd.volComp = geompy.MakeCompound(list) [static]
 

int SMESH_demo_hexa2_upd.tol3d = 1 [static]
 

tuple SMESH_demo_hexa2_upd.vol = geompy.MakeGlueFaces(volComp,tol3d) [static]
 

tuple SMESH_demo_hexa2_upd.idVol = geompy.addToStudy(vol,"volume") [static]
 

tuple SMESH_demo_hexa2_upd.subShellList = geompy.SubShapeAllSorted(vol,ShapeTypeShell) [static]
 

tuple SMESH_demo_hexa2_upd.subFaceList = geompy.SubShapeAllSorted(vol,ShapeTypeFace) [static]
 

tuple SMESH_demo_hexa2_upd.subEdgeList = geompy.SubShapeAllSorted(vol,ShapeTypeEdge) [static]
 

list SMESH_demo_hexa2_upd.idSubEdge = [] [static]
 

list SMESH_demo_hexa2_upd.edgeZ = [] [static]
 

list SMESH_demo_hexa2_upd.idEdgeZ = [] [static]
 

tuple SMESH_demo_hexa2_upd.mesh = smesh.Mesh(vol, "meshVolume") [static]
 

int SMESH_demo_hexa2_upd.numberOfSegments = 10 [static]
 

tuple SMESH_demo_hexa2_upd.regular1D = mesh.Segment() [static]
 

int SMESH_demo_hexa2_upd.hypNbSeg = 1 [static]
 

tuple SMESH_demo_hexa2_upd.quad2D = mesh.Quadrangle() [static]
 

tuple SMESH_demo_hexa2_upd.hexa3D = mesh.Hexahedron() [static]
 

int SMESH_demo_hexa2_upd.numberOfSegmentsZ = 40 [static]
 

tuple SMESH_demo_hexa2_upd.algo = mesh.Segment(edgeZ[i]) [static]
 

tuple SMESH_demo_hexa2_upd.hyp = algo.NumberOfSegments(numberOfSegmentsZ) [static]
 

tuple SMESH_demo_hexa2_upd.ret = mesh.Compute() [static]
 

int SMESH_demo_hexa2_upd.ShapeTypeShell = 3 [static]
 

int SMESH_demo_hexa2_upd.ShapeTypeFace = 4 [static]
 

int SMESH_demo_hexa2_upd.ShapeTypeEdge = 6 [static]
 

tuple SMESH_demo_hexa2_upd.a = math.sqrt(2.) [static]
 

SMESH_demo_hexa2_upd.ma = -a [static]
 

int SMESH_demo_hexa2_upd.zero = 0 [static]
 

int SMESH_demo_hexa2_upd.un = 1 [static]
 

SMESH_demo_hexa2_upd.mun = -un [static]
 

int SMESH_demo_hexa2_upd.demi = 1 [static]
 

tuple SMESH_demo_hexa2_upd.Orig = geompy.MakeVertex(zero,zero,zero) [static]
 

tuple SMESH_demo_hexa2_upd.P0 = geompy.MakeVertex(a,a,zero) [static]
 

tuple SMESH_demo_hexa2_upd.P1 = geompy.MakeVertex(zero,demi,zero) [static]
 

tuple SMESH_demo_hexa2_upd.P2 = geompy.MakeVertex(ma,a,zero) [static]
 

tuple SMESH_demo_hexa2_upd.P3 = geompy.MakeVertex(mun,un,zero) [static]
 

tuple SMESH_demo_hexa2_upd.P4 = geompy.MakeVertex(un,un,zero) [static]
 

tuple SMESH_demo_hexa2_upd.P5 = geompy.MakeVertex(zero,zero,un) [static]
 

tuple SMESH_demo_hexa2_upd.arc = geompy.MakeArc(P0,P1,P2) [static]
 

tuple SMESH_demo_hexa2_upd.e1 = geompy.MakeEdge(P2,P3) [static]
 

tuple SMESH_demo_hexa2_upd.e2 = geompy.MakeEdge(P3,P4) [static]
 

tuple SMESH_demo_hexa2_upd.e3 = geompy.MakeEdge(P4,P0) [static]
 

list SMESH_demo_hexa2_upd.list = [] [static]
 

tuple SMESH_demo_hexa2_upd.wire = geompy.MakeWire(list) [static]
 

tuple SMESH_demo_hexa2_upd.face = geompy.MakeFace(wire,1) [static]
 

tuple SMESH_demo_hexa2_upd.dir = geompy.MakeVector(Orig,P5) [static]
 

tuple SMESH_demo_hexa2_upd.vol1 = geompy.MakePipe(face,dir) [static]
 

int SMESH_demo_hexa2_upd.angle = 2 [static]
 

tuple SMESH_demo_hexa2_upd.vol2 = geompy.MakeRotation(vol1,dir,angle) [static]
 

tuple SMESH_demo_hexa2_upd.vol3 = geompy.MakeRotation(vol2,dir,angle) [static]
 

tuple SMESH_demo_hexa2_upd.vol4 = geompy.MakeRotation(vol3,dir,angle) [static]
 

list SMESH_demo_hexa2_upd.list = [] [static]
 

tuple SMESH_demo_hexa2_upd.volComp = geompy.MakeCompound(list) [static]
 

int SMESH_demo_hexa2_upd.tol3d = 1 [static]
 

tuple SMESH_demo_hexa2_upd.vol = geompy.MakeGlueFaces(volComp,tol3d) [static]
 

tuple SMESH_demo_hexa2_upd.idVol = geompy.addToStudy(vol,"volume") [static]
 

tuple SMESH_demo_hexa2_upd.subShellList = geompy.SubShapeAllSorted(vol,ShapeTypeShell) [static]
 

tuple SMESH_demo_hexa2_upd.subFaceList = geompy.SubShapeAllSorted(vol,ShapeTypeFace) [static]
 

tuple SMESH_demo_hexa2_upd.subEdgeList = geompy.SubShapeAllSorted(vol,ShapeTypeEdge) [static]
 

list SMESH_demo_hexa2_upd.idSubEdge = [] [static]
 

list SMESH_demo_hexa2_upd.edgeZ = [] [static]
 

list SMESH_demo_hexa2_upd.idEdgeZ = [] [static]
 

tuple SMESH_demo_hexa2_upd.mesh = smesh.Mesh(vol, "meshVolume") [static]
 

int SMESH_demo_hexa2_upd.numberOfSegments = 10 [static]
 

tuple SMESH_demo_hexa2_upd.regular1D = mesh.Segment() [static]
 

int SMESH_demo_hexa2_upd.hypNbSeg = 1 [static]
 

tuple SMESH_demo_hexa2_upd.quad2D = mesh.Quadrangle() [static]
 

tuple SMESH_demo_hexa2_upd.hexa3D = mesh.Hexahedron() [static]
 

int SMESH_demo_hexa2_upd.numberOfSegmentsZ = 40 [static]
 

tuple SMESH_demo_hexa2_upd.algo = mesh.Segment(edgeZ[i]) [static]
 

tuple SMESH_demo_hexa2_upd.hyp = algo.NumberOfSegments(numberOfSegmentsZ) [static]
 

tuple SMESH_demo_hexa2_upd.ret = mesh.Compute() [static]