I have gotten meshing working! That's the good news. Bad news is, when i attempted to mesh a face that had an inner hole ( a two-wire face), I got the error message in the subject. I am unable to determine if this is something I'm doing wrong, but it seems to imply that this hypothesis simply does not work on two-wire faces.
Is this true? Here's my mesh code ( mosty from the surface mesh sample ) aMeshGen = SMESH.SMESH_Gen() aMesh = aMeshGen.CreateMesh(0,True an1DHypothesis = StdMeshers.StdMeshers_MaxLength(0,0,aMeshGen)#discretization of the wire an1DHypothesis.SetLength(0.8); an1DAlgo = StdMeshers.StdMeshers_Regular_1D(1,0,aMeshGen) # interpolation a2dHypothseis = StdMeshers.StdMeshers_QuadranglePreference(2,0,aMeshGen) #define the boundary a2dAlgo = StdMeshers.StdMeshers_Quadrangle_2D(3,0,aMeshGen) aMesh.ShapeToMesh(shape) aMesh.AddHypothesis(shape,0) aMesh.AddHypothesis(shape,1) aMesh.AddHypothesis(shape,2) aMesh.AddHypothesis(shape,3) aMeshGen.Compute(aMesh,aMesh.GetShapeToMesh()) return aMesh;
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users