Go to the source code of this file.
Packages | |
| package | SMESH_Nut |
Variables | |
| tuple | SMESH_Nut.Sketcher_1 = geompy.MakeSketcher("Sketcher:F 100 -57.7:TT 100 57.7:TT 0 115.47:TT -100 57.7:TT -100 -57.7:TT 0 -115.47:WW") |
| tuple | SMESH_Nut.Face_1 = geompy.MakeFace(Sketcher_1, 1) |
| tuple | SMESH_Nut.Line_1 = geompy.MakeLineTwoPnt(geompy.MakeVertex(0,0,0), geompy.MakeVertex(0,0,100)) |
| tuple | SMESH_Nut.Prism_1 = geompy.MakePrismVecH(Face_1, Line_1, 100) |
| tuple | SMESH_Nut.Sketcher_2 = geompy.MakeSketcher("Sketcher:F 50 0:TT 80 0:TT 112 13:TT 112 48:TT 80 63:TT 80 90:TT 50 90:WW", [0,0,0, 1,0,0, 0,1,0]) |
| tuple | SMESH_Nut.Face_2 = geompy.MakeFace(Sketcher_2, 1) |
| tuple | SMESH_Nut.Revolution_1 = geompy.MakeRevolution(Face_2, Line_1, 2*math.pi) |
| tuple | SMESH_Nut.Common_1 = geompy.MakeBoolean(Revolution_1, Prism_1, 1) |
| tuple | SMESH_Nut.CommonExplodedListEdges = geompy.SubShapeAll(Common_1, geompy.ShapeType["EDGE"]) |
| string | SMESH_Nut.name = "Edge_" |
| tuple | SMESH_Nut.Fillet_1 = geompy.MakeFillet(Common_1, 10, geompy.ShapeType["EDGE"], [5]) |
| tuple | SMESH_Nut.Chamfer_1 = geompy.MakeChamferEdge(Fillet_1, 10, 10, 16, 50 ) |
| tuple | SMESH_Nut.Chamfer_2 = geompy.MakeChamferEdge(Chamfer_1, 10, 10, 21, 31 ) |
| tuple | SMESH_Nut.thePath = os.getenv("DATA_DIR") |
| tuple | SMESH_Nut.theFileName = os.path.join( thePath,"Shapes","Brep","slots.brep") |
| tuple | SMESH_Nut.theShapeForCut = geompy.ImportBREP(theFileName) |
| tuple | SMESH_Nut.Cut_1 = geompy.MakeBoolean(Chamfer_2, theShapeForCut, 2) |
| tuple | SMESH_Nut.Cut_1_ID = geompy.addToStudy(Cut_1, "Cut_1") |
| tuple | SMESH_Nut.shape_mesh = salome.IDToObject( Cut_1_ID ) |
| tuple | SMESH_Nut.mesh = smesh.Mesh(shape_mesh, "Nut") |
| int | SMESH_Nut.theAverageLength = 5 |
| tuple | SMESH_Nut.algoReg1D = mesh.Segment() |
| tuple | SMESH_Nut.hAvLength = algoReg1D.LocalLength(theAverageLength) |
| int | SMESH_Nut.theMaxElementArea = 20 |
| tuple | SMESH_Nut.algoMef = mesh.Triangle(smesh.MEFISTO) |
| tuple | SMESH_Nut.hArea = algoMef.MaxElementArea( theMaxElementArea ) |
| int | SMESH_Nut.theMaxElementVolume = 150 |
| tuple | SMESH_Nut.algoNg = mesh.Tetrahedron(smesh.NETGEN) |
| tuple | SMESH_Nut.hVolume = algoNg.MaxElementVolume( theMaxElementVolume ) |