Back to index

salome-smesh  6.5.0
Namespaces | Variables
PAL_MESH_041_mesh.py File Reference

Go to the source code of this file.

Namespaces

namespace  PAL_MESH_041_mesh

Variables

tuple PAL_MESH_041_mesh.p1 = geompy.MakeVertex(20.0,30.0,40.0)
tuple PAL_MESH_041_mesh.p2 = geompy.MakeVertex(90.0,80.0,0.0)
tuple PAL_MESH_041_mesh.p3 = geompy.MakeVertex(30.0,80.0,200.0)
tuple PAL_MESH_041_mesh.e1 = geompy.MakeEdge(p1,p2)
tuple PAL_MESH_041_mesh.e2 = geompy.MakeEdge(p2,p3)
tuple PAL_MESH_041_mesh.e3 = geompy.MakeEdge(p3,p1)
list PAL_MESH_041_mesh.ListOfEdges = []
tuple PAL_MESH_041_mesh.wire1 = geompy.MakeWire(ListOfEdges)
int PAL_MESH_041_mesh.WantPlanarFace = 1
tuple PAL_MESH_041_mesh.face1 = geompy.MakeFace(wire1,WantPlanarFace)
tuple PAL_MESH_041_mesh.Id_face1 = geompy.addToStudy(face1,"Face1")
tuple PAL_MESH_041_mesh.plane_mesh = salome.IDToObject( Id_face1)
tuple PAL_MESH_041_mesh.mesh = smesh.Mesh(plane_mesh, "Mesh_1")
int PAL_MESH_041_mesh.numberOfSegment = 9
tuple PAL_MESH_041_mesh.algoWireDes = mesh.Segment()
tuple PAL_MESH_041_mesh.listHyp = algoWireDes.GetCompatibleHypothesis()
tuple PAL_MESH_041_mesh.hypNbSeg = algoWireDes.NumberOfSegments(numberOfSegment)
int PAL_MESH_041_mesh.maxElementArea = 200
tuple PAL_MESH_041_mesh.algoMef = mesh.Triangle()
tuple PAL_MESH_041_mesh.hypArea200 = algoMef.MaxElementArea(maxElementArea)
tuple PAL_MESH_041_mesh.ret = mesh.Compute()