Variables | |
| tuple | p1 = geompy.MakeVertex( 100.0, 0.0, 0.0 ) |
| tuple | p2 = geompy.MakeVertex( 50.0, 50.0, 0.0 ) |
| tuple | p3 = geompy.MakeVertex( 100.0, 100.0, 0.0 ) |
| tuple | arc1 = geompy.MakeArc( p1, p2, p3 ) |
| tuple | p4 = geompy.MakeVertex( 170.0, 100.0, 0.0 ) |
| tuple | seg1 = geompy.MakeVector( p3, p4 ) |
| tuple | p5 = geompy.MakeVertex( 200.0, 70.0, 0.0 ) |
| tuple | p6 = geompy.MakeVertex( 170.0, 40.0, 0.0 ) |
| tuple | arc2 = geompy.MakeArc( p4, p5, p6 ) |
| tuple | p7 = geompy.MakeVertex( 120.0, 30.0, 0.0 ) |
| tuple | arc3 = geompy.MakeArc( p6, p7, p1 ) |
| list | List1 = [] |
| tuple | wire1 = geompy.MakeWire( List1 ) |
| tuple | Id_wire1 = geompy.addToStudy( wire1, "wire1" ) |
| int | WantPlanarFace = 1 |
| tuple | face1 = geompy.MakeFace( wire1, WantPlanarFace ) |
| tuple | Id_face1 = geompy.addToStudy( face1, "face1" ) |
| tuple | pO = geompy.MakeVertex( 0.0, 0.0, 0.0 ) |
| tuple | pz = geompy.MakeVertex( 0.0, 0.0, 100.0 ) |
| tuple | vz = geompy.MakeVector( pO, pz ) |
| tuple | prism1 = geompy.MakePrismVecH( face1, vz, 100.0 ) |
| tuple | Id_prism1 = geompy.addToStudy( prism1, "prism1" ) |
| tuple | pc1 = geompy.MakeVertex( 90.0, 50.0, -40.0 ) |
| tuple | pc2 = geompy.MakeVertex( 170.0, 70.0, -40.0 ) |
| float | radius = 20.0 |
| float | height = 180.0 |
| tuple | cyl1 = geompy.MakeCylinder( pc1, vz, radius, height ) |
| tuple | cyl2 = geompy.MakeCylinder( pc2, vz, radius, height ) |
| tuple | Id_Cyl1 = geompy.addToStudy( cyl1, "cyl1" ) |
| tuple | Id_Cyl2 = geompy.addToStudy( cyl2, "cyl2" ) |
| tuple | shape = geompy.MakeBoolean( prism1, cyl1, 2 ) |
| tuple | mechanic = geompy.MakeBoolean( shape, cyl2, 3 ) |
| tuple | Id_mechanic = geompy.addToStudy( mechanic, "mechanic" ) |
| tuple | SubFaceL = geompy.SubShapeAllSorted(mechanic, geompy.ShapeType["FACE"]) |
| list | sub_face1 = SubFaceL[0] |
| tuple | name = geompy.SubShapeName( sub_face1, mechanic ) |
| tuple | Id_SubFace1 = geompy.addToStudyInFather( mechanic, sub_face1, name ) |
| list | sub_face2 = SubFaceL[4] |
| tuple | Id_SubFace2 = geompy.addToStudyInFather( mechanic, sub_face2, name ) |
| list | sub_face3 = SubFaceL[5] |
| tuple | Id_SubFace3 = geompy.addToStudyInFather( mechanic, sub_face3, name ) |
| list | sub_face4 = SubFaceL[10] |
| tuple | Id_SubFace4 = geompy.addToStudyInFather( mechanic, sub_face4, name ) |
| tuple | shape_mesh = salome.IDToObject( Id_mechanic ) |
| tuple | mesh = smesh.Mesh(shape_mesh, "Mesh_mechanic") |
| int | numberOfSegment = 10 |
| tuple | algo = mesh.Segment() |
| tuple | hypNbSeg = algo.NumberOfSegments(numberOfSegment) |
| int | maxElementArea = 25 |
| tuple | hypArea25 = algo.MaxElementArea(maxElementArea) |
| tuple | submesh1 = algo.GetSubMesh() |
| tuple | submesh2 = algo.GetSubMesh() |
| tuple | submesh3 = algo.GetSubMesh() |
| tuple | submesh4 = algo.GetSubMesh() |
| list | FacesTriToQuad = [ 2391, 2824, 2825, 2826, 2827, 2828, 2832, 2833, 2834, 2835, 2836, 2837, 2838, 2839, 2841, 2844, 2845, 2847, 2854, 2861, 2863, 2922, 2923, 2924, 2925, 2926, 2927, 2928, 2929, 2930, 2931, 2932, 2933, 2934, 2935, 2936, 2937, 2938, 2940, 2941, 2946, 2951, 2970, 2971, 2972, 2973, 2974, 2975, 2976, 2977, 2978, 2979, 2980, 2981, 2982, 2983, 2984, 2985 ] |
| tuple | GroupTriToQuad = mesh.MakeGroupByIds("Group of faces (quad)", smesh.FACE, FacesTriToQuad) |
| tuple | point = smesh.PointStruct(0, 0, 5) |
| tuple | vector = smesh.DirStruct(point) |
| tuple | axisXYZ = smesh.AxisStruct(0, 0, 0, 10, 10, 10) |
| int | angle180 = 180 |
| list | FacesSmooth = [864, 933, 941, 950, 1005, 1013] |
| tuple | GroupSmooth = mesh.MakeGroupByIds("Group of faces (smooth)", smesh.FACE, FacesSmooth) |
| list | FacesRotate = [492, 493, 502, 503] |
| tuple | GroupRotate = mesh.MakeGroupByIds("Group of faces (rotate)", smesh.FACE, FacesRotate) |
| int | angle45 = 45 |
| tuple SMESH_mechanic_editor::algo = mesh.Segment() |
Definition at line 134 of file SMESH_mechanic_editor.py.
Definition at line 215 of file SMESH_mechanic_editor.py.
Definition at line 226 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.arc1 = geompy.MakeArc( p1, p2, p3 ) |
Definition at line 41 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.arc2 = geompy.MakeArc( p4, p5, p6 ) |
Definition at line 48 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.arc3 = geompy.MakeArc( p6, p7, p1 ) |
Definition at line 51 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor::axisXYZ = smesh.AxisStruct(0, 0, 0, 10, 10, 10) |
Definition at line 214 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.cyl1 = geompy.MakeCylinder( pc1, vz, radius, height ) |
Definition at line 82 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.cyl2 = geompy.MakeCylinder( pc2, vz, radius, height ) |
Definition at line 83 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.face1 = geompy.MakeFace( wire1, WantPlanarFace ) |
Definition at line 65 of file SMESH_mechanic_editor.py.
| list SMESH_mechanic_editor.FacesRotate = [492, 493, 502, 503] |
Definition at line 224 of file SMESH_mechanic_editor.py.
| list SMESH_mechanic_editor.FacesSmooth = [864, 933, 941, 950, 1005, 1013] |
Definition at line 219 of file SMESH_mechanic_editor.py.
| list SMESH_mechanic_editor.FacesTriToQuad = [ 2391, 2824, 2825, 2826, 2827, 2828, 2832, 2833, 2834, 2835, 2836, 2837, 2838, 2839, 2841, 2844, 2845, 2847, 2854, 2861, 2863, 2922, 2923, 2924, 2925, 2926, 2927, 2928, 2929, 2930, 2931, 2932, 2933, 2934, 2935, 2936, 2937, 2938, 2940, 2941, 2946, 2951, 2970, 2971, 2972, 2973, 2974, 2975, 2976, 2977, 2978, 2979, 2980, 2981, 2982, 2983, 2984, 2985 ] |
Definition at line 196 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.GroupRotate = mesh.MakeGroupByIds("Group of faces (rotate)", smesh.FACE, FacesRotate) |
Definition at line 225 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.GroupSmooth = mesh.MakeGroupByIds("Group of faces (smooth)", smesh.FACE, FacesSmooth) |
Definition at line 220 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.GroupTriToQuad = mesh.MakeGroupByIds("Group of faces (quad)", smesh.FACE, FacesTriToQuad) |
Definition at line 197 of file SMESH_mechanic_editor.py.
| float SMESH_mechanic_editor.height = 180.0 |
Definition at line 81 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.hypArea25 = algo.MaxElementArea(maxElementArea) |
Definition at line 147 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.hypNbSeg = algo.NumberOfSegments(numberOfSegment) |
Definition at line 135 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.Id_Cyl1 = geompy.addToStudy( cyl1, "cyl1" ) |
Definition at line 85 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.Id_Cyl2 = geompy.addToStudy( cyl2, "cyl2" ) |
Definition at line 86 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.Id_face1 = geompy.addToStudy( face1, "face1" ) |
Definition at line 66 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.Id_mechanic = geompy.addToStudy( mechanic, "mechanic" ) |
Definition at line 93 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.Id_prism1 = geompy.addToStudy( prism1, "prism1" ) |
Definition at line 74 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.Id_SubFace1 = geompy.addToStudyInFather( mechanic, sub_face1, name ) |
Definition at line 102 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.Id_SubFace2 = geompy.addToStudyInFather( mechanic, sub_face2, name ) |
Definition at line 108 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.Id_SubFace3 = geompy.addToStudyInFather( mechanic, sub_face3, name ) |
Definition at line 114 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.Id_SubFace4 = geompy.addToStudyInFather( mechanic, sub_face4, name ) |
Definition at line 120 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.Id_wire1 = geompy.addToStudy( wire1, "wire1" ) |
Definition at line 61 of file SMESH_mechanic_editor.py.
| list SMESH_mechanic_editor.List1 = [] |
Definition at line 54 of file SMESH_mechanic_editor.py.
Definition at line 144 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.mechanic = geompy.MakeBoolean( shape, cyl2, 3 ) |
Definition at line 92 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.mesh = smesh.Mesh(shape_mesh, "Mesh_mechanic") |
Definition at line 128 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor::name = geompy.SubShapeName( sub_face1, mechanic ) |
Definition at line 100 of file SMESH_mechanic_editor.py.
Definition at line 132 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.p1 = geompy.MakeVertex( 100.0, 0.0, 0.0 ) |
Definition at line 38 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.p2 = geompy.MakeVertex( 50.0, 50.0, 0.0 ) |
Definition at line 39 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.p3 = geompy.MakeVertex( 100.0, 100.0, 0.0 ) |
Definition at line 40 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.p4 = geompy.MakeVertex( 170.0, 100.0, 0.0 ) |
Definition at line 43 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.p5 = geompy.MakeVertex( 200.0, 70.0, 0.0 ) |
Definition at line 46 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.p6 = geompy.MakeVertex( 170.0, 40.0, 0.0 ) |
Definition at line 47 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.p7 = geompy.MakeVertex( 120.0, 30.0, 0.0 ) |
Definition at line 50 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.pc1 = geompy.MakeVertex( 90.0, 50.0, -40.0 ) |
Definition at line 77 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.pc2 = geompy.MakeVertex( 170.0, 70.0, -40.0 ) |
Definition at line 78 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.pO = geompy.MakeVertex( 0.0, 0.0, 0.0 ) |
Definition at line 69 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor::point = smesh.PointStruct(0, 0, 5) |
Definition at line 201 of file SMESH_mechanic_editor.py.
Referenced by SMESH_Pattern.Apply(), SMESH_Pattern.arrangeBoundaries(), SMESH_Pattern.computeUVOnEdge(), SMDS_Down2D.computeVolumeIdsFromNodesFace(), SMDS_Down1D.computeVtkCells(), SMESH_Pattern.compUVByElasticIsolines(), SMDS_Down2D.FindEdgeByNodes(), SMDS_Down3D.FindFaceByNodes(), and SMDS_Down2D.isInFace().
| tuple SMESH_mechanic_editor.prism1 = geompy.MakePrismVecH( face1, vz, 100.0 ) |
Definition at line 73 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.pz = geompy.MakeVertex( 0.0, 0.0, 100.0 ) |
Definition at line 70 of file SMESH_mechanic_editor.py.
| float SMESH_mechanic_editor.radius = 20.0 |
Definition at line 80 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.seg1 = geompy.MakeVector( p3, p4 ) |
Definition at line 44 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.shape = geompy.MakeBoolean( prism1, cyl1, 2 ) |
Definition at line 89 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.shape_mesh = salome.IDToObject( Id_mechanic ) |
Definition at line 126 of file SMESH_mechanic_editor.py.
| list SMESH_mechanic_editor.sub_face1 = SubFaceL[0] |
Definition at line 99 of file SMESH_mechanic_editor.py.
| list SMESH_mechanic_editor.sub_face2 = SubFaceL[4] |
Definition at line 105 of file SMESH_mechanic_editor.py.
| list SMESH_mechanic_editor.sub_face3 = SubFaceL[5] |
Definition at line 111 of file SMESH_mechanic_editor.py.
| list SMESH_mechanic_editor.sub_face4 = SubFaceL[10] |
Definition at line 117 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.SubFaceL = geompy.SubShapeAllSorted(mechanic, geompy.ShapeType["FACE"]) |
Definition at line 96 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.submesh1 = algo.GetSubMesh() |
Definition at line 160 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.submesh2 = algo.GetSubMesh() |
Definition at line 165 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.submesh3 = algo.GetSubMesh() |
Definition at line 170 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.submesh4 = algo.GetSubMesh() |
Definition at line 175 of file SMESH_mechanic_editor.py.
Definition at line 202 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.vz = geompy.MakeVector( pO, pz ) |
Definition at line 71 of file SMESH_mechanic_editor.py.
Definition at line 64 of file SMESH_mechanic_editor.py.
| tuple SMESH_mechanic_editor.wire1 = geompy.MakeWire( List1 ) |
Definition at line 60 of file SMESH_mechanic_editor.py.