Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
 

Wrong Surface from GeomPlate_BuildPlateSurface

Wrong Surface from GeomPlate_BuildPlateSurface
Joachim Greiner 2012/05/11 16:16
Hi,

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);
for(...)
{
Handle(GeomPlate_PointConstraint) PCont = new GeomPlate_PointConstraint(point,0);
bpsurf.Add(PCont);
}
bpsurf.Perform();
Standard_Integer MaxSeg=9;
Standard_Integer MaxDegree=8;
Standard_Integer CritOrder=0;
Standard_Real dmax, Tol;
dmax = Max(0.0001,10*bpsurf.G0Error());
Tol=0.01;
GeomPlate_MakeApprox mapp(PSurf,Tol,MaxSeg,MaxDegree,dmax,CritOrder);
Handle(Geom_Surface) surf = mapp.Surface();

regards
Joachim
You have to be logged in to download the attached file
Wahab_shah 2012/07/09 13:39
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     
 
 
Latest news
  • Open CASCADE Technology 6.8.0 is available for download!
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map