Variables | |
| string | name = "ex21_lamp" |
| int | cote = 60 |
| int | section = 20 |
| int | size = 200 |
| int | radius_1 = 80 |
| int | radius_2 = 40 |
| int | height = 100 |
| tuple | box = MakeBox(-cote, -cote, -cote, +cote, +cote, +cote) |
| tuple | pt1 = MakeVertex(0, 0, cote/3) |
| tuple | di1 = MakeVectorDXDYDZ(0, 0, 1) |
| tuple | cyl = MakeCylinder(pt1, di1, section, size) |
| tuple | pt2 = MakeVertex(0, 0, size) |
| tuple | cone = MakeCone(pt2, di1, radius_1, radius_2, height) |
| tuple | box_cyl = MakeFuse(box, cyl) |
| tuple | piece = MakeFuse(box_cyl, cone) |
| tuple | group = CreateGroup(piece, ShapeType["FACE"]) |
| string | group_name = "_grp" |
| tuple | faces = SubShapeAllIDs(piece, ShapeType["FACE"]) |
| tuple | tetra = smesh.Mesh(piece, name) |
| tuple | algo1d = tetra.Segment() |
| tuple | algo2d = tetra.Triangle() |
| tuple | algo3d = tetra.Tetrahedron(smesh.NETGEN) |
| tuple ex21_lamp.algo1d = tetra.Segment() |
Definition at line 107 of file ex21_lamp.py.
| tuple ex21_lamp.algo2d = tetra.Triangle() |
Definition at line 113 of file ex21_lamp.py.
| tuple ex21_lamp.algo3d = tetra.Tetrahedron(smesh.NETGEN) |
Definition at line 119 of file ex21_lamp.py.
Definition at line 52 of file ex21_lamp.py.
| tuple ex21_lamp.box_cyl = MakeFuse(box, cyl) |
Definition at line 70 of file ex21_lamp.py.
Definition at line 65 of file ex21_lamp.py.
| int ex21_lamp.cote = 60 |
Definition at line 40 of file ex21_lamp.py.
| tuple ex21_lamp.cyl = MakeCylinder(pt1, di1, section, size) |
Definition at line 59 of file ex21_lamp.py.
| tuple ex21_lamp.di1 = MakeVectorDXDYDZ(0, 0, 1) |
Definition at line 58 of file ex21_lamp.py.
| tuple ex21_lamp.faces = SubShapeAllIDs(piece, ShapeType["FACE"]) |
Definition at line 90 of file ex21_lamp.py.
Referenced by SMDS_DownQuadHexa.addDownCell(), SMDS_DownHexa.addDownCell(), SMDS_DownQuadPenta.addDownCell(), SMDS_DownPenta.addDownCell(), SMDS_DownQuadPyramid.addDownCell(), SMDS_DownPyramid.addDownCell(), SMDS_DownQuadTetra.addDownCell(), SMDS_DownTetra.addDownCell(), SMDS_DownQuadQuadrangle.addDownCell(), SMDS_DownQuadrangle.addDownCell(), SMDS_DownTriangle.addDownCell(), SMESH_MeshEditor.CheckFreeBorderNodes(), StdMeshers_QuadToTriaAdaptor.Compute2ndPart(), SMDS_Down3D.FindFaceByNodes(), SMESH_ElementSearcherImpl.findOuterBoundary(), SMESH_MesherHelper.FixQuadraticElements(), DriverMED_W_SMESHDS_Mesh.Perform(), VISCOUS._ViscousBuilder.prepareEdgeToShrink(), SMESH_MeshEditor_i.QuadToTri(), SMESH_MeshEditor_i.SplitQuad(), and SMESH_MeshEditor_i.TriToQuad().
| tuple ex21_lamp.group = CreateGroup(piece, ShapeType["FACE"]) |
Definition at line 81 of file ex21_lamp.py.
Referenced by SMESH_Group_i.AddFrom(), SMESH_MeshEditor.AddToSameGroups(), SMESH_Mesh_i.CheckGeomGroupModif(), SMESHDS_Mesh.ClearMesh(), SMESH_Gen_i.CopyMesh(), SMESH_Pattern.createElements(), SMESH_Mesh_i.CreateGroupServants(), SMESH_MeshEditor_i.FindEqualElements(), StdMeshers_ProjectionUtils.FindSubShapeAssociation(), SMESHGUI.initialize(), SMESH_MeshEditor_i.MakeBoundaryElements(), SMESHGUI_GroupOnShapeOp.onApply(), SMESHDS_Mesh.RemoveFreeElement(), SMESHDS_Mesh.RemoveFreeNode(), removeFromContainers(), SMESH_Mesh_i.removeGroup(), SMESH_MeshEditor.ReplaceElemInGroups(), StdMeshers_ImportSource1D.RestoreGroups(), StdMeshers_ImportSource2D_i.UpdateAsMeshesRestored(), and StdMeshers_ImportSource1D_i.UpdateAsMeshesRestored().
| string ex21_lamp.group_name = "_grp" |
Definition at line 83 of file ex21_lamp.py.
| int ex21_lamp.height = 100 |
Definition at line 47 of file ex21_lamp.py.
Referenced by StdMeshers_QuadToTriaAdaptor.Compute(), SMESHGUI_PatternWidget.mapCoords(), StdMeshersGUI_StdHypothesisCreator.retrieveParams(), StdMeshersGUI_NbSegmentsCreator.retrieveParams(), and SMESHGUI_GroupOpDlg.setVisible().
| string ex21_lamp.name = "ex21_lamp" |
Definition at line 38 of file ex21_lamp.py.
Referenced by SMESH_Mesh_i.CheckGeomGroupModif(), SMESH.demangledHypoSetName(), SMESH_MeshEditor_i.generateGroupName(), SMESH_MeshEditor.generateGroups(), SMESH.GetFloat(), SMESH.GetHypothesesSet(), SMESH_MEDMesh_i.getName(), GeomSelectionTools.getNameFromEntry(), DriverMED_W_SMESHDS_Mesh.GetVersionString(), StdMeshers_Import_1D.importMesh(), SMESHGUI_Preferences_ScalarBarDlg.initScalarBarFromResources(), isCorrectArg(), SMESH.mangledHypoSetName(), SMESHGUI_GroupOnShapeOp.onApply(), SMESHGUI_BaseComputeOp.onPublishShape(), _pyMesh.Process(), StdMeshers_ImportSource1D.resultGroupsToIntVec(), SMESHGUI_GroupOnShapeOp.selectionDone(), SMESH_Gen.TAlgoStateError.Set(), SMESHGUI_TranslationDlg.setNewMeshName(), SMESHGUI_SymmetryDlg.setNewMeshName(), SMESHGUI_ScaleDlg.setNewMeshName(), SMESHGUI_RotationDlg.setNewMeshName(), StdMeshersGUI_ObjectReferenceParamWdg.SetObject(), StdMeshersGUI_ObjectReferenceParamWdg.SetObjects(), SMESH.shapeTypeName(), SMESHGUI_Preferences_ScalarBarDlg.SMESHGUI_Preferences_ScalarBarDlg(), SMESHGUI_XmlHandler.startElement(), SMESH.UniqueMeshName(), SMESH.UniqueName(), and SMESH_ActorDef.UpdateScalarBar().
| tuple ex21_lamp.piece = MakeFuse(box_cyl, cone) |
Definition at line 71 of file ex21_lamp.py.
| tuple ex21_lamp.pt1 = MakeVertex(0, 0, cote/3) |
Definition at line 57 of file ex21_lamp.py.
| tuple ex21_lamp.pt2 = MakeVertex(0, 0, size) |
Definition at line 64 of file ex21_lamp.py.
| int ex21_lamp.radius_1 = 80 |
Definition at line 45 of file ex21_lamp.py.
| int ex21_lamp.radius_2 = 40 |
Definition at line 46 of file ex21_lamp.py.
| int ex21_lamp.section = 20 |
Definition at line 42 of file ex21_lamp.py.
| int ex21_lamp.size = 200 |
Definition at line 43 of file ex21_lamp.py.
Referenced by SMDS_Down1D.compactStorage(), StdMeshers_QuadToTriaAdaptor.Compute2ndPart(), SMESH_MeshEditor.DoubleNodesOnGroupBoundaries(), StdMeshers_PrismAsBlock.TVerticalEdgeAdaptor.dumpNodes(), MESHCUT.Maillage.eliminationMailles(), StdMeshers_ProjectionUtils.FindMatchingNodesOnFaces(), StdMeshersGUI_SubShapeSelectorWdg.GetCorrectedListOfIDs(), SMDS_VolumeTool.GetFaceNormal(), StdMeshersGUI_SubShapeSelectorWdg.GetListOfIDs(), StdMeshersGUI_FixedPointsParamWdg.GetListOfPoints(), StdMeshersGUI_FixedPointsParamWdg.GetListOfSegments(), getSubMeshes(), SMESH_MEDMesh_i.getTypes(), Handle(), MESHCUT.Maillage.listeMaillesGM(), SMESH_Gen_i.Load(), SMESH_Gen_i.LoadASCII(), MESHCUT.Maillage.outputMED(), SMESH_NoteBook.ProcessLayerDistribution(), SMESH_ScalarBarActor.RenderOpaqueGeometry(), SMESH_Gen_i.SaveASCII(), SMESHGUI_WhatIsDlg.SelectionIntoArgument(), SMESH_Pattern.setFirstEdge(), StdMeshersGUI_SubShapeSelectorWdg.SetListOfIDs(), SMESH_Gen.SMESH_Gen(), MESHCUT.string2char(), and StdMeshersGUI_DistrPreview.update().
| tuple ex21_lamp.tetra = smesh.Mesh(piece, name) |
Definition at line 102 of file ex21_lamp.py.