Back to index

salome-smesh  6.5.0
Variables
PAL_MESH_041_mesh Namespace Reference

Variables

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

Variable Documentation

tuple PAL_MESH_041_mesh.algoMef = mesh.Triangle()

Definition at line 85 of file PAL_MESH_041_mesh.py.

tuple PAL_MESH_041_mesh.algoWireDes = mesh.Segment()

Definition at line 71 of file PAL_MESH_041_mesh.py.

tuple PAL_MESH_041_mesh.e1 = geompy.MakeEdge(p1,p2)

Definition at line 37 of file PAL_MESH_041_mesh.py.

tuple PAL_MESH_041_mesh.e2 = geompy.MakeEdge(p2,p3)

Definition at line 38 of file PAL_MESH_041_mesh.py.

tuple PAL_MESH_041_mesh.e3 = geompy.MakeEdge(p3,p1)

Definition at line 39 of file PAL_MESH_041_mesh.py.

tuple PAL_MESH_041_mesh.face1 = geompy.MakeFace(wire1,WantPlanarFace)

Definition at line 51 of file PAL_MESH_041_mesh.py.

tuple PAL_MESH_041_mesh.hypArea200 = algoMef.MaxElementArea(maxElementArea)

Definition at line 90 of file PAL_MESH_041_mesh.py.

tuple PAL_MESH_041_mesh.hypNbSeg = algoWireDes.NumberOfSegments(numberOfSegment)

Definition at line 76 of file PAL_MESH_041_mesh.py.

tuple PAL_MESH_041_mesh.Id_face1 = geompy.addToStudy(face1,"Face1")

Definition at line 53 of file PAL_MESH_041_mesh.py.

tuple PAL_MESH_041_mesh.listHyp = algoWireDes.GetCompatibleHypothesis()

Definition at line 72 of file PAL_MESH_041_mesh.py.

Definition at line 42 of file PAL_MESH_041_mesh.py.

Definition at line 83 of file PAL_MESH_041_mesh.py.

Definition at line 63 of file PAL_MESH_041_mesh.py.

Definition at line 69 of file PAL_MESH_041_mesh.py.

tuple PAL_MESH_041_mesh.p1 = geompy.MakeVertex(20.0,30.0,40.0)

Definition at line 32 of file PAL_MESH_041_mesh.py.

tuple PAL_MESH_041_mesh.p2 = geompy.MakeVertex(90.0,80.0,0.0)

Definition at line 33 of file PAL_MESH_041_mesh.py.

tuple PAL_MESH_041_mesh.p3 = geompy.MakeVertex(30.0,80.0,200.0)

Definition at line 34 of file PAL_MESH_041_mesh.py.

tuple PAL_MESH_041_mesh.plane_mesh = salome.IDToObject( Id_face1)

Definition at line 61 of file PAL_MESH_041_mesh.py.

tuple PAL_MESH_041_mesh.ret = mesh.Compute()

Definition at line 98 of file PAL_MESH_041_mesh.py.

Definition at line 50 of file PAL_MESH_041_mesh.py.

tuple PAL_MESH_041_mesh.wire1 = geompy.MakeWire(ListOfEdges)

Definition at line 46 of file PAL_MESH_041_mesh.py.