For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Wrong Surface from GeomPlate_BuildPlateSurface

Joachim Greiner's picture


I am trying to build a surface form the points of a mesh. This works very well except for some special mehes. Sometimes I get a result like the on in the image attached. This problem occurs if the mesh represents a surface that is "curved". In the image the blue surface. What can I do to avoid this problem? It seems, that the algorithm tries to build a surface between the points on the opposite side of the mesh.

Here is the code i use:
GeomPlate_BuildPlateSurface bpsurf(2,30,2);
Handle(GeomPlate_PointConstraint) PCont = new GeomPlate_PointConstraint(point,0);
Standard_Integer MaxSeg=9;
Standard_Integer MaxDegree=8;
Standard_Integer CritOrder=0;
Standard_Real dmax, Tol;
dmax = Max(0.0001,10*bpsurf.G0Error());
GeomPlate_MakeApprox mapp(PSurf,Tol,MaxSeg,MaxDegree,dmax,CritOrder);
Handle(Geom_Surface) surf = mapp.Surface();


Wahab_shah's picture

I am also trying to do the same, trying to build a surface using just the points as constraint like surface of sphere.
But the output is not as desired..
i am working, if i find a solution, i will let you know