Variables | |
| int | g_x = 0 |
| int | g_y = 0 |
| int | g_z = 0 |
| int | g_arete = 50 |
| int | g_hauteur = 30 |
| int | g_rayon1 = 20 |
| int | g_rayon2 = 30 |
| int | g_rayon3 = 40 |
| int | g_grid = 3 |
| int | g_trim = 1000 |
| tuple | e_boite = MakeBox(g_x-g_arete, g_y-g_hauteur, g_z-g_arete, g_x+g_arete, g_y+g_hauteur, g_z+g_arete) |
| int | e_hauteur = 2 |
| tuple | e_centre = MakeVertex(g_x, g_y-g_hauteur, g_z) |
| tuple | e_dir = MakeVectorDXDYDZ(0, 1, 0) |
| tuple | e_cyl1 = MakeCylinder(e_centre, e_dir, g_rayon3, e_hauteur) |
| tuple | e_blo1 = MakeCut(e_boite, e_cyl1) |
| tuple | e_cyl2 = MakeCylinder(e_centre, e_dir, g_rayon2, e_hauteur) |
| tuple | e_blo2 = MakeCut(e_cyl1, e_cyl2) |
| tuple | e_cyl3 = MakeCylinder(e_centre, e_dir, g_rayon1, e_hauteur) |
| tuple | e_blo3 = MakeCut(e_cyl2, e_cyl3) |
| list | p_tools = [] |
| tuple | p_part = MakePartition([e_blo1, e_blo2, e_blo3], p_tools, [], [], ShapeType["SOLID"]) |
| tuple | p_element = RemoveExtraEdges(p_part, doUnionFaces=True) |
| tuple | grid = MakeMultiTranslation2D(p_element, MakeVectorDXDYDZ(1, 0, 0), 2*g_arete, g_grid, MakeVectorDXDYDZ(0, 0, 1), 2*g_arete, g_grid) |
| tuple | piece = MakeGlueFaces(grid, 1e-5) |
| tuple | piece_id = addToStudy(piece, "ex11_grid3partition") |
| tuple | hexa = smesh.Mesh(piece, "ex11_grid3partition:hexa") |
| tuple | algo = hexa.Segment() |
| tuple ex11_grid3partition.algo = hexa.Segment() |
Definition at line 112 of file ex11_grid3partition.py.
| tuple ex11_grid3partition.e_blo1 = MakeCut(e_boite, e_cyl1) |
Definition at line 69 of file ex11_grid3partition.py.
| tuple ex11_grid3partition.e_blo2 = MakeCut(e_cyl1, e_cyl2) |
Definition at line 73 of file ex11_grid3partition.py.
| tuple ex11_grid3partition.e_blo3 = MakeCut(e_cyl2, e_cyl3) |
Definition at line 77 of file ex11_grid3partition.py.
| tuple ex11_grid3partition.e_boite = MakeBox(g_x-g_arete, g_y-g_hauteur, g_z-g_arete, g_x+g_arete, g_y+g_hauteur, g_z+g_arete) |
Definition at line 61 of file ex11_grid3partition.py.
| tuple ex11_grid3partition.e_centre = MakeVertex(g_x, g_y-g_hauteur, g_z) |
Definition at line 64 of file ex11_grid3partition.py.
| tuple ex11_grid3partition.e_cyl1 = MakeCylinder(e_centre, e_dir, g_rayon3, e_hauteur) |
Definition at line 67 of file ex11_grid3partition.py.
| tuple ex11_grid3partition.e_cyl2 = MakeCylinder(e_centre, e_dir, g_rayon2, e_hauteur) |
Definition at line 71 of file ex11_grid3partition.py.
| tuple ex11_grid3partition.e_cyl3 = MakeCylinder(e_centre, e_dir, g_rayon1, e_hauteur) |
Definition at line 75 of file ex11_grid3partition.py.
| tuple ex11_grid3partition.e_dir = MakeVectorDXDYDZ(0, 1, 0) |
Definition at line 65 of file ex11_grid3partition.py.
Definition at line 63 of file ex11_grid3partition.py.
Definition at line 47 of file ex11_grid3partition.py.
Definition at line 54 of file ex11_grid3partition.py.
Definition at line 48 of file ex11_grid3partition.py.
Definition at line 50 of file ex11_grid3partition.py.
Definition at line 51 of file ex11_grid3partition.py.
Definition at line 52 of file ex11_grid3partition.py.
| int ex11_grid3partition.g_trim = 1000 |
Definition at line 56 of file ex11_grid3partition.py.
Definition at line 43 of file ex11_grid3partition.py.
Definition at line 44 of file ex11_grid3partition.py.
Definition at line 45 of file ex11_grid3partition.py.
| tuple ex11_grid3partition.grid = MakeMultiTranslation2D(p_element, MakeVectorDXDYDZ(1, 0, 0), 2*g_arete, g_grid, MakeVectorDXDYDZ(0, 0, 1), 2*g_arete, g_grid) |
Definition at line 93 of file ex11_grid3partition.py.
Referenced by SMDS_MeshNode.AddInverseElement(), SMDS_VtkFace.ChangeApex(), SMDS_VtkVolume.ChangeNodes(), SMDS_VtkFace.ChangeNodes(), SMDS_VtkEdge.ChangeNodes(), SMESH_MeshEditor.DoubleNodesOnGroupBoundaries(), SMDS_VtkVolume.GetEntityType(), SMDS_VtkFace.GetEntityType(), SMDS_VtkVolume.GetFaceNode(), SMDS_VtkVolume.GetQuantities(), SMESH.Controls.AspectRatio3D.GetValue(), SMDS_VtkVolume.GetVtkType(), SMDS_VtkFace.GetVtkType(), SMDS_VtkVolume.init(), SMDS_VtkFace.init(), SMDS_VtkEdge.init(), SMDS_MeshNode.init(), SMDS_VtkVolume.initPoly(), SMDS_VtkFace.initPoly(), SMDS_VtkVolume.IsMediumNode(), SMDS_VtkFace.IsMediumNode(), SMDS_VtkEdge.IsMediumNode(), SMDS_VtkVolume.IsPoly(), SMDS_VtkFace.IsPoly(), SMDS_VtkVolume.IsQuadratic(), SMDS_VtkFace.IsQuadratic(), SMDS_VtkVolume.NbEdges(), SMDS_VtkFace.NbEdges(), SMDS_VtkVolume.NbFaceNodes(), SMDS_VtkVolume.NbFaces(), SMDS_VtkVolume.NbNodes(), SMDS_VtkFace.NbNodes(), SMDS_VtkEdge.NbNodes(), SMDS_VtkVolume.NbUniqueNodes(), SMDS_MeshElementIDFactory.SetInVtkGrid(), SMDS_VtkCellIterator.SMDS_VtkCellIterator(), SMDS_VtkCellIteratorPolyH.SMDS_VtkCellIteratorPolyH(), SMDS_VtkCellIteratorToUNV.SMDS_VtkCellIteratorToUNV(), and SMDS_VtkVolume.vtkOrder().
| tuple ex11_grid3partition.hexa = smesh.Mesh(piece, "ex11_grid3partition:hexa") |
Definition at line 110 of file ex11_grid3partition.py.
| tuple ex11_grid3partition.p_element = RemoveExtraEdges(p_part, doUnionFaces=True) |
Definition at line 88 of file ex11_grid3partition.py.
| tuple ex11_grid3partition.p_part = MakePartition([e_blo1, e_blo2, e_blo3], p_tools, [], [], ShapeType["SOLID"]) |
Definition at line 86 of file ex11_grid3partition.py.
| list ex11_grid3partition.p_tools = [] |
Definition at line 82 of file ex11_grid3partition.py.
| tuple ex11_grid3partition.piece = MakeGlueFaces(grid, 1e-5) |
Definition at line 95 of file ex11_grid3partition.py.
| tuple ex11_grid3partition.piece_id = addToStudy(piece, "ex11_grid3partition") |
Definition at line 100 of file ex11_grid3partition.py.