Package PAL_MESH_041_mesh


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 listHyp = algoMef.GetCompatibleHypothesis()
tuple hypArea200 = algoMef.MaxElementArea(maxElementArea)
tuple ret = mesh.Compute()
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 listHyp = algoMef.GetCompatibleHypothesis()
tuple hypArea200 = algoMef.MaxElementArea(maxElementArea)
tuple ret = mesh.Compute()


Variable Documentation

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

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

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

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

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

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

list PAL_MESH_041_mesh.ListOfEdges = [] [static]
 

tuple PAL_MESH_041_mesh.wire1 = geompy.MakeWire(ListOfEdges) [static]
 

int PAL_MESH_041_mesh.WantPlanarFace = 1 [static]
 

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

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

tuple PAL_MESH_041_mesh.plane_mesh = salome.IDToObject( Id_face1) [static]
 

tuple PAL_MESH_041_mesh.mesh = smesh.Mesh(plane_mesh, "Mesh_1") [static]
 

int PAL_MESH_041_mesh.numberOfSegment = 9 [static]
 

tuple PAL_MESH_041_mesh.algoWireDes = mesh.Segment() [static]
 

tuple PAL_MESH_041_mesh.listHyp = algoWireDes.GetCompatibleHypothesis() [static]
 

tuple PAL_MESH_041_mesh.hypNbSeg = algoWireDes.NumberOfSegments(numberOfSegment) [static]
 

int PAL_MESH_041_mesh.maxElementArea = 200 [static]
 

tuple PAL_MESH_041_mesh.algoMef = mesh.Triangle() [static]
 

tuple PAL_MESH_041_mesh.listHyp = algoMef.GetCompatibleHypothesis() [static]
 

tuple PAL_MESH_041_mesh.hypArea200 = algoMef.MaxElementArea(maxElementArea) [static]
 

tuple PAL_MESH_041_mesh.ret = mesh.Compute() [static]
 

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

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

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

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

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

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

list PAL_MESH_041_mesh.ListOfEdges = [] [static]
 

tuple PAL_MESH_041_mesh.wire1 = geompy.MakeWire(ListOfEdges) [static]
 

int PAL_MESH_041_mesh.WantPlanarFace = 1 [static]
 

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

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

tuple PAL_MESH_041_mesh.plane_mesh = salome.IDToObject( Id_face1) [static]
 

tuple PAL_MESH_041_mesh.mesh = smesh.Mesh(plane_mesh, "Mesh_1") [static]
 

int PAL_MESH_041_mesh.numberOfSegment = 9 [static]
 

tuple PAL_MESH_041_mesh.algoWireDes = mesh.Segment() [static]
 

tuple PAL_MESH_041_mesh.listHyp = algoWireDes.GetCompatibleHypothesis() [static]
 

tuple PAL_MESH_041_mesh.hypNbSeg = algoWireDes.NumberOfSegments(numberOfSegment) [static]
 

int PAL_MESH_041_mesh.maxElementArea = 200 [static]
 

tuple PAL_MESH_041_mesh.algoMef = mesh.Triangle() [static]
 

tuple PAL_MESH_041_mesh.listHyp = algoMef.GetCompatibleHypothesis() [static]
 

tuple PAL_MESH_041_mesh.hypArea200 = algoMef.MaxElementArea(maxElementArea) [static]
 

tuple PAL_MESH_041_mesh.ret = mesh.Compute() [static]