Variables | |
| float | barier_height = 7.0 |
| float | barier_radius = 5.6 |
| float | colis_radius = 1.0 |
| float | colis_step = 2.0 |
| float | cc_width = 0.11 |
| cc_radius = colis_radius+cc_width | |
| tuple | colis_center = sqrt(2.0) |
| int | boolean_common = 1 |
| int | boolean_cut = 2 |
| int | boolean_fuse = 3 |
| int | boolean_section = 4 |
| tuple | p0 = geompy.MakeVertex(0.,0.,0.) |
| tuple | vz = geompy.MakeVectorDXDYDZ(0.,0.,1.) |
| tuple | barier = geompy.MakeCylinder(p0, vz, barier_radius, barier_height) |
| tuple | colis = geompy.MakeCylinder(p0, vz, colis_radius, barier_height) |
| tuple | cc = geompy.MakeCylinder(p0, vz, cc_radius, barier_height) |
| tuple | colis_cc = geompy.MakeCompound([colis, cc]) |
| tuple | colis_cc_multi = geompy.MultiRotate1D(colis_cc, vz, 4) |
| tuple | Compound1 = geompy.MakeCompound([colis_cc_multi, barier]) |
| tuple | SubShape_theShape = geompy.SubShapeAll(Compound1,geompy.ShapeType["SOLID"]) |
| tuple | alveole = geompy.MakePartition(SubShape_theShape) |
| tuple | subShellList = geompy.SubShapeAll(alveole, geompy.ShapeType["SHELL"]) |
| tuple | subFaceList = geompy.SubShapeAll(alveole, geompy.ShapeType["FACE"]) |
| tuple | subEdgeList = geompy.SubShapeAll(alveole, geompy.ShapeType["EDGE"]) |
| tuple | subshapes = geompy.SubShapeAll(alveole, geompy.ShapeType["SHAPE"]) |
| tuple | comp1 = geompy.MakeCompound( [ subshapes[0], subshapes[1] ] ) |
| there are 9 subshapes | |
| tuple | comp2 = geompy.MakeCompound( [ subshapes[2], subshapes[3] ] ) |
| tuple | comp3 = geompy.MakeCompound( [ subshapes[4], subshapes[5] ] ) |
| tuple | comp4 = geompy.MakeCompound( [ subshapes[6], subshapes[7] ] ) |
| list | compGOs = [] |
| tuple | comp = geompy.MakeCompound( compGOs ) |
| tuple | idalveole = geompy.addToStudy(alveole, "alveole") |
| tuple | status = geompy.CheckShape(alveole) |
| tuple | shape_mesh = salome.IDToObject( idalveole ) |
| tuple | mesh = smesh.Mesh(shape_mesh, "MeshAlveole") |
| int | numberOfSegments = 10 |
| tuple | regular1D = mesh.Segment() |
| tuple | hypNbSeg = regular1D.NumberOfSegments(numberOfSegments) |
| float | maxElementArea = 0.1 |
| tuple | mefisto2D = mesh.Triangle() |
| tuple | hypArea = mefisto2D.MaxElementArea(maxElementArea) |
| float | maxElementVolume = 0.5 |
| tuple | netgen3D = mesh.Tetrahedron(smesh.NETGEN) |
| tuple | hypVolume = netgen3D.MaxElementVolume(maxElementVolume) |
| tuple | ret = mesh.Compute() |
| tuple | log = mesh.GetLog(0) |
| tuple SMESH_Partition1_tetra::alveole = geompy.MakePartition(SubShape_theShape) |
Definition at line 77 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.barier = geompy.MakeCylinder(p0, vz, barier_radius, barier_height) |
Definition at line 61 of file SMESH_Partition1_tetra.py.
| float SMESH_Partition1_tetra.barier_height = 7.0 |
Definition at line 36 of file SMESH_Partition1_tetra.py.
| float SMESH_Partition1_tetra.barier_radius = 5.6 |
Definition at line 37 of file SMESH_Partition1_tetra.py.
Definition at line 49 of file SMESH_Partition1_tetra.py.
Definition at line 50 of file SMESH_Partition1_tetra.py.
Definition at line 51 of file SMESH_Partition1_tetra.py.
Definition at line 52 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.cc = geompy.MakeCylinder(p0, vz, cc_radius, barier_height) |
Definition at line 66 of file SMESH_Partition1_tetra.py.
Definition at line 44 of file SMESH_Partition1_tetra.py.
| float SMESH_Partition1_tetra.cc_width = 0.11 |
Definition at line 40 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.colis = geompy.MakeCylinder(p0, vz, colis_radius, barier_height) |
Definition at line 65 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra::colis_cc = geompy.MakeCompound([colis, cc]) |
Definition at line 68 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.colis_cc_multi = geompy.MultiRotate1D(colis_cc, vz, 4) |
Definition at line 71 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.colis_center = sqrt(2.0) |
Definition at line 45 of file SMESH_Partition1_tetra.py.
| float SMESH_Partition1_tetra.colis_radius = 1.0 |
Definition at line 38 of file SMESH_Partition1_tetra.py.
| float SMESH_Partition1_tetra.colis_step = 2.0 |
Definition at line 39 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.comp = geompy.MakeCompound( compGOs ) |
Definition at line 103 of file SMESH_Partition1_tetra.py.
Referenced by SMESH_HypoFilter.DimPredicate.DimPredicate(), StdMeshers_ProjectionUtils.FindSubShapeAssociation(), StdMeshers_PrismAsBlock.TSideFace.GetColumns(), StdMeshers_PrismAsBlock.Init(), SMESH_Block.Insert(), SMESH_HypoFilter.TypePredicate.TypePredicate(), and StdMeshers_PrismAsBlock.TSideFace.Value().
| tuple SMESH_Partition1_tetra.comp1 = geompy.MakeCompound( [ subshapes[0], subshapes[1] ] ) |
there are 9 subshapes
Definition at line 93 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.comp2 = geompy.MakeCompound( [ subshapes[2], subshapes[3] ] ) |
Definition at line 94 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.comp3 = geompy.MakeCompound( [ subshapes[4], subshapes[5] ] ) |
Definition at line 95 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.comp4 = geompy.MakeCompound( [ subshapes[6], subshapes[7] ] ) |
Definition at line 96 of file SMESH_Partition1_tetra.py.
| list SMESH_Partition1_tetra.compGOs = [] |
Definition at line 98 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.Compound1 = geompy.MakeCompound([colis_cc_multi, barier]) |
Definition at line 75 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.hypArea = mefisto2D.MaxElementArea(maxElementArea) |
Definition at line 148 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.hypNbSeg = regular1D.NumberOfSegments(numberOfSegments) |
Definition at line 137 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.hypVolume = netgen3D.MaxElementVolume(maxElementVolume) |
Definition at line 159 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.idalveole = geompy.addToStudy(alveole, "alveole") |
Definition at line 107 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.log = mesh.GetLog(0) |
Definition at line 169 of file SMESH_Partition1_tetra.py.
| float SMESH_Partition1_tetra.maxElementArea = 0.1 |
Definition at line 145 of file SMESH_Partition1_tetra.py.
| float SMESH_Partition1_tetra.maxElementVolume = 0.5 |
Definition at line 156 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.mefisto2D = mesh.Triangle() |
Definition at line 147 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.mesh = smesh.Mesh(shape_mesh, "MeshAlveole") |
Definition at line 128 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.netgen3D = mesh.Tetrahedron(smesh.NETGEN) |
Definition at line 158 of file SMESH_Partition1_tetra.py.
Definition at line 134 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.p0 = geompy.MakeVertex(0.,0.,0.) |
Definition at line 56 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.regular1D = mesh.Segment() |
Definition at line 136 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.ret = mesh.Compute() |
Definition at line 166 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.shape_mesh = salome.IDToObject( idalveole ) |
Definition at line 126 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.status = geompy.CheckShape(alveole) |
Definition at line 119 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra::subEdgeList = geompy.SubShapeAll(alveole, geompy.ShapeType["EDGE"]) |
Definition at line 83 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra::subFaceList = geompy.SubShapeAll(alveole, geompy.ShapeType["FACE"]) |
Definition at line 82 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.SubShape_theShape = geompy.SubShapeAll(Compound1,geompy.ShapeType["SOLID"]) |
Definition at line 76 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.subshapes = geompy.SubShapeAll(alveole, geompy.ShapeType["SHAPE"]) |
Definition at line 89 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra::subShellList = geompy.SubShapeAll(alveole, geompy.ShapeType["SHELL"]) |
Definition at line 81 of file SMESH_Partition1_tetra.py.
| tuple SMESH_Partition1_tetra.vz = geompy.MakeVectorDXDYDZ(0.,0.,1.) |
Definition at line 57 of file SMESH_Partition1_tetra.py.