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

Search the Forums
See All Topics

How to use BRepFeat_Gluer

How to use BRepFeat_Gluer
Alexander Luger 2013/04/23 12:50
Hey guys!

I am trying to glue two faces together, but I was not a able to get a result (exception raised).

TopoDS_Face face1 = TopoDS::Face(shape1);
TopoDS_Face face2 = TopoDS::Face(shape2);
BRepFeat_Gluer aGluer(shape1,shape2);
LocOpe_FindEdges fined(face1,face2);
for(fined.InitIterator(); fined.More(); fined.Next())

What is wrong with the code above?

Adorjáni Alpár 2013/10/03 17:27

I have seen in the demo Application the example. I understand it so that the Bind function gets only the common elements to unite them.
So when here we want to glue two faces, then the gluer gets those faces but the Binder then the common edges to remove them.
So first you have to search for the neighbour, common edges.

When it would be a solid glueing, only then must the bind to remove the common faces.

Latest news
  • Open CASCADE CAD Assistant for iOS platform is available!
  • Open CASCADE Technology 6.9.0 is available for download!
  • JT Assistant for Android

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