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) |
| 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") |
| ---------------------------- SMESH -------------------------------------- | |
| int | numberOfSegments = 10 |
| tuple | regular1D = mesh.Segment() |
| tuple | hypNbSeg = regular1D.NumberOfSegments(numberOfSegments) |
| 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() |
| tuple SMESH_demo_hexa2_upd.a = math.sqrt(2.) |
Definition at line 48 of file SMESH_demo_hexa2_upd.py.
Referenced by Abs(), StdMeshers_Quadrangle_2D.Compute(), SMESH.FilterLibrary_i.Copy(), SMESHGUI_ElemInfo.XYZ.divide(), Echange(), SMDS_MeshCell.exchange(), FindBestPoint(), SMDS_VtkVolume.initPoly(), StdMeshers_SegmentLengthAroundVertex.LoadFrom(), StdMeshers_NumberOfSegments.LoadFrom(), StdMeshers_MaxElementArea.LoadFrom(), StdMeshers_LengthFromEdges.LoadFrom(), SMESHGUI_MeshTab.onCreateHyp(), SMESHGUI_GroupDlg.onGeomPopup(), SMESHGUI_GroupDlg.onGeomSelectionButton(), StdMeshersGUI_NbSegmentsCreator.onValueChanged(), StdMeshersGUI_NbSegmentsCreator.readParamsFromHypo(), SMESH_ScalarBarActor.ShallowCopy(), StdMeshers_Quadrangle_2D.SplitQuad(), and toString().
| tuple SMESH_demo_hexa2_upd.algo = mesh.Segment(edgeZ[i]) |
Definition at line 167 of file SMESH_demo_hexa2_upd.py.
Definition at line 80 of file SMESH_demo_hexa2_upd.py.
Referenced by SMESH_Pattern.compUVByElasticIsolines(), SMESH_FaceOrientationFilter.CreateArrowPolyData(), SMESH_ElementSearcherImpl.findOuterBoundary(), getAngle(), SMESHGUI_ExtrusionAlongPathDlg.getAngles(), SMESH_MeshEditor_i.LinearAnglesVariation(), SMESH_MeshEditor.LinearAngleVariation(), VISCOUS._ViscousBuilder.setEdgeData(), VISCOUS._ViscousBuilder.sortEdges(), and VISCOUS._ViscousBuilder.updateNormals().
| tuple SMESH_demo_hexa2_upd.arc = geompy.MakeArc(P0,P1,P2) |
Definition at line 63 of file SMESH_demo_hexa2_upd.py.
Definition at line 53 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.dir = geompy.MakeVector(Orig,P5) |
Definition at line 77 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.e1 = geompy.MakeEdge(P2,P3) |
Definition at line 64 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.e2 = geompy.MakeEdge(P3,P4) |
Definition at line 65 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.e3 = geompy.MakeEdge(P4,P0) |
Definition at line 66 of file SMESH_demo_hexa2_upd.py.
Definition at line 113 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.face = geompy.MakeFace(wire,1) |
Definition at line 75 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.hexa3D = mesh.Hexahedron() |
Definition at line 156 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.hyp = algo.NumberOfSegments(numberOfSegmentsZ) |
Definition at line 168 of file SMESH_demo_hexa2_upd.py.
Referenced by _pyGen.AddAlgoAccessorMethod(), SMESH_subMesh.CheckConcurentHypothesis(), SMESH_Gen_i.CreateHypothesis(), VISCOUS._ViscousBuilder.findSolidsWithLayers(), _pyMesh.Flush(), _pyGen.Flush(), SMESH_Mesh.GetHypotheses(), SMESH_Gen_i.GetHypothesisParameterValues(), SMESHGUI_MeshOp.getInitParamsHypothesis(), StdMeshers_LayerDistribution_i.GetLayerDistribution(), SMESH_Mesh_i.GetMeshOrder(), Handle(), StdMeshers_ProjectionUtils.InitVertexAssociation(), SMESH_Gen_i.Load(), StdMeshers_ProjectionUtils.MakeComputed(), SMESH_Mesh_i.removeSubMesh(), SMESH_Gen_i.Save(), StdMeshersGUI_LayerDistributionParamWdg.StdMeshersGUI_LayerDistributionParamWdg(), and StdMeshersGUI_StdHypothesisCreator.stdParams().
| tuple SMESH_demo_hexa2_upd.hypNbSeg = regular1D.NumberOfSegments(numberOfSegments) |
Definition at line 142 of file SMESH_demo_hexa2_upd.py.
Definition at line 123 of file SMESH_demo_hexa2_upd.py.
Definition at line 109 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.idVol = geompy.addToStudy(vol,"volume") |
Definition at line 98 of file SMESH_demo_hexa2_upd.py.
Definition at line 68 of file SMESH_demo_hexa2_upd.py.
Referenced by SMESH_Gen_i.GetGeometryByMeshElement(), and SMESH.if().
Definition at line 49 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.mesh = smesh.Mesh(vol, "meshVolume") |
---------------------------- SMESH --------------------------------------
Definition at line 132 of file SMESH_demo_hexa2_upd.py.
Definition at line 52 of file SMESH_demo_hexa2_upd.py.
Definition at line 138 of file SMESH_demo_hexa2_upd.py.
Definition at line 162 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.Orig = geompy.MakeVertex(zero,zero,zero) |
Definition at line 55 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.P0 = geompy.MakeVertex(a,a,zero) |
Definition at line 56 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.P1 = geompy.MakeVertex(zero,demi,zero) |
Definition at line 57 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.P2 = geompy.MakeVertex(ma,a,zero) |
Definition at line 58 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.P3 = geompy.MakeVertex(mun,un,zero) |
Definition at line 59 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.P4 = geompy.MakeVertex(un,un,zero) |
Definition at line 60 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.P5 = geompy.MakeVertex(zero,zero,un) |
Definition at line 61 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.quad2D = mesh.Quadrangle() |
Definition at line 151 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.regular1D = mesh.Segment() |
Definition at line 140 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.ret = mesh.Compute() |
Definition at line 177 of file SMESH_demo_hexa2_upd.py.
Definition at line 46 of file SMESH_demo_hexa2_upd.py.
Definition at line 45 of file SMESH_demo_hexa2_upd.py.
Definition at line 44 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.subEdgeList = geompy.SubShapeAllSorted(vol,ShapeTypeEdge) |
Definition at line 103 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.subFaceList = geompy.SubShapeAllSorted(vol,ShapeTypeFace) |
Definition at line 102 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.subShellList = geompy.SubShapeAllSorted(vol,ShapeTypeShell) |
Definition at line 101 of file SMESH_demo_hexa2_upd.py.
Definition at line 96 of file SMESH_demo_hexa2_upd.py.
Definition at line 51 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.vol = geompy.MakeGlueFaces(volComp,tol3d) |
Definition at line 97 of file SMESH_demo_hexa2_upd.py.
Referenced by StdMeshers_Prism_3D.AddPrisms(), SMESH_Pattern.Apply(), SMDS_Mesh.ChangePolyhedronNodes(), SMDS_UnstructuredGrid.extrudeVolumeFromFace(), SMESH_MesherHelper.FixQuadraticElements(), SMESH_Pattern.getFacesDefinition(), SMESH_MeshEditor.GetLinkedNodes(), and StdMeshers_QuadToTriaAdaptor.Preparation().
| tuple SMESH_demo_hexa2_upd.vol1 = geompy.MakePipe(face,dir) |
Definition at line 78 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.vol2 = geompy.MakeRotation(vol1,dir,angle) |
Definition at line 82 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.vol3 = geompy.MakeRotation(vol2,dir,angle) |
Definition at line 84 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.vol4 = geompy.MakeRotation(vol3,dir,angle) |
Definition at line 86 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.volComp = geompy.MakeCompound(list) |
Definition at line 94 of file SMESH_demo_hexa2_upd.py.
| tuple SMESH_demo_hexa2_upd.wire = geompy.MakeWire(list) |
Definition at line 74 of file SMESH_demo_hexa2_upd.py.
Definition at line 50 of file SMESH_demo_hexa2_upd.py.
Referenced by SMESH_Block.ComputeParameters(), and SMESH_Pattern.compUVByIsoIntersection().