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

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Shape factory
Shape gallery
What's new
System requirements
Download Center
Public license
Getting started
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
Home / Developer Corner / Forums / Usage issues / Wrong Surface from GeomPlate_BuildPlateSurface

Wrong Surface from GeomPlate_BuildPlateSurface

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

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();

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
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!

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