Back to index

salome-smesh  6.5.0
Variables
SMESH_BuildCompound Namespace Reference

Variables

tuple Box_inf = geompy.MakeBox(0., 0., 0., 200., 200., 50.)
 create a bottom box
tuple Psup1 = geompy.MakeVertex(100., 100., 50.)
tuple Fsup1 = geompy.GetFaceNearPoint(Box_inf, Psup1)
tuple Pinf1 = geompy.MakeVertex(100., 100., 0.)
tuple Finf1 = geompy.GetFaceNearPoint(Box_inf, Pinf1)
tuple Box_sup = geompy.MakeBox(100., 100., 50., 200., 200., 100.)
 create a top box
tuple Psup2 = geompy.MakeVertex(150., 150., 100.)
tuple Fsup2 = geompy.GetFaceNearPoint(Box_sup, Psup2)
tuple Pinf2 = geompy.MakeVertex(150., 150., 50.)
tuple Finf2 = geompy.GetFaceNearPoint(Box_sup, Pinf2)
tuple Mesh_inf = smesh.Mesh(Box_inf, "Mesh_inf")
 Publish in the study.
tuple algo1D_1 = Mesh_inf.Segment()
tuple algo2D_1 = Mesh_inf.Quadrangle()
tuple algo3D_1 = Mesh_inf.Hexahedron()
tuple Gsup1 = Mesh_inf.Group(Fsup1, "Sup")
tuple Ginf1 = Mesh_inf.Group(Finf1, "Inf")
tuple Mesh_sup = smesh.Mesh(Box_sup, "Mesh_sup")
 create a top mesh
tuple algo1D_2 = Mesh_sup.Segment()
tuple algo2D_2 = Mesh_sup.Quadrangle()
tuple algo3D_2 = Mesh_sup.Hexahedron()
tuple Gsup2 = Mesh_sup.Group(Fsup2, "Sup")
tuple Ginf2 = Mesh_sup.Group(Finf2, "Inf")
tuple Compound1 = smesh.smesh.Concatenate([Mesh_inf.GetMesh(), Mesh_sup.GetMesh()], 0, 1, 1e-05)
 create compounds create a compound of two meshes with renaming groups with the same names and merging of elements with the given tolerance
tuple Compound2 = smesh.smesh.Concatenate([Mesh_inf.GetMesh(), Mesh_sup.GetMesh()], 1, 0, 1e-05, True)

Variable Documentation

tuple SMESH_BuildCompound.algo1D_1 = Mesh_inf.Segment()

Definition at line 67 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.algo1D_2 = Mesh_sup.Segment()

Definition at line 80 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.algo2D_1 = Mesh_inf.Quadrangle()

Definition at line 69 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.algo2D_2 = Mesh_sup.Quadrangle()

Definition at line 82 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.algo3D_1 = Mesh_inf.Hexahedron()

Definition at line 70 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.algo3D_2 = Mesh_sup.Hexahedron()

Definition at line 83 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.Box_inf = geompy.MakeBox(0., 0., 0., 200., 200., 50.)

create a bottom box

Definition at line 35 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.Box_sup = geompy.MakeBox(100., 100., 50., 200., 200., 100.)

create a top box

Definition at line 45 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.Compound1 = smesh.smesh.Concatenate([Mesh_inf.GetMesh(), Mesh_sup.GetMesh()], 0, 1, 1e-05)

create compounds create a compound of two meshes with renaming groups with the same names and merging of elements with the given tolerance

Definition at line 94 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.Compound2 = smesh.smesh.Concatenate([Mesh_inf.GetMesh(), Mesh_sup.GetMesh()], 1, 0, 1e-05, True)

Definition at line 98 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.Finf1 = geompy.GetFaceNearPoint(Box_inf, Pinf1)

Definition at line 42 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.Finf2 = geompy.GetFaceNearPoint(Box_sup, Pinf2)

Definition at line 52 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.Fsup1 = geompy.GetFaceNearPoint(Box_inf, Psup1)

Definition at line 39 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.Fsup2 = geompy.GetFaceNearPoint(Box_sup, Psup2)

Definition at line 49 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.Ginf1 = Mesh_inf.Group(Finf1, "Inf")

Definition at line 76 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.Ginf2 = Mesh_sup.Group(Finf2, "Inf")

Definition at line 89 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.Gsup1 = Mesh_inf.Group(Fsup1, "Sup")

Definition at line 74 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.Gsup2 = Mesh_sup.Group(Fsup2, "Sup")

Definition at line 87 of file SMESH_BuildCompound.py.

Publish in the study.

create a bottom mesh

Definition at line 66 of file SMESH_BuildCompound.py.

create a top mesh

Definition at line 79 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.Pinf1 = geompy.MakeVertex(100., 100., 0.)

Definition at line 41 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.Pinf2 = geompy.MakeVertex(150., 150., 50.)

Definition at line 51 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.Psup1 = geompy.MakeVertex(100., 100., 50.)

Definition at line 38 of file SMESH_BuildCompound.py.

tuple SMESH_BuildCompound.Psup2 = geompy.MakeVertex(150., 150., 100.)

Definition at line 48 of file SMESH_BuildCompound.py.